/* ==========================================================================
   The Siolfur Index — geo.siolfur.in
   Palette is pulled from the hero footage (dark jewel-toned moss macro), so the
   video is the colour source and the UI stays near-monochrome around it.
   ========================================================================== */

:root {
    --bg-dark: #050507;
    --bg-darker: #020203;
    --bg-raise: #08080b;

    --text-main: #f4f4f6;
    --text-muted: #a1a1ab;
    --text-dim: #71717a;
    --accent: #e5e7eb;

    --glass-bg: rgba(255, 255, 255, 0.022);
    --glass-border: rgba(255, 255, 255, 0.07);
    --hairline: rgba(255, 255, 255, 0.055);

    /* Sampled from the footage: silver thread, teal moss, crimson moss. */
    --thread: #dfe6ea;
    --moss-teal: #0f766e;
    --moss-crimson: #9f1239;
    --moss-green: #14532d;
    --ink-indigo: #312e81;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.4s var(--ease);

    --maxw: 1200px;
}

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

html {
    scroll-behavior: smooth;
    /* Fixed navbar must not cover anchor targets. */
    scroll-padding-top: 6rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: rgba(223, 230, 234, 0.22); color: #fff; }

:focus-visible {
    outline: 2px solid rgba(223, 230, 234, 0.7);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --- Scroll progress rail ------------------------------------------------ */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 100%;
    transform: scaleX(var(--progress, 0));
    transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--moss-teal), var(--thread) 55%, var(--moss-crimson));
    z-index: 200;
    pointer-events: none;
}

/* --- Global cursor spotlight -------------------------------------------- */
.cursor-spotlight {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 90;
    background: radial-gradient(
        680px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.035),
        transparent 42%
    );
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid var(--glass-border);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1 {
    font-size: clamp(3rem, 7.5vw, 5.75rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.02;
    margin-bottom: 1.5rem;
    background: linear-gradient(176deg, #ffffff 0%, #ffffff 42%, #b9c2ca 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Lifts the wordmark off the footage without a hard shadow edge. */
    filter: drop-shadow(0 2px 28px rgba(0, 0, 0, 0.65));
}

h2 {
    font-size: clamp(1.9rem, 3.6vw, 3.1rem);
    font-weight: 400;
    letter-spacing: -0.028em;
    line-height: 1.12;
    margin-bottom: 1rem;
    color: #fafafa;
}

h3 {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: -0.012em;
    margin-bottom: 0.7rem;
    color: #fff;
}

p {
    color: var(--text-muted);
    font-size: 1.0625rem;
}

.gradient-text {
    background: linear-gradient(100deg, #ffffff 0%, #cbd5e1 45%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Small uppercase label that sits above each section title. Gives the page a
   spine — you can tell where you are without reading the heading. */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1.1rem;
}

.eyebrow::after {
    content: "";
    height: 1px;
    flex: 1;
    max-width: 120px;
    background: linear-gradient(90deg, var(--hairline), transparent);
}

.center .eyebrow { justify-content: center; }
.center .eyebrow::after { display: none; }

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 620px;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 9rem 0;
    position: relative;
    z-index: 2;
}

.dark-alt {
    background:
        radial-gradient(1200px 500px at 50% 0%, rgba(15, 118, 110, 0.055), transparent 70%),
        var(--bg-darker);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.raise {
    background: var(--bg-raise);
    border-top: 1px solid var(--hairline);
}

.center { text-align: center; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background 0.45s var(--ease), backdrop-filter 0.45s var(--ease),
                border-color 0.45s var(--ease), padding 0.45s var(--ease);
}

/* Nav only earns its glass panel once you've left the hero. Over the video it
   reads as a seam; against content it reads as chrome. */
.navbar.is-scrolled {
    background: rgba(5, 5, 7, 0.72);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom-color: var(--hairline);
}

.nav-container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 1.35rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.45s var(--ease);
}

.navbar.is-scrolled .nav-container { padding: 0.95rem 2rem; }

.brand {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

/* The mark: a silver thread, echoing the hero footage. */
.brand::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: conic-gradient(from 210deg, var(--thread), #6b7280 40%, var(--thread) 75%, #4b5563);
    box-shadow: 0 0 14px rgba(223, 230, 234, 0.35);
    flex: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s var(--ease);
}

.nav-links a:not(.btn-primary)::after {
    content: "";
    position: absolute;
    left: 0; bottom: -5px;
    height: 1px;
    width: 100%;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.4s var(--ease);
}

.nav-links a:hover { color: #fff; }
.nav-links a:not(.btn-primary):hover::after { transform: scaleX(1); }

/* Mobile drawer trigger — hidden on desktop. */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    width: 40px; height: 40px;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    position: absolute;
    left: 50%;
    width: 17px;
    height: 1.5px;
    background: var(--text-main);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: transform 0.35s var(--ease), opacity 0.2s linear;
}

.nav-toggle span { top: 50%; margin-top: -0.75px; }
.nav-toggle span::before { content: ""; top: -6px; left: 0; transform: none; }
.nav-toggle span::after  { content: ""; top: 6px;  left: 0; transform: none; }

.nav-toggle[aria-expanded="true"] span { transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { opacity: 0; }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-90deg); top: 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(180deg, #ffffff, #e7e9ec);
    color: #08080b;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 6px 20px rgba(0, 0, 0, 0.45);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 12px 30px rgba(223, 230, 234, 0.28);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.22);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.05);
}

.large { padding: 1.05rem 2.1rem; font-size: 1.02rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
    isolation: isolate;
}

.video-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    will-change: transform;
}

/* The footage is already dark and jewel-toned, so it composites normally —
   `screen` blending flattened the blacks and cost the silver thread its punch.
   Slight over-scale gives the parallax somewhere to travel without exposing
   an edge. */
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
    transform: scale(1.08);
    animation: drift 42s var(--ease) infinite alternate;
    will-change: transform;
}

@keyframes drift {
    from { transform: scale(1.08) translate3d(0, 0, 0); }
    to   { transform: scale(1.16) translate3d(-1.6%, -1.2%, 0); }
}

/* Two-layer grade: a vignette to pull focus centre-stage, and a hard fade to
   page background at the bottom so the section boundary is invisible. */
.video-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(115% 90% at 50% 42%, transparent 0%, rgba(5, 5, 7, 0.42) 58%, rgba(5, 5, 7, 0.88) 100%),
        linear-gradient(to bottom, rgba(5, 5, 7, 0.66) 0%, rgba(5, 5, 7, 0.24) 26%, rgba(5, 5, 7, 0.55) 72%, var(--bg-dark) 100%);
}

/* Fine grain over the whole hero. Kills gradient banding on wide displays and
   reads as film rather than CSS. */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.22;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 3;
    padding: 0 2rem;
    will-change: transform, opacity;
}

.subtitle {
    font-size: clamp(1.0625rem, 1.7vw, 1.375rem);
    line-height: 1.55;
    margin: 0 auto 2.5rem;
    max-width: 620px;
    color: #b4b4be;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 1rem 0.42rem 0.85rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border: 1px solid rgba(255, 255, 255, 0.16);
    margin-bottom: 1.75rem;
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #e8e8ee;
}

.badge::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
    animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
    70%  { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Hero footer strip: the claim, stated flatly. */
.hero-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 2.5rem;
    margin-top: 3.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--text-dim);
}

.hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta span::before { content: "—"; opacity: 0.45; }

/* Scroll cue */
.scroll-cue {
    position: absolute;
    bottom: 2.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 1px;
    height: 46px;
    background: linear-gradient(to bottom, transparent, var(--hairline) 30%, rgba(255, 255, 255, 0.35));
    overflow: hidden;
}

.scroll-cue::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, var(--thread));
    animation: cue 2.4s var(--ease) infinite;
}

@keyframes cue {
    0%   { transform: translateY(-100%); opacity: 0; }
    35%  { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* --- Ambient colour mesh ------------------------------------------------
   Dialled well back from the earlier pass: the footage now supplies the
   colour, so these only widen the pool of light past the video's edges. */
.glow-container {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.28;
    mix-blend-mode: screen;
    animation: float 24s ease-in-out infinite alternate;
    will-change: transform;
}

.color-1 { top: 8%;  left: 28%; width: 42vw; height: 42vw; background: radial-gradient(circle, var(--moss-teal) 0%, transparent 62%); animation-delay: 0s; }
.color-2 { top: 42%; left: 62%; width: 34vw; height: 34vw; background: radial-gradient(circle, var(--ink-indigo) 0%, transparent 62%); animation-delay: -6s; }
.color-3 { top: -8%; left: 52%; width: 40vw; height: 40vw; background: radial-gradient(circle, var(--moss-crimson) 0%, transparent 62%); animation-delay: -12s; }
.color-4 { top: 58%; left: 18%; width: 30vw; height: 30vw; background: radial-gradient(circle, var(--moss-green) 0%, transparent 62%); animation-delay: -18s; }

@keyframes float {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(7%, -4%) scale(1.09); }
    66%  { transform: translate(-4%, 7%) scale(0.93); }
    100% { transform: translate(-2%, -2%) scale(1.04); }
}

/* ==========================================================================
   Grids
   ========================================================================== */
.grid-2 {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.text-block p + p { margin-top: 1.15rem; }

/* ==========================================================================
   Interactive surfaces (cards / stats / report / form)
   ========================================================================== */
.card, .report-preview, .audit-form, .stats-block {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008));
    transition: transform 0.12s ease-out, border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

/* Cursor-tracked colour wash. */
.card::before, .report-preview::before, .audit-form::before, .stats-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        520px circle at var(--elem-mouse-x, 50%) var(--elem-mouse-y, 50%),
        var(--card-color, rgba(255, 255, 255, 0.08)),
        transparent 42%
    );
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
    z-index: 0;
}

.card:hover::before, .report-preview:hover::before,
.audit-form:hover::before, .stats-block:hover::before { opacity: 0.2; }

/* Hairline that lights up in the card's own accent on hover — the detail that
   makes the grid feel built rather than boxed. */
.card::after {
    content: "";
    position: absolute;
    top: 0; left: 8%;
    width: 84%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-color, #fff), transparent);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    z-index: 2;
}

.card:hover::after { opacity: 0.85; }

.card > *, .report-preview > *, .audit-form > *, .stats-block > * {
    position: relative;
    z-index: 1;
}

.card {
    padding: 2.25rem;
    border-radius: 18px;
    border: 1px solid var(--hairline);
    transform-style: preserve-3d;
}

.card:hover { box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8); }

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(24px);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Editorial 01–06 numbering. */
.card-num {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}

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

/* --- Stats -------------------------------------------------------------- */
.stats-block {
    padding: 2.75rem;
    border-radius: 22px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transform-style: preserve-3d;
}

.stat-value {
    display: block;
    font-size: 4rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(150deg, #ffffff 0%, #a8b4c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-dim);
}

.stat + .stat { border-top: 1px solid var(--hairline); padding-top: 2rem; }

/* --- Report showcase ---------------------------------------------------- */
.report-showcase { margin-top: 3rem; }

.report-preview {
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}

.report-header {
    background: rgba(0, 0, 0, 0.55);
    padding: 0.9rem 1.4rem;
    border-bottom: 1px solid var(--hairline);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot { width: 11px; height: 11px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.report-header .title {
    margin-left: 1rem;
    font-size: 0.78rem;
    color: var(--text-dim);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.report-body {
    padding: 1.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
}

.report-iframe {
    width: 100%;
    height: 620px;
    border: none;
    border-radius: 10px;
    background: #fff;
    display: block;
}

.report-actions { margin-top: 1.5rem; }

/* --- Form -------------------------------------------------------------- */
.audit-form {
    max-width: 480px;
    margin: 2.75rem auto 0;
    padding: 2.5rem;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    border: 1px solid var(--glass-border);
    text-align: left;
}

.input-glass {
    width: 100%;
    padding: 1.05rem 1.35rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.input-glass::placeholder { color: var(--text-dim); }

.input-glass:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.55);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.055);
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px; height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form-status {
    min-height: 1.2em;
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
    width: 100%;
}

.form-status.is-error { color: #f87171; }

/* --- CTA section -------------------------------------------------------- */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.12) 0%, transparent 62%);
    pointer-events: none;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 820px;
    margin: 3rem auto 0;
}

.faq-item {
    border-radius: 14px;
    padding: 1.35rem 1.6rem;
    transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.faq-item:hover { border-color: rgba(255, 255, 255, 0.14); }
.faq-item[open] { background: rgba(255, 255, 255, 0.035); }

.faq-item summary {
    cursor: pointer;
    font-weight: 500;
    font-size: 1.05rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: #f4f4f6;
}

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

.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1;
    opacity: 0.45;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    flex: none;
}

.faq-item[open] summary::after { transform: rotate(45deg); opacity: 0.9; }

.faq-item p {
    margin: 1rem 0 0;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 68ch;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--hairline);
    background: var(--bg-darker);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.legal { color: var(--text-dim); }

/* ==========================================================================
   Reveal animations
   ========================================================================== */
.fade-in-up { animation: fadeInUp 1.2s var(--ease) both; }

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

.fade-in {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
    .section { padding: 6rem 0; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.25rem; }
    .cta-group { flex-direction: column; align-items: stretch; }
    .cta-group .btn-primary, .cta-group .btn-secondary { text-align: center; }
    .hero { padding: 7rem 0 5rem; }
    .hero-meta { gap: 0.35rem 1.5rem; font-size: 0.75rem; }
    .card, .stats-block, .audit-form { padding: 1.75rem; }
    .report-body { padding: 0.85rem; }
    .report-iframe { height: 420px; }
    .stat-value { font-size: 3rem; }

    .nav-toggle { display: block; }

    /* Drawer: nav links collapse under the bar, CTA stays reachable. */
    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 5.5rem 1.5rem 2rem;
        background: rgba(5, 5, 7, 0.94);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--hairline);
        transform: translateY(-100%);
        transition: transform 0.5s var(--ease);
        z-index: -1;
    }

    .nav-links.is-open { transform: translateY(0); }

    .nav-links a {
        padding: 1rem 0;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--hairline);
    }

    .nav-links a.btn-primary {
        border-bottom: none;
        margin-top: 1.25rem;
        text-align: center;
        padding: 0.9rem 1.5rem;
    }
}

/* ==========================================================================
   Reduced motion — everything decorative stops. The site still works; a page
   that sells technical rigour should not fail this one.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .fade-in, .fade-in-up { opacity: 1 !important; transform: none !important; }
    .hero-video { animation: none; transform: scale(1.02); }
    .cursor-spotlight, .scroll-cue { display: none; }
    .glow-orb { animation: none; }
}
