/*
 * StackPanel — public site.
 * Neutrals are the panel's own tokens (server-manager/resources/css/app.css); the accent is the brand blue from the logo.
 * Display type is Outfit, the wordmark's typeface.
 */
:root {
    color-scheme: dark;

    --canvas: #090c13;
    --surface: #0f131c;
    --raised: #151a25;
    --hover: #1b2130;
    --line: #222a3a;
    --line-strong: #2d3649;

    --fg: #e7eaf0;
    --dim: #a1a8b7;
    --faint: #6b7385;

    /* Brand blue, as in the panel: --accent fills buttons and bars, --accent-text is the AA-readable step for text on dark */
    --accent: #1f66ff;
    --accent-hover: #3d7bff;
    --accent-text: #4f8bff;
    --accent-soft: rgb(31 102 255 / 0.15);
    --navy: #0e182b;
    --good: #34d399;

    --display: 'Outfit', 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif;
    --sans: 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --wrap: 1320px;
    --gutter: clamp(16px, 4vw, 48px);
    --header: 68px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 24px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
    margin: 0;
    background: var(--canvas);
    color: var(--fg);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    font-feature-settings: 'ss01', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}


::selection { background: rgb(31 102 255 / 0.35); }

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

a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }

code, kbd, pre { font-family: var(--mono); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; background: var(--fg); color: var(--canvas); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 16px; }

.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type primitives ---------- */
.label {
    font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--faint);
    display: inline-flex; align-items: center; gap: 10px;
}
.label .led { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.display {
    font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; line-height: 1;
    font-size: clamp(44px, 6.4vw, 96px);
}
.display em, .h2 em { font-style: normal; color: var(--accent-text); }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4.2vw, 62px); line-height: 1.04; letter-spacing: -0.03em; }
.h3 { font-family: var(--sans); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--dim); max-width: 36em; }
.muted { color: var(--dim); }
.faint { color: var(--faint); }

/* ---------- Buttons ---------- */
.btn {
    --h: 48px;
    display: inline-flex; align-items: center; gap: 12px; height: var(--h); padding: 0 8px 0 22px;
    border-radius: 999px; border: 1px solid transparent; cursor: pointer;
    font: 600 15px/1 var(--sans); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn .knob { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; transition: transform 0.3s var(--ease), background-color 0.2s; }
.btn .knob .i { width: 16px; height: 16px; }
.btn:hover .knob { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / 0.12) inset; }
.btn-primary .knob { background: rgb(255 255 255 / 0.16); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:hover .knob { background: rgb(255 255 255 / 0.24); }
.btn-ghost { border-color: var(--line-strong); color: var(--fg); padding-right: 22px; }
.btn-ghost:hover { border-color: var(--fg); }
.btn-sm { --h: 38px; font-size: 14px; padding: 0 5px 0 16px; gap: 10px; }
.btn-sm .knob { width: 28px; height: 28px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--fg); border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; transition: border-color .2s, gap .2s var(--ease); }
.link-arrow:hover { border-color: var(--accent-text); gap: 12px; }
.link-arrow .i { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--header); transition: background-color .3s, border-color .3s, transform .4s var(--ease); border-bottom: 1px solid transparent; }
.site-header.solid { background: rgb(9 12 19 / 0.82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.site-header.hide { transform: translateY(-100%); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 650; font-size: 17px; letter-spacing: -0.02em; }
.wordmark img { height: 32px; width: auto; }
.wordmark small { font: 500 11px var(--mono); color: var(--faint); letter-spacing: .06em; text-transform: uppercase; margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--line-strong); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { font-size: 14.5px; color: var(--dim); text-decoration: none; padding: 8px 12px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--fg); background: var(--raised); }
.nav a[aria-current] { color: var(--fg); }
.nav .btn { margin-left: 10px; color: #fff; }
.nav .btn:hover { color: #fff; background: var(--accent-hover); }
.search-btn { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 8px 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--faint); font: 14px var(--sans); cursor: pointer; margin-left: 6px; }
.search-btn:hover { border-color: var(--line-strong); color: var(--dim); }
.search-btn kbd { font-size: 11px; border: 1px solid var(--line-strong); border-radius: 5px; padding: 1px 6px; color: var(--faint); }
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--fg); cursor: pointer; }
.menu-btn .i { margin: auto; }

@media (max-width: 900px) {
    .menu-btn { display: grid; }
    .nav { position: fixed; inset: var(--header) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px; background: var(--canvas); border-bottom: 1px solid var(--line); display: none; }
    .nav.open { display: flex; }
    .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
    .nav a:hover { background: none; }
    .nav .btn { margin: 18px 0 0; align-self: flex-start; border-bottom: 0; padding: 0 5px 0 18px; }
    .search-btn { margin: 14px 0 0; align-self: stretch; height: 44px; }
    .wordmark small { display: none; }
}

/* ---------- Stage: sticky 3D canvas behind hero + anatomy ---------- */
.stage { position: relative; }
.stage-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.stage-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage-sticky canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
.stage-sticky.ready canvas { opacity: 1; }
.stage-sticky::after { /* floor glow + vignette */
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(60% 50% at 70% 62%, rgb(31 102 255 / 0.06), transparent 70%), linear-gradient(to bottom, transparent 70%, var(--canvas));
}
.stage > *:not(.stage-canvas) { position: relative; z-index: 1; }
/* Pre-rendered still of the stack, used when WebGL isn't available */
.stage-fallback { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: 0.9; }
.no-webgl .stage-fallback { display: block; }
.no-webgl canvas { display: none; }
@media (max-width: 900px) { .stage-fallback { object-position: 50% 20%; } }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header) + 48px) 0 40px; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(46px, 6.1vw, 98px); line-height: 0.98; letter-spacing: -0.035em; max-width: 9.5em; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero h1 .line > span { display: inline-block; }
.hero-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; margin-top: 40px; }
.hero .lede { max-width: 31em; }
.hero-ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 30px; }
.hero-spec { margin-top: clamp(40px, 7vh, 80px); padding-top: 18px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hero-spec div { display: grid; gap: 4px; }
.hero-spec b { font-weight: 500; font-size: 14.5px; color: var(--fg); }
.hero-kicker { margin-bottom: 28px; }
@media (max-width: 900px) {
    .hero { justify-content: flex-end; padding-top: 52vh; }
    .hero-row { grid-template-columns: 1fr; }
    .hero-spec { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
}

/* ---------- Anatomy (scroll-driven layers) ---------- */
.anatomy { padding: 12vh 0 20vh; }
.anatomy-intro { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; max-width: 620px; }
.anatomy-intro p { margin-top: 24px; }
.layer { min-height: 72vh; display: flex; align-items: center; }
.layer-card { max-width: 440px; padding: 28px 28px 26px; border-radius: 18px; background: rgb(15 19 28 / 0.72); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.layer-card .label { color: var(--accent-text); }
.layer-card h3 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; margin: 14px 0 12px; }
.layer-card p { color: var(--dim); font-size: 16px; }
.layer-card ul { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14.5px; color: var(--dim); }
.layer-card li { position: relative; padding-left: 15px; }
.layer-card li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }
.layer-card code, .lede code { font-size: 0.86em; color: var(--fg); }
.layer-card .link-arrow { margin-top: 18px; font-size: 14px; }
@media (max-width: 900px) {
    .layer { align-items: flex-end; min-height: 90vh; padding-bottom: 6vh; }
    .layer-card { max-width: none; background: rgb(15 19 28 / 0.88); }
    .anatomy-intro { min-height: 100vh; justify-content: flex-end; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8vh; background: linear-gradient(to bottom, transparent 30%, rgb(9 12 19 / 0.94) 52%); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 14vh, 168px) 0; position: relative; }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: end; margin-bottom: clamp(48px, 7vh, 88px); }
.section-head .lede { justify-self: end; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } .section-head .lede { justify-self: start; } }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Theatre (pinned product screenshots) ---------- */
.theatre { padding-top: clamp(96px, 14vh, 168px); }
.theatre-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.chapters { display: grid; gap: 0; }
.chapter { padding: 15px 0; border-top: 1px solid var(--line); }
.chapter:last-child { border-bottom: 1px solid var(--line); }
.chapter .label { color: var(--faint); transition: color .3s; }
.chapter h3 { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.08; margin-top: 6px; color: var(--faint); transition: color .3s, font-size .4s var(--ease); }
.js-theatre .chapter:not(.active) .label { display: none; }
.js-theatre .chapter.active h3 { font-size: clamp(30px, 2.7vw, 40px); }
.chapter p { color: var(--dim); font-size: 15.5px; margin-top: 10px; }
.chapter .link-arrow { margin-top: 14px; font-size: 14px; }
.chapter .bar { height: 2px; background: var(--line); margin-top: 16px; border-radius: 2px; overflow: hidden; }
.chapter .bar span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.js-theatre .chapter p, .js-theatre .chapter .link-arrow { display: none; }
.js-theatre .chapter.active p, .js-theatre .chapter.active .link-arrow { display: block; }
.js-theatre .chapter.active .link-arrow { display: inline-flex; }
.chapter.active .label { color: var(--accent-text); }
.chapter.active h3 { color: var(--fg); }
.js-theatre .chapter:not(.active) { cursor: pointer; }
.js-theatre .chapter:not(.active):hover h3 { color: var(--dim); }

.device { perspective: 1800px; }
.device-frame {
    position: relative; border-radius: 16px; padding: 10px; background: linear-gradient(160deg, #232a36, #11141a 40%, #171b23);
    border: 1px solid var(--line-strong);
    box-shadow: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 60px 120px -40px rgb(0 0 0 / 0.9), 0 30px 60px -30px rgb(31 102 255 / 0.12);
    transform-origin: 50% 100%;
}
.device-screen { position: relative; border-radius: 9px; overflow: hidden; aspect-ratio: 1440 / 900; background: #0a0c10; }
.device-screen figure { margin: 0; }
.device-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.js-theatre .device-screen figure { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); }
.js-theatre .device-screen figure { transition: clip-path 0.95s var(--ease-in-out); }
.js-theatre .device-screen figure.on { clip-path: inset(0 0 0 0); }
.device-caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; }
.figure-list figure + figure { margin-top: 24px; }
@media (max-width: 900px) {
    .theatre-inner { display: block; }
}

/* Small screens: chapters become a swipeable row of cards, each with its full, uncropped screenshot */
.chapter-shot { display: none; }
.chapter-nav { display: none; }
@media (max-width: 900px) {
    .device { display: none; }
    .chapters {
        display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
        margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px;
        scrollbar-width: none;
    }
    .chapters::-webkit-scrollbar { display: none; }
    .chapter, .chapter:last-child {
        flex: 0 0 min(86%, 520px); scroll-snap-align: start; display: flex; flex-direction: column;
        padding: 10px 10px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
    }
    .chapter > :not(.chapter-shot) { margin-left: 8px; margin-right: 8px; }
    .chapter-shot { display: block; order: -1; margin: 0 0 16px; border-radius: 9px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--canvas); }
    .chapter-shot img { width: 100%; height: auto; aspect-ratio: 1440 / 900; }
    .chapter .label { color: var(--accent-text); }
    .chapter h3 { color: var(--fg); font-size: 24px; }
    .chapter p { font-size: 15px; }
    .chapter .bar { display: none; }
    .chapter-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
    .chapter-dots { display: flex; gap: 6px; }
    .chapter-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: var(--line-strong); cursor: pointer; transition: width .25s var(--ease), background-color .25s; }
    .chapter-dots button[aria-current="true"] { width: 22px; background: var(--accent); }
    .chapter-count { font: 500 12px var(--mono); color: var(--faint); letter-spacing: .06em; }
}

/* ---------- Spec sheet ---------- */
.spec { display: grid; gap: 0; }
.spec-group { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; padding: 34px 0; border-top: 1px solid var(--line); }
.spec-group:last-child { border-bottom: 1px solid var(--line); }
.spec-group > header { position: sticky; top: calc(var(--header) + 24px); align-self: start; }
.spec-group > header h3 { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1; margin-top: 10px; }
.spec-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.spec-row { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.spec-row:nth-last-child(-n+2) { border-bottom: 0; }
.spec-row dt a { text-decoration: none; transition: color .2s; }
.spec-row dt a:hover { color: var(--accent-text); }
.spec-row dt { font-weight: 600; font-size: 16px; display: flex; align-items: baseline; gap: 10px; }
.spec-row dd { margin: 6px 0 0; color: var(--dim); font-size: 15px; }
@media (max-width: 900px) {
    .spec-group { grid-template-columns: 1fr; gap: 12px; }
    .spec-group > header { position: static; }
    .spec-rows { grid-template-columns: 1fr; }
    .spec-row:nth-last-child(2) { border-bottom: 1px dashed var(--line); }
}

/* ---------- Security ---------- */
.statement { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4.4vw, 66px); line-height: 1.08; letter-spacing: -0.03em; max-width: 15em; }
.statement em { font-style: normal; color: var(--accent-text); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 8vh, 96px); border-top: 1px solid var(--line); }
.fact { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.fact h3 { font-size: 17px; font-weight: 600; margin: 14px 0 8px; }
.fact p { color: var(--dim); font-size: 15px; }
@media (max-width: 900px) {
    .facts { grid-template-columns: 1fr; }
    .fact, .fact + .fact { padding: 24px 0; border-left: 0; }
}

/* ---------- Process (access → provision → deploy) ---------- */
.process { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 500 13px var(--mono); color: var(--accent-text); padding-top: 4px; }
.steps h3 { font-size: 18px; font-weight: 600; }
.steps p { grid-column: 2; color: var(--dim); font-size: 15.5px; }
.terminal { border-radius: 14px; border: 1px solid var(--line-strong); background: #07090c; overflow: hidden; box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.9); }
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.terminal-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.terminal-bar span { margin-left: 10px; font: 12px var(--mono); color: var(--faint); }
.terminal pre { margin: 0; padding: 18px 20px 22px; font-size: 13px; line-height: 1.75; color: var(--dim); min-height: 340px; overflow-x: auto; white-space: pre; }
.terminal .p { color: var(--accent-text); }
.terminal .c { color: var(--fg); }
.terminal .k { color: var(--faint); }
.terminal .ok { color: var(--good); }
.caret { display: inline-block; width: 8px; height: 1.1em; background: var(--accent); vertical-align: -0.2em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); }
.faq > header { position: sticky; top: calc(var(--header) + 32px); align-self: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: transform .3s var(--ease), border-color .2s; }
.faq summary .plus::before, .faq summary .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--fg); transform: translate(-50%, -50%); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq details[open] .plus { border-color: var(--accent-text); }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover .plus { border-color: var(--fg); }
.faq .answer { padding: 0 52px 24px 0; color: var(--dim); }
.faq .answer p + p { margin-top: 10px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq > header { position: static; } }

/* ---------- Invitation CTA ---------- */
.invite { position: relative; overflow: hidden; padding: clamp(120px, 20vh, 220px) 0; border-top: 1px solid var(--line); }
.invite::before { content: ''; position: absolute; left: 50%; bottom: -40%; width: 120%; aspect-ratio: 2.2; transform: translateX(-50%); background: radial-gradient(closest-side, rgb(31 102 255 / 0.16), transparent); pointer-events: none; }
.invite .wrap { position: relative; }
.invite h2 { font-family: var(--display); font-weight: 600; font-size: clamp(60px, 11vw, 184px); line-height: 0.95; letter-spacing: -0.045em; }
.invite h2 em { font-style: normal; color: var(--accent-text); }
.invite-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px; margin-top: 48px; align-items: end; }
.invite-row .actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-self: end; }
.invite .mail { font: 500 15px var(--mono); color: var(--dim); }
@media (max-width: 900px) { .invite-row { grid-template-columns: 1fr; } .invite-row .actions { justify-self: start; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 0; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 32px; }
.footer-grid p { color: var(--faint); font-size: 14.5px; max-width: 26em; margin-top: 16px; }
.footer-grid h4 { font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid ul a { color: var(--dim); text-decoration: none; font-size: 15px; }
.footer-grid ul a:hover { color: var(--fg); }
.footer-mark { font-family: var(--display); font-weight: 600; font-size: clamp(80px, 19vw, 300px); line-height: 0.82; letter-spacing: -0.05em; color: var(--raised); margin-top: 56px; white-space: nowrap; user-select: none; text-align: center; transform: translateY(8%); }
.footer-mark em { font-style: normal; color: #0b1a33; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; position: relative; background: var(--canvas); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Search palette ---------- */
.palette { position: fixed; inset: 0; z-index: 120; display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; background: rgb(6 8 11 / 0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.palette.open { display: flex; }
.palette-box { width: 100%; max-width: 640px; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: 0 40px 100px -20px #000; overflow: hidden; }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.palette-input .i { color: var(--faint); }
.palette-input input { flex: 1; height: 58px; background: none; border: 0; outline: 0; color: var(--fg); font: 17px var(--sans); }
.palette-input kbd { font-size: 11px; border: 1px solid var(--line-strong); border-radius: 5px; padding: 2px 6px; color: var(--faint); }
.palette-results { max-height: 56vh; overflow-y: auto; padding: 8px; }
.palette-results a { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none; }
.palette-results a.sel, .palette-results a:hover { background: var(--hover); }
.palette-results b { font-weight: 600; display: block; }
.palette-results small { display: block; color: var(--faint); font: 12px var(--mono); margin-top: 2px; }
.palette-results span { display: block; color: var(--dim); font-size: 14px; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette-results mark { background: none; color: var(--accent-text); }
.palette-empty { padding: 28px 16px; color: var(--faint); text-align: center; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
