/* ==========================================================================
   Compass — Homepage stylesheet (index.html only)
   Direction: enterprise light. One accent, real product imagery, quiet motion.
   about.html and portfolio pages keep using style.css.
   ========================================================================== */

:root {
    --surface: #FFFFFF;
    --surface-2: #F6F8FB;
    --surface-3: #EEF2F7;
    --line: #E3E8EF;
    --line-strong: #CBD3DF;
    --ink: #0B1220;
    --ink-2: #3B4759;
    --ink-3: #6B7A90;
    --accent: #6D28D9;
    --accent-ink: #5B21B6;
    --accent-soft: #F3EDFF;
    --accent-ring: rgba(109, 40, 217, 0.25);
    --success: #15803D;
    --shadow-1: 0 1px 2px rgba(11, 18, 32, 0.06), 0 1px 3px rgba(11, 18, 32, 0.04);
    --shadow-2: 0 12px 32px -12px rgba(11, 18, 32, 0.18), 0 2px 6px rgba(11, 18, 32, 0.06);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --dur: 180ms;

    /* Product marks — used only inside product tiles */
    --excel: #107C41;
    --ppt: #C43E1C;
    --word: #185ABD;
    --outlook: #0F6CBD;
    --nova: #6D28D9;
    --partner: #0891B2;
    --m365: #D83B01;
    --mcp: #0F766E;
}

[data-theme="dark"] {
    --surface: #0B1220;
    --surface-2: #101A2E;
    --surface-3: #16223A;
    --line: #1E2A44;
    --line-strong: #2C3A57;
    --ink: #F1F5F9;
    --ink-2: #B7C3D6;
    --ink-3: #7F8DA6;
    --accent: #B794F4;
    --accent-ink: #CDB4FA;
    --accent-soft: rgba(183, 148, 244, 0.12);
    --accent-ring: rgba(183, 148, 244, 0.3);
    --success: #4ADE80;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-2: 0 16px 40px -16px rgba(0, 0, 0, 0.6);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'cv11', 'ss01';
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

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

.skip-link {
    position: absolute; left: 16px; top: -60px;
    padding: 10px 16px; background: var(--ink); color: var(--surface);
    border-radius: var(--radius-sm); z-index: 1000; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 96px 0; }
.section--muted { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
    color: var(--accent-ink); text-transform: uppercase;
    margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--accent); border-radius: 1px; }
.section-head--center .eyebrow::before { display: none; }

h1 {
    font-size: clamp(40px, 5.2vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 600;
}
h2 {
    font-size: clamp(30px, 3.4vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.025em;
    font-weight: 600;
}
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; }

.lede { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin-top: 16px; }
.muted { color: var(--ink-3); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 20px;
    border-radius: var(--radius-sm);
    font-weight: 600; font-size: 15px; line-height: 1;
    border: 1px solid transparent;
    transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-1); }
.btn--primary:hover { background: var(--accent-ink); }
[data-theme="dark"] .btn--primary { color: #0B1220; }
[data-theme="dark"] .btn--primary:hover { background: var(--accent-ink); }

.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { background: var(--surface-2); border-color: var(--ink-3); }

.btn--ghost { color: var(--ink-2); padding: 0 12px; }
.btn--ghost:hover { color: var(--ink); background: var(--surface-2); }

.btn--lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }

.text-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; font-size: 15px; color: var(--accent-ink);
}
.text-link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.site-nav {
    position: sticky; top: 0; z-index: 20;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    transition: box-shadow var(--dur);
}
.site-nav.is-scrolled { box-shadow: var(--shadow-2); }
.site-nav__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    height: 68px;
}
.site-nav__brand img { height: 34px; width: auto; }
/* Preserve the purple mark while using a light wordmark on dark surfaces. */
[data-theme="dark"] .site-nav__brand img,
[data-theme="dark"] .footer-brand__logo {
    content: url('assets/compass-logo-dark.png');
}

.site-nav__links { display: flex; gap: 4px; }
.site-nav__links a {
    padding: 8px 12px; border-radius: var(--radius-sm);
    font-size: 14.5px; font-weight: 500; color: var(--ink-2);
    transition: color var(--dur), background var(--dur);
}
.site-nav__links a:hover { color: var(--ink); background: var(--surface-2); }
.site-nav__links a.is-active { color: var(--ink); background: var(--surface-2); font-weight: 600; }

.site-nav__actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle { display: none; width: 40px; height: 40px; border-radius: var(--radius-sm); align-items: center; justify-content: center; }
.nav-toggle:hover { background: var(--surface-2); }

@media (max-width: 900px) {
    .site-nav__links { display: none; }
    .site-nav__actions .btn--ghost { display: none; }
    .nav-toggle { display: inline-flex; }
    .site-nav.is-open .site-nav__links {
        display: flex; flex-direction: column;
        position: absolute; left: 0; right: 0; top: 68px;
        padding: 12px 24px 20px; background: var(--surface);
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2);
    }
    .site-nav.is-open .site-nav__links a { padding: 12px; font-size: 16px; }
}

/* Theme toggle (kept for script.js compatibility) */
.theme-toggle {
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink-2); border: 1px solid transparent;
    transition: background var(--dur), color var(--dur);
}
.theme-toggle:hover { background: var(--surface-2); color: var(--ink); }
.theme-toggle .theme-icon { display: none; line-height: 0; }
.theme-toggle .theme-icon svg { width: 18px; height: 18px; }
[data-theme="light"] .theme-toggle .moon { display: block; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
.theme-ripple { display: none; }

/* Sticky CTA header — appears after scrolling past the hero */
.sticky-cta {
    position: fixed; top: 0; left: 0; right: 0; z-index: 30;
    display: flex; align-items: center; justify-content: space-between;
    height: 60px; padding: 0 24px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 240ms var(--ease), opacity 240ms var(--ease);
    pointer-events: none;
}
.sticky-cta.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.sticky-cta-brand img { height: 30px; width: auto; }
.sticky-cta-actions { display: flex; align-items: center; gap: 8px; }
.sticky-cta-login {
    display: inline-flex; align-items: center; height: 38px; padding: 0 14px;
    border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.sticky-cta-login:hover { background: var(--surface-2); color: var(--ink); }
.sticky-cta-button {
    display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px;
    border-radius: var(--radius-sm); background: var(--accent); color: #fff;
    font-size: 14px; font-weight: 600;
}
.sticky-cta-button:hover { background: var(--accent-ink); }
[data-theme="dark"] .sticky-cta-button { color: #0B1220; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding: 88px 0 72px;
    overflow: hidden;
    background:
        radial-gradient(900px 420px at 80% -10%, var(--accent-soft), transparent 70%),
        var(--surface);
}
.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 64px;
    align-items: center;
}
.hero__copy { max-width: 560px; }

.pill {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 30px; padding: 4px 12px 4px 6px;
    border: 1px solid var(--line); border-radius: 999px;
    background: var(--surface); font-size: 13px; font-weight: 500; color: var(--ink-2);
    margin-bottom: 24px; line-height: 1.3;
}
.pill__tag { flex-shrink: 0; }
.pill__tag {
    display: inline-flex; align-items: center; height: 20px; padding: 0 8px;
    border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink);
    font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}

.hero h1 .accent { color: var(--accent-ink); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__meta {
    display: flex; flex-wrap: wrap; gap: 8px 20px;
    margin-top: 24px; font-size: 14px; color: var(--ink-3);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 6px; }
.hero__meta svg { width: 15px; height: 15px; color: var(--success); }

/* Product frame */
.frame {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-2);
    overflow: hidden;
}
.frame__bar {
    display: flex; align-items: center; gap: 10px;
    height: 40px; padding: 0 14px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
    font-size: 12.5px; font-weight: 500; color: var(--ink-3);
}
.frame__dots { display: inline-flex; gap: 6px; }
.frame__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.frame__title { margin-left: 6px; }
.frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

.hero__visual { position: relative; min-width: 0; }

/* Folder-style product showcase */
.product-stage {
    --sheet-fast: 340ms;
    --sheet-snap: cubic-bezier(0.22, 1, 0.36, 1);
    isolation: isolate; padding: 58px 0 4px;
}
.product-stage__glow {
    position: absolute; inset: 8% 4% 10%; z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-ring), transparent 68%);
    filter: blur(24px); opacity: 0.7;
}
.product-stage__stack { position: relative; height: clamp(350px, 26vw, 390px); }
.product-stage__folder {
    position: absolute; inset: 2px -14px 14px; z-index: 0;
    border: 1px solid var(--line); border-radius: 18px;
    background: linear-gradient(180deg, var(--surface-2), color-mix(in srgb, var(--surface-2) 70%, var(--surface)));
    box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 60%, transparent), 0 1px 2px rgba(11, 18, 32, 0.04);
}
.product-stage__folder::before {
    content: ""; position: absolute; right: 26px; top: -13px;
    width: 96px; height: 14px;
    border: 1px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0;
    background: var(--surface-2);
}
.product-window {
    --x: 0px; --y: 0px; --s: 1; --r: 0deg;
    position: absolute; left: 0; top: 68px; width: 100%; margin: 0;
    border: 1px solid color-mix(in srgb, var(--line-strong) 80%, transparent);
    border-radius: 12px; overflow: visible;
    background: var(--surface);
    box-shadow: 0 1px 2px rgba(11, 18, 32, 0.06), 0 10px 22px -12px rgba(11, 18, 32, 0.28);
    opacity: 0;
    transform: translate3d(var(--x), var(--y), 0) rotate(var(--r)) scale(var(--s));
    transform-origin: 50% 0%;
    transition: transform var(--sheet-fast) var(--sheet-snap), opacity 220ms ease, box-shadow var(--sheet-fast) ease, filter 220ms ease;
    will-change: transform, opacity;
    backface-visibility: hidden;
}
.product-window img {
    display: block; width: 100%; height: auto; aspect-ratio: 239 / 111; object-fit: cover; object-position: top;
    border-radius: 11px; background: var(--surface-2);
}
.product-window--desktop img { object-fit: contain; background: #fff; }
.product-window figcaption {
    position: absolute; left: 16px; bottom: -46px;
    display: inline-flex; align-items: center; gap: 9px;
    min-height: 36px; padding: 6px 12px 6px 7px;
    border: 1px solid var(--line); border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    box-shadow: var(--shadow-1); backdrop-filter: blur(12px);
    color: var(--ink-2); font-size: 12px;
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity 180ms ease, transform 180ms var(--ease), visibility 0s linear 180ms;
}
.product-window figcaption strong { color: var(--ink); font-weight: 650; }
.product-window__mark {
    display: inline-grid; place-items: center; width: 24px; height: 24px;
    border-radius: 6px; color: #fff; font-size: 12px; font-weight: 800;
}
.product-window__mark--excel { background: var(--excel); }
.product-window__mark--powerpoint { background: var(--ppt); }
.product-window__mark--word { background: #185ABD; }
.product-window__mark--nova { background: #353C4A; }
.product-window__mark--desktop { background: #087A50; }

/* Sheet positions inside the folder: 0 = featured, 1-2 peek above, 3+ tucked away */
.product-window[data-pos="0"] {
    z-index: 5; opacity: 1;
    box-shadow: 0 1px 2px rgba(11, 18, 32, 0.08), 0 30px 60px -22px rgba(11, 18, 32, 0.38), 0 6px 14px -6px rgba(11, 18, 32, 0.14);
}
.product-window[data-pos="1"] { --y: -30px; --x: 6px; --s: 0.975; --r: 0.4deg; z-index: 4; opacity: 0.96; filter: brightness(0.98) saturate(0.92); }
.product-window[data-pos="2"] { --y: -56px; --x: -6px; --s: 0.95; --r: -0.4deg; z-index: 3; opacity: 0.82; filter: brightness(0.95) saturate(0.8); }
.product-window[data-pos="3"],
.product-window[data-pos="4"] { --y: -68px; --s: 0.925; z-index: 2; opacity: 0; filter: brightness(0.92) saturate(0.6); }

/* Featured sheet slides out of the folder and is re-filed at the back */
@keyframes sheet-out {
    0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); opacity: 1; }
    55%  { transform: translate3d(14px, 64px, 0) rotate(-1.4deg) scale(0.985); opacity: 0; }
    100% { transform: translate3d(0, -68px, 0) rotate(0deg) scale(0.925); opacity: 0; }
}
.product-window.is-leaving {
    z-index: 6; pointer-events: none;
    animation: sheet-out 400ms cubic-bezier(0.4, 0, 0.6, 1) both;
    transition: none;
}
.product-window[data-pos="0"] figcaption {
    visibility: visible; opacity: 1; transform: translateY(0);
    transition-delay: 160ms, 160ms, 0s;
}
.product-window[data-pos="0"] img { cursor: zoom-in; }
.product-window[data-pos="0"] img:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.product-stage__hint {
    position: absolute; left: 4%; bottom: 8px; margin: 0;
    color: var(--ink-3); font-size: 11.5px; font-weight: 500;
    opacity: 0; transform: translateY(2px);
    transition: opacity var(--dur), transform var(--dur);
    pointer-events: none;
}
.product-stage:hover .product-stage__hint { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .product-window { transition-duration: 0s; }
    .product-window.is-leaving { animation: none; }
}

.product-stage__controls {
    position: relative; z-index: 5;
    display: flex; justify-content: flex-end; align-items: center; gap: 5px;
    margin-top: 2px; padding-right: 4%;
}
.product-stage__control {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 10px; border-radius: 999px;
    color: var(--ink-3); font-size: 11.5px; font-weight: 600;
    transition: color var(--dur), background var(--dur);
}
.product-stage__control:hover { color: var(--ink); background: var(--surface-2); }
.product-stage__control span { width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); transition: transform var(--dur), background var(--dur); }
.product-stage__control.is-active { color: var(--ink); background: var(--surface-2); }
.product-stage__control.is-active span { background: var(--accent); transform: scale(1.5); }

@media (max-width: 1024px) {
    .hero__grid { grid-template-columns: 1fr; gap: 38px; }
    .hero__copy { max-width: 640px; }
    .product-stage { width: min(760px, 100%); margin: 0 auto; }
    .product-stage__stack { height: clamp(320px, 58vw, 440px); }
}
@media (max-width: 640px) {
    .hero { padding: 56px 0 48px; }
    .hero__actions .btn { width: 100%; }
    .product-stage { padding-top: 10px; }
    .product-stage__stack { height: clamp(230px, 64vw, 330px); }
    .product-stage__folder { display: none; }
    .product-window { left: 0; top: 4%; width: 100%; border-radius: 9px; }
    .product-window img { border-radius: 8px; }
    .product-window[data-pos] { --x: 0px; --y: 14px; --s: 0.97; --r: 0deg; opacity: 0; filter: none; pointer-events: none; }
    .product-window[data-pos="0"] { --y: 0px; --s: 1; opacity: 1; pointer-events: auto; }
    .product-window.is-leaving { animation: sheet-out-mobile 260ms cubic-bezier(0.4, 0, 0.6, 1) both; }
    @keyframes sheet-out-mobile {
        from { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
        to   { transform: translate3d(0, 28px, 0) scale(0.97); opacity: 0; }
    }
    .product-window figcaption { left: 8px; bottom: -42px; }
    .product-stage__controls { justify-content: center; margin-top: 0; padding-right: 0; }
    .product-stage__control { padding-inline: 8px; }
    .product-stage__hint { display: none; }
}

/* --------------------------------------------------------------------------
   Screenshot lightbox (<dialog>)
   -------------------------------------------------------------------------- */
html.has-dialog { overflow: hidden; }
.shot-dialog {
    position: fixed; inset: 0; z-index: 110;
    width: 100vw; height: 100dvh; max-width: none; max-height: none;
    margin: 0; padding: clamp(16px, 4vw, 48px); border: 0;
    background: transparent; color: #fff;
    display: none; align-items: center; justify-content: center;
}
.shot-dialog[open] { display: flex; gap: clamp(10px, 2vw, 22px); }
.shot-dialog::backdrop {
    background: radial-gradient(120% 90% at 50% 40%, rgba(24, 32, 50, 0.72), rgba(8, 12, 22, 0.9));
    backdrop-filter: blur(14px) saturate(1.1);
    animation: shot-fade 240ms ease both;
}
.shot-dialog.is-closing::backdrop { animation: shot-fade 180ms ease reverse both; }
.shot-dialog[open] .shot-dialog__window { animation: shot-in 300ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.shot-dialog.is-closing .shot-dialog__window { animation: shot-out 180ms ease both; }

/* The window card */
.shot-dialog__window {
    --bar-h: 46px;
    margin: 0; display: flex; flex-direction: column; min-width: 0;
    max-width: min(1440px, 100%);
    border-radius: 16px; overflow: hidden;
    background: var(--surface);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 30px 80px -20px rgba(0, 0, 0, 0.65),
        0 60px 140px -40px rgba(0, 0, 0, 0.5);
}
.shot-dialog__bar {
    display: flex; align-items: center; gap: 12px;
    height: var(--bar-h); padding: 0 8px 0 14px;
    background: linear-gradient(180deg, var(--surface), var(--surface-2));
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
}
.shot-dialog__dots { display: inline-flex; gap: 6px; }
.shot-dialog__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.shot-dialog__dots i:nth-child(1) { background: #ff5f57; }
.shot-dialog__dots i:nth-child(2) { background: #febc2e; }
.shot-dialog__dots i:nth-child(3) { background: #28c840; }
.shot-dialog__caption {
    display: inline-flex; align-items: center; gap: 8px;
    flex: 1; min-width: 0; justify-content: center;
    font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot-dialog__caption strong { color: var(--ink); font-weight: 650; }
.shot-dialog__caption .product-window__mark { width: 20px; height: 20px; font-size: 11px; border-radius: 5px; }
.shot-dialog__count {
    font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-3);
    font-variant-numeric: tabular-nums; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line);
}
.shot-dialog__close {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 8px; color: var(--ink-3);
    transition: background var(--dur), color var(--dur);
}
.shot-dialog__close svg { width: 16px; height: 16px; }
.shot-dialog__close:hover { background: var(--surface-2); color: var(--ink); }
.shot-dialog__body { display: flex; background: #0f1524; }
.shot-dialog__body img {
    display: block; width: auto; height: auto; max-width: 100%;
    max-height: calc(100dvh - clamp(16px, 4vw, 48px) * 2 - var(--bar-h));
}

/* Floating arrows beside the card */
.shot-dialog__nav {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    color: #fff; background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    transition: background var(--dur), transform var(--dur), border-color var(--dur);
}
.shot-dialog__nav svg { width: 20px; height: 20px; }
.shot-dialog__nav:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.3); transform: scale(1.05); }
.shot-dialog__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.shot-dialog__nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@keyframes shot-in   { from { opacity: 0; transform: translateY(14px) scale(0.965); } to { opacity: 1; transform: none; } }
@keyframes shot-out  { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(8px) scale(0.98); } }
@keyframes shot-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 760px) {
    .shot-dialog[open] { flex-wrap: wrap; align-content: center; }
    .shot-dialog__window { order: 1; flex-basis: 100%; border-radius: 12px; }
    .shot-dialog__nav { order: 2; width: 40px; height: 40px; margin-top: 4px; }
    .shot-dialog__nav--prev { margin-left: auto; }
    .shot-dialog__nav--next { margin-right: auto; }
    .shot-dialog__bar { --bar-h: 42px; padding-left: 12px; }
    .shot-dialog__count { display: none; }
    .shot-dialog__body img { max-height: calc(100dvh - 150px); }
}
@media (prefers-reduced-motion: reduce) {
    .shot-dialog::backdrop, .shot-dialog.is-closing::backdrop,
    .shot-dialog[open] .shot-dialog__window, .shot-dialog.is-closing .shot-dialog__window { animation: none; }
}

/* --------------------------------------------------------------------------
   Proof strip
   -------------------------------------------------------------------------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.proof__grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
}
.proof__item {
    padding: 28px 24px;
    border-left: 1px solid var(--line);
}
.proof__item:first-child { border-left: 0; padding-left: 0; }
.proof__value { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.proof__label { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 800px) {
    .proof__grid { grid-template-columns: repeat(2, 1fr); }
    .proof__item { padding: 20px 16px; }
    .proof__item:nth-child(odd) { border-left: 0; padding-left: 0; }
    .proof__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* --------------------------------------------------------------------------
   Products
   -------------------------------------------------------------------------- */
.products__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.tile {
    position: relative;
    display: flex; flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.tile--wide { grid-column: span 3; }
.tile--third { grid-column: span 3; }
.tile--full { grid-column: span 6; }

.tile__head { display: flex; align-items: center; gap: 12px; }
.mark {
    width: 40px; height: 40px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 15px; flex: none;
}
.mark svg { width: 20px; height: 20px; }
.mark--excel { background: var(--excel); }
.mark--ppt { background: var(--ppt); }
.mark--word { background: var(--word); }
.mark--outlook { background: var(--outlook); }
.mark--nova { background: var(--nova); }
.mark--partner { background: var(--partner); }
.mark--m365 { background: var(--m365); }

.tile__kicker { font-size: 12.5px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.02em; }
.tile__title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.tile__new {
    margin-left: auto;
    height: 22px; padding: 0 8px; display: inline-flex; align-items: center;
    border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink);
    font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}

.tile__desc { margin-top: 16px; color: var(--ink-2); font-size: 15px; }
.tile__list { margin-top: 16px; display: grid; gap: 8px; }
.tile__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.tile__list svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--success); }

.tile__media { margin-top: 24px; }
.tile__media .frame { box-shadow: var(--shadow-1); }
.tile__media .frame img { aspect-ratio: 16 / 9; }

.tile__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: auto; padding-top: 24px;
}
.watch {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 500; color: var(--ink-3);
}
.watch svg { width: 14px; height: 14px; }
.watch:hover { color: var(--ink); }

/* Terminal preview for Nova */
.terminal {
    margin-top: 24px;
    border-radius: var(--radius);
    background: #0F172A; color: #CBD5E1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px; line-height: 1.7;
    padding: 16px 18px;
    border: 1px solid #1E293B;
}
[data-theme="dark"] .terminal { background: #060B16; }
.terminal__prompt { color: #34D399; }
.terminal__cmd { color: #F8FAFC; font-weight: 600; }
.terminal__dim { color: #64748B; }
.terminal__ok { color: #34D399; }

/* M365 band */
.tile--full .band {
    display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px; align-items: center;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    height: 36px; padding: 0 14px 0 10px;
    border: 1px solid var(--line); border-radius: 999px;
    background: var(--surface-2); font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); display: inline-block; }

/* Extensibility & Tools (MCP) band */
.mark--mcp { background: var(--mcp); }
.ext .tile__desc { max-width: 56ch; }
.ext__band { align-items: start; }
.ext__tools {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.ext__tool {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface-2);
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.ext__tool:hover { border-color: var(--line-strong); background: var(--surface); }
.ext__icon {
    width: 32px; height: 32px; border-radius: var(--radius-sm); flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent-soft); color: var(--accent-ink);
}
.ext__icon svg { width: 16px; height: 16px; }
.ext__tool div { display: grid; gap: 3px; min-width: 0; }
.ext__tool strong { font-size: 14.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.005em; }
.ext__tool span { font-size: 13px; line-height: 1.5; color: var(--ink-3); }

@media (max-width: 1024px) {
    .products__grid { grid-template-columns: repeat(2, 1fr); }
    .tile--wide, .tile--third { grid-column: span 1; }
    .tile--full { grid-column: span 2; }
    .tile--full .band { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 520px) {
    .ext__tools { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .products__grid { grid-template-columns: 1fr; }
    .tile--full { grid-column: span 1; }
    .tile { padding: 22px; }
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
    padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.step__num {
    width: 36px; height: 36px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--ink); color: var(--surface);
    font-size: 14px; font-weight: 700; margin-bottom: 20px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15px; }
.step code {
    display: inline-block; margin-top: 14px; padding: 8px 12px;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
    font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; color: var(--ink);
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Trust / security
   -------------------------------------------------------------------------- */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.trust__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.trust__item {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.trust__item svg { width: 20px; height: 20px; color: var(--accent-ink); flex: none; margin-top: 2px; }
.trust__item strong { display: block; font-size: 15px; font-weight: 600; }
.trust__item span { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }

.quote {
    padding: 36px;
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: var(--surface);
    position: relative;
}
.quote blockquote { margin: 0; font-size: 20px; line-height: 1.5; letter-spacing: -0.01em; font-weight: 500; }
.quote__mark { color: var(--accent); font-size: 48px; line-height: 0.6; font-weight: 700; margin-bottom: 20px; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.quote__avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: 14px;
}
.quote cite { display: block; font-style: normal; font-weight: 600; font-size: 15px; }
.quote__role { display: block; font-size: 13.5px; color: var(--ink-3); }

@media (max-width: 1024px) { .trust { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .trust__list { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
    position: relative;
    display: flex; flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: var(--surface);
}
.plan--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-2); }
.plan__badge {
    position: absolute; top: -12px; left: 24px;
    height: 24px; padding: 0 10px; display: inline-flex; align-items: center;
    background: var(--accent); color: #fff; border-radius: 999px;
    font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
[data-theme="dark"] .plan__badge { color: #0B1220; }
.plan__name { font-size: 18px; font-weight: 600; }
.plan__tag { font-size: 14px; color: var(--ink-3); margin-top: 4px; min-height: 42px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin-top: 20px; }
.plan__amount { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.plan__currency { font-size: 20px; font-weight: 600; color: var(--ink-2); }
.plan__period { font-size: 13.5px; color: var(--ink-3); margin-left: 4px; }
.plan .btn { margin-top: 24px; width: 100%; }
.plan__features { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan__features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.plan__features svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent-ink); }

.plan__quota { margin-top: auto; padding-top: 20px; }
.plan__quota summary {
    cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
    font-size: 13.5px; font-weight: 600; color: var(--ink-3);
}
.plan__quota summary::-webkit-details-marker { display: none; }
.plan__quota summary::after { content: '+'; font-size: 16px; }
.plan__quota[open] summary::after { content: '–'; }
.plan__quota summary:hover { color: var(--ink); }
.plan__quota dl { margin: 12px 0 0; display: grid; gap: 6px; font-size: 13px; }
.plan__quota dl div { display: flex; justify-content: space-between; color: var(--ink-3); }
.plan__quota dd { margin: 0; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.pricing__note { margin-top: 32px; text-align: center; font-size: 14px; color: var(--ink-3); }
.pricing__note a { color: var(--accent-ink); font-weight: 600; }

.assurance {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px;
    margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line);
    font-size: 14px; color: var(--ink-3);
}
.assurance li { display: inline-flex; align-items: center; gap: 8px; }
.assurance svg { width: 16px; height: 16px; color: var(--ink-2); }

@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* --------------------------------------------------------------------------
   Governance
   -------------------------------------------------------------------------- */
/* Light chapter: a soft tinted field with a single accent glow. Weight comes from
   structure (proof points, ordered rail, numbered cards), not from a dark background. */
.section--governance {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--surface-2);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 88px 0 96px;
}
.section--governance::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(720px 360px at 12% 0%, var(--accent-soft), transparent 70%),
        linear-gradient(to right, var(--line) 1px, transparent 1px) 0 0 / 96px 100%;
    opacity: 0.55;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 45%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 45%);
}
.section--governance .lede { max-width: 600px; }

.governance__head {
    display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 56px; align-items: end; margin-bottom: 40px;
}
.governance__head .section-head { margin-bottom: 0; }

/* Proof points: three short, unmissable commitments. */
.governance__proof { list-style: none; margin: 0; padding: 0; display: grid; }
.governance__proof li {
    display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: baseline;
    padding: 16px 0; border-top: 1px solid var(--line-strong);
    font-size: 14.5px; color: var(--ink-2); line-height: 1.45;
}
.governance__proof li:last-child { border-bottom: 1px solid var(--line-strong); }
.governance__proof strong {
    font-size: 26px; font-weight: 600; letter-spacing: -0.03em; line-height: 1;
    color: var(--accent-ink);
}

/* Consumption order: one horizontal rail, read left to right. */
.governance__order {
    margin-bottom: 20px; padding: 22px 24px 24px;
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: var(--surface); box-shadow: var(--shadow-1);
}
.governance__order-label {
    display: block; margin-bottom: 18px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.governance__flow {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 0;
}
.governance__flow li {
    position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); grid-template-rows: auto auto;
    column-gap: 12px; row-gap: 2px; align-items: center; padding-right: 56px;
}
.governance__flow li span {
    grid-row: 1 / span 2; align-self: start;
    width: 32px; height: 32px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent); color: #fff; font-size: 13px; font-weight: 700;
    box-shadow: 0 0 0 4px var(--accent-soft);
}
[data-theme="dark"] .governance__flow li span { color: #0B1220; }
.governance__flow li em { font-style: normal; font-size: 15px; font-weight: 600; color: var(--ink); }
.governance__flow li small { font-size: 13px; color: var(--ink-3); }
/* Connector arrow between ordered steps: accent track + arrowhead chip */
.governance__flow li:not(:last-child)::after {
    content: ''; position: absolute; top: 15px; right: 12px;
    width: 36px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-soft), var(--accent));
}
.governance__flow li:not(:last-child)::before {
    content: ''; position: absolute; top: 5px; right: 8px; z-index: 1;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 7l5 5-5 5'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
    box-shadow: 0 0 0 3px var(--accent-soft);
}
[data-theme="dark"] .governance__flow li:not(:last-child)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1220' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 7l5 5-5 5'/%3E%3C/svg%3E");
}
/* The API pool is a separate balance, not the next step: no arrow into it */
.governance__flow li:nth-child(3)::before, .governance__flow li:nth-child(3)::after { display: none; }
.governance__flow li:nth-child(3) { padding-right: 24px; }
.governance__flow-aside { padding-left: 32px; border-left: 2px dashed var(--accent); }
.governance__flow-aside span {
    background: transparent; color: var(--ink-2); border: 1.5px solid var(--line-strong);
    box-shadow: none; font-size: 10.5px; letter-spacing: 0.02em;
}
[data-theme="dark"] .governance__flow-aside span { color: var(--ink-2); }

/* Five numbered controls */
.governance { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.governance__card {
    position: relative; overflow: hidden;
    padding: 26px 22px 24px; border-radius: var(--radius-lg);
    border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.governance__card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--accent); transform: scaleX(0); transform-origin: left;
    transition: transform 260ms var(--ease);
}
.governance__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.governance__card:hover::before { transform: scaleX(1); }
.governance__card--api { background: var(--accent-soft); border-color: transparent; }
.governance__card--api::before { background: var(--accent-ink); }
.governance__num {
    position: absolute; top: 18px; right: 20px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-3);
    font-variant-numeric: tabular-nums;
}
.governance__icon {
    width: 44px; height: 44px; border-radius: var(--radius);
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 20px;
}
.governance__card--api .governance__icon { background: var(--surface); }
.governance__icon svg { width: 20px; height: 20px; }
.governance__card h3 { font-size: 17px; margin-bottom: 8px; color: var(--ink); }
.governance__card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

@media (max-width: 1100px) {
    .governance { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .governance__flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
    .governance__flow li:nth-child(2)::before, .governance__flow li:nth-child(2)::after { display: none; }
    .governance__flow-aside { padding-left: 0; border-left: 0; }
    .governance__flow li:not(:last-child)::after { width: 28px; }
}
@media (max-width: 900px) {
    .governance__head { grid-template-columns: 1fr; gap: 28px; align-items: start; }
    .governance__proof li { grid-template-columns: 72px minmax(0, 1fr); }
}
@media (max-width: 760px) { .governance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
    .governance { grid-template-columns: 1fr; }
    .governance__flow { grid-template-columns: 1fr; }
    .governance__flow li::before, .governance__flow li::after { display: none; }
    .governance__flow li { padding-right: 0; }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    cursor: pointer; list-style: none;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 0; font-size: 16px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ''; width: 20px; height: 20px; flex: none;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform var(--dur) var(--ease);
    color: var(--ink-3);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 32px 20px 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.closing {
    background: var(--ink);
    color: var(--surface);
    padding: 96px 0;
}
[data-theme="dark"] .closing { background: var(--surface-2); color: var(--ink); border-top: 1px solid var(--line); }
.closing__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.closing h2 { color: inherit; }
.closing p { margin-top: 16px; font-size: 18px; opacity: 0.75; }
.closing__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.closing .btn--primary { background: #fff; color: var(--ink); }
.closing .btn--primary:hover { background: #E2E8F0; }
.closing .btn--secondary { background: transparent; color: inherit; border-color: rgba(255, 255, 255, 0.28); }
.closing .btn--secondary:hover { background: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .closing .btn--primary { background: var(--accent); color: #0B1220; }
[data-theme="dark"] .closing .btn--secondary { border-color: var(--line-strong); }
.closing__fine { margin-top: 20px; font-size: 13.5px; opacity: 0.6; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: var(--surface); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand__logo { height: 34px; width: auto; }
.footer-brand__description { margin-top: 16px; font-size: 14.5px; color: var(--ink-3); max-width: 300px; }
.footer-column h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.footer-column a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--ink-2); }
.footer-column a:hover { color: var(--ink); }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
    font-size: 13.5px; color: var(--ink-3);
}
.footer-social { display: flex; gap: 8px; }
.footer-social__link {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink-3); transition: color var(--dur), background var(--dur);
}
.footer-social__link:hover { color: var(--ink); background: var(--surface-2); }
.footer-social__link svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Video modal (script.js: openVideoModal / closeVideoModal)
   -------------------------------------------------------------------------- */
.video-modal {
    position: fixed; inset: 0; z-index: 100;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    background: rgba(11, 18, 32, 0.8);
    opacity: 0; visibility: hidden;
    transition: opacity 200ms var(--ease), visibility 200ms;
}
.video-modal.active { opacity: 1; visibility: visible; }
.video-modal-content { position: relative; width: min(1040px, 100%); }
.video-modal-wrapper {
    position: relative; aspect-ratio: 16 / 9;
    border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-2);
}
.video-modal-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal-close {
    position: absolute; right: 0; top: -48px;
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; background: rgba(255, 255, 255, 0.12);
}
.video-modal-close:hover { background: rgba(255, 255, 255, 0.22); }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
/* Hidden state only when JS is running (html.js), so content never depends on the observer. */
.js .fade-in { opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.js .fade-in.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
    .fade-in { opacity: 1; transform: none; }
    .product-window { will-change: auto; }
}
