@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ============================================================
   TraiQ Risk — marketing site
   Palette pulled from the product codebase (css/styles.css):
   navy / cyan / magenta / cool-grey LIGHT theme.
   Layout patterns adapted from moderntreasury.com structure.
   ============================================================ */
:root {
    --navy-900: #0A1628;

    /* darkest — dark sections, footer, nav text */
    --navy-800: #10233A;

    /* headings + body text */
    --navy-700: #17314D;

    /* premium headings, dark-section surfaces */
    --cyan: #06B6D4;

    /* PRIMARY brand accent — risk / data */
    --cyan-deep: #0891B2;

    /* cyan hover */
    --cyan-wash: #E6F7FB;

    /* faint cyan tint bg */
    --magenta: #96008F;

    /* AI / action accent — Q's colour */
    --magenta-deep: #7A0074;
    --magenta-wash: #FBEFFB;

    /* faint magenta tint bg */
    --slate: #334155;

    /* corporate neutral */
    --text-muted: #5B6470;

    /* secondary text / labels */
    --border: #C5CCD4;

    /* cool-grey borders */
    --border-lt: #DCE2E8;

    /* lighter hairline */
    --page-bg: #FFFFFF;

    /* dominant white canvas (MT-style) */
    --page-alt: #F2F6F8;

    /* alternating cool-grey section */
    --surface: #FFFFFF;

    /* card surface */
    --nav-h: 72px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--page-bg);
    color: var(--navy-800);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── ANNOUNCEMENT BAR ── */
.announce {
    background: var(--navy-900);
    color: #DCE6F0;
    text-align: center;
    font-size: 0.8rem;
    padding: 9px 16px;
    letter-spacing: 0.01em;
}

.announce a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
}

.announce a:hover {
    text-decoration: underline;
}

/* ── NAV ── */
nav {
    position: sticky;
    top: 0;
    height: var(--nav-h);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-lt);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 100;
}

.nav-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy-900);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.nav-logo span {
    color: var(--cyan);
}

.nav-logo img {
    height: 56px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--slate);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: color .15s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--navy-900);
}

.nav-ctas {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* keep nav buttons visually smaller than the logo */
.nav-ctas .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .18s;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--navy-900);
    color: #fff;
}

.btn-primary:hover {
    background: var(--navy-700);
}

.btn-bright {
    background: var(--cyan);
    color: var(--navy-900);
}

.btn-bright:hover {
    background: var(--cyan-deep);
    color: #fff;
}

.btn-magenta {
    background: var(--magenta);
    color: #fff;
}

.btn-magenta:hover {
    background: var(--magenta-deep);
}

.btn-ghost {
    background: transparent;
    color: var(--navy-900);
    border-color: var(--border);
}

.btn-ghost:hover {
    border-color: var(--navy-900);
}

.btn-ghost-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.btn-ghost-light:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

/* ── LAYOUT ── */
section {
    padding: 104px 0;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-alt {
    background: var(--page-alt);
}

.section-dark {
    background: var(--navy-900);
    color: #fff;
}

/* ── TYPOGRAPHY ── */
h1 {
    font-size: clamp(2.6rem, 5.2vw, 4rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: var(--navy-900);
}

h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--navy-900);
}

h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 8px;
}

p {
    color: var(--slate);
    line-height: 1.7;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
    color: #fff;
}

.section-dark p {
    color: #AEBACA;
}

.eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--cyan-deep);
    margin-bottom: 18px;
    display: block;
}

.eyebrow-magenta {
    color: var(--magenta);
}

.section-dark .eyebrow {
    color: var(--cyan);
}

.lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── HERO ── */
.hero {
    text-align: center;
    padding: 96px 0 80px;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, var(--cyan-wash) 0%, transparent 65%),
    var(--page-bg);
    border-bottom: 1px solid var(--border-lt);
}

.hero h1 {
    max-width: 880px;
    margin: 0 auto 26px;
}

.hero .lead {
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
}

/* hero product mock */
.hero-visual {
    max-width: 940px;
    margin: 72px auto 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 30px 60px -24px rgba(10,22,40,0.28);
    overflow: hidden;
}

/* hero self-hosted video */
.hero-video {
    line-height: 0;
    background: var(--navy-900);
}

.hero-video video {
    width: 100%;
    height: auto;
    display: block;
}

.mock-topbar {
    height: 40px;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
}

.mock-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
}

.mock-tabstrip {
    display: flex;
    gap: 4px;
    padding: 0 18px;
    border-bottom: 1px solid var(--border-lt);
    background: var(--page-alt);
}

.mock-tab {
    padding: 13px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
}

.mock-tab.is-active {
    color: var(--navy-900);
    border-bottom-color: var(--cyan);
}

/* KPI tile row mock */
.mock-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 24px;
}

.mock-kpi {
    text-align: left;
    border: 1px solid var(--border-lt);
    border-left: 3px solid var(--cyan);
    border-radius: 9px;
    padding: 16px;
    background: var(--surface);
}

.mock-kpi.accent-magenta {
    border-left-color: var(--magenta);
}

.mock-kpi .k-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.mock-kpi .k-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.02em;
}

.mock-kpi .k-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.k-up {
    color: #1F7A3D;
}

.k-down {
    color: #B91C1C;
}

/* ── STANDARDS STRIP ── */
.standards {
    padding: 44px 0;
    border-bottom: 1px solid var(--border-lt);
    background: var(--page-bg);
}

.standards p {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 26px;
}

.standards-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 40px;
}

.standard-chip {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-700);
    letter-spacing: -0.01em;
    opacity: 0.7;
}

/* ── STATS ROW ── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.stat {
    text-align: center;
    padding: 0 32px;
}

.stat + .stat {
    border-left: 1px solid var(--border-lt);
}

.stat .s-value {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--navy-900);
    line-height: 1;
    margin-bottom: 12px;
}

.stat .s-value em {
    font-style: normal;
    color: var(--cyan-deep);
}

.stat .s-label {
    font-size: 0.92rem;
    color: var(--text-muted);
    max-width: 220px;
    margin: 0 auto;
}

/* ── ALTERNATING SPLIT SECTIONS ── */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.split + .split {
    margin-top: 120px;
}

.split.reverse .split-text {
    order: 2;
}

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

.split-text h2 {
    margin-bottom: 18px;
}

.split-text p {
    font-size: 1.02rem;
    margin-bottom: 20px;
}

.split-quote {
    font-size: 1.05rem;
    font-weight: 600;
    font-style: italic;
    color: var(--navy-800);
    border-left: 3px solid var(--cyan);
    padding-left: 16px;
    margin-bottom: 22px;
    line-height: 1.5;
}

.split-text .link-cyan {
    color: var(--cyan-deep);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.split-text .link-cyan:hover {
    text-decoration: underline;
}

/* split visual panels (mock UI) */
.panel-mock {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 20px 44px -22px rgba(10,22,40,0.24);
    overflow: hidden;
}

.panel-mock-head {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-lt);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-mock-head .pm-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy-900);
}

.panel-mock-head .pm-tag {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    background: var(--cyan-wash);
    color: var(--cyan-deep);
}

.panel-mock-body {
    padding: 20px;
}

/* mini bar/gauge rows */
.gauge-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gauge {
}

.gauge-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 7px;
}

.gauge-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy-800);
}

.gauge-val {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy-900);
}

.gauge-track {
    height: 8px;
    border-radius: 5px;
    background: var(--page-alt);
    overflow: hidden;
}

.gauge-fill {
    height: 100%;
    border-radius: 5px;
    background: var(--cyan);
}

.gauge-fill.amber {
    background: #B7791F;
}

.gauge-fill.red {
    background: #B91C1C;
}

.gauge-fill.green {
    background: #1F7A3D;
}

/* mock data table */
.mock-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.mock-table th {
    text-align: left;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
}

.mock-table td {
    padding: 10px;
    border-bottom: 1px solid var(--border-lt);
    color: var(--slate);
}

.mock-table td.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--navy-800);
}

.mock-table .deal-id {
    font-family: ui-monospace, monospace;
    font-size: 0.74rem;
    color: var(--cyan-deep);
    font-weight: 600;
}

.util-pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.util-pill.high {
    background: #FBE9E9;
    color: #B91C1C;
}

.util-pill.mid {
    background: #FBF3E0;
    color: #B7791F;
}

.util-pill.low {
    background: #E6F4EC;
    color: #1F7A3D;
}

/* ── Q CHAT (dark section) ── */
.chat-head {
    text-align: center;
    margin-bottom: 48px;
}

.chat-head h2 {
    margin-bottom: 14px;
}

.chat-head p {
    max-width: 560px;
    margin: 0 auto;
}

.chat-window {
    background: var(--navy-700);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}

.chat-topbar {
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0,0,0,0.2);
}

.q-badge {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--magenta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.chat-topbar-info strong {
    display: block;
    font-size: 0.88rem;
    color: #fff;
}

.chat-topbar-info span {
    font-size: 0.74rem;
    color: #8A99AD;
}

.chat-body {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.chat-exchange {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-user {
    align-self: flex-end;
    background: var(--cyan);
    color: var(--navy-900);
    padding: 12px 18px;
    border-radius: 14px 14px 4px 14px;
    max-width: 76%;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
}

.chat-q {
    align-self: flex-start;
    display: flex;
    gap: 12px;
    max-width: 90%;
}

.chat-q .q-badge {
    align-self: flex-start;
    margin-top: 2px;
}

.chat-q-bubble {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 14px 18px;
    border-radius: 4px 14px 14px 14px;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #C7D2DF;
}

.chat-q-bubble strong {
    color: #fff;
}

.chat-q-bubble .cite {
    color: var(--cyan);
    font-family: ui-monospace, monospace;
    font-size: 0.82rem;
}

.chat-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 2px 0;
}

/* ── FEATURE / CARD GRID ── */
.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 52px;
}

.card-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 52px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border-lt);
    border-radius: 12px;
    padding: 30px;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}

.feature-card:hover {
    box-shadow: 0 16px 36px -20px rgba(10,22,40,0.22);
    border-color: var(--border);
    transform: translateY(-2px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--cyan-wash);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.feature-icon.magenta {
    background: var(--magenta-wash);
}

.feature-card p {
    font-size: 0.9rem;
}

/* role cards */
.role-card {
    background: var(--surface);
    border: 1px solid var(--border-lt);
    border-radius: 12px;
    padding: 26px 22px;
}

.role-card .role-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--cyan-deep);
    margin-bottom: 12px;
}

.role-card p {
    font-size: 0.86rem;
    line-height: 1.6;
}

/* section heading block */
.heading-block {
    max-width: 620px;
}

.heading-block.center {
    margin: 0 auto;
    text-align: center;
}

.heading-block h2 {
    margin-bottom: 16px;
}

/* ── FEATURES PAGE domains ── */
.domain {
    border-top: 1px solid var(--border);
    padding: 56px 0;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 56px;
}

.domain:last-child {
    border-bottom: 1px solid var(--border);
}

.domain-label .d-num {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cyan-deep);
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    display: block;
}

.domain-label h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.domain-label .d-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.domain.is-q .d-num {
    color: var(--magenta);
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 32px;
}

.feature-list li {
    font-size: 0.9rem;
    color: var(--slate);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 700;
}

.domain.is-q .feature-list li::before {
    color: var(--magenta);
}

/* ── TAILORED blocks ── */
.tblock {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 56px;
    align-items: start;
}

.tblock + .tblock {
    margin-top: 72px;
    padding-top: 72px;
    border-top: 1px solid var(--border-lt);
}

.tblock-num {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--cyan-deep);
    margin-bottom: 10px;
}

.tblock h3 {
    font-size: 1.5rem;
    line-height: 1.25;
}

.tblock p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.tlist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.tlist li {
    font-size: 0.9rem;
    color: var(--slate);
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.tlist li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 700;
}

.tlist li strong {
    color: var(--navy-900);
}

.timeline-box {
    margin-top: 28px;
    padding: 24px;
    background: var(--page-alt);
    border: 1px solid var(--border-lt);
    border-radius: 12px;
}

.timeline-box .tb-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyan-deep);
    margin-bottom: 14px;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.timeline-grid .t-step .t-when {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.timeline-grid .t-step .t-what {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── ABOUT ── */
.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 52px;
}

.pillar {
    padding: 30px;
    border: 1px solid var(--border-lt);
    border-radius: 12px;
    background: var(--surface);
}

.pillar .p-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--cyan-wash);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.pillar:nth-child(3) .p-icon {
    background: var(--magenta-wash);
}

.pillar p {
    font-size: 0.88rem;
}

.metric-card {
    padding: 34px;
    background: var(--navy-900);
    border-radius: 14px;
    color: #fff;
}

.metric-card .m-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.metric-card .m-row + .m-row {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 20px;
    margin-top: 20px;
}

.metric-card .m-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--cyan);
    letter-spacing: -0.03em;
}

.metric-card .m-label {
    font-size: 0.85rem;
    color: #AEBACA;
}

.company-row {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
}

.company-item .ci-k {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.company-item .ci-v {
    color: var(--navy-900);
    font-weight: 600;
}

.company-item .ci-s {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* contact */
.contact-block {
    background: var(--page-alt);
    border: 1px solid var(--border-lt);
    border-radius: 16px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item .ci-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
    font-size: 0.98rem;
    color: var(--navy-900);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--cyan-deep);
}

.contact-side h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-side p {
    font-size: 0.9rem;
    margin-bottom: 22px;
}

.contact-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ── CTA SECTION ── */
.cta-section {
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section p {
    margin-bottom: 36px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
}

/* ── FOOTER ── */
footer {
    background: var(--navy-900);
    color: #8A99AD;
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .foot-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.03em;
}

.footer-brand .foot-logo span {
    color: var(--cyan);
}

.footer-brand .foot-logo img {
    height: 52px;
    width: auto;
    display: block;
}

.footer-brand p {
    font-size: 0.85rem;
    color: #8A99AD;
    margin-top: 14px;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #C7D2DF;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-col a {
    color: #8A99AD;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color .15s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #6B7889;
}

/* ── Q CAPABILITY PILLS (on dark section) ── */
.q-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 40px;
}

.q-pill {
    font-size: 0.82rem;
    font-weight: 600;
    color: #D6DEEA;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 9px 16px;
    border-radius: 24px;
}

.q-pill::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #CE6FC6;
    margin-right: 9px;
    vertical-align: middle;
}

/* ── PHILOSOPHY FLOW (Portfolios → Products → Risks → Mandates) ── */
.flow {
    display: flex;
    align-items: stretch;
    margin-top: 56px;
}

.flow-node {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 26px 22px;
    text-align: center;
}

.flow-node .fn-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    margin: 0 auto 14px;
    background: var(--cyan-wash);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.flow-node:nth-child(7) .fn-icon {
    background: var(--magenta-wash);
}

/* Mandates node */
.flow-node h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.flow-node p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: var(--cyan);
    font-size: 1.4rem;
    font-weight: 700;
    flex: 0 0 auto;
}

/* ── Q CAPABILITY GRID ── */
.qcap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 52px;
}

.qcap {
    background: var(--surface);
    border: 1px solid var(--border-lt);
    border-radius: 12px;
    padding: 24px;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}

.qcap:hover {
    box-shadow: 0 16px 36px -20px rgba(10,22,40,0.22);
    border-color: var(--border);
    transform: translateY(-2px);
}

.qcap .qc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--magenta-wash);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.qcap h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 7px;
}

.qcap p {
    font-size: 0.84rem;
    color: var(--slate);
    line-height: 1.55;
}

/* ── RISK FAMILY GRID ── */
.riskfam-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 52px;
}

.riskfam-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.riskfam {
    background: var(--surface);
    border: 1px solid var(--border-lt);
    border-top: 3px solid var(--cyan);
    border-radius: 10px;
    padding: 26px;
}

.riskfam h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.riskfam .rf-owner {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cyan-deep);
    margin-bottom: 14px;
}

.riskfam ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.riskfam li {
    font-size: 0.82rem;
    color: var(--slate);
    padding-left: 16px;
    position: relative;
    line-height: 1.45;
}

.riskfam li::before {
    content: '·';
    position: absolute;
    left: 4px;
    color: var(--cyan);
    font-weight: 700;
}

/* ── PROVIDER / MODEL CARDS ── */
.provider-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 40px;
}

.provider {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
}

.provider .pv-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.pv-badge.default {
    background: var(--cyan-wash);
    color: var(--cyan-deep);
}

.pv-badge.enterprise {
    background: var(--magenta-wash);
    color: var(--magenta);
}

.pv-badge.onprem {
    background: #E9EDF2;
    color: var(--slate);
}

.provider h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.provider p {
    font-size: 0.86rem;
    color: var(--slate);
    line-height: 1.6;
}

.provider .pv-models {
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.provider .pv-models strong {
    color: var(--navy-800);
}

/* residency callout */
.residency-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.residency {
    padding: 24px;
    border: 1px solid var(--border-lt);
    border-radius: 10px;
    background: var(--surface);
}

.residency .rs-icon {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.residency h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.residency p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ── DEPLOYMENT SPECTRUM ── */
.deploy-spectrum {
    margin-top: 40px;
}

.ds-ends {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.ds-bar {
    height: 6px;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--magenta) 0%, #663DA6 36%, #3679BD 68%, var(--cyan) 100%);
}

.deploy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.deploy-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border-lt);
    border-top: 3px solid var(--dc-edge, var(--cyan));
    border-radius: 12px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
}

/* the recommended route — tinted to stand out */
.deploy-card.is-default {
    background: var(--cyan-wash);
    border-color: #BfE6F0;
}

.deploy-card .dc-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.deploy-card .dc-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.2;
    margin-bottom: 8px;
}

.deploy-card .dc-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 2.5em;
}

.dc-rows {
    margin-top: auto;
    border-top: 1px solid var(--border-lt);
}

.dc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border-lt);
    font-size: 0.82rem;
}

.dc-row:last-child {
    border-bottom: none;
}

.dc-row .dc-k {
    color: var(--text-muted);
}

.dc-row .dc-v {
    font-weight: 700;
    color: var(--navy-900);
    text-align: right;
}

.dc-stars {
    color: var(--navy-800);
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.dc-stars .dc-star-off {
    color: var(--border);
}

/* sits UNDER the card (full card width) so it never stretches the card or misaligns the rows */
.dc-flag {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 12px);
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 7px 12px;
    border-radius: 8px;
    background: var(--cyan);
    color: var(--navy-900);
}

.deploy-note {
    margin: 60px auto 0;
    max-width: 860px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.deploy-note strong {
    color: var(--navy-800);
    font-weight: 600;
}

/* ── MANDATE MAP (philosophy diagram) ── */
.mandatemap {
    margin-top: 48px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.mandatemap svg {
    display: block;
    width: 100%;
    min-width: 1040px;
    height: auto;
}

/* ── PRODUCT SLIDESHOW ── */
.shotshow {
    position: relative;
    margin-top: 48px;
}

.shot-track {
    position: relative;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    border-radius: 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.shot-track::-webkit-scrollbar {
    display: none;
}

.shot-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    padding: 0 2px;
}

.shot-frame {
    background: var(--navy-700);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
}

.shot-frame .mock-topbar {
    background: rgba(0,0,0,0.25);
}

.shot-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* placeholder slot — sized to match the real screenshot ratio */
.shot-empty {
    aspect-ratio: 1919 / 929;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background:
        repeating-linear-gradient(-45deg, rgba(255,255,255,0.025) 0 14px, transparent 14px 28px),
        var(--navy-800);
}

.shot-empty .se-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyan);
    border: 1px solid rgba(6,182,212,0.4);
    border-radius: 20px;
    padding: 5px 14px;
}

.shot-empty .se-cap {
    font-size: 1.15rem;
    font-weight: 600;
    color: #6B7889;
}

.shot-cap {
    text-align: center;
    margin: 20px auto 0;
    max-width: 680px;
    font-size: 0.92rem;
    color: #AEBACA;
}

.shot-cap strong {
    color: #fff;
    font-weight: 600;
}

/* arrows */
.shot-arrow {
    position: absolute;
    top: calc(50% - 38px);
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(10,22,40,0.65);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, border-color .15s;
}

.shot-arrow:hover {
    background: var(--cyan);
    border-color: var(--cyan);
    color: var(--navy-900);
}

.shot-arrow.prev {
    left: -10px;
}

.shot-arrow.next {
    right: -10px;
}

/* dots */
.shot-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 28px;
}

.shot-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: background .15s, transform .15s;
}

.shot-dots button.is-active {
    background: var(--cyan);
    transform: scale(1.25);
}

/* ── RESPONSIVE ── */
@media (max-width: 880px) {
    .nav-links {
        display: none;
    }

    .split,
    .domain,
    .tblock,
    .contact-block,
    .mock-kpis,
    .card-grid-3,
    .card-grid-4,
    .about-pillars,
    .stats-row,
    .footer-grid,
    .timeline-grid,
    .qcap-grid,
    .riskfam-grid,
    .provider-grid,
    .residency-row,
    .deploy-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    /* stacked cards: let the flag flow inline (full width) so it can't overlap the next card */
    .dc-flag {
        position: static;
        align-self: stretch;
        margin-top: 16px;
    }

    .split.reverse .split-text {
        order: 1;
    }

    .split.reverse .split-visual {
        order: 2;
    }

    .flow {
        flex-direction: column;
        gap: 8px;
    }

    .flow-arrow {
        transform: rotate(90deg);
        padding: 4px 0;
    }

    .stat + .stat {
        border-left: none;
        border-top: 1px solid var(--border-lt);
        padding-top: 32px;
    }

    section {
        padding: 64px 0;
    }
}

/* ============================================================
   QUANT TERMINAL THEME — redesign trial (layered overrides)
   Square corners · hairline borders · mono labels & numerals ·
   faint grid backdrop · single sharp accent · no soft shadows.
   Remove this whole block to revert to the base look.
   ============================================================ */
:root {
    --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
    --grid-line: rgba(10, 22, 40, 0.045);
    --hair: #C9D2DB;
}

/* 1 — kill every rounded corner */
.btn, .btn-lg, .feature-card, .role-card, .qcap, .riskfam, .provider,
.residency, .pillar, .metric-card, .contact-block, .timeline-box,
.chat-window, .chat-topbar, .chat-user, .chat-q-bubble, .q-badge,
.hero-visual, .hero-video, .panel-mock, .shot-frame, .shot-empty,
.deploy-card, .dc-flag, .standard-chip, .pv-badge, .q-pill, .util-pill,
.shot-arrow, .mock-kpi, .feature-icon, .qc-icon, .p-icon, .rs-icon,
.fn-icon, .flow-node, .gauge-track, .gauge-fill, .ds-bar, .timeline-box,
img, video, .mandatemap {
    border-radius: 0 !important;
}
.shot-dots button { border-radius: 0 !important; }

/* 2 — drop soft drop-shadows; structure comes from hairlines */
.hero-visual, .panel-mock, .feature-card, .qcap, .chat-window,
.shot-frame, .metric-card, .deploy-card, .mock-kpi {
    box-shadow: none !important;
}

/* 3 — hairline borders + no hover-lift (accent the edge instead) */
.feature-card, .qcap, .role-card, .provider, .residency, .pillar {
    border: 1px solid var(--hair) !important;
}
.feature-card:hover, .qcap:hover, .deploy-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: var(--cyan) !important;
}

/* 4 — faint terminal grid across the light canvas */
body {
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 38px 38px;
}
.section-alt { background: #EAEFF3; }

/* 5 — mono labels with a terminal prefix */
.eyebrow {
    font-family: var(--mono);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.eyebrow::before { content: "// "; opacity: 0.55; }

/* 6 — nav + buttons in mono, square, bracketed */
.nav-links a, .btn { font-family: var(--mono); font-weight: 600; letter-spacing: 0.01em; }
.btn-primary, .btn-bright, .btn-magenta, .btn-ghost, .btn-ghost-light {
    border-radius: 0 !important;
}
.btn-ghost { border-color: var(--navy-900); }

/* 7 — chips / tags / small labels → mono */
.standard-chip, .q-pill, .pv-badge, .dc-flag, .dc-label, .role-title,
.rf-owner, .tblock-num, .se-tag, .k-label, .pm-tag, .ci-label,
.ci-k, .d-num, .tb-label, .footer-col h4, .company-item .ci-k {
    font-family: var(--mono) !important;
}
.standard-chip {
    opacity: 1;
    color: var(--navy-700);
    border: 1px solid var(--hair);
    padding: 6px 13px;
    font-weight: 500;
}

/* 8 — tabular mono numerals for every figure */
.stat .s-value, .metric-card .m-value, .mock-kpi .k-value,
.timeline-grid .t-step .t-when, .dc-stars, .mock-table td.num {
    font-family: var(--mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

/* 9 — flatten the hero: no gradient wash, hard baseline rule */
.hero {
    background: var(--page-bg);
    border-bottom: 1px solid var(--navy-900);
}

/* 10 — section-dark gets a sharper, gridded feel */
.section-dark {
    background:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        var(--navy-900);
    background-size: 38px 38px, 38px 38px, auto;
}

/* 11 — Space Grotesk display headings (ties to the logo face) */
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif; }
h1, h2 { font-weight: 700; letter-spacing: -0.02em; }

/* 12 — left-aligned, asymmetric hero */
.hero { text-align: left; }
.hero h1 { margin-left: 0; margin-right: 0; }
.hero .lead { margin-left: 0; margin-right: 0; }
.hero-ctas { justify-content: flex-start; }
.hero-visual { max-width: none; margin: 56px 0 0; }

/* 13 — bare icons: no tinted background box, uniform across the site */
.feature-icon, .feature-icon.magenta, .qc-icon, .p-icon, .fn-icon,
.flow-node:nth-child(7) .fn-icon, .pillar:nth-child(3) .p-icon {
    background: transparent !important;
    width: auto;
    height: auto;
    border: none;
    border-radius: 0 !important;
    justify-content: flex-start !important;
}

/* 14 — contact form (square, mono labels, cyan focus) */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
}
.contact-form .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contact-form label {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    color: var(--navy-900);
    background: var(--surface);
    border: 1px solid var(--hair);
    border-radius: 0;
    padding: 11px 13px;
    width: 100%;
}
.contact-form textarea {
    resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 1px var(--cyan);
}
.contact-form button {
    align-self: flex-start;
    margin-top: 4px;
    border: none;
    cursor: pointer;
}

/* 15 — left-align every card icon + the philosophy flow nodes (were centred) */
.flow-node { text-align: left; }
.flow-node .fn-icon { margin-left: 0; margin-right: auto; }

/* 16 — contact form submit status message */
.form-status {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 4px;
}
.form-status:empty { display: none; }
.form-status.ok {
    font-family: var(--mono);
    color: #1F7A3D;
}
.form-status.err {
    font-family: var(--mono);
    color: #B91C1C;
}

/* 17 — mobile fit: keep everything within the viewport (no horizontal scroll) */
@media (max-width: 600px) {
    nav {
        padding: 0 18px;
        gap: 12px;
    }
    .nav-logo img {
        height: 40px;
    }
    .nav-ctas {
        gap: 8px;
    }
    .nav-ctas .btn {
        padding: 7px 11px;
        font-size: 0.72rem;
    }
    /* secondary CTA dropped on small screens; Request Access stays */
    .nav-ctas .btn-ghost {
        display: none;
    }
    /* tighter side padding on phones */
    .container,
    .container-narrow {
        padding: 0 20px;
    }
    /* big button rows stack instead of overflowing */
    .hero-ctas,
    .cta-section .ctas,
    .contact-ctas {
        flex-wrap: wrap;
    }
    /* let long headings break rather than overflow */
    h1, h2 {
        overflow-wrap: break-word;
    }
    /* long button labels wrap instead of forcing width past the viewport */
    .btn {
        white-space: normal;
        max-width: 100%;
    }
}

/* 18 — mobile hamburger menu */
.nav-toggle {
    display: none;
}

@media (max-width: 880px) {
    nav {
        flex-wrap: wrap;
        height: auto;
        min-height: var(--nav-h);
    }
    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 38px;
        padding: 0 9px;
        background: transparent;
        border: 1px solid var(--hair, #C9D2DB);
        cursor: pointer;
    }
    .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--navy-900);
        transition: transform .2s ease, opacity .2s ease;
    }
    nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
    nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* links + ctas collapsed until the menu is opened */
    .nav-links,
    .nav-ctas {
        display: none;
    }
    nav.open .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        order: 5;
        gap: 0;
        margin-top: 8px;
        padding: 4px 0 10px;
        border-top: 1px solid var(--border-lt);
    }
    nav.open .nav-links a {
        display: block;
        padding: 12px 2px;
        font-size: 1.05rem;
    }
    nav.open .nav-ctas {
        display: flex;
        width: 100%;
        order: 6;
        gap: 10px;
        padding-bottom: 14px;
    }
    nav.open .nav-ctas .btn {
        flex: 1;
        justify-content: center;
    }
}
