/* kupfra.com. Carbon, copper and one variable face (Archivo, SIL OFL, self-hosted). No external requests. */

@font-face {
    font-family: "Archivo";
    src: url("/fonts/archivo-var.woff2") format("woff2-variations"), url("/fonts/archivo-var.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --carbon: #0E0C0B;
    --graphite: #181512;
    --steel: #252019;
    --line: rgba(244, 238, 230, 0.09);
    --line-strong: rgba(244, 238, 230, 0.18);
    --paper: #F4EEE6;
    --dust: #A99F94;
    --copper: #D9702A;
    --copper-hi: #F59A55;
    --copper-lo: #7A3814;
    --copper-text: #F2A066;
    --font: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --gutter-l: max(16px, env(safe-area-inset-left));
    --gutter-r: max(16px, env(safe-area-inset-right));
    --max: 1240px;
    --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
    --header-h: 64px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 16px + env(safe-area-inset-top));
    background: var(--carbon);
    overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    background: var(--carbon);
    color: var(--paper);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    font-stretch: 100%;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--copper-text); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--paper); }

:focus-visible { outline: 2px solid var(--copper-hi); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; overflow-wrap: break-word; hyphens: manual; font-weight: 750; }

h2 {
    font-size: clamp(2rem, 5.2vw, 4rem);
    font-stretch: 112%;
    font-weight: 780;
    letter-spacing: -0.025em;
    line-height: 1.02;
    max-width: 16ch;
}

h3 { font-size: 1.25rem; font-weight: 680; line-height: 1.25; letter-spacing: -0.005em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.small { font-size: 0.875rem; color: var(--dust); }

.wrap {
    width: 100%;
    max-width: calc(var(--max) + var(--gutter-l) + var(--gutter-r));
    margin: 0 auto;
    padding-left: var(--gutter-l);
    padding-right: var(--gutter-r);
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--paper);
    color: var(--carbon);
    border-radius: 8px;
    font-weight: 650;
    text-decoration: none;
}
.skip-link:focus { top: calc(8px + env(safe-area-inset-top)); }

/* Header: translucent carbon, firms up once the page scrolls. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding-top: env(safe-area-inset-top);
    background: rgba(14, 12, 11, 0.55);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    backdrop-filter: saturate(160%) blur(18px);
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s, border-color 0.3s;
}
.site-header.is-scrolled { background: rgba(14, 12, 11, 0.82); border-bottom-color: var(--line); }

.bar { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--paper);
    text-decoration: none;
    font-weight: 800;
    font-stretch: 120%;
    font-size: 1.125rem;
    letter-spacing: -0.01em;
    min-height: 44px;
}
.brand img { border-radius: 8px; }

.nav { margin-left: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    color: var(--dust);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 999px;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--paper); }

.badge { display: inline-block; border-radius: 9px; line-height: 0; }
.badge img { width: auto; }
.badge-nav img { height: 40px; }

@media (max-width: 860px) {
    .nav { display: none; }
    .badge-nav { margin-left: auto; }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: clamp(28px, 6vw, 72px) 0 clamp(56px, 8vw, 104px);
    isolation: isolate;
    overflow: clip;
}

.hero-glow {
    position: absolute;
    inset: -20% -10% 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.hero-glow::before,
.hero-glow::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    will-change: transform;
}
.hero-glow::before {
    width: 70vmax; height: 70vmax;
    right: -18vmax; top: 2vmax;
    background: radial-gradient(closest-side, rgba(217, 112, 42, 0.30), rgba(217, 112, 42, 0.08) 55%, transparent 72%);
    animation: drift 18s ease-in-out infinite alternate;
}
.hero-glow::after {
    width: 46vmax; height: 46vmax;
    left: -16vmax; bottom: -10vmax;
    background: radial-gradient(closest-side, rgba(122, 56, 20, 0.35), transparent 70%);
    animation: drift 24s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-6vmax, 4vmax, 0) scale(1.12); }
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.875rem, 12.2vw, 6rem);
    font-stretch: 125%;
    font-weight: 820;
    letter-spacing: -0.035em;
    line-height: 0.92;
    margin-bottom: 28px;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero h1 .line > span {
    display: block;
    background: linear-gradient(100deg, var(--paper) 0%, var(--paper) 40%, #FFD0A6 48%, var(--copper-hi) 52%, var(--paper) 60%, var(--paper) 100%);
    background-size: 300% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: #D8D0C6; max-width: 34rem; }
.hero-sub strong { color: var(--paper); font-weight: 650; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.hero-cta .badge img { height: 54px; }
.hero-cta .small { margin: 0; max-width: 18rem; }

.stage {
    position: relative;
    width: min(100%, 520px);
    margin: 0 auto;
    aspect-ratio: 520 / 640;
}
.stage .layer { position: absolute; will-change: transform; }
.stage .device-layer { left: 50%; top: 0; width: 49%; margin-left: -24.5%; z-index: 3; }
.stage .device-layer .device { filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 70px rgba(217, 112, 42, 0.22)); }
.float-stair { width: 46%; left: -4%; top: 4%; z-index: 1; opacity: 0.9; -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent); mask-image: radial-gradient(closest-side, #000 60%, transparent); }
.float-breaker { width: 34%; right: -9%; top: 16%; z-index: 4; }
.float-cable { width: 50%; left: -8%; bottom: 2%; z-index: 4; -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 96%); mask-image: linear-gradient(90deg, #000 62%, transparent 96%); }
.float-blocks { width: 46%; right: -8%; bottom: 8%; z-index: 2; -webkit-mask-image: linear-gradient(270deg, transparent 4%, #000 30%); mask-image: linear-gradient(270deg, transparent 4%, #000 30%); }
.stage .layer img { filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.55)); }

@media (min-width: 960px) {
    .hero h1 { font-size: clamp(4rem, 6.4vw, 6rem); }
    .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 24px; }
    .hero { padding-top: 56px; min-height: min(860px, calc(100svh - var(--header-h))); display: flex; align-items: center; }
    .hero > .wrap { width: 100%; }
}

/* Load sequence: the headline rises out of its lines, the sheen crosses once, then the stage arrives. */
@media (prefers-reduced-motion: no-preference) {
    .js .hero h1 .line > span { animation: rise 0.9s var(--ease) both, sheen 2.6s 0.9s ease-in-out both; }
    .js .hero h1 .line:nth-child(2) > span { animation-delay: 0.08s, 1.05s; }
    .js .hero h1 .line:nth-child(3) > span { animation-delay: 0.16s, 1.2s; }
    .js .hero-sub,
    .js .hero-cta { animation: fade-up 0.8s 0.35s var(--ease) both; }
    .js .hero-cta { animation-delay: 0.45s; }
    .js .stage .layer > * { animation: fade-up 1s var(--ease) both; }
    .js .stage .device-layer > * { animation-delay: 0.2s; }
    .js .stage .float-stair > * { animation-delay: 0.45s; }
    .js .stage .float-breaker > * { animation-delay: 0.55s; }
    .js .stage .float-cable > * { animation-delay: 0.6s; }
    .js .stage .float-blocks > * { animation-delay: 0.7s; }
}
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Phone ---------- */

/* Apple's iPhone 17 Pro Max frame (1470 x 3000) over the screen at (75, 66), 1320 x 2868. */
.device { position: relative; aspect-ratio: 1470 / 3000; }
.device .frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.screen {
    position: absolute;
    left: 5.102%;
    top: 2.2%;
    width: 89.796%;
    height: 95.6%;
    overflow: hidden;
    -webkit-mask-image: url("/img/screen-mask.png");
    mask-image: url("/img/screen-mask.png");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    background: #000;
}
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- Spec plate ---------- */

.plate-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(24, 21, 18, 0.6), rgba(14, 12, 11, 0)); }
.plate {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}
.plate > div { padding: 26px 0 24px; border-bottom: 1px solid var(--line); }
.plate > div:nth-child(odd) { padding-right: 16px; }
.plate > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.plate > div:last-child { grid-column: 1 / -1; border-bottom: 0; padding-left: 0; border-left: 0; }
.plate dt { order: 2; color: var(--dust); font-size: 0.9375rem; line-height: 1.35; margin-top: 6px; }
.plate > div { display: flex; flex-direction: column; }
.plate dd {
    order: 1;
    margin: 0;
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-stretch: 62%;
    font-weight: 700;
    line-height: 0.95;
    font-variant-numeric: tabular-nums lining-nums;
    color: var(--paper);
}
.plate dd .unit { font-size: 0.42em; font-stretch: 100%; font-weight: 600; color: var(--copper-text); margin-left: 0.15em; letter-spacing: 0; }

@media (min-width: 900px) {
    .plate { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .plate > div,
    .plate > div:nth-child(odd),
    .plate > div:nth-child(even),
    .plate > div:last-child { grid-column: auto; padding: 34px 22px 30px; border-bottom: 0; border-left: 1px solid var(--line); }
    .plate > div:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(80px, 11vw, 150px) 0 0; }
.section-intro { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-intro p { color: var(--dust); max-width: 36rem; font-size: 1.0625rem; }
@media (min-width: 960px) {
    .section-intro { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: end; gap: 48px; }
}

.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: #D8D0C6; }
.ticks li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.62em;
    width: 12px; height: 2px;
    background: var(--copper);
    box-shadow: 0 0 10px rgba(217, 112, 42, 0.8);
}

/* ---------- Modules: the phone stays, the chapters scroll ---------- */

.modules { display: grid; gap: 72px; }
.chapter { display: grid; gap: 22px; }
.chapter h3 { margin-bottom: 14px; font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-stretch: 118%; font-weight: 780; letter-spacing: -0.02em; line-height: 1.02; }
.chapter p { color: #D8D0C6; max-width: 32rem; }
.chapter .module-kicker { color: var(--copper-text); font-weight: 600; font-size: 0.9375rem; margin: 0 0 10px; }
.chapter-phone { width: min(62vw, 260px); margin: 8px auto 0; }
.chapter-phone .device { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.module-stage { display: none; }

@media (min-width: 960px) {
    .modules { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
    .chapter { min-height: 82vh; align-content: center; padding: 6vh 0; }
    .chapter-phone { display: none; }
    .module-stage { display: block; position: relative; }
    .module-sticky {
        position: sticky;
        top: calc(var(--header-h) + 4vh);
        height: calc(100vh - var(--header-h) - 8vh);
        display: grid;
        place-items: center;
    }
    .module-art { position: absolute; inset: 6% -6% 6% -6%; display: grid; place-items: center; }
    .module-art img {
        position: absolute;
        width: 100%;
        max-height: 100%;
        object-fit: contain;
        opacity: 0;
        transform: scale(1.06);
        transition: opacity 0.7s, transform 1.2s var(--ease);
        -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent);
        mask-image: radial-gradient(closest-side, #000 55%, transparent);
    }
    .module-art img.is-on { opacity: 0.38; transform: none; }
    .module-phone { position: relative; height: min(76vh, 700px); aspect-ratio: 1470 / 3000; filter: drop-shadow(0 50px 60px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 80px rgba(217, 112, 42, 0.18)); }
    .module-phone .device { height: 100%; }
    .module-phone .screen img { opacity: 0; transform: translateY(3%); transition: opacity 0.5s, transform 0.7s var(--ease); }
    .module-phone .screen img.is-on { opacity: 1; transform: none; }
    .module-rail {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        display: grid;
        gap: 6px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .module-rail a {
        display: flex; align-items: center; gap: 10px;
        min-height: 36px;
        color: var(--dust);
        text-decoration: none;
        font-size: 0.875rem;
        font-weight: 550;
    }
    .module-rail a::before { content: ""; width: 18px; height: 2px; background: var(--line-strong); transition: width 0.3s, background 0.3s; }
    .module-rail a[aria-current="true"] { color: var(--paper); }
    .module-rail a[aria-current="true"]::before { width: 34px; background: var(--copper); }
}

/* ---------- Calculators grid ---------- */

.toolset + .toolset { margin-top: 56px; }
.toolset-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.toolset-head h3 { font-size: 1.5rem; font-stretch: 115%; font-weight: 760; }
.toolset-head p { margin: 0; color: var(--dust); font-size: 0.9375rem; }

.tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .tools { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

.tool {
    --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%;
    position: relative;
    height: 100%;
    padding: 14px 14px 18px;
    border-radius: 18px;
    background:
        radial-gradient(240px circle at var(--gx) var(--gy), rgba(217, 112, 42, 0.16), transparent 70%),
        linear-gradient(180deg, #1C1915, #141210);
    border: 1px solid var(--line);
    transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform 0.4s var(--ease), border-color 0.3s;
}
.tool:hover { border-color: rgba(242, 160, 102, 0.35); }
.tool img { width: 100%; aspect-ratio: 1; object-fit: contain; margin: -4px auto 6px; transform: translateZ(0); transition: transform 0.5s var(--ease); }
.tool:hover img { transform: translateY(-4px) scale(1.04); }
.tool h4 { margin: 0 0 4px; font-size: 1rem; font-weight: 680; line-height: 1.25; }
.tool p { margin: 0; color: var(--dust); font-size: 0.875rem; line-height: 1.45; }
.tool .free {
    position: absolute;
    top: 12px; left: 12px;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(217, 112, 42, 0.16);
    border: 1px solid rgba(242, 160, 102, 0.4);
    color: var(--copper-text);
    font-size: 0.75rem;
    font-weight: 650;
}

/* ---------- Turntable ---------- */

.turn-wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .turn-wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; } }

.turntable { position: relative; }
.turn-stage {
    position: relative;
    aspect-ratio: 1;
    border-radius: 28px;
    overflow: hidden;
    background: radial-gradient(closest-side, #1E1A16, var(--carbon));
    border: 1px solid var(--line);
    cursor: grab;
    touch-action: pan-y;
}
.turn-stage:active { cursor: grabbing; }
.turn-stage img,
.turn-stage canvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
    -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent);
    mask-image: radial-gradient(closest-side, #000 78%, transparent);
}
.turn-stage canvas { opacity: 0; transition: opacity 0.4s; }
.turn-stage.is-live canvas { opacity: 1; }
.turn-stage::after {
    content: "";
    position: absolute; inset: 0;
    pointer-events: none;
    background: radial-gradient(60% 40% at 50% 100%, rgba(217, 112, 42, 0.14), transparent 70%);
}
.turn-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.turn-controls button {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--dust);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.turn-controls button:hover { color: var(--paper); border-color: var(--dust); }
.turn-controls button[aria-pressed="true"] { color: var(--carbon); background: var(--paper); border-color: var(--paper); }
.turn-hint { margin: 0 0 0 auto; }

.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.features li { padding: 20px 0; border-top: 1px solid var(--line); }
.features li:last-child { border-bottom: 1px solid var(--line); }
.features h3 { margin-bottom: 6px; }
.features p { color: var(--dust); margin: 0; font-size: 1rem; }

.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 3vw, 40px); margin-top: clamp(56px, 7vw, 96px); max-width: 860px; margin-left: auto; margin-right: auto; }
.shots figure { margin: 0; }
.shots .device { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.shots figcaption { margin-top: 14px; text-align: center; color: var(--dust); font-size: 0.875rem; }
@media (min-width: 720px) { .shots figure:nth-child(2) { transform: translateY(-36px); } }

/* ---------- Norms marquee ---------- */

.norms { margin-top: clamp(80px, 11vw, 150px); padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee { display: flex; width: max-content; }
.marquee ul { display: flex; flex-shrink: 0; list-style: none; margin: 0; padding: 0; }
.marquee li {
    padding: 0 0.6em;
    font-size: clamp(2.25rem, 6vw, 4.75rem);
    font-stretch: 125%;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(244, 238, 230, 0.4);
}
.marquee li:nth-child(odd) { color: var(--paper); -webkit-text-stroke: 0; }
.marquee li::after { content: ""; display: inline-block; width: 0.22em; height: 0.22em; margin-left: 1.2em; border-radius: 50%; background: var(--copper); vertical-align: middle; box-shadow: 0 0 18px var(--copper); }
@media (prefers-reduced-motion: no-preference) {
    .marquee { animation: marquee 38s linear infinite; }
    .norms:hover .marquee { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee { width: auto; }
    .marquee ul { flex-wrap: wrap; flex-shrink: 1; }
    .marquee ul + ul { display: none; }
    .marquee li { font-size: clamp(1.5rem, 4vw, 2.5rem); }
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Region, price, privacy ---------- */

.split { display: grid; gap: 28px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
.split .body p { color: #D8D0C6; max-width: 36rem; }
.note {
    padding: 18px 20px;
    border-left: 2px solid var(--copper);
    background: rgba(217, 112, 42, 0.06);
    border-radius: 0 12px 12px 0;
    color: #D8D0C6;
    font-size: 0.9375rem;
}

.price-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .price-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.price-col { padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--graphite); }
.price-col h3 { font-size: 1.5rem; font-stretch: 115%; margin-bottom: 10px; }
.price-col p { color: #D8D0C6; }
.price-col.unlock {
    position: relative;
    border-color: rgba(242, 160, 102, 0.35);
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(217, 112, 42, 0.22), transparent 60%),
        var(--graphite);
}
.price-foot { margin-top: 20px; color: var(--dust); font-size: 0.9375rem; max-width: 52rem; }

.privacy-band { display: grid; gap: 18px; padding: clamp(32px, 5vw, 56px); border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(135deg, #1A1714, #12100E); }
.privacy-band h2 { max-width: 20ch; }
.privacy-band p { color: #D8D0C6; max-width: 44rem; margin: 0; }

/* ---------- FAQ ---------- */

.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 14px 0;
    font-size: 1.125rem;
    font-weight: 620;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "";
    flex: none;
    width: 12px; height: 12px;
    border-right: 2px solid var(--copper-text);
    border-bottom: 2px solid var(--copper-text);
    transform: translateY(-3px) rotate(45deg);
    transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq .answer { padding: 0 0 22px; color: #D8D0C6; max-width: 46rem; }
.faq-more { margin-top: 24px; }

/* ---------- Closing ---------- */

.closing { position: relative; margin-top: clamp(96px, 12vw, 170px); padding: clamp(80px, 12vw, 160px) 0; text-align: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.closing::before {
    content: "";
    position: absolute;
    left: 50%; top: 100%;
    width: 120vmax; height: 120vmax;
    transform: translate(-50%, -50%);
    z-index: -1;
    background: radial-gradient(closest-side, rgba(217, 112, 42, 0.32), rgba(217, 112, 42, 0.06) 50%, transparent 70%);
}
.closing h2 { margin: 0 auto 32px; max-width: 14ch; font-size: clamp(2.5rem, 8vw, 6.5rem); font-stretch: 125%; font-weight: 820; letter-spacing: -0.035em; line-height: 0.95; }
.closing .badge img { height: 56px; margin: 0 auto; }
.closing .small { margin-top: 16px; }
.closing-art { width: min(80%, 520px); margin: 0 auto 28px; opacity: 0.95; }

/* ---------- Scroll reveals (only where JS runs and motion is welcome) ---------- */

@media (prefers-reduced-motion: no-preference) {
    .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
    .js .reveal.is-in { opacity: 1; transform: none; }
    .js .tools .reveal { transition-delay: calc(var(--i, 0) * 45ms); }
}

/* ---------- Footer ---------- */

.site-footer { padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #0B0A09; }
.footer-top { display: grid; gap: 24px; margin-bottom: 32px; }
@media (min-width: 860px) { .footer-top { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } }
.footer-maker { margin: 14px 0 0; color: #D8D0C6; max-width: 34rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--dust); text-decoration: none; }
.footer-links a:hover { color: var(--paper); }
.footer-small { padding-top: 24px; border-top: 1px solid var(--line); color: #8E857B; font-size: 0.8125rem; }
.footer-small p { margin-bottom: 6px; }
.footer-small a { color: var(--dust); }

/* ---------- Legal and support pages ---------- */

.doc { position: relative; padding: clamp(40px, 7vw, 88px) 0 96px; isolation: isolate; }
.doc::before {
    content: "";
    position: absolute;
    right: -20vmax; top: -30vmax;
    width: 70vmax; height: 70vmax;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(closest-side, rgba(217, 112, 42, 0.16), transparent 70%);
}
.container {
    width: 100%;
    max-width: calc(46rem + var(--gutter-l) + var(--gutter-r));
    margin: 0 auto;
    padding-left: var(--gutter-l);
    padding-right: var(--gutter-r);
}
.doc h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); font-stretch: 122%; font-weight: 820; letter-spacing: -0.03em; line-height: 0.98; margin-bottom: 18px; }
.doc h2 { font-size: clamp(1.375rem, 3vw, 1.75rem); font-stretch: 110%; font-weight: 720; letter-spacing: -0.01em; line-height: 1.2; max-width: none; margin: 48px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.doc h3 { margin: 28px 0 10px; font-size: 1.125rem; }
.doc p,
.doc li { color: #D8D0C6; }
.doc ul { padding-left: 1.2em; margin: 0 0 1em; }
.doc li { margin-bottom: 0.5em; }
.doc li::marker { color: var(--copper); }
.doc strong { color: var(--paper); font-weight: 650; }
.doc-meta { color: var(--dust); font-size: 0.9375rem; margin-bottom: 4px; }
.doc-intro { font-size: 1.1875rem; color: var(--dust); }
.callout { margin: 28px 0; padding: 22px 24px; border-radius: 18px; border: 1px solid rgba(242, 160, 102, 0.3); background: radial-gradient(120% 120% at 100% 0%, rgba(217, 112, 42, 0.14), transparent 60%), var(--graphite); }
.doc .faq { margin-top: 20px; }

.notfound { padding: clamp(80px, 14vw, 160px) 0; text-align: center; }
.notfound img { margin: 0 auto 28px; border-radius: 28px; box-shadow: 0 0 80px rgba(217, 112, 42, 0.35); }
.notfound h1 { font-size: clamp(2.25rem, 7vw, 4rem); font-stretch: 122%; font-weight: 820; letter-spacing: -0.03em; line-height: 1; margin-bottom: 16px; }
.notfound p { color: var(--dust); }
