/* Governor Technologies Inc. — elevated shared stylesheet.
   One design system for every page: a spacing scale, a capped content width,
   one section rhythm, one typographic hierarchy and a rich, layered set of
   components. Identity kept: deep navy palette, cyan primary accent with
   sky-blue and amber semantic accents, the logo, the Canadian mark in the
   footer. Pages carry no inline styles of their own. */

/* ---------- Tokens ---------- */
:root {
    --navy-950: #050d1a;
    --navy-900: #0a192f;
    --navy-850: #0d203c;
    --navy-800: #112240;
    --navy-700: #1b2f4f;
    --cyan: #64ffda;
    --cyan-ink: #0f766e;
    --cyan-soft: rgba(100, 255, 218, 0.12);
    --cyan-glow: rgba(100, 255, 218, 0.28);
    --sky: #7dd3fc;
    --sky-soft: rgba(125, 211, 252, 0.11);
    --sky-line: rgba(125, 211, 252, 0.32);
    --amber: #fcd34d;
    --amber-soft: rgba(252, 211, 77, 0.11);
    --amber-line: rgba(252, 211, 77, 0.34);
    --text: #e2e8f0;
    --text-2: rgba(226, 232, 240, 0.82);
    --muted: #94a3b8;
    --paper: #f8fafc;
    --ink: #0a192f;
    --ink-2: #334155;
    --ink-3: #64748b;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(100, 255, 218, 0.32);
    --surface-card: linear-gradient(165deg, rgba(27, 47, 79, 0.58) 0%, rgba(13, 28, 52, 0.78) 100%);
    --surface-card-hover: linear-gradient(165deg, rgba(32, 56, 94, 0.72) 0%, rgba(17, 34, 64, 0.9) 100%);
    --shadow-card: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 12px 32px -12px rgba(2, 8, 20, 0.65);
    --shadow-card-hover: inset 0 1px 0 rgba(100, 255, 218, 0.25), 0 20px 40px -15px rgba(2, 8, 20, 0.85), 0 0 24px rgba(100, 255, 218, 0.08);
    --s1: 8px;
    --s2: 16px;
    --s3: 24px;
    --s4: 40px;
    --s5: 64px;
    --s6: 96px;
    --content: 1080px;
    --text-width: 760px;
    --gutter: 24px;
    --radius: 12px;
    --nav-h: 72px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
    --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, "Courier New", monospace;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--navy-900);
    overflow-x: hidden;
}

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

a {
    color: var(--cyan);
    transition: color 0.2s ease;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #ffffff;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    letter-spacing: -0.025em;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.3rem);
}

h3 {
    font-size: 1.2rem;
}

p {
    max-width: var(--measure, 72ch);
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--cyan);
    color: var(--navy-900);
    padding: 10px 16px;
    z-index: 2000;
    font-weight: 700;
    border-radius: 0 0 8px 8px;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
}

/* ---------- Header and navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(8, 20, 38, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(100, 255, 218, 0.14);
    box-shadow: 0 4px 28px rgba(2, 8, 20, 0.45);
}

.nav {
    max-width: 1280px;
    margin: 0 auto;
    height: var(--nav-h);
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s3);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    white-space: nowrap;
    transition: transform 0.2s ease;
}

.brand:hover {
    transform: translateY(-1px);
}

.brand img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(100, 255, 218, 0.3));
}

.brand .accent {
    color: var(--cyan);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--s4);
    flex: 1;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-list > li {
    position: relative;
}

.nav-list a,
.nav-sub-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    background: none;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-list > li > a:hover,
.nav-sub-toggle:hover {
    color: var(--cyan);
    background: rgba(100, 255, 218, 0.06);
}

.nav-list a[aria-current="page"],
.nav-sub-toggle.is-active {
    color: var(--cyan);
    background: rgba(100, 255, 218, 0.09);
}

.nav-sub-toggle .caret {
    width: 10px;
    height: 10px;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-sub-toggle[aria-expanded="true"] .caret,
.has-sub:hover > .nav-sub-toggle .caret {
    transform: rotate(180deg);
}

.nav-sub {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 240px;
    background: rgba(13, 28, 52, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(100, 255, 218, 0.22);
    border-radius: 10px;
    padding: 8px;
    list-style: none;
    display: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 42px rgba(2, 8, 20, 0.65);
}

/* Invisible hover bridge so moving the pointer across the 6px gap never drops :hover */
.nav-sub::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.has-sub.open > .nav-sub {
    display: block;
}

@media (hover: hover) and (min-width: 1025px) {
    .has-sub:hover > .nav-sub {
        display: block;
    }
}

.nav-sub a {
    display: block;
    padding: 10px 14px;
    font-size: 0.9rem;
    border-radius: 7px;
    white-space: normal;
    transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.nav-sub a:hover {
    background: rgba(100, 255, 218, 0.09);
    color: var(--cyan);
    padding-left: 18px;
}

.nav-aside {
    display: flex;
    align-items: center;
    gap: var(--s2);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
}

.lang-current {
    color: var(--cyan);
    font-weight: 700;
}

.language-separator {
    color: var(--ink-3);
}

.lang-disabled {
    color: var(--ink-3);
    cursor: not-allowed;
}

.lang-link {
    color: var(--ink-3);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lang-link:hover,
.lang-link:focus-visible {
    color: var(--cyan);
}

.nav-cta {
    background: linear-gradient(135deg, var(--cyan) 0%, #38ef7d 140%);
    color: var(--navy-950) !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700 !important;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nav-cta:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 4px 24px rgba(100, 255, 218, 0.45);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: rgba(100, 255, 218, 0.05);
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle .bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--cyan);
    transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
    .nav-toggle {
        display: inline-flex;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--navy-900);
        border-bottom: 1px solid var(--line);
        padding: var(--s1) var(--gutter) var(--s3);
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
    }
    .nav-menu.open {
        display: flex;
    }
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .nav-list a,
    .nav-sub-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 14px 4px;
        border-radius: 0;
        border-bottom: 1px solid var(--line);
        font-size: 1rem;
    }
    .nav-sub {
        position: static;
        min-width: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0 0 8px 16px;
    }
    .nav-sub::before {
        display: none;
    }
    .nav-sub a {
        border-bottom: 0;
        padding: 10px 4px;
        color: var(--text-2);
    }
    .nav-aside {
        justify-content: space-between;
        padding-top: var(--s2);
    }
}

/* ---------- Layout & Atmospheric Bands ---------- */
.band {
    position: relative;
    padding: clamp(68px, 9vw, 116px) var(--gutter);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.band--navy {
    background-color: var(--navy-900);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(100, 255, 218, 0.045) 0%, transparent 70%),
        linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
}

.band--navy-2 {
    background-color: var(--navy-800);
    background-image:
        radial-gradient(ellipse 75% 55% at 50% 0%, rgba(125, 211, 252, 0.05) 0%, transparent 70%),
        linear-gradient(180deg, rgba(5, 13, 26, 0.35) 0%, rgba(17, 34, 64, 0) 25%, rgba(5, 13, 26, 0.35) 100%);
}

.band--paper {
    background: var(--paper);
    color: var(--ink-2);
}

.band--paper h1,
.band--paper h2,
.band--paper h3 {
    color: var(--ink);
}

.wrap {
    max-width: var(--content);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.wrap--text {
    max-width: var(--text-width);
}

.center {
    text-align: center;
}

.center p {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(68vh, 620px);
    padding: calc(var(--nav-h) + clamp(56px, 8vw, 104px)) var(--gutter) clamp(56px, 7vw, 88px);
    background:
        radial-gradient(circle at 20% 20%, rgba(125, 211, 252, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(100, 255, 218, 0.08) 0%, transparent 45%),
        linear-gradient(145deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
    border-bottom: 1px solid rgba(100, 255, 218, 0.18);
}

.hero--home {
    min-height: 100vh;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.65;
    z-index: 0;
}

.hero--home .hero-canvas {
    opacity: 0.78;
}

/* Ambient halo behind the hero text */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 860px;
    height: 860px;
    max-width: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(100, 255, 218, 0.16) 0%, rgba(125, 211, 252, 0.05) 45%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Bottom vignette transition into the page */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 25, 47, 0.75) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 840px;
    margin: 0 auto;
    animation: heroEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroEntrance {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    text-shadow: 0 4px 32px rgba(5, 13, 26, 0.9);
    background: linear-gradient(180deg, #ffffff 30%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: #ffffff;
    margin-bottom: var(--s3);
}

.hero .lede {
    font-size: clamp(1.06rem, 1.6vw, 1.22rem);
    color: var(--text-2);
    max-width: 700px;
    margin: 0 auto var(--s3);
    text-shadow: 0 2px 18px rgba(5, 13, 26, 0.95);
}

.hero-logo {
    width: 120px;
    height: auto;
    margin: 0 auto var(--s3);
    filter: drop-shadow(0 0 24px rgba(100, 255, 218, 0.55));
    animation: heroLogoGlow 3.5s ease-in-out infinite;
}

@keyframes heroLogoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(100, 255, 218, 0.5));
        transform: scale(1) translateY(0);
    }
    50% {
        filter: drop-shadow(0 0 34px rgba(100, 255, 218, 0.85));
        transform: scale(1.04) translateY(-3px);
    }
}

.hero .pill {
    margin-bottom: var(--s3);
}

.hero .tagline {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan);
    font-weight: 600;
    margin: 0 auto var(--s4);
    max-width: none;
    padding: 6px 16px;
    display: inline-block;
    border-radius: 999px;
    background: rgba(100, 255, 218, 0.06);
    border: 1px solid rgba(100, 255, 218, 0.2);
}

/* ---------- Section head ---------- */
.section-head {
    max-width: 740px;
    margin: 0 auto var(--s4);
    text-align: center;
}

.section-head--left {
    text-align: left;
    margin-left: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan);
    font-weight: 600;
    margin-bottom: var(--s2);
}

.eyebrow::before,
.eyebrow::after {
    content: '';
    width: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan));
}

.eyebrow::after {
    background: linear-gradient(90deg, var(--cyan), transparent);
}

.section-head--left .eyebrow::before {
    display: none;
}

.band--paper .eyebrow {
    color: var(--cyan-ink);
}

.section-head h2 {
    margin-bottom: var(--s2);
}

.section-head p {
    color: var(--text-2);
    font-size: 1.1rem;
}

.band--paper .section-head p {
    color: var(--ink-2);
}

.statement {
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    line-height: 1.52;
    font-weight: 500;
    color: #ffffff;
    max-width: 840px;
    margin: 0 auto var(--s4);
    text-align: center;
    padding: var(--s3) var(--s4);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.06) 0%, rgba(125, 211, 252, 0.03) 100%);
    border: 1px solid rgba(100, 255, 218, 0.18);
    box-shadow: var(--shadow-card);
}

.statement:last-child {
    margin-bottom: 0;
}

.steps + .statement,
.grid + .statement,
.flow + .statement {
    margin-top: var(--s5);
    margin-bottom: var(--s2);
}

.lead {
    font-size: 1.1rem;
    color: var(--text-2);
    margin: 0 auto var(--s3);
}

.lead:last-child {
    margin-bottom: 0;
}

/* ---------- Pill (with semantic colour variants) ---------- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--cyan-soft);
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    box-shadow: 0 0 18px rgba(100, 255, 218, 0.08);
}

.pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    flex-shrink: 0;
}

/* Semantic variants applied via class or progressively by site.js */
.pill--sky {
    border-color: var(--sky-line);
    background: var(--sky-soft);
    color: var(--sky);
    box-shadow: 0 0 18px rgba(125, 211, 252, 0.08);
}

.pill--sky::before {
    background: var(--sky);
    box-shadow: 0 0 8px var(--sky);
}

.pill--amber {
    border-color: var(--amber-line);
    background: var(--amber-soft);
    color: var(--amber);
    box-shadow: 0 0 18px rgba(252, 211, 77, 0.08);
}

.pill--amber::before {
    background: var(--amber);
    box-shadow: 0 0 8px var(--amber);
}

/* ---------- Grids and Glassmorphic Cards ---------- */
.grid {
    display: grid;
    gap: var(--s3);
}

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

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

.card {
    position: relative;
    overflow: hidden;
    background: var(--surface-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--s4) var(--s3);
    box-shadow: var(--shadow-card);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

/* Interactive cursor-tracked spotlight glow inside cards */
.card::before,
.pillar::before,
.stat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(100, 255, 218, 0.09), transparent 45%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.card:hover::before,
.pillar:hover::before,
.stat:hover::before {
    opacity: 1;
}

.card > *,
.pillar > *,
.stat > * {
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(100, 255, 218, 0.28);
    box-shadow: var(--shadow-card-hover);
}

.card--featured {
    border-top: 2px solid var(--cyan);
    background: linear-gradient(165deg, rgba(100, 255, 218, 0.09) 0%, rgba(22, 42, 74, 0.82) 45%, rgba(12, 26, 48, 0.92) 100%);
    box-shadow: inset 0 1px 0 rgba(100, 255, 218, 0.25), 0 16px 38px -12px rgba(2, 8, 20, 0.75), 0 0 28px rgba(100, 255, 218, 0.08);
}

a.card {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.card .pill {
    align-self: flex-start;
    margin-bottom: var(--s2);
}

.card h3 {
    margin-bottom: var(--s1);
}

.card p {
    color: var(--text-2);
    font-size: 1rem;
}

.card p + p {
    margin-top: var(--s2);
}

.card .list {
    margin-top: var(--s2);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: var(--s2);
    color: var(--cyan);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

a.card:hover .card-link,
.card-link:hover {
    gap: 10px;
    color: #9bffea;
}

.card--center {
    text-align: center;
}

.card--center .pill {
    align-self: center;
}

.card--center p {
    margin-left: auto;
    margin-right: auto;
}

.card-foot {
    margin-top: var(--s3);
    padding-top: var(--s2);
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--muted);
}

.card-foot a {
    color: var(--cyan);
    text-decoration: none;
}

.card-foot a:hover {
    text-decoration: underline;
}

.card-n {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    color: var(--cyan);
    font-weight: 700;
    margin-bottom: var(--s2);
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(100, 255, 218, 0.08);
    border: 1px solid rgba(100, 255, 218, 0.2);
}

/* Fact list: titled points with architectural left accent rail */
.facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s4) var(--s3);
}

.facts--2 {
    grid-template-columns: repeat(2, 1fr);
}

.fact {
    padding-left: 18px;
    border-left: 2px solid rgba(100, 255, 218, 0.28);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.fact:hover {
    border-left-color: var(--cyan);
    transform: translateX(3px);
}

.fact h3 {
    font-size: 1.06rem;
    margin-bottom: 6px;
}

.fact p {
    color: var(--text-2);
    font-size: 0.97rem;
}

/* ---------- Steps strip ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s3);
}

.step {
    position: relative;
    padding: var(--s3);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-top: 2px solid var(--cyan);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.step:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
}

.step-n {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    color: var(--cyan);
    font-weight: 700;
    margin-bottom: var(--s1);
}

.step h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.step p {
    color: var(--text-2);
    font-size: 0.97rem;
}

/* ---------- Numbered flow with connecting timeline rail ---------- */
.flow {
    list-style: none;
    max-width: var(--text-width);
    margin: 0 auto;
    position: relative;
}

.flow li {
    position: relative;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: var(--s3);
    padding: var(--s3) 0;
    border-bottom: 1px solid var(--line);
}

/* Vertical connecting line between flow circles */
.flow li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 21px;
    top: calc(var(--s3) + 44px);
    bottom: calc(-1 * var(--s3));
    width: 2px;
    background: linear-gradient(180deg, rgba(100, 255, 218, 0.4) 0%, rgba(125, 211, 252, 0.1) 100%);
}

.flow li:last-child {
    border-bottom: 0;
}

.flow-n {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy-900);
    border: 1.5px solid var(--cyan);
    box-shadow: 0 0 18px rgba(100, 255, 218, 0.2);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.flow li:hover .flow-n {
    transform: scale(1.08);
    background: rgba(100, 255, 218, 0.12);
    box-shadow: 0 0 24px rgba(100, 255, 218, 0.45);
}

.flow h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.flow p {
    color: var(--text-2);
}

.flow .detail {
    margin-top: var(--s1);
    font-size: 0.9rem;
    color: var(--muted);
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(5, 13, 26, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.flow .detail strong {
    font-family: var(--font-mono);
    color: var(--sky);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-right: 8px;
}

/* ---------- Key/value table ---------- */
.kv {
    max-width: 880px;
    margin: 0 auto;
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(10, 22, 42, 0.75);
    box-shadow: var(--shadow-card);
}

.kv-row {
    display: grid;
    grid-template-columns: 210px 1fr;
    border-bottom: 1px solid var(--line);
    transition: background 0.18s ease;
}

.kv-row:hover {
    background: rgba(100, 255, 218, 0.03);
}

.kv-row:last-child {
    border-bottom: 0;
}

.kv-k {
    padding: var(--s2) var(--s3);
    background: rgba(125, 211, 252, 0.06);
    color: var(--sky);
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.86rem;
    letter-spacing: 0.02em;
    border-right: 1px solid var(--line);
}

.kv-v {
    padding: var(--s2) var(--s3);
    color: var(--text-2);
}

.kv-v p {
    max-width: none;
}

/* ---------- Lists ---------- */
.list {
    list-style: none;
}

.list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: var(--text-2);
}

.list li:last-child {
    margin-bottom: 0;
}

.list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    border: 1.5px solid var(--cyan);
    background: rgba(100, 255, 218, 0.18);
    transform: rotate(45deg);
}

.list li strong {
    color: var(--text);
    font-weight: 600;
}

/* ---------- Note ---------- */
.note {
    max-width: var(--text-width);
    margin: var(--s4) auto 0;
    padding: var(--s3);
    border-left: 3px solid var(--sky);
    background: linear-gradient(90deg, rgba(125, 211, 252, 0.09) 0%, rgba(17, 34, 64, 0.45) 100%);
    border-radius: 0 var(--radius) var(--radius) 0;
    border-top: 1px solid rgba(125, 211, 252, 0.14);
    border-right: 1px solid rgba(125, 211, 252, 0.14);
    border-bottom: 1px solid rgba(125, 211, 252, 0.14);
    color: var(--text-2);
    box-shadow: var(--shadow-card);
}

.note p {
    max-width: none;
}

.note p + p {
    margin-top: var(--s1);
}

.note strong {
    color: #ffffff;
}

.note a {
    color: var(--cyan);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    text-align: center;
}

.btn--primary {
    background: linear-gradient(135deg, var(--cyan) 0%, #38ef7d 140%);
    color: var(--navy-950);
    box-shadow: 0 4px 22px rgba(100, 255, 218, 0.28);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(100, 255, 218, 0.48);
    filter: brightness(1.05);
}

.btn--ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

.btn--ghost:hover {
    transform: translateY(-2px);
    border-color: var(--cyan);
    background: rgba(100, 255, 218, 0.08);
    color: var(--cyan);
}

.btn-row {
    display: flex;
    gap: var(--s2);
    justify-content: center;
    flex-wrap: wrap;
}

.more {
    text-align: center;
    margin-top: var(--s4);
}

.more a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cyan);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(100, 255, 218, 0.06);
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.more a:hover {
    background: rgba(100, 255, 218, 0.12);
    border-color: var(--cyan);
    transform: translateY(-1px);
}

/* ---------- Closing CTA band ---------- */
.cta-band {
    text-align: center;
    border-top: 1px solid rgba(100, 255, 218, 0.18);
    background:
        radial-gradient(circle at 50% 50%, rgba(100, 255, 218, 0.09) 0%, transparent 65%),
        linear-gradient(180deg, var(--navy-800) 0%, var(--navy-950) 100%);
}

.cta-band h2 {
    margin-bottom: var(--s2);
}

.cta-band p {
    color: var(--text-2);
    max-width: 560px;
    margin: 0 auto var(--s4);
}

.cta-band .flag {
    height: 24px;
    width: auto;
    margin: 0 auto var(--s3);
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}

/* ---------- Founders ---------- */
.monogram {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto var(--s3);
    border: 2px solid var(--cyan);
    background: radial-gradient(circle at 30% 30%, rgba(100, 255, 218, 0.18), rgba(10, 25, 47, 0.9));
    box-shadow: 0 0 0 6px rgba(100, 255, 218, 0.07), 0 0 28px rgba(100, 255, 218, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover .monogram {
    transform: scale(1.06);
    box-shadow: 0 0 0 8px rgba(100, 255, 218, 0.12), 0 0 36px rgba(100, 255, 218, 0.4);
}

.role {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sky);
    font-weight: 600;
    margin-bottom: var(--s2);
}

.placeholder {
    color: var(--muted);
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: var(--s3);
    padding-top: var(--s2);
    border-top: 1px solid var(--line);
}

/* ---------- Forms (contact) ---------- */
.form-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--surface-card);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: var(--radius);
    padding: var(--s4);
    box-shadow: var(--shadow-card);
}

.form-card h2 {
    font-size: 1.4rem;
    margin-bottom: var(--s1);
}

.form-card .form-intro {
    color: var(--text-2);
    margin-bottom: var(--s4);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s2);
}

.form-group {
    margin-bottom: var(--s3);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.92rem;
}

.form-group .required {
    color: var(--cyan);
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(5, 13, 26, 0.6);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.14);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2364ffda' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--navy-900);
    color: var(--text);
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-2);
    border-top: 1px solid var(--line);
    padding-top: var(--s2);
    margin: var(--s3) 0;
}

.form-note p {
    max-width: none;
}

.form-note p + p {
    margin-top: 6px;
}

.form-note strong {
    color: var(--text);
}

.form-note a {
    color: var(--cyan);
}

.submit-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--cyan) 0%, #38ef7d 140%);
    color: var(--navy-950);
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(100, 255, 218, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(100, 255, 218, 0.45);
}

.direct-contact {
    text-align: center;
    margin-top: var(--s3);
    color: var(--text-2);
    font-size: 0.95rem;
    max-width: none;
}

.direct-contact a {
    color: var(--cyan);
}

.hidden-field {
    display: none;
}

/* Contact addresses card */
.contact-card {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.contact-card h3 {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan);
    margin: var(--s3) 0 6px;
}

.contact-card h3:first-of-type {
    margin-top: 0;
}

.contact-card a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line-strong);
}

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

.contact-card .company {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--s3);
}

/* ---------- Prose (legal pages) ---------- */
.prose {
    max-width: var(--text-width);
    margin: 0 auto;
    color: var(--ink-2);
}

.prose .meta {
    color: var(--ink-3);
    font-style: italic;
    margin-bottom: var(--s4);
}

.prose h2 {
    font-size: 1.4rem;
    margin: var(--s5) 0 var(--s2);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--cyan);
}

.prose h2:first-of-type {
    margin-top: 0;
}

.prose h3 {
    font-size: 1.1rem;
    margin: var(--s3) 0 var(--s1);
}

.prose p,
.prose li {
    line-height: 1.75;
    margin-bottom: var(--s2);
    max-width: none;
}

.prose ul {
    padding-left: 1.4rem;
    margin-bottom: var(--s2);
}

.prose li {
    margin-bottom: 6px;
}

.prose a {
    color: var(--cyan-ink);
}

.prose .callout {
    background: rgba(15, 118, 110, 0.07);
    border-left: 3px solid var(--cyan-ink);
    padding: var(--s2) var(--s3);
    border-radius: 0 8px 8px 0;
    margin: var(--s3) 0;
}

.prose .callout p {
    margin-bottom: 0;
    color: var(--ink);
}

.prose .contact-box {
    background: var(--navy-900);
    color: var(--text);
    padding: var(--s3);
    border-radius: var(--radius);
    margin-top: var(--s5);
}

.prose .contact-box h2 {
    color: var(--cyan);
    border: 0;
    margin: 0 0 var(--s2);
    padding: 0;
}

.prose .contact-box p {
    color: var(--text-2);
}

.prose .contact-box p:last-child {
    margin-bottom: 0;
}

.prose .contact-box a {
    color: var(--cyan);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-950);
    border-top: 1px solid rgba(100, 255, 218, 0.14);
    padding: var(--s5) var(--gutter) var(--s4);
    color: var(--text-2);
    font-size: 0.92rem;
}

.footer-grid {
    max-width: var(--content);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: var(--s4);
}

.footer-brand p {
    max-width: 320px;
    margin-top: var(--s2);
}

.footer-brand .brand-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
}

.footer-made {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--s3);
    color: var(--text);
}

.footer-made img {
    height: 16px;
    width: auto;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: var(--s2);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: var(--text-2);
    text-decoration: none;
    transition: color 0.18s ease;
}

.footer-col a:hover {
    color: var(--cyan);
}

.footer-current {
    color: var(--cyan);
    font-weight: 600;
}

.footer-base {
    max-width: var(--content);
    margin: var(--s4) auto 0;
    padding-top: var(--s3);
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--s2);
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-base p {
    max-width: none;
}

/* ---------- In-page section navigation (long pages) ---------- */
.subnav {
    position: sticky;
    top: var(--nav-h);
    z-index: 900;
    background: rgba(13, 28, 52, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(100, 255, 218, 0.14);
    box-shadow: 0 6px 20px rgba(2, 8, 20, 0.35);
}

/* Subtle reading progress indicator line at bottom of subnav */
.subnav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: var(--scroll-progress, 0%);
    background: linear-gradient(90deg, var(--cyan), var(--sky));
    pointer-events: none;
    transition: width 0.1s linear;
}

.subnav-inner {
    max-width: var(--content);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    gap: var(--s3);
    min-height: 48px;
}

.subnav-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sky);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.subnav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    min-width: 0;
}

.subnav ul::-webkit-scrollbar {
    display: none;
}

.subnav a {
    display: inline-block;
    padding: 13px 12px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text-2);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.subnav a:hover,
.subnav a.is-current {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
    background: rgba(100, 255, 218, 0.05);
}

main section[id] {
    scroll-margin-top: calc(var(--nav-h) + 60px);
}

@media (max-width: 768px) {
    .subnav {
        position: static;
        backdrop-filter: none;
    }
    .subnav::after {
        display: none;
    }
    .subnav-label {
        display: none;
    }
    .subnav-inner {
        padding: 0;
    }
    .subnav ul {
        padding: 0 var(--gutter);
    }
    .subnav a {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
    main section[id] {
        scroll-margin-top: calc(var(--nav-h) + 8px);
    }
}

/* ---------- Pillars (five parallel points — fixed 5-col desktop strip) ---------- */
.pillars {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--s2);
}

.pillar {
    position: relative;
    overflow: hidden;
    padding: var(--s3) 20px;
    border: 1px solid var(--line);
    border-top: 2px solid var(--cyan);
    border-radius: var(--radius);
    background: var(--surface-card);
    box-shadow: var(--shadow-card);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.pillar:nth-child(even) {
    border-top-color: var(--sky);
}

.pillar:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-card-hover);
}

.pillar h3 {
    font-size: 1rem;
    margin-bottom: var(--s1);
}

.pillar p {
    color: var(--text-2);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* ---------- Copy block (explanatory prose inside a band) ---------- */
.copy {
    max-width: var(--text-width);
    margin: 0 auto;
    color: var(--text-2);
}

.copy p + p {
    margin-top: var(--s2);
}

.copy strong {
    color: var(--text);
}

.copy a {
    color: var(--cyan);
}

.copy + .grid,
.copy + .facts,
.copy + .kv,
.copy + .table-wrap,
.copy + .stats,
.copy + .flow {
    margin-top: var(--s4);
}

.grid + .copy,
.facts + .copy,
.kv + .copy,
.grid + .grid,
.grid + .kv,
.grid + .table-wrap,
.grid + .stats,
.facts + .grid,
.kv + .grid,
.flow + .kv,
.stats + .grid,
.table-wrap + .grid,
.grid + .note,
.stats + .note {
    margin-top: var(--s4);
}

.subhead {
    max-width: var(--text-width);
    margin: var(--s5) auto var(--s3);
}

.subhead:first-child {
    margin-top: 0;
}

.subhead h3 {
    font-size: 1.35rem;
    margin-bottom: var(--s1);
}

.subhead p {
    color: var(--text-2);
}

/* ---------- Card fact footer (short labelled facts) ---------- */
.card-facts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2) var(--s4);
    margin-top: var(--s3);
    padding-top: var(--s2);
    border-top: 1px solid var(--line);
}

.card-fact {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-fact .value {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-weight: 600;
    font-size: 0.92rem;
}

.card-fact .label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.span-2 {
    grid-column: span 2;
}

/* ---------- Stat strip (labelled lab results) ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s3);
    max-width: 980px;
    margin: 0 auto;
}

.stat {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: var(--s4) var(--s3);
    border: 1px solid rgba(100, 255, 218, 0.22);
    border-radius: var(--radius);
    background: linear-gradient(165deg, rgba(100, 255, 218, 0.07) 0%, rgba(13, 28, 52, 0.85) 100%);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.stat-value {
    font-family: var(--font-mono);
    font-size: clamp(1.5rem, 2.8vw, 2.05rem);
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: -0.02em;
    text-shadow: 0 0 24px rgba(100, 255, 218, 0.3);
}

.stat-label {
    color: #ffffff;
    font-weight: 600;
    margin-top: 6px;
}

.stat-note {
    display: block;
    color: var(--muted);
    font-size: 0.84rem;
    margin-top: 8px;
}

/* ---------- Data table ---------- */
.table-wrap {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(125, 211, 252, 0.22);
    border-radius: var(--radius);
    background: rgba(8, 19, 36, 0.8);
    box-shadow: var(--shadow-card);
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 640px;
}

.table th,
.table td {
    text-align: left;
    vertical-align: top;
    padding: 16px var(--s3);
    border-bottom: 1px solid var(--line);
}

.table thead th {
    background: rgba(125, 211, 252, 0.07);
    color: var(--sky);
    font-family: var(--font-mono);
    font-size: 0.73rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.table tbody tr {
    transition: background 0.16s ease;
}

.table tbody tr:hover {
    background: rgba(100, 255, 218, 0.035);
}

.table tbody tr:last-child td {
    border-bottom: 0;
}

.table td {
    color: var(--text-2);
}

.table td:first-child {
    color: #ffffff;
    font-weight: 600;
}

.table td a {
    color: var(--cyan);
    text-decoration: none;
}

.table td a:hover {
    text-decoration: underline;
}

.table .pill {
    white-space: nowrap;
}

.table p {
    max-width: none;
}

/* ---------- Technical Transparency demo (home) ---------- */
.demo-section {
    background:
        radial-gradient(ellipse 75% 60% at 50% 50%, rgba(100, 255, 218, 0.07) 0%, transparent 70%),
        linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
    transition: background 0.6s ease-in-out;
}

.demo-section .wrap {
    max-width: 1240px;
}

.demo-section.approve-hover {
    background:
        radial-gradient(ellipse 80% 65% at 50% 50%, rgba(100, 255, 218, 0.16) 0%, transparent 70%),
        linear-gradient(135deg, var(--navy-950) 0%, #13333b 100%);
}

.demo-container {
    display: grid;
    grid-template-columns: 1.05fr 1.15fr 1.05fr;
    gap: var(--s3);
    max-width: 1240px;
    margin: 0 auto;
    align-items: stretch;
}

.terminal {
    position: relative;
    background: rgba(4, 10, 20, 0.85);
    border: 1px solid rgba(100, 255, 218, 0.26);
    border-radius: var(--radius);
    padding: 46px var(--s3) var(--s3);
    font-family: var(--font-mono);
    font-size: 0.86rem;
    line-height: 1.72;
    min-height: 320px;
    overflow-wrap: anywhere;
    box-shadow: var(--shadow-card);
}

/* Window chrome header bar for terminal */
.terminal::before {
    content: '● ● ●   tty0 // lawguard-relay';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius) var(--radius) 0 0;
}

.terminal-line {
    margin-bottom: 0.6rem;
    opacity: 0;
    animation: terminalFadeIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes terminalFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terminal-prompt {
    color: var(--cyan);
    font-weight: 700;
}

.terminal-output {
    color: #cbd5e1;
}

.alert-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
    border-radius: 50%;
    margin-left: 8px;
    animation: alertPulse 2s infinite;
}

@keyframes alertPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(1.25); }
}

.approval-card {
    background: linear-gradient(165deg, rgba(27, 47, 79, 0.75) 0%, rgba(12, 25, 46, 0.92) 100%);
    backdrop-filter: blur(16px);
    border-radius: var(--radius);
    padding: var(--s4) var(--s3);
    border: 1px solid rgba(100, 255, 218, 0.25);
    box-shadow: var(--shadow-card);
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.55s ease-in-out, transform 0.55s ease-in-out, border-color 0.3s ease, box-shadow 0.3s ease;
}

.approval-card.active {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(100, 255, 218, 0.45);
    box-shadow: inset 0 1px 0 rgba(100, 255, 218, 0.3), 0 18px 42px -12px rgba(2, 8, 20, 0.8), 0 0 32px rgba(100, 255, 218, 0.12);
}

.approval-card h3 {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    margin-bottom: var(--s3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.approval-card h3::after {
    content: 'VERIFIED';
    font-size: 0.68rem;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(100, 255, 218, 0.12);
    border: 1px solid rgba(100, 255, 218, 0.3);
    color: var(--cyan);
}

.approval-details {
    margin-bottom: var(--s3);
    line-height: 1.7;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    gap: var(--s2);
    margin-bottom: 0.45rem;
    padding: 0.5rem 0.7rem;
    background: rgba(5, 13, 26, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.9rem;
}

.detail-label {
    color: var(--muted);
    font-weight: 600;
}

.detail-value {
    font-family: var(--font-mono);
    font-size: 0.84rem;
    color: var(--text);
    text-align: right;
}

.approve-button {
    width: 100%;
    padding: 1.05rem;
    background: rgba(100, 255, 218, 0.12);
    color: var(--cyan);
    border: 2px solid var(--cyan);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.12s ease, color 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.approve-button.glow {
    background: rgba(100, 255, 218, 0.22);
    box-shadow: 0 0 24px rgba(100, 255, 218, 0.45);
    animation: buttonGlow 2s infinite;
}

@keyframes buttonGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(100, 255, 218, 0.4); }
    50% { box-shadow: 0 0 34px rgba(100, 255, 218, 0.75); }
}

.approve-button:hover,
.approve-button:focus-visible {
    background: var(--cyan);
    color: var(--navy-950);
    box-shadow: 0 0 38px rgba(100, 255, 218, 0.65);
}

.audit-log {
    position: relative;
    background: rgba(4, 10, 20, 0.75);
    border: 1px solid rgba(125, 211, 252, 0.24);
    border-radius: var(--radius);
    padding: 46px var(--s3) var(--s3);
    min-height: 320px;
    box-shadow: var(--shadow-card);
}

.audit-log::before {
    content: '● ● ●   ledger // evidence-stream';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius) var(--radius) 0 0;
}

.audit-log h4 {
    font-family: var(--font-mono);
    color: var(--sky);
    font-size: 0.82rem;
    margin-bottom: var(--s2);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.audit-entry {
    padding: var(--s2);
    background: linear-gradient(90deg, rgba(100, 255, 218, 0.1) 0%, rgba(100, 255, 218, 0.03) 100%);
    border-left: 3px solid var(--cyan);
    border-top: 1px solid rgba(100, 255, 218, 0.18);
    border-right: 1px solid rgba(100, 255, 218, 0.18);
    border-bottom: 1px solid rgba(100, 255, 218, 0.18);
    margin-bottom: var(--s2);
    border-radius: 0 6px 6px 0;
    font-size: 0.84rem;
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.audit-entry.show {
    opacity: 1;
    transform: translateX(0);
}

.audit-timestamp {
    color: var(--cyan);
    font-family: var(--font-mono);
    font-weight: 700;
    display: block;
    margin-bottom: 0.45rem;
}

.audit-detail {
    font-family: var(--font-mono);
    color: #e2e8f0;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.demo-note {
    max-width: 960px;
    margin: var(--s4) auto 0;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

/* ---------- Roadmap banner ---------- */
.banner {
    max-width: var(--content);
    margin: 0 auto var(--s4);
    padding: var(--s2) var(--s3);
    border: 1px solid var(--amber-line);
    background: var(--amber-soft);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.95rem;
    box-shadow: var(--shadow-card);
}

.banner p {
    max-width: none;
}

.banner strong {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: var(--amber);
    margin-right: 8px;
}

.banner a {
    color: var(--cyan);
}

/* ---------- Scroll-reveal choreography (progressive enhancement) ---------- */
.reveal-item {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .pillars {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .demo-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .stats {
        grid-template-columns: 1fr 1fr;
    }
    .span-2 {
        grid-column: auto;
    }
    .grid--3,
    .facts,
    .pillars {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }
    .grid--2,
    .grid--3,
    .facts,
    .facts--2,
    .steps,
    .form-row,
    .pillars,
    .stats {
        grid-template-columns: 1fr;
    }
    .kv-row {
        grid-template-columns: 1fr;
    }
    .kv-k {
        border-right: 0;
        padding-bottom: 6px;
    }
    .kv-v {
        padding-top: 6px;
    }
    .detail-row {
        flex-direction: column;
        gap: 2px;
    }
    .detail-value {
        text-align: left;
    }
    .approval-card {
        padding: var(--s3);
    }
    .flow li {
        grid-template-columns: 44px 1fr;
        gap: var(--s2);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--s3);
    }
    .footer-base {
        flex-direction: column;
        text-align: center;
    }
    .brand span {
        font-size: 0.95rem;
    }
    .brand img {
        height: 38px;
    }
    .card {
        padding: var(--s3);
    }
    .form-card {
        padding: var(--s3);
    }
    .btn-row .btn {
        width: 100%;
    }
    .statement {
        padding: var(--s3);
    }
}

@media (max-width: 380px) {
    .brand span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
    /* the canvases draw one still frame (site.js); the demo shows its states without fades */
    .terminal-line,
    .audit-entry.show,
    .approval-card.active,
    .reveal-item {
        opacity: 1 !important;
        transform: none !important;
    }
    .hero-logo {
        transform: none;
    }
}
