@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600&family=Manrope:wght@500;600;700;800&display=swap");

:root {
    --sky-50: #f5fbff;
    --sky-100: #e9f4ff;
    --sky-200: #d1e7ff;
    --sky-300: #a8d2ff;
    --sky-500: #45b8ff;
    --royal-500: #2458ff;
    --royal-600: #1944d9;
    --royal-700: #1433a5;
    --gold: #e8e3d8;
    --gold-100: #fff8ea;
    --gold-200: #f7e6bc;
    --gold-300: #e9c979;
    --gold-400: #d8ac4d;
    --gold-500: #c99734;
    --gold-600: #8f671c;
    --navy-900: #081a33;
    --slate-700: #4e617d;
    --slate-500: #7a8ca6;
    --white: #ffffff;
    --line: rgba(20, 51, 165, 0.1);
    --line-strong: rgba(20, 51, 165, 0.18);
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --surface-alt: linear-gradient(180deg, #fbfdff 0%, #eef6ff 100%);
    --shadow-soft: 0 12px 28px rgba(8, 26, 51, 0.05);
    --shadow-card: 0 18px 34px rgba(8, 26, 51, 0.06), 0 1px 0 rgba(255, 255, 255, 0.9);
    --shadow-button: 0 10px 18px rgba(20, 51, 165, 0.18), 0 2px 0 rgba(11, 31, 109, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.36);
    --radius-xl: 16px;
    --radius-lg: 12px;
    --radius-md: 10px;
    --radius-sm: 8px;
    --radius-pill: 12px;
    --container: min(1200px, calc(100vw - 2rem));
    --transition: 220ms ease;
    --font-ui: "Inter", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", sans-serif;
    --font-headline: "Manrope", "Inter", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-ui);
    font-weight: 200;
    font-feature-settings: "ss01" 1, "cv01" 1;
    letter-spacing: -0.012em;
    color: var(--navy-900);
    background: var(--white);
    min-height: 100vh;
}

body::before {
    content: none;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

code {
    padding: 0.2rem 0.45rem;
    border-radius: var(--radius-sm);
    background: rgba(18, 47, 150, 0.08);
    color: var(--royal-700);
    font-size: 0.9rem;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    background: var(--royal-500);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 20;
}

.site-chrome {
    overflow-x: clip;
    background: var(--white);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 18;
    background: var(--gold);
    border-bottom: 1px solid rgba(20, 51, 165, 0.08);
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 151, 52, 0.28), transparent);
    pointer-events: none;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 30px rgba(8, 26, 51, 0.06);
    border-color: rgba(20, 51, 165, 0.04);
}

.nav-shell {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 65px;
}

.brandmark {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    flex-shrink: 0;
    max-width: 430px;
}

.brandmark-logo {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    object-fit: contain;
    display: block;
}

.brandmark-copy {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    min-width: 0;
}

.brandmark-copy strong {
    font-family: var(--font-headline);
    font-size: 1.08rem;
    letter-spacing: -0.035em;
}

.brandmark-copy small {
    color: var(--slate-700);
    font-size: 0.72rem;
    line-height: 1.45;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #f1f7ff 100%);
    box-shadow: 0 8px 18px rgba(8, 26, 51, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: var(--navy-900);
}

.nav-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex: 1;
    min-width: 0;
}

.primary-nav,
.nav-actions,
.hero-actions,
.portal-nav,
.product-actions,
.stack-actions,
.filter-pills {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.primary-nav {
    margin-left: auto;
    gap: 0.35rem;
}

.nav-actions {
    justify-content: flex-end;
}

.primary-nav a,
.portal-nav a,
.filter-pill {
    position: relative;
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-pill);
    color: var(--slate-700);
    font-weight: 400;
    transition: color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.primary-nav a:hover,
.portal-nav a:hover,
.filter-pill:hover,
.primary-nav a.is-active,
.portal-nav a.is-active,
.filter-pill.is-active {
    color: var(--royal-700);
    background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
    box-shadow: inset 0 0 0 1px rgba(20, 51, 165, 0.08);
    transform: translateY(-1px);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    min-height: 26px;
    padding: 0.45rem 1.18rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition), filter var(--transition);
    font-weight: 400;
    letter-spacing: -0.01em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.button,
button,
input[type="submit"],
input[type="button"] {
    text-transform: lowercase;
}

.button::before {
    content: "";
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    background: center / contain no-repeat url("../images/mini-accent-blue.svg");
    filter: drop-shadow(0 2px 3px rgba(20, 51, 165, 0.18));
}

.button:hover {
    transform: translateY(-2px);
    filter: brightness(1.01);
}

.button-primary {
    color: var(--white);
    background: linear-gradient(180deg, #4a89ff 0%, #2458ff 56%, #193fd1 100%);
    border-color: rgba(14, 39, 128, 0.56);
    box-shadow: var(--shadow-button);
}

.button-ghost {
    background: linear-gradient(180deg, #ffffff 0%, #fbf8ef 100%);
    color: var(--navy-900);
    border-color: rgba(201, 151, 52, 0.18);
    box-shadow: 0 8px 18px rgba(8, 26, 51, 0.05), 0 2px 0 rgba(201, 151, 52, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.button-secondary {
    background: linear-gradient(180deg, #f5f9ff 0%, #e6f0ff 100%);
    color: var(--royal-700);
    border-color: rgba(18, 47, 150, 0.1);
    box-shadow: 0 8px 16px rgba(8, 26, 51, 0.05), 0 2px 0 rgba(18, 47, 150, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.button-link {
    padding-inline: 0;
    min-height: auto;
    color: var(--royal-700);
    box-shadow: none;
}

.button-ghost::before,
.button-link::before {
    background-image: url("../images/mini-accent-gold.svg");
    filter: drop-shadow(0 2px 3px rgba(143, 103, 28, 0.18));
}

.button-block {
    width: 100%;
}

.flash-stack {
    margin-top: 1rem;
}

.flash {
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.85rem;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(8, 26, 51, 0.05);
}

.flash-success {
    background: rgba(53, 182, 255, 0.12);
    border: 1px solid rgba(53, 182, 255, 0.2);
    color: var(--royal-700);
}

.flash-error {
    background: rgba(255, 90, 90, 0.1);
    border: 1px solid rgba(255, 90, 90, 0.18);
    color: #9b1e1e;
}

.hero-section
{
    background: var(--gold);
}

.hero-section,
.page-hero,
.dashboard-shell {
    padding: 4.4rem 0 2.6rem;
}

.page-hero.compact {
    padding-top: 3.4rem;
}

.hero-grid,
.page-hero-grid,
.detail-hero-grid,
.support-grid,
.auth-grid,
.split-panel,
.dashboard-top {
    display: grid;
    gap: 1.5rem;
    align-items: stretch;
}

.hero-grid,
.detail-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
}

.page-hero-grid,
.auth-grid,
.support-grid {
    grid-template-columns: 1fr 0.9fr;
    align-items: start;
}

.split-panel {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.split-panel.reverse {
    grid-template-columns: 1fr 1fr;
}

.split-panel.reverse .split-visual {
    order: -1;
}

.hero-copy,
.auth-copy,
.split-copy,
.dashboard-hero {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    gap: 1rem;
}

.eyebrow {
    display: block;
    align-items: center;
    gap: 0.45rem;
    padding: 0.44rem 0.88rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    border: 1px solid var(--line);
    color: var(--royal-700);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    width: fit-content;
}

.eyebrow::before {
    content: "";
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    background: center / contain no-repeat url("../images/mini-accent-gold.svg");
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-headline);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 650;
}

h1 {
    font-size: clamp(2rem, 3.08vw, 3.3rem);
    margin: 1rem 0;
    line-height: 1.04;
}

.hero-section .hero-copy h1 {
    line-height: 1.14;
}

h2 {
    font-size: clamp(1.55rem, 2.5vw, 2.4rem);
    margin: 1rem 0;
}

.route-home h2 {
    display: inline; /* Allows the background/shadow to wrap with text */
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone; /* Required for Safari/Chrome on Mac */
    padding-inline: 0.08em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    box-shadow: inset 0 -0.45em 0 #cecece;
    margin: 1rem 0;
}

h3 {
    font-size: 1.08rem;
    font-weight: 600;
    Margin:1rem 0;
}

h4 {
    font-weight: 600;
}

p {
    margin: 0;
}

p,
li,
span,
small,
label {
    color: var(--slate-700);
    line-height: 1.65;
    font-weight: 300;
}

.lead-text {
    font-size: 1.18rem;
    color: var(--navy-900);
    font-weight: 400;
}

strong {
    font-weight: 500;
}

.centered {
    text-align: center;
    display: grid;
    gap: 1rem;
    justify-items: center;
}

.split-visual,
.detail-side-card,
.hero-side-card,
.auth-card,
.panel,
.product-card,
.capability-card,
.value-card,
.support-card,
.cta-panel,
.kpi-card,
.visual-card,
.license-card,
.user-card,
.metric-badge,
.order-summary-card {
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #ffffff 0%, #fcfeff 100%);
    border: 1px solid rgba(20, 51, 165, 0.08);
    box-shadow: var(--shadow-card);
    backdrop-filter: none;
}

.visual-card,
.hero-side-card,
.auth-card,
.panel,
.product-card,
.capability-card,
.value-card,
.support-card,
.cta-panel,
.license-card,
.user-card {
    overflow: hidden;
}

.visual-card {
    position: relative;
    min-height: 560px;
    padding: 1.2rem;
    background: linear-gradient(180deg, #fbfdff 0%, #eef6ff 100%);
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.visual-overlay {
    position: absolute;
    inset: auto 1.8rem 1.8rem 1.8rem;
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.overlay-chip,
.metric-badge,
.kpi-card,
.detail-price-box {
    padding: 1rem 1.1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(20, 51, 165, 0.08);
    border-radius: var(--radius-lg);
}

.overlay-chip span,
.metric-badge span,
.detail-price-box span,
.kpi-card span {
    display: block;
    font-size: 0.84rem;
}

.overlay-chip strong,
.metric-badge strong,
.detail-price-box strong,
.kpi-card strong,
.hero-metrics strong,
.stat-stack strong {
    font-size: 1.32rem;
    color: var(--navy-900);
    display: block;
    font-weight: 700;
}

.hero-metrics,
.dashboard-stat-grid,
.capability-grid,
.value-grid,
.support-highlights,
.product-grid,
.license-grid,
.user-card-grid,
.footer-grid {
    display: grid;
    gap: 1rem;
}

.hero-metrics {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    margin-top: 1.35rem;
}

.hero-metrics article,
.stat-stack article {
    padding: 1rem 1.1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid rgba(20, 51, 165, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 20px rgba(8, 26, 51, 0.04);
}

.logo-ribbon {
    padding: 0.35rem 0 2rem;
	margin-top:35px;
}

.logo-ribbon .container {
    display: grid;
    gap: 1rem;
	font-size:1rem;
    padding: 1.2rem 2.35rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid var(--line);
    box-shadow: none;
	text-align:center;
}

.logo-ribbon-track {
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
    color: var(--royal-700);
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.84rem;
}

.section-space {
    padding: 0rem 0 3rem 0;
}

.alt-surface .container,
.security-band .container {
    padding: 2rem;
    border-radius: calc(var(--radius-xl) + 2px);
    background: var(--surface-alt);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.section-heading,
.section-heading-inline {
    display: flex;
    justify-content: space-between;
    gap: 1.4rem;
    align-items: end;
    margin-bottom: 1.75rem;
}

.section-caption {
    max-width: 34rem;
    font-size: 1rem;
}

.hero-metrics article,
.stat-stack article,
.metric-badge,
.capability-card,
.value-card,
.support-card,
.product-card,
.panel,
.auth-note,
.affiliate-band-metrics article,
.faq-item,
.license-card,
.user-card,
.order-summary-card {
    position: relative;
}

.hero-metrics article::after,
.stat-stack article::after,
.metric-badge::after,
.capability-card::after,
.value-card::after,
.support-card::after,
.product-card::after,
.panel::after,
.auth-note::after,
.affiliate-band-metrics article::after,
.faq-item::after,
.license-card::after,
.user-card::after,
.order-summary-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 1.5rem;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold-400), rgba(201, 151, 52, 0));
}

.capability-grid,
.value-grid,
.support-highlights,
.dashboard-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-stat-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.capability-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
}

.capability-card,
.value-card,
.support-card,
.product-card,
.panel,
.cta-panel,
.license-card,
.user-card {
    padding: 1.5rem;
}

.capability-card,
.value-card,
.support-card {
    display: grid;
    align-content: start;
    gap: 0.85rem;
}

.capability-card img {
    width: 66px;
    height: 66px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    margin-bottom: 1rem;
}

.hero-copy > p,
.auth-copy > p,
.split-copy > p,
.value-card p,
.support-card p,
.capability-card p,
.product-card p,
.panel > p,
.catalog-heading > p,
.section-caption,
.metric-badge > span,
.auth-note > span,
.subtle-text,
.faq-content p {
    position: relative;
    padding-left: 1.5rem;
}

.hero-copy > p::before,
.auth-copy > p::before,
.split-copy > p::before,
.value-card p::before,
.support-card p::before,
.capability-card p::before,
.product-card p::before,
.panel > p::before,
.catalog-heading > p::before,
.section-caption::before,
.metric-badge > span::before,
.auth-note > span::before,
.subtle-text::before,
.faq-content p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.38rem;
    width: 14px;
    height: 14px;
    background: center / contain no-repeat url("../images/mini-accent-gold.svg");
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.85rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.35rem;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.38rem;
    width: 14px;
    height: 14px;
    background: center / contain no-repeat url("../images/mini-accent-blue.svg");
}

.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
}

.product-card {
    display: grid;
    gap: 1rem;
    grid-template-rows: auto auto auto 1fr auto;
    height: 100%;
}

.product-card-top,
.license-head,
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.product-card img {
    width: 100%;
    aspect-ratio: 1 / 0.8;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.product-actions {
    margin-top: auto;
}

.pill,
.price-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 500;
}

.pill {
    color: var(--royal-700);
    background: linear-gradient(180deg, #f5f9ff 0%, #ebf2ff 100%);
    border: 1px solid rgba(20, 51, 165, 0.08);
}

.price-tag {
    color: var(--gold-600);
    background: linear-gradient(180deg, #fffdf7 0%, #fff4dc 100%);
    border: 1px solid rgba(201, 151, 52, 0.22);
}

.cta-section {
    padding-bottom: 3rem;
}

.cta-panel {
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
    align-items: center;
    background: linear-gradient(135deg, #1535a5 0%, #2458ff 58%, #52bfff 100%);
    border: 1px solid rgba(20, 51, 165, 0.22);
    box-shadow: 0 22px 38px rgba(20, 51, 165, 0.16);
}

.cta-panel p,
.cta-panel h2 {
    color: var(--white);
}

.cta-panel h2
{
    margin-top: 1rem;
}

.page-hero-grid .hero-side-card,
.dashboard-top {
    align-self: stretch;
}

.hero-side-card,
.auth-card,
.support-sidebar,
.detail-side-card {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
}

.support-grid article 
{
    height: auto;
}

.support-sidebar {
    align-self: start;
}

.support-grid article p
{
    margin: 1rem 0;    
}

.support-grid article .button
{
    margin: .2rem 0;
}

.partners-hero-grid {
    grid-template-columns: 1fr;
}

.partners-hero-copy {
    width: 100%;
    justify-items: center;
    text-align: center;
}

.partners-hero-copy > p {
    max-width: 58rem;
    padding-left: 0;
}

.partners-hero-copy > p::before {
    display: none;
}

.partners-capability-heading {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.partners-capability-grid .feature-list {
    margin-top: 0.25rem;
}

.about-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.about-hero-backdrop {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.about-hero-backdrop img {
    width: min(72rem, 92vw);
    max-width: none;
    opacity: 0.05;
    transform: translateY(0.4rem);
}

.about-hero-grid {
    grid-template-columns: 1fr;
    position: relative;
    z-index: 1;
}

.about-hero-copy,
.about-section-heading {
    width: 100%;
    display: grid;
    justify-items: center;
    text-align: center;
}

.about-hero-copy {
    gap: 1rem;
}

.about-hero-copy > p,
.about-section-heading .section-caption {
    max-width: 60rem;
    padding-left: 0;
}

.about-hero-copy > p::before,
.about-section-heading .section-caption::before {
    display: none;
}

.about-section-heading {
    gap: 0.7rem;
    margin: 1.75rem;
}

.about-values-heading .headline-highlight {
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding-inline: 0.08em;
    box-shadow: inset 0 -0.45em 0 #cecece;
}

.about-mission-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.about-mission-panel article,
.about-values-grid .value-card {
    display: grid;
    gap: 0.85rem;
    align-content: start;
}

.about-values-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partner-infographic {
    width: 100%;
    border-radius: var(--radius-lg);
    /*! background: linear-gradient(180deg, #fbfdff 0%, #f0f7ff 100%); */
    /*! border: 1px solid rgba(20, 51, 165, 0.08); */
}

.auth-note {
    display: grid;
    gap: 0.45rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid rgba(20, 51, 165, 0.08);
    max-width: 420px;
}

.panel-form {
    display: grid;
    gap: 1rem;
}

.panel-form label,
.user-card label {
    display: grid;
    gap: 0.5rem;
}

.two-column-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-column-form .full-span,
.two-column-form button,
.checkbox-field {
    grid-column: 1 / -1;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(20, 51, 165, 0.12);
    background: #ffffff;
    color: var(--navy-900);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(33, 87, 255, 0.32);
    box-shadow: 0 0 0 4px rgba(33, 87, 255, 0.08);
}

textarea {
    resize: vertical;
}

.subtle-text {
    font-size: 0.92rem;
    margin: 0;
}

.support-grid {
    grid-template-columns: 1.2fr 0.8fr;
}

.faq-list {
    display: grid;
    gap: 0.7rem;
}

.faq-item {
    border-radius: var(--radius-md);
    border: 1px solid rgba(20, 51, 165, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    overflow: hidden;
}

.faq-toggle {
    width: 100%;
    padding: 1rem 1.1rem;
    border: 0;
    background: transparent;
    text-align: left;
    font-weight: 650;
    color: var(--navy-900);
}

.faq-content {
    display: none;
    padding: 0 1.1rem 1rem;
}

.catalog-group {
    margin-top: 1.5rem;
}

.catalog-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1rem;
}

.catalog-group.is-hidden {
    display: none;
}

.products-page-shell {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 1.6rem;
    align-items: start;
}

.products-sidebar {
    min-width: 0;
}

.products-sidebar-panel {
    position: sticky;
    top: 6.8rem;
    display: grid;
    gap: 1rem;
    padding: 1.35rem;
    border: 1px solid rgba(20, 51, 165, 0.08);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 20px rgba(8, 26, 51, 0.04);
}

.products-sidebar-panel h2 {
    font-size: 1.2rem;
}

.products-filter-stack {
    display: grid;
    gap: 1rem;
}

.products-filter-block {
    display: grid;
    gap: 0.65rem;
}

.products-filter-title {
    color: var(--navy-900);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.products-catalog-rail {
    display: grid;
    gap: 1.8rem;
}

.catalog-audience-section {
    display: grid;
    gap: 1.25rem;
}

.catalog-audience-section .catalog-group {
    margin-top: 0;
}

.products-catalog-rail .catalog-group {
    margin-top: 0;
}

.catalog-heading-professional {
    margin-bottom: 1rem;
}

.catalog-heading-professional h2 {
    font-size: 1.5rem;
}

.catalog-subheading {
    font-size: 1.22rem;
    font-weight: 500;
}

.catalog-heading-professional p {
    max-width: 36rem;
}

.products-filter-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(20, 51, 165, 0.1);
    border-radius: var(--radius-xl);
    background: #ffffff;
    overflow: hidden;
}

.products-filter-nav .filter-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 0;
    border-top: 1px solid rgba(20, 51, 165, 0.08);
    background: transparent;
    box-shadow: none;
    transform: none;
}

.products-filter-nav .filter-pill:first-child {
    border-top: 0;
}

.products-filter-nav .filter-pill:hover,
.products-filter-nav .filter-pill.is-active {
    color: var(--royal-700);
    background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
    box-shadow: inset 3px 0 0 var(--royal-500);
    transform: none;
}

.catalog-frame {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border-top: 1px solid rgba(20, 51, 165, 0.1);
    border-left: 1px solid rgba(20, 51, 165, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #ffffff;
}

.catalog-product-card {
    flex: 0 0 50%;
    max-width: 50%;
    border-right: 1px solid rgba(20, 51, 165, 0.1);
    border-bottom: 1px solid rgba(20, 51, 165, 0.1);
    min-width: 0;
}

.catalog-product-card-shell {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100%;
    background: #ffffff;
}

.catalog-product-media {
    display: flex;
    align-items: stretch;
    padding: 1rem 1rem 0;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    border-right: 0;
}

.catalog-product-media img {
    width: 100%;
    min-height: 190px;
    aspect-ratio: 1.45 / 1;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.catalog-product-body {
    display: grid;
    gap: 0.9rem;
    align-content: start;
    padding: 1.2rem 1.25rem;
}

.catalog-product-copy {
    display: grid;
    gap: 0.55rem;
}

.catalog-product-headline {
    color: var(--navy-900);
    font-size: 1rem;
    font-weight: 300;
}

.catalog-product-summary {
    max-width: 46ch;
}

.catalog-product-meta {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.catalog-product-card .product-actions {
    padding-top: 0.25rem;
}

.catalog-product-card .button-link {
    color: var(--gold-600);
}

.products-page {
    display: grid;
    gap: 1.5rem;
}

.products-overview-card {
    display: grid;
    gap: 1rem;
    justify-items: center;
    text-align: center;
    padding: 1.8rem 1.9rem;
    border: 1px solid rgba(20, 51, 165, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 18px rgba(8, 26, 51, 0.04);
}

.products-overview-card > p {
    max-width: 56rem;
    padding-left: 0;
}

.products-overview-card > p::before {
    display: none;
}

.products-tabview {
    display: grid;
    gap: 1.2rem;
}

.products-tabdock {
    display: inline-flex;
    align-self: start;
    justify-self: center;
    margin-inline: auto;
    width: min(100%, 34rem);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(20, 51, 165, 0.12);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 18px rgba(8, 26, 51, 0.035);
}

.products-tablist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0;
}

.products-tab {
    display: grid;
    gap: 0.22rem;
    min-width: 0;
    padding: 0.92rem 1.2rem;
    border-right: 1px solid rgba(20, 51, 165, 0.1);
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    color: var(--navy-900);
    justify-items: center;
    text-align: center;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.products-tab:last-child {
    border-right: 0;
}

.products-tab:hover {
    background: linear-gradient(180deg, #ffffff 0%, #f1f6ff 100%);
}

.products-tab.is-active {
    background: linear-gradient(180deg, #356dff 0%, #204ef4 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.products-tab.is-active .products-tab-label,
.products-tab.is-active .products-tab-count {
    color: var(--white);
}

.products-tab-label {
    color: var(--navy-900);
    font-family: var(--font-headline);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.products-tab-count {
    font-size: 0.82rem;
    color: var(--slate-700);
    font-weight: 300;
}

.products-tab-panel {
    display: grid;
    gap: 1.35rem;
    padding: 1.5rem;
    border: 1px solid rgba(20, 51, 165, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 18px rgba(8, 26, 51, 0.04);
}

.products-tab-panel[hidden] {
    display: none;
}

.products-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.2rem;
}

.products-panel-title {
    display: grid;
    gap: 0.4rem;
}

.products-panel-head p {
    max-width: 40rem;
    padding-left: 1.5rem;
}

.products-workbench {
    display: grid;
    grid-template-columns: minmax(210px, 240px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.products-domain-sidebar {
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(20, 51, 165, 0.08);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: 0 8px 14px rgba(8, 26, 51, 0.03);
}

.products-domain-sidebar-title {
    color: var(--navy-900);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.products-domain-list {
    display: grid;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(20, 51, 165, 0.08);
}

.products-domain-list li {
    list-style: none;
}

.products-domain-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.82rem 0.1rem 0.82rem 1.3rem;
    border-bottom: 1px solid rgba(20, 51, 165, 0.08);
    border-left: 3px solid transparent;
    border-radius: 0;
    color: var(--navy-900);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.products-domain-link::before {
    content: "";
    position: absolute;
    left: 0.52rem;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: rgba(20, 51, 165, 0.28);
}

.products-domain-link:hover {
    background: rgba(32, 78, 244, 0.04);
    color: var(--royal-700);
}

.products-domain-link.is-active {
    background: rgba(32, 78, 244, 0.08);
    color: var(--royal-700);
    border-left-color: var(--royal-500);
}

.products-domain-link.is-active::before {
    background: var(--royal-500);
}

.products-domain-link-count {
    display: inline-block;
    min-width: 1.6rem;
    padding: 0 0.1rem 0 0.5rem;
    background: transparent;
    color: inherit;
    font-size: 0.78rem;
    text-align: right;
}

.products-domain-link.is-active .products-domain-link-count {
    color: var(--royal-700);
}

.products-results-panel {
    display: grid;
    gap: 1rem;
}

.products-results-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.products-results-title {
    display: grid;
    gap: 0.35rem;
}

.products-results-title h3 {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 600;
}

.products-results-title p {
    max-width: 42rem;
    padding-left: 1.5rem;
}

.products-domain-count {
    font-size: 0.84rem;
    color: var(--slate-700);
    font-weight: 300;
    white-space: nowrap;
}

.products-compact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.products-compact-card[hidden] {
    display: none;
}

.products-compact-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    background: #ffffff;
    border: 1px solid rgba(20, 51, 165, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 14px rgba(8, 26, 51, 0.032), 0 3px 0 rgba(20, 51, 165, 0.018);
    overflow: hidden;
}

.products-compact-card::after {
    display: none;
}

.products-compact-media {
    display: block;
    padding: 0.72rem 0.72rem 0;
    background: #ffffff;
}

.products-compact-media img {
    width: 100%;
    aspect-ratio: 1.42 / 1;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 2px);
    background: #f8fbff;
}

.products-compact-body {
    display: grid;
    gap: 0.82rem;
    align-content: start;
    padding: 0.82rem 0.9rem 0.92rem;
}

.products-compact-copy {
    display: grid;
    gap: 0.48rem;
}

.products-compact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.products-compact-copy h4 {
    color: var(--navy-900);
    font-size: 0.96rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.products-compact-copy p {
    font-size: 0.88rem;
    line-height: 1.55;
    padding-left: 0;
}

.products-compact-copy p::before {
    display: none;
}

.products-compact-footer {
    display: grid;
    gap: 0.7rem;
    margin-top: auto;
}

.products-compact-footer .price-tag {
    width: fit-content;
}

.products-compact-card .product-actions {
    gap: 0.55rem;
}

.products-compact-card .button {
    min-height: 32px;
    padding: 0.4rem 0.82rem;
    font-size: 0.8rem;
}

.inline-action-form {
    display: inline-flex;
    align-items: center;
}

.detail-grid,
.portal-stack {
    display: grid;
    gap: 1.2rem;
}

.detail-grid {
    grid-template-columns: 1fr 1fr;
}

.detail-side-card img {
    border-radius: var(--radius-lg);
    aspect-ratio: 1 / 0.85;
    object-fit: cover;
}

.metric-badge-list,
.stat-stack,
.license-meta {
    display: grid;
    gap: 0.8rem;
}

.live-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-lg);
    background: rgba(18, 47, 150, 0.08);
}

.dashboard-top {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
}

.dashboard-hero,
.dashboard-stat-grid,
.portal-stack,
.panel,
.table-shell {
    min-width: 0;
}

.dashboard-stat-grid {
    gap: 1rem;
}

.table-shell {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(20, 51, 165, 0.08);
    border-radius: var(--radius-xl);
    background: #ffffff;
}

.dashboard-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 1.2rem;
    align-items: start;
}

.overview-side-stack,
.compact-snapshot-list,
.compact-list {
    display: grid;
    gap: 1rem;
}

.compact-snapshot {
    display: grid;
    gap: 0.75rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(20, 51, 165, 0.08);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 18px rgba(8, 26, 51, 0.04);
}

.compact-snapshot-head,
.compact-toolbar,
.compact-item-summary,
.compact-item-meta,
.compact-item-panel-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: space-between;
}

.compact-item-title,
.compact-item-subtitle {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.compact-snapshot-head strong,
.compact-item-title strong,
.compact-item-grid strong,
.compact-metric-card strong {
    color: var(--navy-900);
}

.compact-snapshot-meta,
.compact-toolbar-count,
.compact-item-title span,
.compact-item-subtitle span,
.compact-item-grid article span:last-child {
    color: var(--slate-700);
}

.compact-snapshot-meta,
.compact-item-subtitle {
    flex-wrap: wrap;
    justify-content: flex-start;
    font-size: 0.93rem;
}

.compact-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 1rem 0 1.15rem;
}

.compact-metric-card {
    display: grid;
    gap: 0.32rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(20, 51, 165, 0.08);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    box-shadow: 0 8px 18px rgba(8, 26, 51, 0.04);
}

.compact-metric-card span {
    color: var(--slate-500);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.compact-metric-card strong {
    font-size: 1.12rem;
}

.compact-toolbar {
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.compact-toolbar-count {
    font-size: 0.95rem;
    white-space: nowrap;
}

.search-field {
    position: relative;
    flex: 1 1 360px;
    min-width: min(100%, 320px);
}

.search-field::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
    background: center / contain no-repeat url("../images/mini-accent-blue.svg");
    opacity: 0.9;
}

.search-field input {
    width: 100%;
    min-height: 50px;
    padding: 0.95rem 1rem 0.95rem 2.6rem;
    border: 1px solid rgba(20, 51, 165, 0.1);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.search-field input:focus {
    outline: 0;
    border-color: rgba(20, 51, 165, 0.22);
    box-shadow: 0 0 0 4px rgba(36, 88, 255, 0.08);
}

.compact-item {
    border: 1px solid rgba(20, 51, 165, 0.08);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 18px rgba(8, 26, 51, 0.04);
    overflow: hidden;
}

.compact-item[open] {
    border-color: rgba(20, 51, 165, 0.16);
    box-shadow: 0 12px 22px rgba(8, 26, 51, 0.05);
}

.compact-item-summary {
    list-style: none;
    padding: 1rem 1.05rem;
    cursor: pointer;
}

.compact-item-summary::-webkit-details-marker {
    display: none;
}

.compact-item-main {
    display: grid;
    gap: 0.42rem;
    min-width: 0;
    flex: 1 1 auto;
}

.compact-item-title,
.compact-item-meta {
    flex-wrap: wrap;
}

.compact-item-meta {
    justify-content: flex-end;
}

.compact-item-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--royal-700);
    font-size: 0.9rem;
    font-weight: 600;
}

.compact-item-action::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: rgba(20, 51, 165, 0.08);
    color: var(--royal-700);
    font-size: 1rem;
    line-height: 1;
}

.compact-item[open] .compact-item-action::after {
    content: "−";
}

.compact-item-panel {
    display: grid;
    gap: 1rem;
    padding: 0 1.05rem 1.05rem;
    border-top: 1px solid rgba(20, 51, 165, 0.08);
}

.compact-item-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    padding-top: 1rem;
}

.compact-item-grid article {
    display: grid;
    gap: 0.3rem;
    padding: 0.9rem 0.95rem;
    border: 1px solid rgba(20, 51, 165, 0.08);
    border-radius: var(--radius-md);
    background: rgba(18, 47, 150, 0.04);
}

.compact-label {
    color: var(--slate-500);
    font-size: 0.73rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.compact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1rem;
    align-items: end;
}

.compact-form-grid label {
    display: grid;
    gap: 0.42rem;
}

.compact-form-grid input,
.compact-form-grid select,
.compact-form-grid textarea {
    width: 100%;
}

.compact-empty {
    margin: 0;
    padding: 1rem 1.05rem;
    border: 1px dashed rgba(20, 51, 165, 0.18);
    border-radius: var(--radius-md);
    background: rgba(18, 47, 150, 0.03);
    color: var(--slate-700);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(33, 87, 255, 0.08);
    vertical-align: top;
}

th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-500);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    padding: 0.45rem 0.8rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.status-completed,
.status-active {
    background: rgba(29, 185, 84, 0.12);
    color: #0b7a38;
}

.status-processing,
.status-provisioning {
    background: rgba(53, 182, 255, 0.15);
    color: var(--royal-700);
}

.status-pending-review,
.status-pending-payment,
.status-pending-activation {
    background: rgba(255, 189, 46, 0.16);
    color: #9a6100;
}

.status-awaiting-payment,
.status-checkout-created,
.status-awaiting-transfer,
.status-invoice-requested {
    background: rgba(33, 87, 255, 0.12);
    color: var(--royal-700);
}

.status-on-hold,
.status-inactive {
    background: rgba(119, 136, 153, 0.16);
    color: #49586d;
}

.status-client {
    background: rgba(33, 87, 255, 0.11);
    color: var(--royal-700);
}

.status-admin {
    background: rgba(201, 151, 52, 0.16);
    color: var(--gold-600);
}

.status-suspended {
    background: rgba(255, 79, 79, 0.14);
    color: #a61c1c;
}

.status-failed {
    background: rgba(255, 79, 79, 0.14);
    color: #a61c1c;
}

.status-cancelled,
.status-revoked {
    background: rgba(255, 79, 79, 0.14);
    color: #a61c1c;
}

.stacked-mini {
    display: grid;
    gap: 0.45rem;
}

.stacked-mini strong {
    color: var(--navy-900);
    font-size: 0.9rem;
}

.inline-manage-form {
    display: grid;
    gap: 0.6rem;
}

.inline-manage-form input,
.inline-manage-form select {
    min-width: 160px;
}

.license-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.license-card {
    display: grid;
    gap: 1rem;
}

.license-key-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-lg);
    background: rgba(18, 47, 150, 0.06);
}

.license-key-row code {
    border-radius: var(--radius-sm);
}

.copy-button {
    min-width: 84px;
    padding: 0.65rem 0.9rem;
    border: 0;
    border-radius: var(--radius-md);
    color: var(--white);
    background: linear-gradient(180deg, #3f80ff 0%, #2157ff 58%, #1741cf 100%);
    font-weight: 650;
    box-shadow: var(--shadow-button), 0 2px 0 rgba(7, 33, 120, 0.22);
}

.user-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.2rem;
}

.user-card {
    display: grid;
    gap: 0.85rem;
}

.section-heading-inline h2 {
    font-size: 1.7rem;
}

.order-summary-card img {
    border-radius: var(--radius-lg);
    aspect-ratio: 1 / 0.7;
    object-fit: cover;
}

.hero-grid-balanced,
.split-panel-balanced {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

.hero-grid-home-stack {
    grid-template-columns: 1fr;
    align-items: start;
}

.hero-grid-home-stack .hero-copy,
.hero-grid-home-stack .hero-visual {
    width: 100%;
}

.hero-grid-home-stack .hero-copy {
    justify-items: center;
    text-align: center;
    margin-inline: auto;
}

.hero-grid-home-stack .hero-actions {
    justify-content: center;
}

.hero-grid-home-stack .hero-actions .button {
    min-height: 26px;
    padding: 0.45rem 1.18rem;
    font-size: 0.88rem;
}

.hero-grid-home-stack .hero-visual {
    max-width: none;
    display: grid;
    align-items: center;
}

.services-strip,
.affiliate-dashboard-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-strip {
    grid-auto-rows: 1fr;
}

.affiliate-band {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 1.5rem;
    align-items: center;
    padding: 1.65rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    border: 1px solid rgba(20, 51, 165, 0.08);
    box-shadow: var(--shadow-soft);
}

.affiliate-band h2 {
    display: inline-block;
}

.affiliate-band-metrics article {
    padding: 1rem 1.1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(33, 87, 255, 0.1);
}

.affiliate-link-row,
.auth-link-row,
.user-meta-inline {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: wrap;
}

.affiliate-link-row {
    justify-content: space-between;
    margin: 1rem 0;
    padding: 0.95rem 1rem;
    border-radius: var(--radius-lg);
    background: rgba(18, 47, 150, 0.05);
    border: 1px solid rgba(33, 87, 255, 0.08);
}

.affiliate-link-row code {
    border-radius: var(--radius-sm);
}

.auth-link-row {
    justify-content: space-between;
    font-size: 0.92rem;
}

.auth-link-row a,
.subtle-text a,
.user-meta-inline span,
.affiliate-link-row span {
    color: var(--royal-700);
}

.user-meta-inline {
    justify-content: space-between;
    padding-top: 0.2rem;
    font-size: 0.92rem;
}

.flash {
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.85rem;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(8, 26, 51, 0.05);
}

.hero-section .hero-visual {
    position: relative;
    padding: 0rem;
    background: transparent;
    overflow: hidden;
}

.hero-section .model-board-live {
    position: relative;
    display: block;
    width: 100%;
    min-height: 240px;
    overflow: hidden;
    isolation: isolate;
}

.hero-section .model-card {
    --card-left: 50%;
    --card-width: 58%;
    --card-scale: 1;
    --card-opacity: 1;
    --card-blur: 0px;
    --card-z: 3;
    --card-rotate: 0deg;
    --card-saturation: 1;
    --card-brightness: 1;
    position: absolute;
    top: 50%;
    left: var(--card-left);
    width: var(--card-width);
    min-width: 0;
    max-width: 420px;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 1.1rem;
    align-items: center;
    padding: 1.6rem 1.28rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 249, 255, 0.95));
    border: 1px solid rgba(33, 33, 33, 0.50);
    box-shadow: 0 16px 30px rgba(8, 26, 51, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transform: translate(-50%, -50%) scale(var(--card-scale)) rotate(var(--card-rotate));
    transform-origin: center;
    opacity: var(--card-opacity);
    filter: blur(var(--card-blur)) saturate(var(--card-saturation)) brightness(var(--card-brightness));
    z-index: var(--card-z);
    transition: left 620ms cubic-bezier(0.22, 1, 0.36, 1), width 620ms cubic-bezier(0.22, 1, 0.36, 1), transform 620ms cubic-bezier(0.22, 1, 0.36, 1), opacity 460ms ease, filter 460ms ease, box-shadow 460ms ease, border-color 460ms ease, background 460ms ease;
    cursor: default;
}

.hero-section .model-card.is-active {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 2));
    border-color: rgba(33, 33, 33, 0.92);
    box-shadow: 0 24px 42px rgba(8, 26, 51, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.52) inset;
}

.hero-section .model-card.is-hidden {
    pointer-events: none;
}

.hero-section .model-card:focus-visible {
    outline: 0;
    border-color: rgba(33, 87, 255, 0.26);
    box-shadow: 0 0 0 4px rgba(33, 87, 255, 0.08);
}

.hero-section .model-card-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 244, 255, 0.94));
    border: 1px solid rgba(33, 87, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
    flex: 0 0 68px;
}

.hero-section .model-card.is-active .model-card-icon {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(239, 246, 255, 0.98));
    box-shadow: 0 12px 20px rgba(20, 51, 165, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.hero-section .model-icon-svg {
    width: 34px;
    height: 34px;
    display: block;
}

.hero-section .model-card-copy {
    display: grid;
    gap: 0.3rem;
    min-width: 0;
}

.hero-section .model-card-copy strong {
    color: #365b9c;
    font-size: 1.12rem;
    line-height: 1.18;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.hero-section .model-card.is-active .model-card-copy strong {
    color: var(--royal-700);
}

.hero-section .model-card-copy span {
    font-size: 0.92rem;
    color: #6c7f9e;
    line-height: 1.5;
    letter-spacing: 0;
}

.hero-section .model-card-index {
    display: none;
}

.risk-board {
    position: absolute;
    inset: 1.35rem;
    display: grid;
    gap: 1rem;
    padding: 1.15rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(236, 244, 255, 0.54));
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 24px rgba(8, 26, 51, 0.06);
    backdrop-filter: blur(12px);
}

.risk-board::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 48%, transparent 100%);
    transform: translateX(-100%);
}

.risk-board.is-sweeping::before {
    animation: boardSweep 1.4s ease;
}

@keyframes boardSweep {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

.risk-board-head,
.risk-board-net,
.risk-mini-grid,
.risk-dial-shell {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.risk-board-head {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(33, 87, 255, 0.1);
}

.risk-board-label,
.pane-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-500);
}

.risk-board-head strong,
.risk-board-net strong,
.risk-dial-copy strong,
.risk-mini-grid strong,
.flow-symbol {
    color: var(--navy-900);
}

.risk-board-status {
    padding: 0.38rem 0.7rem;
    border-radius: var(--radius-pill);
    background: rgba(201, 151, 52, 0.14);
    color: var(--gold-600);
    font-weight: 650;
}

.risk-board-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    min-height: 0;
}

.risk-pane {
    display: grid;
    gap: 0.9rem;
    align-content: start;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(33, 87, 255, 0.09);
}

.order-stream {
    display: grid;
    gap: 0.7rem;
}

.flow-row {
    display: grid;
    gap: 0.18rem;
    padding: 0.75rem 0.85rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(33, 87, 255, 0.08);
    transform-origin: left center;
}

.flow-row.is-pulsing {
    animation: flowPulse 0.5s ease;
}

@keyframes flowPulse {
    0% {
        transform: translateX(-10px);
        opacity: 0.72;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.flow-row[data-side="buy"] {
    border-left: 3px solid rgba(29, 185, 84, 0.7);
}

.flow-row[data-side="sell"] {
    border-left: 3px solid rgba(255, 99, 71, 0.74);
}

.flow-meta,
.flow-tag {
    font-size: 0.85rem;
}

.hedge-ladder {
    display: grid;
    gap: 0.85rem;
}

.hedge-bar {
    display: grid;
    gap: 0.45rem;
}

.hedge-track {
    height: 10px;
    border-radius: 999px;
    background: rgba(18, 47, 150, 0.08);
    overflow: hidden;
}

.hedge-track i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(53, 182, 255, 0.92), rgba(33, 87, 255, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.risk-board-net {
    margin-top: auto;
    padding: 0.8rem 0.9rem;
    border-radius: var(--radius-md);
    background: rgba(18, 47, 150, 0.06);
}

.risk-dial {
    width: 94px;
    height: 94px;
    border-radius: 50%;
    position: relative;
    background: conic-gradient(var(--royal-500) 0deg, var(--sky-500) 138deg, rgba(18, 47, 150, 0.08) 138deg 360deg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.risk-dial::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    background: rgba(246, 251, 255, 0.96);
}

.risk-dial-core {
    position: absolute;
    inset: 34px;
    border-radius: 50%;
    background: linear-gradient(180deg, #2157ff, #173ecc);
    z-index: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.risk-dial-copy {
    display: grid;
    gap: 0.2rem;
}

.risk-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.risk-mini-grid article {
    padding: 0.85rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(33, 87, 255, 0.08);
}

.footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 2.4rem 0 1.2rem;
}

.site-footer {
    margin-top: 2.5rem;
    border-top: 1px solid rgba(20, 51, 165, .208);
    padding: 0 0 2rem;
    background: #ffffff;
    background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
}

.site-footer .container {
    padding-inline: 0;
}

.site-footer h3,
.site-footer h4 {
    margin-bottom: 0.7rem;
    font-size: 0.96rem;
}

.site-footer a,
.site-footer p,
.site-footer span {
    color: var(--slate-700);
    font-size: 0.9rem;
}

.site-footer a {
    display: block;
    margin-bottom: 0.55rem;
}

.footer-bottom {
    padding-top: 1rem;
    border-top: 1px solid rgba(20, 51, 165, 0.08);
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 640ms ease, transform 640ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .hero-grid,
    .detail-hero-grid,
    .page-hero-grid,
    .support-grid,
    .split-panel,
    .dashboard-top,
    .products-page-shell {
        grid-template-columns: 1fr;
    }

    .affiliate-band,
    .dashboard-overview-grid,
    .risk-board-grid,
    .services-strip,
    .affiliate-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .capability-grid,
    .compact-item-grid,
    .compact-metric-grid,
    .product-grid,
    .license-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .value-grid,
    .support-highlights,
    .dashboard-stat-grid,
    .user-card-grid {
        grid-template-columns: 1fr;
    }

    .cta-panel,
    .catalog-heading,
    .section-heading,
    .section-heading-inline {
        flex-direction: column;
        align-items: start;
    }

    .section-caption {
        max-width: none;
    }

    .compact-form-grid {
        grid-template-columns: 1fr;
    }

    .products-sidebar-panel {
        position: static;
    }

    .about-mission-panel,
    .about-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-workbench {
        grid-template-columns: 1fr;
    }

    .products-panel-head,
    .products-results-head {
        flex-direction: column;
        align-items: start;
    }

    .products-compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .nav-shell {
        flex-wrap: wrap;
        gap: 1rem;
        min-height: auto;
        padding: 1rem 0;
    }

    .brandmark {
        max-width: calc(100% - 62px);
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-panel {
        display: none;
        width: 100%;
        padding-top: 1rem;
        border-top: 1px solid rgba(20, 51, 165, 0.08);
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .site-header.nav-open .nav-panel {
        display: flex;
    }

    .primary-nav,
    .nav-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-nav {
        margin-left: 0;
    }

    .primary-nav a,
    .nav-actions .button {
        width: 100%;
        justify-content: center;
    }

    .hero-section .hero-visual {
        min-height: 500px;
    }

    .hero-section .model-card {
        max-width: 340px;
    }

    .products-tabdock {
        width: 100%;
    }

    .products-compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .container {
        width: min(1200px, calc(100vw - 1.25rem));
    }

    .hero-section,
    .page-hero,
    .dashboard-shell {
        padding: 3.25rem 0 2rem;
    }

    .page-hero.compact {
        padding-top: 2.8rem;
    }

    .brandmark {
        max-width: calc(100% - 62px);
    }

    .brandmark-copy small {
        display: none;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.45rem;
    }

    .hero-metrics,
    .capability-grid,
    .compact-item-grid,
    .compact-metric-grid,
    .product-grid,
    .license-grid,
    .footer-grid,
    .services-strip,
    .affiliate-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .support-highlights,
    .value-grid {
        grid-template-columns: 1fr;
    }

    .about-mission-panel,
    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .two-column-form,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .catalog-product-card {
        flex-basis: 100%;
        max-width: 100%;
    }

    .catalog-product-card-shell {
        grid-template-columns: 1fr;
    }

    .catalog-product-media {
        border-bottom: 0;
    }

    .products-tab-panel,
    .products-domain-sidebar,
    .products-overview-card {
        padding: 1.15rem;
    }

    .products-tablist {
        display: flex;
        flex-direction: column;
    }

    .products-tab {
        border-right: 0;
        border-top: 1px solid rgba(20, 51, 165, 0.1);
    }

    .products-tab:first-child {
        border-top: 0;
    }

    .products-compact-grid {
        grid-template-columns: 1fr;
    }

    .portal-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 0.6rem;
    }

    .portal-nav a {
        width: 100%;
        justify-content: center;
        text-align: center;
        min-width: 0;
    }

    .hero-actions,
    .product-actions,
    .stack-actions {
        width: 100%;
    }

    .hero-actions .button,
    .product-actions .button,
    .stack-actions .button {
        flex: 1 1 100%;
    }

    .products-panel-head p {
        padding-left: 0;
    }

    .products-panel-head p::before {
        display: none;
    }

    .products-results-title p {
        padding-left: 0;
    }

    .products-results-title p::before {
        display: none;
    }

    .compact-toolbar,
    .compact-item-summary,
    .compact-item-meta,
    .compact-snapshot-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .compact-toolbar-count {
        white-space: normal;
    }

    .visual-card {
        min-height: auto;
    }

    .risk-board {
        position: relative;
        inset: auto;
        margin-top: -0.4rem;
    }

    .hero-section .hero-visual {
        display: block;
        min-height: auto;
        padding: 0.85rem;
    }

    .hero-section .model-board-live {
        display: grid;
        gap: 0.78rem;
        min-height: auto;
        height: auto;
    }

    .hero-section .model-card {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: none;
        grid-template-columns: 62px minmax(0, 1fr);
        padding: 1rem 1.05rem;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }

    .hero-section .model-card.is-hidden {
        display: none;
    }

    .hero-section .model-card-icon {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
    }

    .hero-section .model-icon-svg {
        width: 30px;
        height: 30px;
    }

    th,
    td {
        padding: 0.8rem;
    }

    .license-key-row {
        flex-direction: column;
        align-items: stretch;
    }

    .affiliate-link-row,
    .auth-link-row,
    .user-meta-inline {
        align-items: flex-start;
        flex-direction: column;
    }

    .affiliate-link-row .button,
    .auth-link-row .button {
        width: 100%;
    }

    .status-badge {
        min-width: 0;
        max-width: 100%;
    }

    .logo-ribbon .container,
    .affiliate-band,
    .products-tab-panel,
    .products-domain-sidebar,
    .products-overview-card {
        padding: 1.1rem 1.15rem;
    }

    .site-footer .container {
        width: min(1200px, calc(100vw - 1.25rem));
    }

    .about-hero-backdrop img {
        width: min(46rem, 118vw);
        opacity: 0.045;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 520px) {
    .portal-nav {
        grid-template-columns: 1fr;
    }

    .compact-item-summary,
    .compact-item-panel {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .products-tabdock {
        border-radius: var(--radius-lg);
    }
}
