/* Avrit website — static, no build step, no web fonts, no external requests.
 * Colours follow the app's "Little Orbits" tokens (css/tokens.css in the app).
 * Contrast (WCAG 2.x): ink #1C1433 on canvas #FFF7EA 16.5:1; ink-2 #4D4466 on canvas-2 #FFEFD6 7.96:1;
 * accent-text #593AE5 on canvas-2 5.87:1; mint-text #0A7157 on canvas 5.62:1; ink on lime 13.85:1;
 * white on --g-primary (#6A47F5 → #9333EA) ≥ 4.75:1. Dark: ink #F7F2FF on #0E0A1C 17.7:1,
 * ink-2 #C9C0E0 on #1E1834 9.79:1, accent-text #A794FF on #1E1834 6.74:1. */

:root {
  color-scheme: light;
  --canvas: #FFF7EA;
  --canvas-2: #FFEFD6;
  --surface: #FFFFFF;
  --surface-2: rgba(255, 255, 255, .66);
  --ink: #1C1433;
  --ink-2: #4D4466;
  --line: rgba(28, 20, 51, .10);
  --line-strong: rgba(28, 20, 51, .18);
  --violet: #7C5CFF;
  --accent-text: #593AE5;
  --lime: #C8F53B;
  --mint: #22D3A6;
  --mint-text: #0A7157;
  --coral-text: #B52445;
  --saffron-text: #9B5100;
  --focus: #7C5CFF;
  --tint-violet: #EEE8FF;
  --tint-mint: #DDF6EE;
  --tint-lime: #F1FBD2;
  --tint-saffron: #FFEBCF;
  --tint-coral: #FFE3E8;
  --g-primary: linear-gradient(135deg, #6A47F5, #9333EA);
  --g-done: linear-gradient(135deg, #D9FB6B, #A3E635);
  --g-brand: linear-gradient(135deg, #C8F53B, #22D3A6);
  --g-canvas: radial-gradient(120% 60% at 0% 0%, #FFFCF5 0%, rgba(255, 252, 245, 0) 60%),
              radial-gradient(80% 50% at 100% 30%, #F3E9FF 0%, rgba(243, 233, 255, 0) 70%),
              linear-gradient(180deg, var(--canvas) 0%, var(--canvas-2) 100%);
  --shadow-1: 0 1px 2px rgba(28, 20, 51, .06), 0 1px 0 rgba(255, 255, 255, .7) inset;
  --shadow-2: 0 2px 6px rgba(28, 20, 51, .06), 0 14px 34px -12px rgba(28, 20, 51, .18);
  --shadow-3: 0 6px 16px rgba(28, 20, 51, .10), 0 40px 80px -30px rgba(60, 30, 140, .35);
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-card: 32px;
  --r-tile: 24px;
  --r-btn: 20px;
  --max: 1120px;
  --gutter: 16px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --canvas: #0E0A1C;
    --canvas-2: #171129;
    --surface: #1E1834;
    --surface-2: rgba(34, 27, 58, .72);
    --ink: #F7F2FF;
    --ink-2: #C9C0E0;
    --line: rgba(247, 242, 255, .12);
    --line-strong: rgba(247, 242, 255, .22);
    --accent-text: #A794FF;
    --mint-text: #22D3A6;
    --coral-text: #FF7F96;
    --saffron-text: #FFB54D;
    --focus: #9D86FF;
    --tint-violet: #2A2150;
    --tint-mint: #12302B;
    --tint-lime: #232B12;
    --tint-saffron: #33240F;
    --tint-coral: #3A1622;
    --g-canvas: radial-gradient(120% 60% at 0% 0%, #1E1538 0%, rgba(30, 21, 56, 0) 60%),
                radial-gradient(80% 50% at 100% 30%, #24124A 0%, rgba(36, 18, 74, 0) 70%),
                linear-gradient(180deg, var(--canvas) 0%, var(--canvas-2) 100%);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-2: 0 2px 6px rgba(0, 0, 0, .35), 0 14px 34px -12px rgba(0, 0, 0, .6);
    --shadow-3: 0 6px 16px rgba(0, 0, 0, .4), 0 40px 80px -30px rgba(0, 0, 0, .8);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #0E0A1C;
  --canvas-2: #171129;
  --surface: #1E1834;
  --surface-2: rgba(34, 27, 58, .72);
  --ink: #F7F2FF;
  --ink-2: #C9C0E0;
  --line: rgba(247, 242, 255, .12);
  --line-strong: rgba(247, 242, 255, .22);
  --accent-text: #A794FF;
  --mint-text: #22D3A6;
  --coral-text: #FF7F96;
  --saffron-text: #FFB54D;
  --focus: #9D86FF;
  --tint-violet: #2A2150;
  --tint-mint: #12302B;
  --tint-lime: #232B12;
  --tint-saffron: #33240F;
  --tint-coral: #3A1622;
  --g-canvas: radial-gradient(120% 60% at 0% 0%, #1E1538 0%, rgba(30, 21, 56, 0) 60%),
              radial-gradient(80% 50% at 100% 30%, #24124A 0%, rgba(36, 18, 74, 0) 70%),
              linear-gradient(180deg, var(--canvas) 0%, var(--canvas-2) 100%);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, .35), 0 14px 34px -12px rgba(0, 0, 0, .6);
  --shadow-3: 0 6px 16px rgba(0, 0, 0, .4), 0 40px 80px -30px rgba(0, 0, 0, .8);
}

/* ── base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--canvas);
  background-image: var(--g-canvas);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6.4vw, 3.7rem); font-weight: 800; }
@media (min-width: 600px) { h1 .nw { white-space: nowrap; } }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 750; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.12rem, 2.2vw, 1.3rem); color: var(--ink-2); max-width: 36em; }
.eyebrow { display: block; font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 .9rem; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 14px; box-shadow: var(--shadow-2); }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* squircle-ish corners where the browser supports them */
.card, .tile, .shot, .btn, .note, .notif, .site-head .bar {
  border-radius: var(--r-card);
}
@supports (corner-shape: squircle) {
  .card, .tile, .shot, .btn, .note, .notif, .site-head .bar { corner-shape: squircle; }
}

/* ── header ───────────────────────────────────────────────────────── */
.site-head { position: sticky; top: 0; z-index: 20; padding: 10px 0; }
.site-head .bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--surface-2);
  -webkit-backdrop-filter: saturate(1.6) blur(20px);
  backdrop-filter: saturate(1.6) blur(20px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  padding: 8px 8px 8px 12px;
  border-radius: 24px;
}
@media (prefers-reduced-transparency: reduce) {
  .site-head .bar { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; margin-right: auto; min-height: 44px; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 2px 6px rgba(28, 20, 51, .18); }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 650; font-size: .95rem; padding: 10px 12px; border-radius: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { background: var(--line); }
.nav a[aria-current="page"] { color: var(--accent-text); background: var(--tint-violet); }
.nav .btn { margin-left: 6px; }
@media (max-width: 430px) {
  .nav .hide-xs { display: none; }
}
@media (max-width: 560px) {
  .site-head .bar { padding: 6px 6px 6px 10px; gap: 4px; }
  .nav a:not(.btn) { padding: 10px 8px; font-size: .9rem; }
  .nav .hide-sm { display: none; }
  .nav .btn { padding: 10px 14px; }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero h1 .lime { background: none; color: var(--lime); }
}
:root[data-theme="dark"] .hero h1 .lime { background: none; color: var(--lime); }

/* ── buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-btn);
  font: inherit; font-weight: 750; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .16s cubic-bezier(.2, .8, .2, 1), box-shadow .16s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--g-primary); color: #FFFFFF; box-shadow: 0 10px 24px -10px rgba(106, 71, 245, .7); }
.btn-done { background: var(--g-done); color: #1C1433; box-shadow: 0 10px 24px -12px rgba(120, 170, 20, .8); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .95rem; border-radius: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ── hero ────────────────────────────────────────────────────────── */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(40px, 7vw, 96px); overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .lime { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); padding: 0 .06em; color: inherit; }
.status-pill { display: flex; width: fit-content; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); font-weight: 700; font-size: .9rem; margin-bottom: 18px; }
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(34, 211, 166, .22); flex: none; }
.hero .fine { margin-top: 16px; font-size: .92rem; color: var(--ink-2); }
.hero-art { position: relative; display: flex; justify-content: center; padding: 10px 0 30px; }
.hero-art .shot-main { width: min(300px, 74vw); position: relative; z-index: 2; }
.hero-art .shot-back { position: absolute; width: min(250px, 60vw); right: 0; top: 50px; transform: rotate(7deg); z-index: 1; opacity: .96; }
.orbit { position: absolute; inset: 6% 0 auto; margin: auto; width: min(460px, 100%); aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(124, 92, 255, .28); z-index: 0; pointer-events: none; }
.orbit::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); top: 12%; left: 12%; box-shadow: 0 0 0 6px rgba(200, 245, 59, .25); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { margin-top: 8px; }
  .hero-art .shot-back { right: 2%; }
}
@media (max-width: 420px) {
  .hero-art .shot-back { display: none; }
}

/* ── screenshots ─────────────────────────────────────────────────── */
.shot { position: relative; border-radius: 34px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-3); }
.shot img { width: 100%; height: auto; }
.shot.ipad { border-radius: 26px; }
figure { margin: 0; }
figcaption { font-size: .88rem; color: var(--ink-2); margin-top: 12px; text-align: center; }

/* ── sections ────────────────────────────────────────────────────── */
section { scroll-margin-top: 90px; }
.section { padding: clamp(48px, 8vw, 104px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 44px); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 10vw, 120px); }
.feature.flip .feature-text { order: 2; }
.feature-art { display: flex; justify-content: center; gap: 18px; align-items: flex-start; }
.feature-art .shot { width: min(290px, 70vw); }
.feature-art.pair .shot { width: min(250px, 42vw); }
.feature-art.pair .shot:nth-child(2) { margin-top: 48px; }
.feature-text p { color: var(--ink-2); }
.feature-text .quote { font-size: clamp(1.15rem, 2.2vw, 1.35rem); color: var(--ink); font-weight: 650; line-height: 1.45; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 8px; background: var(--g-done) center / 14px 14px no-repeat; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%231C1433' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), var(--g-done); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-text { order: 0; }
}

/* ── cards & tiles ───────────────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); padding: clamp(20px, 3vw, 32px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 700px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }
.tile { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); padding: 24px; border-radius: var(--r-tile); }
.tile h3 { margin-bottom: .35em; }
.tile p { color: var(--ink-2); margin: 0; }
.tile .ic { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 14px; color: #FFFFFF; box-shadow: 0 8px 18px -8px rgba(28, 20, 51, .45); }
.ic.violet { background: linear-gradient(135deg, #784FD4, #BA3979); }
.ic.green { background: linear-gradient(135deg, #047A55, #497509); }
.ic.gold { background: linear-gradient(135deg, #A15804, #CE2570); }
.ic svg { width: 28px; height: 28px; }

/* iCloud spotlight */
.spotlight { background: linear-gradient(140deg, #2E1065 0%, #4F2BB8 55%, #0B5A80 100%); color: #FFFFFF; border-radius: 40px; padding: clamp(28px, 5vw, 64px); box-shadow: var(--shadow-3); overflow: hidden; position: relative; }
@supports (corner-shape: squircle) { .spotlight { corner-shape: squircle; } }
.spotlight h2, .spotlight h3 { color: #FFFFFF; }
.spotlight p, .spotlight li { color: #FFFFFF; }
.spotlight .eyebrow { color: #E4F9A6; }
.spotlight a { color: #FFFFFF; }
.spotlight-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.spotlight .quote { font-size: clamp(1.2rem, 2.4vw, 1.45rem); font-weight: 700; line-height: 1.45; }
.spotlight .facts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.spotlight .facts li { padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); }
.spotlight .facts strong { color: #E4F9A6; }
.spotlight-art { max-width: 940px; margin: clamp(28px, 4vw, 48px) auto 0; }
.spotlight .card-shot { border-radius: 26px; margin-top: 22px; max-width: 520px; border-color: rgba(255, 255, 255, .25); }
.spotlight-art .shot { border-color: rgba(255, 255, 255, .25); }
@media (max-width: 920px) {
  .spotlight-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .spotlight { border-radius: 30px; }
}

/* areas */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: #FFFFFF; }
.a-self { background: linear-gradient(135deg, #784FD4, #BA3979); }
.a-home { background: linear-gradient(135deg, #047A55, #497509); }
.a-wardrobe { background: linear-gradient(135deg, #C8344D, #AC4F0F); }
.a-health { background: linear-gradient(135deg, #06748E, #2461E6); }
.a-digital { background: linear-gradient(135deg, #4F46E5, #0A72A1); }
.a-admin { background: linear-gradient(135deg, #A15804, #CE2570); }
.a-custom { background: linear-gradient(135deg, #2E1065, #7C3AED); }

/* notification mock (illustration, real copy from the app) */
.notif { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); padding: 16px 18px; border-radius: 26px; max-width: 420px; }
.notif img { width: 42px; height: 42px; border-radius: 11px; flex: none; }
.notif .n-top { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; color: var(--ink-2); font-weight: 650; }
.notif .n-title { font-weight: 750; }
.notif .n-body { color: var(--ink-2); font-size: .95rem; margin: 0; }
.notif-actions { display: flex; gap: 8px; margin-top: 10px; max-width: 420px; }
.notif-actions span { flex: 1; text-align: center; padding: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; box-shadow: var(--shadow-1); }
.notif-stack { display: grid; gap: 14px; }

/* stat row */
.stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.stats li { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); border-radius: 20px; padding: 12px 16px; min-width: 120px; }
.stats b { display: block; font-size: 1.5rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { font-size: .88rem; color: var(--ink-2); }

/* privacy band */
.privacy-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.privacy-band .tile { padding: 20px; }
.privacy-band .tile h3 { font-size: 1.08rem; }
@media (max-width: 960px) { .privacy-band { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .privacy-band { grid-template-columns: 1fr; } }

/* closing CTA */
.cta { text-align: center; }
.cta .card { padding: clamp(28px, 6vw, 64px); background: var(--surface); }
.cta .actions { justify-content: center; margin-top: 8px; }
.cta img.mark { width: 84px; height: 84px; border-radius: 24px; margin: 0 auto 18px; box-shadow: var(--shadow-2); }

/* ── document pages (privacy, terms, support, deletion, AI) ──────── */
.doc { padding: clamp(24px, 5vw, 56px) 0 clamp(48px, 8vw, 96px); }
.doc-wrap { max-width: 800px; }
.doc h1 { font-size: clamp(2.1rem, 5.5vw, 3.2rem); }
.doc h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin-top: 2.2em; padding-top: .2em; scroll-margin-top: 90px; }
.doc h3 { font-size: 1.12rem; margin-top: 1.6em; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin: .35em 0; }
.doc .meta { color: var(--ink-2); font-size: .95rem; }
.doc .summary { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); border-radius: var(--r-card); padding: clamp(20px, 3vw, 30px); margin: 24px 0 8px; }
.doc .summary h2 { margin-top: 0; font-size: 1.2rem; }
.doc .summary ul { margin-bottom: 0; }
.doc .toc { background: var(--surface-2); border: 1px solid var(--line); border-radius: 24px; padding: 18px 22px; margin: 24px 0; }
.doc .toc ol { margin: 0; columns: 2; column-gap: 32px; }
@media (max-width: 640px) { .doc .toc ol { columns: 1; } }
.note { background: var(--tint-violet); border: 1px solid var(--line); border-radius: 22px; padding: 16px 20px; margin: 18px 0; }
.note.mint { background: var(--tint-mint); }
.note.saffron { background: var(--tint-saffron); }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { font-weight: 750; background: var(--tint-violet); }
tr:last-child td { border-bottom: 0; }
.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 0 46px; margin: 0 0 14px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; background: var(--lime); color: #1C1433; }
.faq details { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); border-radius: 22px; margin: 0 0 12px; }
.faq summary { cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 750; list-style: none; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center; background: var(--tint-violet); color: var(--accent-text); font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 20px 16px; color: var(--ink-2); }
.faq .a p:last-child { margin-bottom: 0; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0 8px; }
.contact-cards .tile { padding: 20px; }
.contact-cards a { font-weight: 750; font-size: 1.1rem; overflow-wrap: anywhere; }
@media (max-width: 600px) { .contact-cards { grid-template-columns: 1fr; } }

/* ── footer ──────────────────────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 48px; margin-top: 24px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.site-foot h2 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 12px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-foot ul a { display: inline-block; padding: 6px 0; min-height: 32px; }
.site-foot .credit { font-weight: 750; }
.site-foot .legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .88rem; }
.site-foot .legal p { margin: 0 0 .4em; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* ── 404 ─────────────────────────────────────────────────────────── */
.lost { text-align: center; padding: clamp(48px, 10vw, 120px) 0; }
.lost .big { font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; background: var(--g-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lost .actions { justify-content: center; }

/* ── motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .hero-art .shot-main { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-art .shot-back { animation: rise-tilt .9s .12s cubic-bezier(.2, .8, .2, 1) both; }
  .orbit { animation: spin 1.6s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
  @keyframes rise-tilt { from { opacity: 0; transform: translateY(30px) rotate(12deg); } to { opacity: .96; transform: rotate(7deg); } }
  @keyframes spin { from { opacity: 0; transform: rotate(-40deg) scale(.9); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .btn:hover, .btn:active { transform: none; }
}

@media print {
  .site-head, .site-foot .foot-grid, .skip { display: none; }
  body { background: #FFFFFF; color: #000000; }
}
.lost .lead { margin-left: auto; margin-right: auto; }
.doc .tile h3 { margin-top: 0; }
.contact-cards .tile p { margin: 0 0 4px; }
