/* Pinsula website: "Leonida Nights" (design/DESIGN_SYSTEM.md §2, §5–7; design/style-tile.html).
   Hand-written, no build step, no external requests. Dark is the brand default; light mode keeps the
   night hero, CTA band and footer (.night) and switches the reading surfaces to a warm "first light" palette.
   Guardrails (§2.3): no outline + drop shadow on display type, gradients on words only (never numerals),
   no game logos or "VI" graphics. */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("fonts/big-shoulders-display-900.woff") format("woff");
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("fonts/big-shoulders-display-800.woff") format("woff");
  font-weight: 800; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root, .night {
  --canvas: #07061A; --bg: #0D0B26; --s1: #151236; --s2: #1E1A47; --s3: #282257;
  --text: #FFF3EE; --text-2: #C9BFE3; --text-3: #9A90C2;
  --hair: rgba(255, 243, 238, .08); --strong: rgba(255, 243, 238, .16); --highlight: rgba(255, 243, 238, .05);
  --accent: #FF3D8B; --accent-pressed: #E62E78; --accent-text: #FF3D8B; --accent-soft: rgba(255, 61, 139, .18);
  --surf-text: #2BF0D0; --surf-soft: rgba(43, 240, 208, .16);
  --reported-text: #6FA8FF; --reported-soft: rgba(111, 168, 255, .16);
  --warn-text: #FFB347; --violet-text: #B48CFF;
  --ink: #0D0B26;
  --glow: 0 0 6px rgba(255, 61, 139, .65), 0 0 18px rgba(255, 61, 139, .35);
  --card-shadow: none;
  --phone-shadow: 0 0 0 1px rgba(255, 243, 238, .14), 0 30px 70px rgba(0, 0, 0, .55);
  color: var(--text);
}
:root {
  color-scheme: dark light;
  --sunset: linear-gradient(180deg, #2B0F5E 0%, #7A1F8E 30%, #E0307F 55%, #FF6A4D 78%, #FFC15E 100%);
  --sunsetH: linear-gradient(90deg, #FF3D8B 0%, #FF7A4D 55%, #FFB347 100%);
  --neon-edge: linear-gradient(135deg, #FF3D8B, #A46BFF, #22E3E3);
  --f-display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --f-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: 16px;
  --radius-l: 20px; --radius-xl: 28px;
}
@media (prefers-color-scheme: light) {
  :root {
    --canvas: #FBE8E2; --bg: #FFF4EF; --s1: #FFFFFF; --s2: #FBEDE8; --s3: #F4E0DA;
    --text: #0D0B26; --text-2: #3D3766; --text-3: #5E5885;
    --hair: rgba(13, 11, 38, .10); --strong: rgba(13, 11, 38, .18); --highlight: rgba(255, 255, 255, 0);
    --accent-text: #B8145C; --accent-soft: rgba(255, 61, 139, .12);
    --surf-text: #007A69; --surf-soft: rgba(0, 122, 105, .10);
    --reported-text: #2B57A8; --reported-soft: rgba(43, 87, 168, .10);
    --warn-text: #8A4B00; --violet-text: #5B2BB8;
    --glow: 0 8px 22px rgba(255, 61, 139, .32);
    --card-shadow: 0 1px 2px rgba(13, 11, 38, .05), 0 10px 30px rgba(13, 11, 38, .07);
    --phone-shadow: 0 0 0 1px rgba(13, 11, 38, .10), 0 30px 60px rgba(13, 11, 38, .28);
  }
}
@media (min-width: 400px) { :root { --gutter: 20px; } }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--canvas); scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; }
b, strong { font-weight: 700; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }
.night { background-color: var(--canvas); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 22px;
  background: var(--accent); color: var(--ink); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.kicker {
  margin: 0 0 14px; font: 800 11.5px/1.3 var(--f-text); letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-text);
}
.display {
  font: 900 clamp(58px, 12.5vw, 132px)/.86 var(--f-display); letter-spacing: .005em; text-transform: uppercase;
  text-wrap: balance;
}
.title {
  font: 900 clamp(42px, 7vw, 76px)/.9 var(--f-display); letter-spacing: .01em; text-transform: uppercase;
  text-wrap: balance;
}
.title-2 { font: 800 clamp(30px, 4.2vw, 42px)/1 var(--f-display); letter-spacing: .01em; text-wrap: balance; }
.grad { background: var(--sunsetH); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 2.1vw, 21px); line-height: 1.5; color: var(--text-2); max-width: 36em; }
.muted { color: var(--text-2); }
.fine { font-size: 14px; color: var(--text-3); }

/* ---------- Header / nav ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; position: relative; z-index: 3; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; }
.brand svg { width: 22px; height: 22px; flex: none; }
.brand span { font: 900 25px/1 var(--f-display); letter-spacing: .04em; }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 22px;
  color: var(--text-2); font-size: 15px; font-weight: 600; text-decoration: none;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255, 243, 238, .08); }
@media (max-width: 399px) { .nav-links .nav-optional { display: none; } .nav-links a { padding: 0 8px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 26px; font: 700 17px/1.1 var(--f-text); text-decoration: none; text-align: center; border: 0;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: var(--glow); }
.btn-primary:hover { background: var(--accent-pressed); }
.btn-secondary { background: rgba(255, 243, 238, .10); color: var(--text); border: 1px solid var(--strong); }
.btn-secondary:hover { background: rgba(255, 243, 238, .16); }
.btn small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.btn .btn-stack { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 2px; }

/* ---------- Badges & chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 11px; vertical-align: 2px;
  font: 800 10.5px/1 var(--f-text); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.badge svg { width: 11px; height: 11px; }
.badge-now { color: var(--surf-text); background: var(--surf-soft); }
.badge-launch { color: var(--accent-text); background: var(--accent-soft); }
.badge-pro { color: #0D0B26; background: var(--sunsetH); }
.badge-confirmed { color: var(--surf-text); background: var(--surf-soft); }
.badge-reported { color: var(--reported-text); background: var(--reported-soft); }
.badge-rumor { color: var(--warn-text); border: 1px dashed currentColor; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 17px;
  background: rgba(30, 26, 71, .72); border: 1px solid var(--hair); color: var(--text-2); font-size: 14px; font-weight: 600;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.chip i.teal { background: #2BF0D0; }
.chip i.gold { background: #FFD36B; }
.chip i.violet { background: #A46BFF; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid rgba(255, 61, 139, .55); }
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -2; }
.hero-art img { object-fit: cover; object-position: 50% 30%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 6, 26, .78) 0%, rgba(7, 6, 26, .55) 30%, rgba(7, 6, 26, .25) 55%, rgba(7, 6, 26, .88) 100%);
}
.hero-grid { display: grid; gap: 40px; padding-top: 28px; padding-bottom: 0; }
.hero-copy { max-width: 640px; }
.hero-copy .lede { color: var(--text); opacity: .92; margin-top: 22px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero .chips { margin-bottom: 8px; }
.hero-phone-wrap { display: flex; justify-content: center; height: 420px; overflow: hidden; margin-top: 4px; }
.hero-phone-wrap .phone { width: 270px; align-self: flex-start; box-shadow: 0 0 0 1px rgba(255, 61, 139, .55), 0 0 26px rgba(255, 61, 139, .35), 0 30px 80px rgba(0, 0, 0, .6); }
@media (min-width: 900px) {
  .hero { min-height: 760px; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(7, 6, 26, .90) 0%, rgba(7, 6, 26, .72) 34%, rgba(7, 6, 26, .18) 64%, rgba(7, 6, 26, .30) 100%),
      linear-gradient(180deg, rgba(7, 6, 26, .55) 0%, rgba(7, 6, 26, 0) 22%, rgba(7, 6, 26, 0) 70%, rgba(7, 6, 26, .80) 100%);
  }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: center; padding-top: 48px; padding-bottom: 72px; }
  .hero-phone-wrap { height: auto; overflow: visible; margin: 0; }
  .hero-phone-wrap .phone { width: 300px; transform: rotate(2.5deg); }
}

/* ---------- Phone frame ---------- */
.phone { position: relative; margin: 0; padding: 9px; border-radius: 46px; background: #0B0A1C; box-shadow: var(--phone-shadow); }
.phone img { width: 100%; border-radius: 37px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head .lede { margin-top: 18px; margin-bottom: 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } .section-head { margin-bottom: 72px; } }

/* ---------- Features ---------- */
.features-list { display: grid; gap: 88px; list-style: none; }
.feature { display: grid; gap: 32px; align-items: center; }
.feature-num { margin: 0 0 10px; font: 800 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.feature-copy p { color: var(--text-2); margin-top: 14px; }
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--surf-soft); }
.ticks li::after {
  content: ""; position: absolute; left: 4px; top: calc(.2em + 4px); width: 12px; height: 12px; background: var(--surf-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3 5 8.7l4.6-5.2' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3 5 8.7l4.6-5.2' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ticks .badge { margin-left: 6px; }
.feature-copy .badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.feature-visual { display: flex; justify-content: center; }
.feature-visual .phone { width: 250px; }
@media (max-width: 767px) {
  .feature-visual .phone-crop { height: 430px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
}
@media (min-width: 768px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .feature:nth-child(even) .feature-visual { order: -1; }
  .feature-visual .phone { width: 280px; }
}

/* Countdown widgets mock (feature 01): no live numbers, so nothing goes stale. */
.widgets { display: grid; gap: 14px; width: 100%; max-width: 380px; }
.wdg {
  position: relative; overflow: hidden; border-radius: 24px; padding: 16px 18px; color: #FFF3EE;
  border: 1px solid rgba(255, 243, 238, .10); box-shadow: var(--phone-shadow);
  background: radial-gradient(110% 70% at 50% 125%, rgba(255, 61, 139, .34), rgba(164, 107, 255, .10) 50%, transparent 75%), #07061A;
}
.wdg-top { display: flex; justify-content: space-between; gap: 8px; font: 800 10px/1.2 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: #FF3D8B; }
.wdg-top span + span { color: #9A90C2; letter-spacing: .08em; }
.wdg-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.wdg-dates div { border-radius: 14px; background: rgba(30, 26, 71, .85); border: 1px solid rgba(255, 243, 238, .08); padding: 12px 12px 10px; }
.wdg-dates b { display: block; font: 900 40px/1 var(--f-display); letter-spacing: .01em; text-transform: uppercase; color: #FFF3EE; }
.wdg-dates div:last-child b { color: #FF3D8B; text-shadow: 0 0 14px rgba(255, 61, 139, .55); }
.wdg-dates span { display: block; margin-top: 6px; font: 800 9.5px/1 var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: #9A90C2; }
.wdg-rail { position: relative; height: 4px; border-radius: 2px; background: rgba(255, 243, 238, .12); margin: 16px 2px 2px; }
.wdg-rail i { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; border-radius: 2px; background: #FF3D8B; box-shadow: 0 0 8px rgba(255, 61, 139, .7); }
.wdg-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 14px; }
.wdg-small { display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; }
.wdg-small svg { width: 56px; height: 56px; }
.wdg-small b { font: 900 30px/1 var(--f-display); text-transform: uppercase; }
.wdg-small span { font: 800 9.5px/1.2 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: #9A90C2; }
.lock {
  border-radius: 24px; padding: 16px; color: rgba(255, 255, 255, .94); box-shadow: var(--phone-shadow);
  background: linear-gradient(180deg, #2B0F5E 0%, #5A1A7E 45%, #B42A7A 80%, #E0507A 100%);
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
}
.lock-time { font: 800 54px/1 var(--f-text); letter-spacing: -.02em; text-align: center; }
.lock-acc { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .16); font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.lock-acc svg { width: 18px; height: 18px; flex: none; }
.siri {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 22px; justify-self: start;
  background: var(--s1); border: 1px solid var(--hair); box-shadow: var(--card-shadow); font-weight: 600;
}
.siri svg { width: 22px; height: 22px; flex: none; color: var(--accent-text); }

/* ---------- Cards ---------- */
.card {
  position: relative; border-radius: var(--radius-l); padding: 24px; background: var(--s1); border: 1px solid var(--hair);
  background-image: linear-gradient(180deg, var(--highlight), transparent 40%); box-shadow: var(--card-shadow);
}
.card h3 { font: 800 26px/1.05 var(--f-display); letter-spacing: .01em; margin-bottom: 10px; }
.card p { color: var(--text-2); margin: 0; }
.card .card-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: var(--accent-soft); color: var(--accent-text); }
.card .card-icon svg { width: 22px; height: 22px; }
.card .card-icon.teal { background: var(--surf-soft); color: var(--surf-text); }
.card .card-icon.violet { background: rgba(164, 107, 255, .16); color: var(--violet-text); }
.card .card-icon.gold { background: rgba(255, 179, 71, .16); color: var(--warn-text); }
.card .chips { margin-top: 14px; }
.grid-cards { display: grid; gap: 14px; }
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-cards.five { grid-template-columns: repeat(6, minmax(0, 1fr)); } .grid-cards.five > * { grid-column: span 2; } .grid-cards.five > :nth-child(n+4) { grid-column: span 3; } }

/* Neon-edged featured card (one per page, §7.4 level 1F). */
.card-featured { border: 1px solid transparent; background: linear-gradient(var(--s1), var(--s1)) padding-box, var(--neon-edge) border-box; box-shadow: 0 0 22px rgba(255, 61, 139, .20), var(--card-shadow); }

/* ---------- Pro ---------- */
.pro-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .pro-grid { grid-template-columns: 1fr 1.25fr; align-items: start; } }
.pro-grid .card { padding: 28px; }
.pro-grid h3 { font-size: 34px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pro-grid .ticks { margin-top: 16px; }
.pro-grid .ticks li { color: var(--text); }
.card .pro-when { margin: 24px 0 0; font: 800 11px/1.2 var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.plans { margin-top: 18px; color: var(--text-2); font-size: 15px; }
.plans p { margin: 0 0 .6em; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 96px 0 220px; border-top: 1px solid rgba(255, 61, 139, .45); }
/* 420px = the SVG's own height, so its sky starts at the canvas color and the band has no seam. */
.cta-band .band-art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 420px; object-fit: cover; object-position: 66% 100%; z-index: -1; }
.cta-band .title { margin: 0 auto; max-width: 12em; }
.cta-band .lede { margin: 20px auto 30px; color: var(--text-2); }
.cta-band .btn { min-width: 280px; }
.placeholder-note { margin: 14px 0 0; font-size: 13px; color: var(--text-3); }

/* ---------- Disclaimer ---------- */
.disclaimer { padding: 72px 0; }
.disclaimer .card { max-width: 900px; padding: 32px; }
.disclaimer h2 { margin-bottom: 18px; }
.disclaimer .legal { font-size: 18px; line-height: 1.6; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 40px; border-top: 1px solid rgba(255, 61, 139, .45); font-size: 15px; color: var(--text-2); }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr auto; align-items: start; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; }
.footer-links a { color: var(--text); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.footer-links a:hover { text-decoration: underline; }
.site-footer .legal-small { margin-top: 24px; font-size: 13px; line-height: 1.55; color: var(--text-3); max-width: 70em; }
.site-footer .legal-small a { color: var(--text-2); }

/* ---------- Document pages (privacy, support) ---------- */
.page-head { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid rgba(255, 61, 139, .55); }
.page-head .band-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 100%; z-index: -2; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 6, 26, .80) 0%, rgba(7, 6, 26, .66) 58%, rgba(7, 6, 26, .05) 86%); }
@media (min-width: 900px) { .page-head::before { background: linear-gradient(90deg, rgba(7, 6, 26, .86) 0%, rgba(7, 6, 26, .45) 45%, rgba(7, 6, 26, 0) 75%); } }
.page-head-inner { padding-block: 48px 140px; }
.page-head h1 { font: 900 clamp(56px, 11vw, 112px)/.88 var(--f-display); text-transform: uppercase; letter-spacing: .005em; }
.page-head .lede { margin: 18px 0 0; color: var(--text); opacity: .9; }
@media (min-width: 900px) { .page-head-inner { padding-block: 64px 150px; } }

.doc { display: grid; gap: 40px; padding-block: 56px 88px; }
@media (min-width: 1000px) { .doc { grid-template-columns: 240px minmax(0, 720px); gap: 64px; justify-content: center; } }
.toc { font-size: 15px; }
.toc p { font: 800 11px/1.2 var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 6px 0; color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--accent-text); }
@media (min-width: 1000px) { .toc nav { position: sticky; top: 24px; } }
@media (max-width: 999px) { .toc { border: 1px solid var(--hair); border-radius: var(--radius-l); padding: 18px 20px; background: var(--s1); box-shadow: var(--card-shadow); } }
.prose { min-width: 0; }
.prose h2 { font: 800 clamp(30px, 4vw, 38px)/1.05 var(--f-display); letter-spacing: .01em; margin: 56px 0 14px; scroll-margin-top: 20px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 8px; }
.prose li::marker { color: var(--accent-text); }
.prose .meta { font: 600 14px/1.5 var(--f-text); color: var(--text-3); margin-bottom: 28px; }
.summary { margin-bottom: 8px; }
.summary h2 { margin-top: 0; }
.summary ul { list-style: none; padding: 0; gap: 12px; }
.summary li { position: relative; padding-left: 32px; color: var(--text); }
.summary li svg { position: absolute; left: 0; top: .15em; width: 22px; height: 22px; color: var(--surf-text); }
.placeholder { font-family: var(--f-mono); font-size: .9em; color: var(--warn-text); background: rgba(255, 179, 71, .14); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }

/* Support: contact card + FAQ */
.contact { display: grid; gap: 18px; align-items: center; }
@media (min-width: 700px) { .contact { grid-template-columns: 1fr auto; } }
.contact h2 { margin: 0 0 6px; }
.contact p { margin: 0; }
.contact .email { font: 900 clamp(28px, 5vw, 40px)/1 var(--f-display); letter-spacing: .01em; color: var(--text); text-decoration: none; word-break: break-word; }
.contact .email:hover { color: var(--accent-text); }
.faq { display: grid; gap: 12px; margin-top: 8px; }
.faq details { border-radius: var(--radius-l); background: var(--s1); border: 1px solid var(--hair); box-shadow: var(--card-shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 16px 20px; font-size: 18px; font-weight: 700; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='14' fill-opacity='.18'/%3E%3Cpath d='M14 8.5v11M8.5 14h11' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='14' fill-opacity='.18'/%3E%3Cpath d='M14 8.5v11M8.5 14h11' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.faq details[open] summary::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='14' fill-opacity='.18'/%3E%3Cpath d='M8.5 14h11' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='14' fill-opacity='.18'/%3E%3Cpath d='M8.5 14h11' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.faq .answer { padding: 0 20px 20px; }
.faq .answer > :last-child { margin-bottom: 0; }
.faq .answer p, .faq .answer li { color: var(--text-2); }
.faq .answer ol, .faq .answer ul { padding-left: 1.3em; display: grid; gap: 6px; margin-bottom: 1em; }
.faq-group { font: 800 11px/1.2 var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin: 40px 0 6px; }
.path { font-weight: 600; color: var(--text); }
.kbd { font: 600 .92em/1 var(--f-mono); color: var(--text); background: var(--s2); border: 1px solid var(--hair); border-radius: 6px; padding: 2px 6px; white-space: nowrap; }
.timeline { list-style: none; padding: 0 !important; display: grid; gap: 10px !important; }
.timeline li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.lost main { flex: 1; display: grid; align-content: center; justify-items: center; text-align: center; padding-block: 24px 64px; }
.lost .spot { width: 200px; height: 200px; border-radius: 28px; margin: 0 auto 28px; box-shadow: 0 0 0 1px rgba(255, 243, 238, .10), 0 20px 50px rgba(0, 0, 0, .5); }
.lost .display { font-size: clamp(64px, 16vw, 140px); }
.lost .lede { margin: 18px auto 28px; }
.lost .cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Preferences ---------- */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-phone-wrap .phone { transform: none; } }
@media (prefers-contrast: more) {
  :root, .night { --text-2: #DDD5F0; --text-3: #B9B0DA; --hair: rgba(255, 243, 238, .20); --strong: rgba(255, 243, 238, .32); --glow: none; }
  .wdg-dates div:last-child b, .wdg-rail i { text-shadow: none; box-shadow: none; }
  .card-featured { box-shadow: none; border: 2px solid var(--accent); background: var(--s1); }
}
@media (prefers-contrast: more) and (prefers-color-scheme: light) {
  :root { --text-2: #2A2552; --text-3: #3D3766; --hair: rgba(13, 11, 38, .22); --strong: rgba(13, 11, 38, .35); }
}
@media print {
  .night, .hero, .page-head, .cta-band { background: none !important; color: #000 !important; }
  .band-art, .hero-art, .nav-links, .toc { display: none !important; }
  body { background: #fff; color: #000; }
}
