﻿/* =============================================================================
   HumanCapital — site.css
   Single authoritative stylesheet for all public-facing views.
   Source: consolidated from _Layout.cshtml and Index.cshtml style blocks.
   Inline styles resolved into semantic classes (see section: Resolved Inline Styles).
   ============================================================================= */
html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; /* THIS pushes footer down */
}
/* ── RESET ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── DESIGN TOKENS ── */
:root {
    /* Backgrounds */
    --bg: #FFFFFF;
    --bg-alt: #F4F6FA;
    --bg-alt2: #E8EDF5;
    /* US flag blue palette — Pantone 282 C */
    --navy: #002868;
    --navy-mid: #1B4FB8;
    --navy-pale: #E8EDF8;
    --navy-dark: #001A45;
    /* Typography */
    --text: #0B1226;
    --text-mid: #3D4560;
    --text-subtle: #6B7494;
    --text-muted: #9098B2;
    --white: #FFFFFF;
    /* Borders */
    --border: rgba(0, 40, 104, 0.12);
    --border-mid: rgba(0, 40, 104, 0.25);
    /* Fonts */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    /* Layout */
    --nav-h: 68px;
    --section-pad: clamp(64px, 10vw, 120px);
    --container: min(1120px, 100% - 2rem);
    --header-height: 64px;
}

@media (max-width: 768px) {
    :root {
        --header-height: 68px; /* slightly larger for mobile */
    }
}
@media (max-width: 768px) {
    .onboarding-title {
        margin-top: 8px; /* reduce this */
    }
}

/* ── BASE ── */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
/* =============================================================================
   NAVIGATION
   ============================================================================= */
nav.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
    background: rgba(255, 255, 255, 0);
    border-bottom: 1px solid rgba(0, 40, 104, 0);
    transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

    nav.site-nav.scrolled {
        background: rgba(255, 255, 255, 0.97);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 1px 24px rgba(0, 40, 104, 0.06);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo-mark {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    border-radius: 7px;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
}

.nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── BUTTONS ── */
.btn-ghost {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy);
    background: none;
    border: 1px solid var(--border-mid);
    border-radius: 6px;
    padding: 8px 18px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
    display: inline-block;
}

    .btn-ghost:hover {
        background: var(--navy-pale);
        border-color: var(--navy);
        color: var(--navy);
        text-decoration: none;
    }

.btn-navy {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    background: var(--navy);
    border: 1px solid var(--navy);
    border-radius: 6px;
    padding: 8px 20px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
    display: inline-block;
}

    .btn-navy:hover {
        background: var(--navy-mid);
        border-color: var(--navy-mid);
        color: var(--white);
        text-decoration: none;
    }

.btn-primary {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    background: var(--navy);
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    display: inline-block;
}

    .btn-primary:hover {
        background: var(--navy-mid);
        transform: translateY(-1px);
        color: var(--white);
        text-decoration: none;
    }

.btn-outline {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--navy);
    background: none;
    border: 1px solid var(--border-mid);
    border-radius: 8px;
    padding: 14px 32px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    display: inline-block;
}

    .btn-outline:hover {
        background: var(--navy-pale);
        border-color: var(--navy);
        text-decoration: none;
        color: var(--navy);
    }

/* =============================================================================
   SHARED SECTION UTILITIES
   ============================================================================= */
section {
    padding: var(--section-pad) clamp(1rem, 4vw, 2.5rem);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 1rem;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.12;
    color: var(--text);
    margin-bottom: 1.25rem;
}

    h2 em {
        font-style: italic;
        color: var(--navy-mid);
    }

.section-body {
    font-size: 1.05rem;
    color: var(--text-subtle);
    max-width: 560px;
    line-height: 1.75;
    font-weight: 300;
}

.navy-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-mid) 30%, var(--border-mid) 70%, transparent 100%);
}

/* =============================================================================
   SCROLL REVEAL
   ============================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =============================================================================
   FOOTER
   ============================================================================= */
footer.site-footer {
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem clamp(1rem, 4vw, 2.5rem);
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-mark {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.footer-link {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    padding: 0 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    transition: color 0.2s;
    white-space: nowrap;
}

    .footer-link:first-child {
        padding-left: 0;
    }

    .footer-link:last-child {
        border-right: none;
        padding-right: 0;
    }

    .footer-link:hover {
        color: var(--white);
        text-decoration: none;
    }

/* =============================================================================
   HERO
   ============================================================================= */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--nav-h) + 0px) clamp(1rem, 4vw, 2.5rem) clamp(64px, 8vw, 100px);
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 75% 35%, rgba(0, 40, 104, 0.05) 0%, transparent 65%), radial-gradient(ellipse 50% 50% at 15% 85%, rgba(0, 40, 104, 0.03) 0%, transparent 55%);
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 40, 104, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 40, 104, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy-pale);
    border: 1px solid var(--border-mid);
    border-radius: 100px;
    padding: 4px 16px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--navy);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 7vw, 5.5rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--text);
    max-width: 820px;
    margin-bottom: 1.5rem;
}

    h1 em {
        font-style: italic;
        color: var(--navy-mid);
    }

.hero-sub {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: var(--text-subtle);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.hero-trust-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-stat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.stat-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-subtle);
}

.stat-chip-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--navy-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .stat-chip-icon svg {
        width: 10px;
        height: 10px;
        fill: var(--navy);
    }

/* =============================================================================
   PAIN
   ============================================================================= */
.pain {
    background: var(--bg-alt);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px;
    background: var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 3rem;
}

.pain-card {
    background: var(--bg-alt);
    padding: 2rem 1.75rem;
    transition: background 0.2s;
}

    .pain-card:hover {
        background: var(--bg-alt2);
    }

.pain-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: rgba(0, 40, 104, 0.22);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.pain-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.pain-body {
    font-size: 0.9rem;
    color: var(--text-subtle);
    line-height: 1.65;
    font-weight: 300;
}

/* =============================================================================
   PILLARS
   ============================================================================= */
.pillars {
    background: var(--bg);
}

.pillars-header {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .pillars-header {
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }
}

/* Resolved inline style: style="margin-top:0;" on the pillars header body text */
.pillars-header .section-body {
    margin-top: 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .pillars-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pillar-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem 1.75rem;
    background: var(--bg);
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

    .pillar-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--navy), transparent);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .pillar-card:hover {
        border-color: var(--border-mid);
        background: var(--navy-pale);
        box-shadow: 0 4px 24px rgba(0, 40, 104, 0.08);
    }

        .pillar-card:hover::before {
            opacity: 1;
        }

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--navy-pale);
    border: 1px solid var(--border-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

    .pillar-icon svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: var(--navy);
        stroke-width: 1.5px;
    }

.pillar-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.pillar-body {
    font-size: 0.875rem;
    color: var(--text-subtle);
    line-height: 1.65;
    font-weight: 300;
}

/* ── Resolved inline styles: the 99.9% accuracy pillar card ──────────────────
   Was: style="display:flex;flex-direction:column;justify-content:center;
               align-items:center;text-align:center;border-color:var(--border-mid);
               background:var(--navy-pale);"
   Now: class="pillar-card pillar-card--stat"
   ───────────────────────────────────────────────────────────────────────────── */
.pillar-card--stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-color: var(--border-mid);
    background: var(--navy-pale);
}

/* Was: style="font-family:var(--font-display);font-size:2.4rem;
               font-weight:600;color:var(--navy);margin-bottom:0.5rem;"
   Now: class="pillar-stat-value" */
.pillar-stat-value {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

/* Was: style="font-size:1.2rem;color:var(--navy-mid);" on the + span
   Now: class="pillar-stat-sup" */
.pillar-stat-sup {
    font-size: 1.2rem;
    color: var(--navy-mid);
}

/* Was: style="font-size:0.9rem;color:var(--text-subtle);font-weight:300;"
   Now: class="pillar-stat-body" */
.pillar-stat-body {
    font-size: 0.9rem;
    color: var(--text-subtle);
    font-weight: 300;
}

/* =============================================================================
   STATUTORY
   ============================================================================= */
.statutory {
    background: var(--bg-alt);
}

.statutory-layout {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 900px) {
    .statutory-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.statutory-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.stat-badge {
    border: 1px solid var(--border-mid);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    background: var(--bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .stat-badge:hover {
        border-color: var(--navy);
        box-shadow: 0 4px 16px rgba(0, 40, 104, 0.1);
    }

.stat-badge-abbr {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-badge-name {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
    font-weight: 400;
}

/* =============================================================================
   PROCESS (HOW IT WORKS)
   ============================================================================= */
.process {
    background: var(--bg);
}

.process-steps {
    display: grid;
    gap: 0;
    margin-top: 3.5rem;
    list-style: none;
    padding: 0;
}

.process-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 0 1.5rem;
    padding-bottom: 2.5rem;
}

    .process-step:last-child {
        padding-bottom: 0;
    }

.process-step-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy-pale);
    border: 1px solid var(--border-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.process-step-line {
    flex: 1;
    width: 1px;
    background: var(--border);
    margin: 8px 0;
}

.process-step:last-child .process-step-line {
    display: none;
}

.process-step-window {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.4rem;
    padding-top: 10px;
}

.process-step-title {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.process-step-body {
    font-size: 0.875rem;
    color: var(--text-subtle);
    line-height: 1.65;
    font-weight: 300;
}

/* =============================================================================
   METRICS
   ============================================================================= */
.metrics {
    background: var(--navy);
}

    /* Resolved inline styles — text-align added directly to existing rules:
   style="text-align:center" on section-label → .metrics .section-label
   style="text-align:center;margin-bottom:0;" on h2  → .metrics h2        */
    .metrics .section-label {
        color: rgba(255, 255, 255, 0.6);
        text-align: center;
    }

    .metrics h2 {
        color: var(--white);
        text-align: center;
        margin-bottom: 0;
    }

        .metrics h2 em {
            color: rgba(255, 255, 255, 0.7);
            font-style: italic;
        }

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 3rem;
}

@media (min-width: 800px) {
    .metrics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.metric-cell {
    background: var(--navy);
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: background 0.2s;
}

    .metric-cell:hover {
        background: var(--navy-dark);
    }

.metric-value {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

    .metric-value span {
        color: rgba(255, 255, 255, 0.6);
    }

.metric-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    line-height: 1.45;
}

/* =============================================================================
   CURRENCIES
   ============================================================================= */
.currencies {
    background: var(--bg-alt);
}

.currencies-layout {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 900px) {
    .currencies-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.currency-pair {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (max-width: 899px) {
    .currency-pair {
        margin-top: 2rem;
    }
}

.currency-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border-mid);
    border-radius: 12px;
    background: var(--bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .currency-row:hover {
        border-color: var(--navy);
        box-shadow: 0 4px 16px rgba(0, 40, 104, 0.08);
    }

.currency-symbol {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--navy);
    width: 44px;
}

.currency-info-name {
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.currency-info-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Resolved inline style: style="font-size:1.2rem;" on the ZWG symbol
   Was: <div class="currency-symbol" style="font-size:1.2rem;">ZWG</div>
   Now: <div class="currency-symbol currency-symbol--zwg">ZWG</div>         */
.currency-symbol--zwg {
    font-size: 1.2rem;
}

.currency-lock {
    margin-left: auto;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--navy-pale);
    border: 1px solid var(--border-mid);
    border-radius: 100px;
    padding: 4px 12px;
}

/* =============================================================================
   DIFFERENTIATOR
   ============================================================================= */
.diff {
    background: var(--bg);
}

.diff-card {
    border: 1px solid var(--border-mid);
    border-radius: 20px;
    padding: clamp(2.5rem, 6vw, 4.5rem);
    background: linear-gradient(135deg, var(--navy-pale) 0%, var(--bg) 60%);
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 900px) {
    .diff-card {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* Resolved inline style: style="margin-bottom:1.25rem;" on section-label inside diff-card
   Was: <div class="section-label" style="margin-bottom:1.25rem;">
   Now: <div class="section-label"> — rule added contextually below              */
.diff-card .section-label {
    margin-bottom: 1.25rem;
}

.diff-quote {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 500;
    line-height: 1.25;
    color: var(--text);
}

    .diff-quote em {
        color: var(--navy-mid);
        font-style: italic;
    }

.diff-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .diff-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        font-size: 0.95rem;
        color: var(--text-subtle);
        font-weight: 300;
    }

.diff-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--navy-pale);
    border: 1px solid var(--border-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

    .diff-check svg {
        width: 10px;
        height: 10px;
        fill: none;
        stroke: var(--navy);
        stroke-width: 2.5px;
    }

/* =============================================================================
   CTA
   ============================================================================= */
.cta-section {
    background: var(--bg-alt);
    text-align: center;
}

.cta-inner {
    max-width: 680px;
    margin: 0 auto;
}

.cta-body {
    font-size: 1.05rem;
    color: var(--text-subtle);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.cta-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =============================================================================
   RESOLVED INLINE STYLES — UTILITIES
   ============================================================================= */

/* Large CTA button modifier
   Was: style="padding:16px 40px;font-size:1rem;" on both CTA buttons
   Now: class="btn-primary btn-lg" / class="btn-outline btn-lg"              */
.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

/* =============================================================================
   RESPONSIVE OVERRIDES
   ============================================================================= */
@media (max-width: 480px) {
    .nav-logo span {
        display: none;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .btn-primary,
    .btn-outline {
        text-align: center;
    }
}

/* Onboarding*/
.wiz {
    max-width: 660px;
    margin: 0 auto;
    padding: 40px 20px 64px;
    font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
}
    .wiz section {
        padding: 0;
        margin: 0;
    }
    .wiz form {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }
.wiz-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    list-style: none;
    padding: 0;
}

.wiz-steps__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #C8D1E6;
    flex-shrink: 0;
}

.wiz-steps__dot--active {
    background: #1B2B50;
}

.wiz-steps__label {
    font-size: 12px;
    font-weight: 500;
    color: #9AA3BB;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-left: 4px;
}

.wiz h1 {
    font-size: clamp(22px, 5vw, 30px);
    font-weight: 600;
    color: #111D38;
    letter-spacing: -.4px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.wiz__sub {
    font-size: 15px;
    color: #9AA3BB;
    margin-bottom: 36px;
}

.wiz-sec__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9AA3BB;
    margin-bottom: 10px;
}

.wiz-sec {
    margin-bottom: 28px;
}

.wiz-divider {
    border: none;
    border-top: 1px solid #EDF0F7;
    margin: 24px 0;
}

.wiz-grid {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.wiz-grid--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

@media (min-width: 540px) {
    .wiz-grid--flow-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .wiz-grid--flow-3 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 9px;
    }
}

.wiz-check {
    display: none !important;
}

.wiz-radio {
    display: none !important;
}
.wiz-radio-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #C8D1E6;
    border-radius: 10px;
    padding: 14px 15px;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s, background .15s;
    min-height: 44px;
    user-select: none;
}

    .wiz-radio-card:hover {
        border-color: #8FA0CC;
        background: #EEF1F8;
    }

.wiz-radio:checked + .wiz-radio-card {
    border: 1.5px solid #1B2B50;
    background: #EEF1F8;
}

.wiz-radio-ring {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid #C8D1E6;
    background: #fff;
    flex-shrink: 0;
    transition: border .15s;
}

.wiz-radio:checked + .wiz-radio-card .wiz-radio-ring {
    border: 5px solid #1B2B50;
}

.wiz-radio-text {
    font-size: 14px;
    color: #4A5568;
}

.wiz-radio:checked + .wiz-radio-card .wiz-radio-text {
    font-weight: 500;
    color: #111D38;
}

.wiz-check-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid #C8D1E6;
    border-radius: 10px;
    padding: 14px 15px;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s, background .15s;
    min-height: 44px;
    user-select: none;
}

    .wiz-check-card:hover:not(.wiz-check-card--locked) {
        border-color: #8FA0CC;
        background: #EEF1F8;
    }

.wiz-check:checked + .wiz-check-card {
    border: 1.5px solid #1B2B50;
    background: #EEF1F8;
}

.wiz-check-card--locked {
    cursor: default;
    background: #F4F6FB;
}

.wiz-check-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid #C8D1E6;
    background: #fff;
    flex-shrink: 0;
    margin-top: 1px;
    transition: background .15s, border .15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wiz-check:checked + .wiz-check-card .wiz-check-box,
.wiz-check-card--locked .wiz-check-box {
    background: #1B2B50;
    border: none;
}

.wiz-check-box__mark {
    display: none;
    width: 9px;
    height: 9px;
}

.wiz-check:checked + .wiz-check-card .wiz-check-box__mark,
.wiz-check-card--locked .wiz-check-box__mark {
    display: block;
}

.wiz-check-content {
    flex: 1;
}

.wiz-check-label {
    display: block;
    font-size: 14px;
    color: #4A5568;
    line-height: 1.3;
}

.wiz-check:checked + .wiz-check-card .wiz-check-label {
    font-weight: 500;
    color: #111D38;
}

.wiz-check-card--locked .wiz-check-label {
    color: #6B7A99;
    font-weight: 500;
}

.wiz-check-note {
    display: block;
    font-size: 12px;
    color: #9AA3BB;
    margin-top: 2px;
}

.wiz-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #9AA3BB;
    background: #E2E7F0;
    border-radius: 4px;
    padding: 2px 6px;
}

.wiz-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
}

.wiz-back {
    background: none;
    border: none;
    font-size: 14px;
    color: #9AA3BB;
    cursor: pointer;
    padding: 12px 0;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
}

    .wiz-back:hover {
        color: #1B2B50;
    }

.wiz-validation {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #991B1B;
}

/* Centered page layout (auth, forms, etc.) */
.main-centered {
    padding: 60px 1rem 40px;
}

@media (min-width: 640px) {
    .main-centered {
        padding: 80px 1rem 60px;
    }
}

@media (min-width: 1024px) {
    .main-centered {
        padding: 100px 1rem 80px;
    }
}
main {
    padding-top: var(--header-height);
}

/* ── FORM SYSTEM ───────────────────────────── */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 1.25rem;
}

.form-label {
    font-size: 0.85rem;
    color: var(--text-subtle);
    font-weight: 500;
}

.form-input {
    display: block; /* ensure full width */
    width: 100%;
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--border);
    padding: 0 0.75rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--bg-alt);
    transition: all 0.15s ease;
}

    .form-input:focus {
        outline: none;
        border-color: var(--navy-mid);
        background: var(--bg);
        box-shadow: 0 0 0 2px rgba(27, 79, 184, 0.08);
    }


.form-group label,
.form-label {
    display: block; /* override Bootstrap inline-block */
    font-size: 0.85rem;
    color: var(--text-subtle);
    font-weight: 500;
}

/* Primary buttons*/
/* Primary button (institution-grade) */
/* Outline → Solid on hover */
.btnDefault {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background-color: #fff;
    color: var(--navy);
    border: 1px solid var(--navy);
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
    line-height: 1.2;
}

    .btnDefault:hover {
        background-color: var(--navy);
        color: #fff;
        border-color: var(--navy);
    }

    .btnDefault:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 40, 104, 0.25);
    }
    .btnDefault i {
        font-size: 0.9rem;
        line-height: 1;
        display: inline-flex;
        align-items: center;
    }
    .form-input:focus {
        outline: none;
        border-color: var(--navy);
        box-shadow: 0 0 0 2px rgba(0, 40, 104, 0.08);
    }

/* ── AUTH CARD ───────────────────────────── */

/*.auth-page {
    max-width: 480px;
    margin: 100px auto 60px;*/ /* centers horizontally */
    /*padding: 0 1rem;
}*/
.auth-page {
    flex: 1;
    display: flex;
    align-items: center; /* vertical centering */
    justify-content: center; /* horizontal centering */
    padding: 2rem 1rem;
}
.auth-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem 1.75rem;
    box-shadow: 0 8px 24px rgba(0, 40, 104, 0.06);
    width: 100%; /* add this */
}

@media (min-width: 640px) {
    .auth-card {
        max-width: 460px;
    }
}

.auth-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: var(--text);
    margin-bottom: 1rem;
}

.auth-divider {
    height: 1px;
    background: var(--border);
    margin: 1rem 0 1.5rem;
}

.auth-links {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    font-size: 0.85rem;
}

    .auth-links a {
        color: var(--navy-mid);
        text-decoration: none;
    }

        .auth-links a:hover {
            text-decoration: underline;
        }

/* ── AUTH FORM STACKING FIX ─────────────────────────────────────── */
.auth-card .form-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.35rem;
    margin-top: 1.25rem;
}

    .auth-card .form-group label,
    .auth-card .form-label {
        display: block !important;
        width: 100%;
    }

.auth-card .form-input {
    display: block !important;
    width: 100% !important;
}

/* On mobile, don't vertically centre — start from top so card
   doesn't get squeezed against the nav on short screens */
@media (max-width: 639px) {
    .auth-page {
        align-items: flex-start;
        padding-top: calc(var(--nav-h) + 2rem);
    }
}
/*Error page*/
.error-soft {
    background: #F8FAFF;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: var(--text-subtle);
    text-align: center;
    margin-bottom: 1.5rem;
}

.error-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.error-link {
    font-size: 0.85rem;
    color: var(--navy-mid);
    text-decoration: none;
}

    .error-link:hover {
        text-decoration: underline;
    }
.error-meta {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/*page-shell*/
.page-shell {
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    flex-direction: column;
}

.site-header {
    position: sticky; /* preferred over fixed */
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

/*Secure access*/

.secure-access-nav {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 500;
    color: #002868 !important;
    text-decoration: none;
}

    .secure-access-nav:hover {
        opacity: .75;
    }

    /*Login page*/
/* Container for the responsive group */
.responsive-group-container {
    display: flex;
    flex-direction: column; /* Stacked by default (Mobile) */
    width: 100%;
}

@media (min-width: 768px) {
    /* When on Desktop (md), the RenderResponsive method adds d-md-flex to the PARENT div.
       We want this container to behave as a single unit in that row. */
    .responsive-group-container {
        flex-direction: row;
        align-items: center;
    }

        /* If you want the 'Group' mode to look like a standard inline row on desktop: */
        .responsive-group-container .input-group {
            flex-grow: 1;
        }
}

/* Custom alignment for the Auth Card to keep it tight */
.auth-page .auth-card {
    max-width: 450px;
    margin: auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}


@media (max-width: 767px) {
    /* 1. Force the group container to be a block so children can take full width */
    .responsive-group-container .input-group {
        display: block !important;
        width: 100%;
    }

        /* 2. Force the input to take up 100% width and restore rounded corners */
        .responsive-group-container .input-group > .form-control {
            width: 100% !important;
            display: block !important;
            border-radius: 8px !important; /* Forces rounding on all 4 corners */
            margin-bottom: 0;
        }

    /* 3. Ensure the mobile label stays above and aligned */
    .responsive-group-container label.d-md-none {
        display: flex !important;
        margin-bottom: 8px;
    }
}
/*Nav*/
/* Smooth transition for all nav & dropdown links */
.navbar .nav-link,
.dropdown-menu .dropdown-item {
    transition: transform 0.15s ease, font-weight 0.15s ease;
}

    /* Top-level nav items */
    .navbar .nav-link:hover {
        font-weight: 600;
        transform: scale(1.05);
    }

    /* Dropdown items */
    .dropdown-menu .dropdown-item:hover {
        font-weight: 600;
        transform: scale(1.03);
    }
/* --- Main nav centering --- */

.site-nav {
    display: flex;
    align-items: center;
}

.nav-logo {
    flex: 1;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-right {
    flex: 1;
    margin-left: 0; /* override old auto push */
    display: flex;
    justify-content: flex-end;
    align-items: center;
}