/* =========================================================
   HR Rebooted — Design System
   Concept: Disruption vs Governance. Ink-black foundation,
   acid-green for order, red-orange for risk. Bold display
   type, asymmetric grids, surgical motion.
   ========================================================= */

:root {
    /* Surfaces — light theme (white base) */
    --ink-0: #ffffff;
    --ink-1: #f7f9fc;
    --ink-2: #eef2f7;
    --ink-3: #e2e8f0;
    --ink-line: rgba(15, 23, 42, 0.08);
    --ink-line-strong: rgba(15, 23, 42, 0.16);

    /* Text */
    --text-0: #0a0e1a;
    --text-1: #3b4252;
    --text-2: #6b7280;
    --text-3: #9ca3af;

    /* Accents — adjusted for white background contrast */
    --risk: #dc2626;
    --risk-soft: #ef4444;
    --risk-bg: rgba(220, 38, 38, 0.08);

    --gov: #16a34a;
    --gov-soft: #22c55e;
    --gov-bg: rgba(22, 163, 74, 0.1);

    --cool: #0891b2;
    --warn: #d97706;

    /* Zoom-style primary blue for CTAs */
    --primary: #0e72ed;
    --primary-hover: #0a5fcd;

    /* Type */
    --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

    /* Layout */
    --gutter: clamp(20px, 5vw, 80px);
    --max: 1400px;
    --radius: 14px;
    --radius-lg: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text-0);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    background:
        linear-gradient(180deg,
            #04132a 0%,
            #0a1733 12%,
            #1e3a8a 26%,
            #1e40af 40%,
            #2563eb 55%,
            #60a5fa 70%,
            #bfdbfe 84%,
            #eff6ff 95%,
            #ffffff 100%
        ) top center / 100% 1100px no-repeat,
        #ffffff;
    min-height: 100vh;
}

body .hero-light,
body .carousel-wrap,
body .sub-hero {
    background: transparent;
}

/* Top-level nav items: white text on dark green nav.
   Direct-child selector keeps dropdown menu items readable. */
body .nav-links > a:not(.btn) { color: #ffffff; }
body .nav-links > .nav-item-dd > a { color: #ffffff; }
body .nav-links > a:not(.btn):hover,
body .nav-links > .nav-item-dd > a:hover { color: #bbf7d0; }
body .dd-caret { color: #ffffff; }

/* Dropdown panel: white background, dark readable text */
body .nav-dd-menu { background: #ffffff; border-color: var(--ink-line-strong); }
/* Body-level dropdown color rule removed — richer styling above handles this */

/* Promo strip — full-width lighter panel that sticks under the nav on scroll */
.promo-strip {
    background: #1c2a55 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    padding: 14px var(--gutter);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 15px;
    position: sticky;
    top: 112px;
    z-index: 199;
}
.promo-strip strong { color: #ffffff !important; font-weight: 600; }
.promo-strip .promo-cta { color: #bbf7d0 !important; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid transparent; transition: border-color 150ms ease; }
.promo-strip .promo-cta:hover { border-bottom-color: #bbf7d0 !important; }

/* Hero text — white on the dark green portion of the gradient */
body .hero-light .hero-headline,
body .hero-light .hero-sub,
body .hero-light .lede {
    color: #ffffff;
}
body .hero-light .hero-sub .gov-text { color: #bbf7d0; }

/* Sub-hero (Governance 1st sub-products, MyCareer, communities, About, Contact) */
.sub-hero { color: #ffffff; }
.sub-hero .h-display {
    color: #ffffff;
    font-size: clamp(28px, 4vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.sub-hero .lede { color: #ffffff; }
.sub-hero .eyebrow,
.sub-hero .eyebrow.gov,
.sub-hero .eyebrow.risk,
.sub-hero .eyebrow.cool { color: #bbf7d0 !important; }
.sub-hero .gov-text { color: #bbf7d0 !important; }
.sub-hero .product-mark .name,
.sub-hero .product-mark .name .one { color: #ffffff; }
.sub-hero .product-mark .glyph { background: #bbf7d0; color: #04132a; }
.sub-hero .toc a {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}
.sub-hero .toc a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}
.sub-hero .btn-ghost {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    background: transparent;
}
.sub-hero .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
}

::selection { background: var(--gov); color: #ffffff; }

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

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

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Grain overlay removed — solid background only */

/* =========================================================
   Type scale
   ========================================================= */

.eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.eyebrow::before {
    content: "";
    width: 18px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}
.eyebrow.gov { color: var(--gov); }
.eyebrow.risk { color: var(--risk); }
.eyebrow.cool { color: var(--cool); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 0;
    line-height: 1.02;
}

.h-display {
    font-size: clamp(48px, 8.5vw, 132px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.94;
}

.h-1 {
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.0;
}

.h-2 {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.h-3 {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.lede {
    font-size: clamp(17px, 1.5vw, 22px);
    line-height: 1.5;
    color: var(--text-1);
    max-width: 60ch;
}

.mono { font-family: var(--font-mono); }

/* =========================================================
   Layout
   ========================================================= */

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
    z-index: 2;
}

section {
    position: relative;
    padding: clamp(80px, 12vh, 160px) 0;
    z-index: 2;
}

section + section { border-top: none; }
body section { border-top: none !important; }

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: clamp(24px, 5vw, 80px);
    align-items: end;
    margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head .head-left { display: flex; flex-direction: column; gap: 16px; }
.section-head .head-right { color: var(--text-1); font-size: clamp(15px, 1.2vw, 18px); max-width: 56ch; }

@media (max-width: 800px) {
    .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* =========================================================
   Nav
   ========================================================= */

.nav {
    position: sticky;
    top: 0;
    z-index: 200 !important;
    background: #04132a !important;
    background-color: #04132a !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
}
.nav.scrolled { border-bottom: none !important; }
.nav-inner { background: #04132a; }

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 30px var(--gutter) 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
}
.brand .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gov);
    display: inline-block;
    box-shadow: 0 0 18px var(--gov);
}
.brand small {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--text-2);
    text-transform: uppercase;
    margin-left: 4px;
    font-weight: 500;
}

.brand-logo {
    height: 64px;
    width: auto;
    display: block;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 15px;
    color: var(--text-1);
}
@media (max-width: 1180px) { .nav-links { gap: 18px; font-size: 14.5px; } }

/* Dropdown menu — Governance 1st parent */
.nav-item-dd { position: relative; }
.nav-dd-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.dd-caret {
    font-size: 10px;
    opacity: 0.65;
    transition: transform 200ms ease;
}
.nav-item-dd:hover .dd-caret,
.nav-item-dd:focus-within .dd-caret { transform: rotate(180deg); opacity: 1; }
.nav-dd-menu {
    position: absolute;
    top: 100%;
    left: -8px;
    margin-top: 10px;
    min-width: 340px;
    background: #ffffff;
    border: 1px solid var(--ink-line-strong);
    border-radius: 16px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top left;
    transition: opacity 200ms ease, visibility 200ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    box-shadow:
        0 24px 60px -16px rgba(4, 34, 28, 0.45),
        0 6px 16px -4px rgba(4, 34, 28, 0.18);
    background-image:
        radial-gradient(circle at 100% 0%, rgba(187, 247, 208, 0.4) 0%, transparent 55%);
}
.nav-item-dd:hover .nav-dd-menu,
.nav-item-dd:focus-within .nav-dd-menu {
    transform: translateY(0) scale(1);
}
.nav-item-dd::before {
    /* invisible bridge so hover doesn't drop the menu */
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
}
.nav-item-dd:hover .nav-dd-menu,
.nav-item-dd:focus-within .nav-dd-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dd-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--text-1);
    transition: background 180ms ease, transform 180ms ease;
    white-space: normal;
    text-decoration: none;
    border: 1px solid transparent;
    position: relative;
}
.nav-dd-menu a:hover {
    background: linear-gradient(135deg, rgba(2, 102, 255, 0.08) 0%, rgba(191, 219, 254, 0.3) 100%);
    border-color: rgba(2, 102, 255, 0.15);
    transform: translateX(2px);
}
.nav-dd-menu a + a { margin-top: 4px; }

/* Wide variant — 2-column dropdown used by the Services menu */
.nav-dd-menu--wide {
    width: 760px;
    max-width: calc(100vw - 32px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 14px;
}
.nav-dd-menu--wide .dd-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nav-dd-menu--wide a:not(.dd-section-header) {
    padding: 10px 12px;
}
.nav-dd-menu--wide a + a { margin-top: 0; }
.dd-section-header {
    display: block;
    padding: 10px 12px 12px;
    margin: 0 4px 6px;
    border: 0;
    border-bottom: 1px solid var(--ink-line);
    border-radius: 0;
    color: var(--text-2);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 200ms ease;
}
.nav-dd-menu .dd-section-header:hover {
    color: #0266ff;
    background: transparent;
    transform: none;
    border-color: var(--ink-line);
}
.nav-dd-menu .dd-section-header::after { content: none; }
.nav-dd-menu--wide {
    left: 50%;
    transform-origin: top center;
    transform: translate(-50%, -8px) scale(0.98);
}
.nav-item-dd:hover .nav-dd-menu--wide,
.nav-item-dd:focus-within .nav-dd-menu--wide {
    transform: translate(-50%, 0) scale(1);
}
@media (max-width: 800px) {
    .nav-dd-menu--wide { grid-template-columns: 1fr; width: 360px; }
}

.nav-dd-menu .dd-icon,
.nav-flyout-menu .dd-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #0266ff;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 10px -2px rgba(22, 163, 74, 0.4);
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-dd-menu a:hover .dd-icon,
.nav-flyout-menu a:hover .dd-icon {
    transform: scale(1.06) rotate(-3deg);
}

.nav-dd-menu .dd-body,
.nav-flyout-menu .dd-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nav-dd-menu .dd-title,
.nav-flyout-menu .dd-title {
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-0);
    letter-spacing: -0.005em;
    line-height: 1.2;
}
.nav-dd-menu .dd-desc,
.nav-flyout-menu .dd-desc {
    font-size: 12.5px;
    color: var(--text-2);
    line-height: 1.35;
}
.nav-dd-menu a:hover .dd-title,
.nav-flyout-menu a:hover .dd-title { color: #04132a; }
.nav-dd-menu a:hover .dd-desc,
.nav-flyout-menu a:hover .dd-desc { color: var(--text-1); }

/* arrow that slides in on hover */
.nav-dd-menu a::after {
    content: "→";
    position: absolute;
    right: 14px;
    top: 50%;
    color: #16a34a;
    font-size: 16px;
    opacity: 0;
    transform: translateY(-50%) translateX(-6px);
    transition: opacity 200ms ease, transform 200ms ease;
}
.nav-dd-menu a:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Placeholder (non-clickable) inside a dropdown menu */
.nav-dd-menu .dd-placeholder {
    display: block;
    padding: 11px 14px;
    font-size: 13px;
    color: var(--text-2);
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: default;
    user-select: none;
}

/* Active page highlighting via body[data-page] */
body[data-page="gov1st"] .nav-links [data-nav="products"] { color: var(--gov); }
body[data-page="mycareer"] .nav-links [data-nav="mycareer"] { color: var(--risk); }
body[data-page="rebels"] .nav-links [data-nav="rebels"] { color: var(--gov); }
body[data-page="advocates"] .nav-links [data-nav="advocates"] { color: var(--gov); }
body[data-page="about"] .nav-links [data-nav="about"] { color: var(--gov); }
body[data-page="contact"] .nav-links [data-nav="contact"] { color: var(--gov); }

/* In-page anchor jumps should land below the sticky nav + promo strip. */
section[id], article[id], header[id], div[id] { scroll-margin-top: 180px; }

/* Tiered Services menu — flyout cascade */
.nav-dd-tier { position: relative; }
.nav-flyout-trigger .nav-flyout-caret {
    margin-left: auto;
    font-size: 11px;
    opacity: 0.55;
    transition: opacity 180ms ease, transform 180ms ease;
    flex-shrink: 0;
}
.nav-dd-tier:hover .nav-flyout-caret,
.nav-dd-tier:focus-within .nav-flyout-caret {
    opacity: 1;
    transform: translateX(3px);
}
/* Suppress the standard nav-dd-menu hover arrow on the tier-1 triggers */
.nav-dd-menu .nav-flyout-trigger::after { content: none; }

.nav-flyout-menu {
    position: absolute;
    top: -10px;
    left: calc(100% + 14px);
    width: 420px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border: 1px solid var(--ink-line-strong);
    border-radius: 16px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px) scale(0.98);
    transform-origin: top left;
    transition: opacity 200ms ease, visibility 200ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 110;
    box-shadow:
        0 24px 60px -16px rgba(4, 34, 28, 0.45),
        0 6px 16px -4px rgba(4, 34, 28, 0.18);
    background-image:
        radial-gradient(circle at 100% 0%, rgba(187, 247, 208, 0.4) 0%, transparent 55%);
}
.nav-dd-tier:hover .nav-flyout-menu,
.nav-dd-tier:focus-within .nav-flyout-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}
/* Hover bridge from the tier item across the gap to the flyout */
.nav-dd-tier::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 18px;
    height: 100%;
}

/* Items inside the flyout, styled like the main dropdown items */
.nav-flyout-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--text-1);
    text-decoration: none;
    transition: background 180ms ease, transform 180ms ease;
    border: 1px solid transparent;
    position: relative;
}
.nav-flyout-menu a:hover {
    background: linear-gradient(135deg, rgba(2, 102, 255, 0.08) 0%, rgba(191, 219, 254, 0.3) 100%);
    border-color: rgba(2, 102, 255, 0.15);
    transform: translateX(2px);
}
.nav-flyout-menu a + a { margin-top: 4px; }

/* dd-icon / dd-body / dd-title / dd-desc inside the flyout inherit the
   .nav-dd-menu styling via the extended selectors below. */

/* Sub-hero is dark, so risk-red is unreadable there. Use the promo-strip light green instead. */
.sub-hero .btn-risk {
    color: #bbf7d0;
    border-color: rgba(187, 247, 208, 0.55);
    background: transparent;
}
.sub-hero .btn-risk:hover {
    background: rgba(187, 247, 208, 0.12);
    border-color: rgba(187, 247, 208, 0.85);
}

@media (max-width: 800px) { .nav-item-dd { display: none; } }
.nav-links a { transition: color 150ms ease; }
.nav-links a:hover { color: var(--text-0); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.005em;
    transition: transform 200ms ease, background 200ms ease, color 200ms ease, box-shadow 200ms ease;
    white-space: nowrap;
    border: 1px solid transparent;
}
.btn .arr { transition: transform 200ms ease; }
.btn:hover .arr { transform: translateX(3px); }

.btn-primary { background: var(--gov); color: var(--ink-0); }
.btn-primary:hover { background: var(--gov-soft); box-shadow: 0 12px 32px -8px rgba(158, 255, 112, 0.4); transform: translateY(-1px); }

/* =========================================================
   Zoom-style home page additions
   ========================================================= */

/* Promo strip — directly below nav */
.promo-strip {
    background: linear-gradient(90deg, #eff6ff 0%, #f0fdf4 100%);
    border-bottom: 1px solid var(--ink-line);
    padding: 14px var(--gutter);
    text-align: center;
    font-size: 15px;
    color: var(--text-1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.promo-strip strong { color: var(--text-0); font-weight: 600; }
.promo-strip a.promo-cta {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid transparent;
    transition: border-color 150ms ease;
}
.promo-strip a.promo-cta:hover { border-bottom-color: var(--primary); }

/* Image placeholders (10 across the home page) */
.img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background:
        linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 60%, #94a3b8 100%);
    border-radius: 18px;
    border: 1px solid var(--ink-line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    padding: 24px;
    box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.1);
    position: relative;
    overflow: hidden;
}
.img-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent 0, transparent 12px, rgba(255,255,255,0.25) 12px, rgba(255,255,255,0.25) 13px);
    pointer-events: none;
}
.img-placeholder.tall { aspect-ratio: 3 / 4; }
.img-placeholder.wide { aspect-ratio: 16 / 9; }
.img-placeholder.square { aspect-ratio: 1 / 1; }

/* Hero (light theme, zoom-style — single-line headline, centered) */
.hero-light {
    padding: clamp(40px, 6vh, 80px) 0 clamp(4px, 0.5vh, 12px);
    background: #ffffff;
    text-align: center;
    border: none;
}
body .hero.hero-light { padding-top: 60px; }
.hero-light .hero-headline {
    margin-top: 0;
    font-family: var(--font-display);
    font-size: clamp(28px, 4.4vw, 64px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.05;
    color: var(--text-0);
    white-space: nowrap;
    overflow: hidden;
}
.hero-light .hero-sub {
    margin-top: 14px;
    font-family: var(--font-display);
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 400;
    letter-spacing: -0.005em;
    color: var(--text-1);
    line-height: 1.4;
    max-width: 64ch;
    margin-left: auto;
    margin-right: auto;
}
.hero-light .hero-sub .gov-text {
    color: var(--gov);
    font-weight: 600;
    font-style: normal;
    font-family: var(--font-display);
}
.hero-light .lede {
    margin: 16px auto 0;
    color: var(--text-1);
    font-size: clamp(15px, 1.15vw, 17px);
    max-width: 100ch;
    line-height: 1.55;
}
.hero-light .hero-cta-row {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
@media (max-width: 700px) {
    .hero-light .hero-headline { white-space: normal; font-size: clamp(26px, 7vw, 36px); }
}

/* Auto-advancing carousel (zoom-style) */
.carousel-wrap {
    background: #ffffff;
    padding: 0 0 60px !important;
    overflow: hidden;
    border: none;
    margin-top: -50px;
}
.carousel {
    position: relative;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    gap: 12px;
    transition: transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
    padding: 12px 100px;
    will-change: transform;
}
.carousel-slide {
    flex: 0 0 360px;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid var(--ink-line);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.carousel-slide .img-placeholder {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--ink-line);
    aspect-ratio: 16 / 10;
    box-shadow: none;
}
.carousel-slide .carousel-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #000;
    border-bottom: 1px solid var(--ink-line);
    cursor: pointer;
}
.carousel-slide .carousel-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-bottom: 1px solid var(--ink-line);
}
.carousel-slide .hsi-body { padding: 18px 22px 22px; }
.carousel-slide .hsi-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-2);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.carousel-slide h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-0);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.carousel-slide p {
    color: var(--text-1);
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}
@media (max-width: 640px) {
    .carousel-slide { flex: 0 0 80vw; }
    .carousel-track { gap: 8px; }
}

.carousel-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 22px;
}
.carousel-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #94a3b8;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 200ms ease, width 250ms ease, border-radius 250ms ease;
    flex-shrink: 0;
}
.carousel-dots .dot.active {
    background: var(--primary);
    width: 26px;
    border-radius: 4px;
}

/* Horizontal scroll strip (legacy, unused on home page) */
.h-scroll-wrap {
    position: relative;
    padding: clamp(20px, 4vw, 48px) 0 clamp(48px, 7vw, 80px);
    background: #ffffff;
}
.h-scroll-wrap .h-scroll-head {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.h-scroll-wrap h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.6vw, 36px);
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--text-0);
    margin: 0;
}
.h-scroll-wrap .h-scroll-sub { color: var(--text-2); font-size: 15px; margin: 0; }

.h-scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding: 6px clamp(20px, 5vw, 80px) 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--ink-line-strong) transparent;
}
.h-scroll::-webkit-scrollbar { height: 8px; }
.h-scroll::-webkit-scrollbar-track { background: transparent; }
.h-scroll::-webkit-scrollbar-thumb { background: var(--ink-line-strong); border-radius: 999px; }
.h-scroll-item {
    flex: 0 0 320px;
    scroll-snap-align: start;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--ink-line);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.h-scroll-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -10px rgba(15, 23, 42, 0.14);
    border-color: var(--ink-line-strong);
}
.h-scroll-item .img-placeholder {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--ink-line);
    aspect-ratio: 16 / 10;
    box-shadow: none;
}
.h-scroll-item .hsi-body { padding: 18px 20px 22px; }
.h-scroll-item .hsi-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-2);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.h-scroll-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-0);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.h-scroll-item p {
    color: var(--text-1);
    font-size: 13.5px;
    line-height: 1.45;
    margin: 0;
}
@media (max-width: 600px) {
    .h-scroll-item { flex: 0 0 78vw; }
}

/* Buttons — light theme variants */
.btn-primary-blue {
    background: var(--primary);
    color: #ffffff;
}
.btn-primary-blue:hover {
    background: var(--primary-hover);
    box-shadow: 0 12px 28px -8px rgba(14, 114, 237, 0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-0);
    border: 1px solid var(--ink-line-strong);
}
.btn-secondary:hover {
    background: var(--ink-1);
    border-color: var(--ink-line-strong);
    transform: translateY(-1px);
}

/* Scroll sections */
.scroll-section {
    padding: 60px 0 !important;
    background: #ffffff;
    border-top: 1px solid var(--ink-line);
}
.scroll-section.tinted { background: var(--ink-1); }

.scroll-section h2 {
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    color: var(--text-0);
    margin-bottom: 16px;
}
.scroll-section .lede { color: var(--text-1); margin-bottom: 40px; }

/* 3-up product cards */
.product-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}
@media (max-width: 900px) { .product-row { grid-template-columns: 1fr; } }
.product-row--2up { grid-template-columns: 1fr 1fr; align-items: stretch; }
@media (max-width: 900px) { .product-row--2up { grid-template-columns: 1fr; } }

/* Bio-card paragraph spacing fix: default .product-card p has flex:1 which stretches every paragraph
   evenly when there are multiple. For multi-paragraph bios, give them natural height + tight margins. */
.product-row--2up .product-card p {
    flex: 0 0 auto;
    margin: 0 0 14px;
}
.product-row--2up .product-card p:last-child { margin-bottom: 0; }

/* News list (news.html) */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}
.news-item {
    border-left: 3px solid #0266ff;
    padding: 6px 0 6px 24px;
}
.news-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-2);
    display: flex;
    gap: 14px;
    margin-bottom: 10px;
}
.news-meta .news-source { color: var(--text-3); }
.news-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
    color: var(--text-0);
    margin: 0 0 12px;
}
.news-summary {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-1);
    margin: 0 0 14px;
    max-width: 72ch;
}
.news-link {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0266ff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 150ms ease;
}
.news-link:hover { border-bottom-color: #0266ff; }

/* Headshot image inside a product-card on the whoweare page */
.bio-headshot {
    display: block;
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    margin: 32px auto 4px;
    box-shadow: 0 8px 24px rgba(4, 19, 42, 0.18);
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--ink-line);
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    transition: transform 250ms ease, box-shadow 250ms ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.12);
}
.product-card .img-placeholder {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--ink-line);
    aspect-ratio: 16 / 10;
    box-shadow: none;
}
.product-card .pc-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}
.product-card p { color: var(--text-1); font-size: 15px; line-height: 1.55; flex: 1; }
.product-card .pc-link {
    margin-top: 18px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.product-card .pc-link:hover { color: var(--primary-hover); }

/* Split (image + text) */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split.reverse > :first-child { order: initial; }
}
.split h2 { margin-bottom: 18px; }
.split p { color: var(--text-1); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; margin-bottom: 18px; }
.split-bullets { list-style: none; padding: 0; margin: 0 0 24px 0; display: flex; flex-direction: column; gap: 10px; }
.split-bullets li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-1); font-size: 15px; }
.split-bullets li::before {
    content: "✓";
    color: var(--gov);
    font-weight: 700;
    flex-shrink: 0;
}

/* Screenshot grid (2x2) */
.screenshot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}
@media (max-width: 700px) { .screenshot-grid { grid-template-columns: 1fr; } }
.screenshot-grid .img-placeholder { aspect-ratio: 16 / 10; }

/* Big CTA bar (zoom-style end of page) */
.cta-bar {
    background: var(--text-0);
    color: #ffffff;
    border-radius: 24px;
    padding: clamp(50px, 7vw, 90px);
    text-align: center;
    margin: clamp(40px, 6vw, 80px) 0;
}
.cta-bar h2 { color: #ffffff; font-size: clamp(32px, 4vw, 52px); margin-bottom: 16px; letter-spacing: -0.025em; }
.cta-bar p { color: rgba(255, 255, 255, 0.75); max-width: 60ch; margin: 0 auto 32px; font-size: clamp(15px, 1.2vw, 18px); }
.cta-bar .hero-cta-row { justify-content: center; }

/* Responsive YouTube / video embed wrapper */
.video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--ink-line-strong);
    background: #000;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}
.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Book a demo CTA — blue default, green on hover */
.btn-primary.btn-demo {
    background: #0266ff;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid transparent;
    outline: none;
    background-image: none;
}
.btn-primary.btn-demo:hover {
    background: var(--gov);
    color: var(--ink-0);
    box-shadow: 0 12px 32px -8px rgba(158, 255, 112, 0.4);
    transform: translateY(-1px);
}
.btn-primary.btn-demo:focus,
.btn-primary.btn-demo:focus-visible,
.btn-primary.btn-demo:active { outline: none; box-shadow: none; }
.btn-primary.btn-demo:focus-visible { box-shadow: 0 0 0 3px rgba(2, 102, 255, 0.35); }

.btn-ghost { color: var(--text-0); border-color: var(--ink-line-strong); background: #ffffff; }
.btn-ghost:hover { background: var(--ink-1); border-color: var(--text-2); }

.btn-risk { color: var(--risk); border-color: rgba(255, 91, 58, 0.4); }
.btn-risk:hover { background: var(--risk-bg); }

.btn-lg { padding: 16px 26px; font-size: 15px; }

@media (max-width: 800px) {
    .nav-links a:not(.btn) { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
    padding: clamp(20px, 3vh, 40px) 0 clamp(80px, 12vh, 160px);
    position: relative;
    overflow: hidden;
    border-top: none;
}
.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: var(--max);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ink-line-strong), transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero-eyebrow-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.live-dot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-2);
}
.live-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--risk);
}

.hero h1 .strike {
    color: var(--risk);
    position: relative;
    display: inline-block;
}
.hero h1 .gov-text {
    color: var(--gov);
    font-style: italic;
    font-weight: 400;
    font-family: "Inter Tight", serif;
}

/* Robot rider removed */

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-card {
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-lg);
    padding: 24px;
    background: var(--ink-1);
    position: relative;
    overflow: hidden;
}
.hero-card .label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-2);
    margin-bottom: 12px;
}
.hero-card .stat {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 8px;
}
.hero-card .desc { color: var(--text-1); font-size: 14px; line-height: 1.45; }
.hero-card.risk .stat { color: var(--risk); }
.hero-card.gov .stat { color: var(--gov); }
.hero-card .src {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--ink-line);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
}

/* =========================================================
   Marquee
   ========================================================= */

.marquee {
    border-top: 1px solid var(--ink-line);
    border-bottom: 1px solid var(--ink-line);
    padding: 22px 0;
    overflow: hidden;
    background: var(--ink-1);
    position: relative;
    z-index: 2;
}
.marquee-track {
    display: flex;
    gap: 64px;
    animation: marquee 50s linear infinite;
    white-space: nowrap;
    width: max-content;
}
.marquee-item {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--text-1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.marquee-item .marq-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gov);
    flex-shrink: 0;
}
.marquee-item.risk .marq-dot { background: var(--risk); }

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Marquee animation paused — keep frameworks visible as a static row */
.marquee-track { animation: none !important; flex-wrap: wrap; width: auto; gap: 24px; justify-content: center; }

/* =========================================================
   Disruption section (MyCareer-driven)
   ========================================================= */

.disrupt {
    background: var(--ink-0);
    position: relative;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--ink-line);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 60px;
}
.stat-cell {
    background: var(--ink-1);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.stat-cell .num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(40px, 5vw, 72px);
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--risk);
}
.stat-cell .num .unit { font-size: 0.5em; color: var(--text-2); margin-left: 4px; font-weight: 600; }
.stat-cell .label { color: var(--text-1); font-size: 14px; line-height: 1.4; }
.stat-cell .src { font-family: var(--font-mono); font-size: 10px; color: var(--text-3); letter-spacing: 0.08em; text-transform: uppercase; margin-top: auto; padding-top: 16px; }

@media (max-width: 980px) { .stats-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .stats-row { grid-template-columns: 1fr; } }

.pull-quote {
    margin: 80px 0 0;
    padding: 48px 0;
    border-top: 1px solid var(--ink-line);
    border-bottom: 1px solid var(--ink-line);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    align-items: start;
}
.pull-quote .mark {
    font-family: var(--font-display);
    font-size: 100px;
    line-height: 0.7;
    color: var(--risk);
    font-weight: 800;
}
.pull-quote blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(22px, 2.6vw, 36px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-0);
}
.pull-quote cite {
    display: block;
    margin-top: 20px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-2);
    font-style: normal;
}

@media (max-width: 700px) {
    .pull-quote { grid-template-columns: 1fr; gap: 8px; }
    .pull-quote .mark { font-size: 64px; }
}

/* =========================================================
   The Gap (problem statement)
   ========================================================= */

.gap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 980px) { .gap-grid { grid-template-columns: 1fr; } }

.gap-card {
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-lg);
    padding: 32px;
    background: var(--ink-1);
    position: relative;
    overflow: hidden;
    transition: transform 250ms ease, border-color 250ms ease;
}
.gap-card:hover { transform: translateY(-4px); border-color: var(--ink-line-strong); }
.gap-card .num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--risk);
    margin-bottom: 24px;
    display: block;
}
.gap-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.gap-card p { color: var(--text-1); font-size: 15px; line-height: 1.55; }
.gap-card::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--risk);
    transition: width 400ms ease;
}
.gap-card:hover::after { width: 100%; }

/* =========================================================
   Governance 1st — feature module
   ========================================================= */

.gov-section {
    background: var(--ink-0);
    position: relative;
}

.product-mark {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}
.product-mark .glyph {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--gov);
    color: var(--ink-0);
    display: grid; place-items: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 26px;
    letter-spacing: -0.04em;
    flex-shrink: 0;
    box-shadow: 0 12px 40px -10px rgba(158, 255, 112, 0.5);
}
.product-mark .name {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: -0.025em;
}
.product-mark .name .one { color: var(--gov); }

/* 7-step framework strip */
.framework {
    margin-top: 60px;
    padding: 36px;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-lg);
    background: var(--ink-1);
}
.framework-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.framework-label {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap; gap: 12px;
}
.framework-label .title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.015em;
}
.framework-label .meta {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-2);
}
.framework-steps {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    counter-reset: step;
}
@media (max-width: 980px) { .framework-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .framework-steps { grid-template-columns: 1fr; } }
.fw-step {
    padding: 18px 14px;
    border-radius: 10px;
    background: var(--ink-2);
    border: 1px solid var(--ink-line);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
    cursor: default;
}
.fw-step:hover {
    background: var(--gov-bg);
    border-color: rgba(158, 255, 112, 0.3);
    transform: translateY(-2px);
}
.fw-step .n {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--gov);
    letter-spacing: 0.1em;
}
.fw-step .t {
    font-size: 13px;
    color: var(--text-0);
    font-weight: 600;
    line-height: 1.25;
}

/* Module grid */
.modules {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 980px) { .modules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .modules { grid-template-columns: 1fr; } }

.module {
    padding: 28px;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius);
    background: var(--ink-1);
    position: relative;
    transition: border-color 200ms ease, background 200ms ease;
    overflow: hidden;
}
.module:hover { border-color: rgba(158, 255, 112, 0.25); background: var(--ink-2); }
.module .icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--gov-bg);
    color: var(--gov);
    display: grid; place-items: center;
    margin-bottom: 18px;
}
.module h4 {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 8px;
}
.module p { color: var(--text-1); font-size: 14px; line-height: 1.5; }

/* Integrations strip */
.integrations {
    margin-top: 60px;
    padding: 36px;
    border: 1px dashed var(--ink-line);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr);
    gap: 36px;
    align-items: center;
}
@media (max-width: 800px) { .integrations { grid-template-columns: 1fr; } }
.integrations h4 {
    font-size: 18px; font-weight: 700; letter-spacing: -0.015em;
    margin-bottom: 6px;
}
.integrations p { color: var(--text-2); font-size: 13px; }
.int-list {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.int-pill {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--ink-2);
    border: 1px solid var(--ink-line);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-1);
    letter-spacing: 0.04em;
}

/* =========================================================
   MyCareer — thought leadership
   ========================================================= */

.mc-section {
    background: var(--ink-0);
    position: relative;
}

.mc-product-mark .glyph { background: var(--risk); box-shadow: 0 12px 40px -10px rgba(255, 91, 58, 0.5); color: var(--ink-0); }
.mc-product-mark .name .one { color: var(--risk); }

.mc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
    margin-top: 48px;
}
@media (max-width: 980px) { .mc-grid { grid-template-columns: 1fr; } }

.mc-feature-list { display: flex; flex-direction: column; gap: 18px; }
.mc-feature {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--ink-line);
}
.mc-feature:last-child { border-bottom: none; }
.mc-feature .label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--risk);
    padding-top: 4px;
}
.mc-feature h4 { font-size: 18px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.015em; }
.mc-feature p { color: var(--text-1); font-size: 14px; line-height: 1.55; }

/* Demo card — fake assessment preview */
.mc-demo {
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-lg);
    background: var(--ink-1);
    overflow: hidden;
    position: relative;
}
.mc-demo-head {
    padding: 18px 24px;
    border-bottom: 1px solid var(--ink-line);
    display: flex; align-items: center; justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-2);
}
.mc-demo-head .dots { display: inline-flex; gap: 6px; }
.mc-demo-head .dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); }
.mc-demo-head .dots span:first-child { background: var(--risk); }
.mc-demo-head .dots span:nth-child(2) { background: var(--warn); }
.mc-demo-head .dots span:nth-child(3) { background: var(--gov); }

.mc-demo-body { padding: 32px; }
.mc-demo-q {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-2);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.mc-demo-role {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}

.mc-meter {
    position: relative;
    height: 14px;
    background: var(--ink-3);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 14px;
}
.mc-meter-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: linear-gradient(90deg, var(--gov) 0%, var(--warn) 50%, var(--risk) 100%);
    border-radius: 999px;
    transition: width 1500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mc-meter-fill::after {
    content: "";
    position: absolute;
    right: -4px; top: 50%;
    width: 14px; height: 14px;
    background: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 3px var(--ink-1), 0 0 16px rgba(255, 91, 58, 0.6);
}
.mc-meter-labels {
    display: flex; justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 28px;
}

.mc-result {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.mc-result-card {
    padding: 16px;
    background: var(--ink-2);
    border: 1px solid var(--ink-line);
    border-radius: 10px;
}
.mc-result-card .k {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-2);
    margin-bottom: 6px;
}
.mc-result-card .v {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
}
.mc-result-card .v.risk { color: var(--risk); }
.mc-result-card .v.warn { color: var(--warn); }

/* =========================================================
   Manifesto / about
   ========================================================= */

.manifesto {
    background: var(--ink-1);
    text-align: center;
}
.manifesto .wrap { max-width: 1100px; }
.manifesto h2 {
    font-size: clamp(36px, 6vw, 88px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.0;
}
.manifesto h2 .acc1 { color: var(--gov); }
.manifesto h2 .acc2 { color: var(--risk); }
.manifesto h2 .strike-thru { text-decoration: line-through; text-decoration-thickness: 4px; text-decoration-color: var(--risk); color: var(--text-3); }

.manifesto-body {
    margin: 40px auto 0;
    max-width: 60ch;
    color: var(--text-1);
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.6;
}

/* =========================================================
   CTA block
   ========================================================= */

.cta-block {
    border: 1px solid var(--ink-line-strong);
    border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 80px);
    background: var(--ink-1);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
    position: relative;
    overflow: hidden;
}
@media (max-width: 900px) { .cta-block { grid-template-columns: 1fr; } }

.cta-block h2 { font-size: clamp(28px, 3.5vw, 48px); margin-bottom: 16px; }
.cta-block p { color: var(--text-1); font-size: clamp(15px, 1.2vw, 17px); margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-side {
    display: flex; flex-direction: column; gap: 14px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-1);
    position: relative; z-index: 2;
}
.cta-side div { display: flex; gap: 12px; align-items: center; }
.cta-side .check {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--gov-bg);
    color: var(--gov);
    display: grid; place-items: center;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 800;
}

/* =========================================================
   Footer
   ========================================================= */

footer {
    padding: 60px 0 40px !important;
    border-top: 1px solid var(--ink-line);
    background: var(--ink-0);
    position: relative;
    z-index: 2;
}
.foot-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-brand .lede { color: var(--text-2); font-size: 14px; max-width: 38ch; margin-top: 16px; }
.foot-col h5 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-2);
    margin-bottom: 16px;
    font-weight: 500;
}
.foot-col a {
    display: block;
    color: var(--text-1);
    font-size: 14px;
    padding: 4px 0;
    transition: color 150ms ease;
}
.foot-col a:hover { color: var(--gov); }

.foot-bottom {
    border-top: 1px solid var(--ink-line);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-3);
    font-size: 12px;
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
    flex-wrap: wrap;
    gap: 16px;
}

/* =========================================================
   Reveal animations — subtle, in-view
   ========================================================= */

/* Reveal animations disabled — content visible by default */
.reveal { opacity: 1; transform: none; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .marquee-track { animation: none; }
    .brand .dot, .live-dot::before { animation: none; }
}

/* =========================================================
   Sub-page hero (governance-1st.html, mycareer.html)
   ========================================================= */

.sub-hero { padding: 60px 0 !important; }
.sub-hero h1 { margin-top: 18px; }
.sub-hero .lede { margin-top: 24px; }

.toc {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--ink-line);
}
.toc a {
    padding: 10px 16px;
    border: 1px solid var(--ink-line);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-1);
    letter-spacing: 0.05em;
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.toc a:hover { background: var(--ink-2); color: var(--text-0); border-color: var(--ink-line-strong); }

.deep-section { padding: 60px 0 !important; }
.deep-section h2 { margin-bottom: 16px; }
.deep-section .lede { margin-bottom: 40px; }

.feat-deep-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--ink-line);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.feat-deep-grid--2up { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) {
    .feat-deep-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .feat-deep-grid,
    .feat-deep-grid--2up { grid-template-columns: 1fr; }
}
.feat-deep {
    background: var(--ink-1);
    padding: 26px 28px 22px;
    transition: background 200ms ease;
}
.feat-deep:hover { background: var(--ink-2); }
.feat-deep > :last-child { margin-bottom: 0; }
.feat-deep .icon-lg {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--gov-bg);
    color: var(--gov);
    display: grid; place-items: center;
    margin-bottom: 22px;
    font-family: var(--font-display);
    font-weight: 800;
}
.feat-deep h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.feat-deep p { color: var(--text-1); font-size: 15px; line-height: 1.55; margin-bottom: 16px; }
.feat-deep ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feat-deep ul li {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-2);
    letter-spacing: 0.04em;
    padding-left: 18px;
    position: relative;
}
.feat-deep ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--gov);
}

.mc-feat-deep .icon-lg { background: var(--risk-bg); color: var(--risk); }
.mc-feat-deep ul li::before { color: var(--risk); }

/* Comparison table */
.compare {
    margin-top: 60px;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.compare-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
    border-top: 1px solid var(--ink-line);
}
.compare-row:first-child { border-top: none; }
.compare-cell { padding: 22px 24px; }
.compare-row.head .compare-cell {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-2);
    background: var(--ink-2);
}
.compare-cell.label { color: var(--text-0); font-weight: 600; font-family: var(--font-display); letter-spacing: -0.01em; }
.compare-cell.no { color: var(--risk); }
.compare-cell.no::before { content: "✕  "; }
.compare-cell.yes { color: var(--gov); }
.compare-cell.yes::before { content: "✓  "; }
@media (max-width: 700px) {
    .compare-row { grid-template-columns: 1fr; }
    .compare-row.head { display: none; }
    .compare-cell { padding: 14px 20px; }
    .compare-cell.label { padding-top: 24px; font-size: 16px; }
}

/* =========================================================
   Chatbot floating button + panel
   ========================================================= */
.chatbot-fab {
    position: fixed;
    top: 18px;
    right: 24px;
    width: 56px;
    height: 56px;
    z-index: 250;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    filter: drop-shadow(0 8px 18px rgba(4, 19, 42, 0.55));
    transition: transform 200ms ease;
    animation: chatbot-fly-in 1500ms cubic-bezier(0.22, 1, 0.32, 1.05) 350ms both;
}
.chatbot-fab img { width: 100%; height: 100%; display: block; pointer-events: none; }
.chatbot-fab:hover { transform: scale(1.08); }
.chatbot-fab:focus-visible { outline: 3px solid #60a5fa; outline-offset: 4px; }

@keyframes chatbot-fly-in {
    0% {
        transform: translate(calc(-100vw + 100px), calc(100vh - 100px)) scale(0.55) rotate(-25deg);
        opacity: 0;
    }
    18% { opacity: 1; }
    70% {
        transform: translate(8px, -10px) scale(1.08) rotate(8deg);
        opacity: 1;
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(0);
        opacity: 1;
    }
}
@media (prefers-reduced-motion: reduce) {
    .chatbot-fab { animation: none; }
}

.chatbot-panel {
    position: fixed;
    top: 88px;
    right: 24px;
    width: 380px;
    max-width: calc(100vw - 48px);
    height: min(560px, calc(100vh - 120px));
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
    z-index: 249;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #1c2a55;
}
.chatbot-panel.open { display: flex; }
.chatbot-head {
    background: #04132a;
    color: #ffffff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Inter Tight", system-ui, sans-serif;
    font-weight: 600;
}
.chatbot-head .title { font-size: 16px; }
.chatbot-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    padding: 0 4px;
    cursor: pointer;
}
.chatbot-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f7f9fc;
}
.chat-msg {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 85%;
    word-wrap: break-word;
    white-space: pre-wrap;
}
.chat-msg.bot {
    background: #ffffff;
    color: #1f2937;
    align-self: flex-start;
    border: 1px solid #e5e7eb;
}
.chat-msg.user {
    background: #04132a;
    color: #ffffff;
    align-self: flex-end;
}
.chat-msg.chat-typing {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 12px 14px;
}
.chat-typing span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #94a3b8;
    animation: chat-bounce 1s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-bounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
    40% { transform: translateY(-4px); opacity: 1; }
}
.chatbot-form {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
}
.chatbot-form input {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}
.chatbot-form input:focus { border-color: #04132a; }
.chatbot-form button {
    background: #04132a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0 16px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
}
.chatbot-form button:disabled { opacity: 0.5; cursor: not-allowed; }
/* =========================================================
   Trio row, 3 fixed slides centered, left/right rotate via JS
   ========================================================= */
.trio-stage {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    padding: 12px 0;
    max-width: 1128px; /* 3 * 360 + 2 * 24 */
    margin: 0 auto;
}
.trio-anchor {
    flex: 0 0 360px;
}
.trio-window {
    flex: 0 0 360px;
    position: relative;
    overflow: hidden;
    min-height: 380px;
    border-radius: 16px;
}
.trio-window .carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    transition: transform 650ms cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(0);
}
.trio-window .carousel-slide.is-incoming {
    transform: translateX(100%);
    transition: none;
}
.trio-window .carousel-slide.is-exiting {
    transform: translateX(-100%);
}
.trio-window .carousel-slide.is-incoming-right {
    transform: translateX(-100%);
    transition: none;
}
.trio-window .carousel-slide.is-exiting-right {
    transform: translateX(100%);
}

.trio-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 0 0 14px;
}
.trio-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 200ms ease, transform 150ms ease;
}
.trio-dot:hover { background: #04132a; transform: scale(1.15); }
.trio-dot.is-active { background: #04132a; }
.trio-dot:focus-visible { outline: 2px solid #0266ff; outline-offset: 2px; }

.trio-toggle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #bbf7d0;
    border: none;
    color: #04132a;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 200ms ease, transform 150ms ease;
}
.trio-toggle:hover { background: #86efac; transform: scale(1.1); }
.trio-toggle:focus-visible { outline: 2px solid #0266ff; outline-offset: 2px; }

.trio-outer { display: none; }
.trio-stage.is-expanded { max-width: 1920px; }
.trio-stage.is-expanded .trio-outer { display: block; }
@media (prefers-reduced-motion: reduce) {
    .trio-window .carousel-slide { transition: none; }
}
@media (max-width: 1180px) {
    .trio-stage { gap: 16px; }
}
@media (max-width: 1100px) {
    .trio-window, .trio-anchor { flex-basis: 320px; }
}