/* Viewgether website - one shared stylesheet, no external resources (fonts bundled, OFL).
   Look follows the app (composeApp …/ui/theme/Theme.kt, swipe/EndOfReel.kt, swipe/FilmCard.kt):
   dark cinema surfaces, amber + coral, marquee sign with bulbs, 35 mm film frames with edge print. */

@font-face {
  font-family: "Archivo";
  src: url("archivo.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("jetbrains-mono-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0E0C0A;
  --base: #0A0807;          /* film base */
  --surface: #18150F;
  --surface-2: #241F17;
  --line: rgba(243, 237, 226, 0.10);
  --line-strong: rgba(243, 237, 226, 0.18);
  --ink: #F3EDE2;
  --soft: #C9BFAE;          /* FilmColors.meta */
  --mute: #A69D8D;
  --accent: #E8B04A;
  --accent-light: #FFE3A6;
  --on-accent: #1A1206;
  --coral: #E8908A;
  --seen: #B8C7CF;
  --frame: #2B1E0D;         /* marquee frame */
  --bulb: #FFDC94;
  --bulb-off: #6E5A3A;
  --marquee-title: #F8E9C9;
  --edge: #D6A548;          /* edge print (amber at 75 % on film base, solid for contrast) */

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radius: 16px;
  --max: 72rem;
  --gutter: 16px;
  --measure: 68ch;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main { flex: 1; display: block; }
img, svg { max-width: 100%; }
img { height: auto; }

a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--bulb); }
:focus-visible { outline: 3px solid var(--bulb); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }

[hidden] { display: none !important; }

.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;
}

.skip {
  position: absolute; left: -999px; top: 0; z-index: 20;
  background: var(--accent); color: var(--on-accent); padding: 0.6rem 1rem; font-weight: 800; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

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

@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ------------------------------------------------------------------ type helpers */

.mono, .kicker, .edge, .stamp, .tag {
  font-family: var(--mono); font-weight: 700; text-transform: uppercase;
}

.kicker {
  display: flex; align-items: center; gap: 0.6em; margin: 0 0 0.9rem;
  font-size: 0.75rem; letter-spacing: 0.28em; color: var(--accent);
}
.kicker::before {
  content: ""; flex: none; width: 0; height: 0;
  border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent;
}
.kicker.center { justify-content: center; }

.display {
  font-weight: 900; font-stretch: 70%; line-height: 0.95; letter-spacing: 0.005em; margin: 0;
}
.headline {
  font-weight: 800; font-stretch: 85%; line-height: 1.08; letter-spacing: -0.005em; margin: 0;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: relative; z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(14, 12, 10, 0.92);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--ink); text-decoration: none;
  font-weight: 900; font-stretch: 70%; letter-spacing: 0.06em; font-size: 1.35rem; line-height: 1;
}
.brand:hover { color: var(--marquee-title); }
.brand img { width: 36px; height: 36px; border-radius: 9px; flex: none; }

.top-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.top-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.75rem;
  color: var(--soft); text-decoration: none; font-weight: 600; font-size: 0.95rem; border-radius: 999px;
}
.top-nav a:hover { color: var(--ink); background: var(--surface); }
.top-nav .nav-link { display: none; }
@media (min-width: 820px) { .top-nav .nav-link { display: list-item; } }

.lang-switch {
  font-family: var(--mono); font-weight: 700; font-size: 0.75rem !important; letter-spacing: 0.2em;
  border: 1px solid var(--line-strong); color: var(--ink) !important; margin-left: 0.35rem;
}
.lang-switch:hover { border-color: var(--accent); }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 52px; padding: 0.75rem 1.5rem; border-radius: 999px;
  border: 2px solid var(--accent); background: var(--accent); color: var(--on-accent);
  font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  text-align: center;
}
.btn:hover { background: var(--bulb); border-color: var(--bulb); color: var(--on-accent); }
.btn svg { flex: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

/* "Coming soon": looks like the primary button but isn't interactive. */
.btn.soon { cursor: default; box-shadow: 0 10px 40px -10px rgba(232, 176, 74, 0.55); }
.btn.soon:hover { background: var(--accent); border-color: var(--accent); }

.cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ------------------------------------------------------------------ marquee sign
   Like MarqueeFrame in the app: a bronze frame with one ring of bulbs (15 px grid) around a dark panel.
   Width and height are whole multiples of the bulb grid so the corners line up.
   Chaser: every third bulb (diagonal pattern, (row + col + phase) % 3 == 0) is lit; the pattern moves
   one bulb per step. Without motion (prefers-reduced-motion) all bulbs are lit, like the app's chase = null. */

.marquee {
  --cell: 15px;
  --cols: 19;
  --rows: 9;
  position: relative; isolation: isolate;
  width: calc(var(--cell) * var(--cols));
  height: calc(var(--cell) * var(--rows));
  margin: 0 auto;
  border-radius: 16px;
  background-color: var(--frame);
  background-image: radial-gradient(circle at 50% 50%, var(--bulb-off) 0 2.3px, rgba(110, 90, 58, 0) 2.9px);
  background-size: var(--cell) var(--cell);
  box-shadow:
    0 0 0 1px rgba(255, 220, 148, 0.16),
    0 24px 60px -18px rgba(255, 220, 148, 0.30),
    0 0 110px -10px rgba(232, 176, 74, 0.22);
}
.marquee::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background-image: radial-gradient(circle at 50% 50%, var(--bulb) 0 2.4px, rgba(255, 220, 148, 0.38) 3.1px, rgba(255, 220, 148, 0) 6.5px);
  background-size: var(--cell) var(--cell);
}
.marquee-panel {
  position: absolute; inset: var(--cell); z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: radial-gradient(120% 90% at 50% 0%, #1A150E 0%, #0E0C0A 70%);
  box-shadow: inset 0 0 0 1px rgba(232, 176, 74, 0.20), inset 0 0 24px rgba(0, 0, 0, 0.7);
  text-align: center;
}
.marquee-label {
  margin: 0; font-family: var(--mono); font-weight: 700; text-transform: uppercase;
  font-size: 0.625rem; letter-spacing: 0.3em; color: var(--accent); line-height: 1.2;
}
.marquee-title {
  margin: 0; font-weight: 900; font-stretch: 70%; line-height: 0.9; letter-spacing: 0.01em;
  text-transform: uppercase; color: var(--marquee-title);
  font-size: 2.35rem;
  text-shadow: 0 0 18px rgba(232, 176, 74, 0.55), 0 0 2px rgba(255, 220, 148, 0.5);
}

/* Hero size: 285×135 → 345×150 → 465×180 */
@media (min-width: 400px) {
  .marquee.hero-sign { --cols: 23; --rows: 10; }
  .marquee.hero-sign .marquee-title { font-size: 2.95rem; }
  .marquee.hero-sign .marquee-label { font-size: 0.6875rem; }
}
@media (min-width: 560px) {
  .marquee.hero-sign { --cols: 31; --rows: 12; }
  .marquee.hero-sign .marquee-title { font-size: 4.15rem; }
  .marquee.hero-sign .marquee-label { font-size: 0.75rem; }
}

/* Small sign (404, final call, invite): 255×120 → 315×135 */
.marquee.small { --cols: 17; --rows: 8; }
.marquee.small .marquee-title { font-size: 2.6rem; }
@media (min-width: 400px) {
  .marquee.small { --cols: 21; --rows: 9; }
  .marquee.small .marquee-title { font-size: 3.1rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .marquee::before {
    background-image:
      radial-gradient(circle at 7.5px 7.5px, var(--bulb) 0 2.4px, rgba(255, 220, 148, 0.42) 3.1px, rgba(255, 220, 148, 0) 7px),
      radial-gradient(circle at 22.5px 37.5px, var(--bulb) 0 2.4px, rgba(255, 220, 148, 0.42) 3.1px, rgba(255, 220, 148, 0) 7px),
      radial-gradient(circle at 37.5px 22.5px, var(--bulb) 0 2.4px, rgba(255, 220, 148, 0.42) 3.1px, rgba(255, 220, 148, 0) 7px);
    background-size: 45px 45px;
    animation: chase 1.35s steps(1, end) infinite;
  }
  @keyframes chase {
    0% { background-position: 0 0; }
    33.333% { background-position: 15px 0; }
    66.666% { background-position: 30px 0; }
  }
  .btn, .top-nav a, .gesture, .frame { transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.25s; }
  html { scroll-behavior: smooth; }
}

/* ------------------------------------------------------------------ hero */

.hero { position: relative; padding: 2.75rem 0 4rem; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 80%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 30% 30%, rgba(232, 176, 74, 0.13), rgba(232, 176, 74, 0) 70%),
    radial-gradient(35% 45% at 80% 40%, rgba(232, 144, 138, 0.09), rgba(232, 144, 138, 0) 70%);
}
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero-copy { text-align: center; }
.tagline {
  margin: 2.25rem 0 0; font-weight: 900; font-stretch: 70%; line-height: 0.95;
  font-size: clamp(2.6rem, 11vw, 4.75rem); letter-spacing: 0.005em; text-transform: uppercase;
}
.tagline span { display: inline-block; }
.tagline .hl { color: var(--accent); }
.tagline .hl2 { color: var(--coral); }
.lead { margin: 1.25rem auto 0; max-width: 34rem; color: var(--soft); font-size: 1.15rem; line-height: 1.55; }
.lead-sub {
  margin: 1rem 0 0; font-family: var(--mono); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink);
}
.hero .cta { margin-top: 1.75rem; }

@media (min-width: 960px) {
  .hero { padding: 4.5rem 0 5.5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 2rem; }
  .hero-copy { text-align: left; }
  .hero-copy .marquee { margin: 0; }
  .hero-copy .lead { margin-left: 0; }
  .hero .cta { justify-content: flex-start; }
}

/* ------------------------------------------------------------------ phone mockup
   Screens live in /assets/screens/ (1080×2340). Replace the placeholder SVGs with real
   screenshots of the same name - see docs/WEBSITE.md. */

.phone-stage { position: relative; display: flex; justify-content: center; padding: 0.5rem 0 1rem; }
.phone-stage::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 120%; max-width: 520px; aspect-ratio: 1;
  transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(232, 176, 74, 0.20), rgba(232, 176, 74, 0) 75%);
}
.phone {
  position: relative; width: 270px; max-width: 78vw; margin: 0;
  padding: 9px; border-radius: 44px;
  background: linear-gradient(150deg, #3A3125 0%, #120F0B 35%, #0B0907 65%, #2A2219 100%);
  box-shadow:
    0 0 0 1px rgba(255, 220, 148, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 40px 80px -24px rgba(0, 0, 0, 0.9),
    0 0 80px -20px rgba(232, 176, 74, 0.25);
}
.phone::before { /* side buttons */
  content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 13%;
  border-radius: 0 3px 3px 0; background: #2A2219;
}
.phone::after { /* camera punch hole */
  content: ""; position: absolute; left: 50%; top: 21px; width: 11px; height: 11px; margin-left: -5.5px;
  border-radius: 50%; background: #000; box-shadow: 0 0 0 2px #15110C;
}
.phone img {
  display: block; width: 100%; height: auto; aspect-ratio: 1080 / 2340;
  border-radius: 36px; background: var(--bg);
}
.phone.lg { width: 300px; }
@media (min-width: 960px) { .phone.lg { width: 320px; } }

/* App-style stamps floating next to the hero phone (decorative). */
.stamp {
  position: absolute; z-index: 2; padding: 0.35rem 0.7rem; border: 3px solid currentColor; border-radius: 8px;
  font-size: 0.95rem; letter-spacing: 0.12em; line-height: 1; background: rgba(10, 8, 7, 0.82);
}
.stamp.like { color: var(--accent); transform: rotate(-12deg); text-shadow: 0 0 12px rgba(232, 176, 74, 0.6); box-shadow: 0 0 22px -4px rgba(232, 176, 74, 0.6); }
.stamp.pass { color: var(--ink); transform: rotate(12deg); }
.stamp.seen { color: var(--seen); transform: rotate(-4deg); }
.stamp.tap { color: var(--coral); transform: rotate(6deg); }

/* ------------------------------------------------------------------ sections */

.section { padding: 3.5rem 0; position: relative; }
@media (min-width: 900px) { .section { padding: 5rem 0; } }
.section-head { max-width: 40rem; margin-bottom: 2.25rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-weight: 800; font-stretch: 85%; line-height: 1.05; font-size: clamp(2rem, 6vw, 3.1rem); margin: 0; }
.section-head p { color: var(--soft); margin: 0.9rem 0 0; font-size: 1.1rem; }
.section-head .kicker { color: var(--accent); font-size: 0.75rem; margin: 0 0 0.9rem; }
.section.alt { background: linear-gradient(180deg, rgba(24, 21, 15, 0) 0%, var(--surface) 12%, var(--surface) 88%, rgba(24, 21, 15, 0) 100%); }

/* ---- gestures */

.gestures { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .gestures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .gestures { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gesture {
  position: relative; display: flex; flex-direction: column; gap: 0.55rem;
  padding: 1.35rem 1.25rem 1.4rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.gesture:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.gesture-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 52px; }
.gesture-icon {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%;
  border: 2px solid currentColor; color: var(--accent); background: rgba(232, 176, 74, 0.08);
}
.gesture-icon svg { width: 26px; height: 26px; }
.gesture .stamp { position: static; font-size: 0.75rem; padding: 0.3rem 0.5rem; border-width: 2px; }
.gesture h3 { margin: 0.4rem 0 0; font-weight: 800; font-stretch: 85%; font-size: 1.45rem; line-height: 1.1; }
.gesture .tag { font-size: 0.6875rem; letter-spacing: 0.24em; color: var(--mute); margin: 0; }
.gesture p { margin: 0; color: var(--soft); }
.gesture.g-pass .gesture-icon { color: var(--ink); background: rgba(243, 237, 226, 0.06); }
.gesture.g-seen .gesture-icon { color: var(--seen); background: rgba(184, 199, 207, 0.08); }
.gesture.g-tap .gesture-icon { color: var(--coral); background: rgba(232, 144, 138, 0.08); }
.note-line { margin: 1.25rem 0 0; color: var(--mute); font-size: 0.95rem; }

/* ---- film frames (modes), like FilmCard: sprocket strips, edge print, frame on film base */

.frames { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .frames { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.frame {
  --sprocket: 22px;
  position: relative; display: flex; flex-direction: column;
  padding: 8px var(--sprocket) 8px; border-radius: 12px;
  background: var(--base);
  box-shadow: 0 0 0 1px rgba(243, 237, 226, 0.07), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.frame::before, .frame::after { /* punched holes: 11×10 every 18 px */
  content: ""; position: absolute; top: 6px; bottom: 6px; width: 11px;
  background: repeating-linear-gradient(180deg, #1C1812 0 10px, transparent 10px 18px);
}
.frame::before { left: 5.5px; }
.frame::after { right: 5.5px; }
.frame:hover { transform: translateY(-3px); }
.edge {
  margin: 0; padding: 0 2px; font-size: 0.6875rem; letter-spacing: 0.14em; line-height: 1.6; color: var(--edge);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.edge.top { margin-bottom: 6px; }
.edge.bottom { margin-top: auto; padding-top: 8px; }
.frame-art {
  position: relative; height: 140px; border-radius: 4px; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(90% 120% at 50% 110%, rgba(232, 176, 74, 0.35), rgba(232, 176, 74, 0) 60%),
    linear-gradient(160deg, #2A2116 0%, #17120C 60%, #0F0C09 100%);
}
@media (min-width: 900px) { .frame-art { height: 168px; } }
.frame-art svg { width: 82%; max-width: 240px; height: auto; }
.frame-art.duo { background: radial-gradient(90% 120% at 50% 110%, rgba(232, 144, 138, 0.35), rgba(232, 144, 138, 0) 60%), linear-gradient(160deg, #2A1A17 0%, #17100D 60%, #0F0C09 100%); }
.frame-art.group { background: radial-gradient(90% 120% at 50% 110%, rgba(255, 220, 148, 0.30), rgba(255, 220, 148, 0) 60%), linear-gradient(160deg, #222015 0%, #15130C 60%, #0F0C09 100%); }
.frame-art .rating {
  position: absolute; top: 10px; right: 10px; padding: 3px 7px; border-radius: 4px;
  font-family: var(--mono); font-weight: 700; font-size: 0.6875rem; letter-spacing: 0.08em;
  background: var(--accent); color: var(--on-accent);
}
.frame-body { padding: 14px 4px 4px; }
.frame-body h3 { margin: 0; font-weight: 900; font-stretch: 70%; font-size: 2rem; line-height: 0.95; text-transform: uppercase; color: var(--ink); }
.frame-body .sub { margin: 0.35rem 0 0; font-weight: 700; color: var(--accent); }
.frame:nth-child(2) .frame-body .sub { color: var(--coral); }
.frame:nth-child(3) .frame-body .sub { color: var(--bulb); }
.frame-body p { margin: 0.6rem 0 0; color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0.9rem 0 0; padding: 0; list-style: none; }
.chips li {
  font-family: var(--mono); font-weight: 700; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--soft);
}

/* ---- screens reel: a strip of film with phones */

.reel-band {
  position: relative; background: var(--base); padding: 34px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.reel-band::before, .reel-band::after { /* sprocket holes along the strip */
  content: ""; position: absolute; left: 0; right: 0; height: 12px;
  background: repeating-linear-gradient(90deg, var(--bg) 0 14px, transparent 14px 26px);
  opacity: 0.95;
}
.reel-band::before { top: 11px; }
.reel-band::after { bottom: 11px; }
.reel {
  list-style: none; margin: 0 auto; padding: 1.25rem var(--gutter) 1rem; max-width: var(--max);
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-color: var(--surface-2) transparent;
}
.reel:focus-visible { outline-offset: -3px; }
.reel li { scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.reel .phone { width: 220px; }
.reel figcaption { text-align: center; max-width: 240px; }
.reel .edge { color: var(--edge); text-align: center; white-space: normal; }
.reel figcaption b { display: block; font-weight: 800; font-stretch: 85%; font-size: 1.2rem; color: var(--ink); line-height: 1.2; margin-top: 0.2rem; }
.reel figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 900px) {
  .reel { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .reel .phone { width: 250px; }
}

/* ---- where to watch */

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; } }
.checks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.checks li { position: relative; padding-left: 2rem; color: var(--soft); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--accent);
}
.checks li::after {
  content: ""; position: absolute; left: 0.38rem; top: 0.48em; width: 0.32rem; height: 0.58rem;
  border: solid var(--on-accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.checks b { color: var(--ink); }

.panel {
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  padding: 1.25rem; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }
.panel-label { margin: 0; font-family: var(--mono); font-weight: 700; font-size: 0.6875rem; letter-spacing: 0.22em; color: var(--mute); text-transform: uppercase; }
.region { font-family: var(--mono); font-weight: 700; font-size: 0.6875rem; letter-spacing: 0.12em; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); color: var(--ink); }
.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.offers li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 0.8rem;
  padding: 0.6rem; border-radius: 12px; background: var(--bg); border: 1px solid var(--line);
}
.svc { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 0.9rem; color: var(--on-accent); }
.svc.a { background: linear-gradient(135deg, var(--accent-light), var(--accent)); }
.svc.b { background: linear-gradient(135deg, #F6C1BC, var(--coral)); }
.svc.c { background: linear-gradient(135deg, #D7E2E8, var(--seen)); }
.offers .name { font-weight: 700; color: var(--ink); line-height: 1.25; }
.offers .name small { display: block; font-weight: 400; color: var(--mute); font-size: 0.85rem; }
.offer-tag { font-family: var(--mono); font-weight: 700; font-size: 0.625rem; letter-spacing: 0.12em; padding: 4px 7px; border-radius: 4px; border: 1px solid currentColor; text-transform: uppercase; }
.offer-tag.sub { color: var(--accent); }
.offer-tag.free { color: var(--coral); }
.offer-tag.ads { color: var(--seen); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.toggle { width: 46px; height: 28px; border-radius: 999px; background: var(--accent); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; right: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--on-accent); }
.source { margin: 0.9rem 0 0; font-family: var(--mono); font-weight: 700; font-size: 0.625rem; letter-spacing: 0.22em; color: var(--mute); text-transform: uppercase; }

/* ---- privacy promise */

.promise {
  position: relative; border-radius: 24px; padding: 2rem 1.25rem;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(232, 144, 138, 0.10), rgba(232, 144, 138, 0) 70%),
    radial-gradient(60% 80% at 0% 100%, rgba(232, 176, 74, 0.10), rgba(232, 176, 74, 0) 70%),
    var(--surface);
  border: 1px solid var(--line);
}
@media (min-width: 768px) { .promise { padding: 3rem; } }
.promise h2 { font-weight: 800; font-stretch: 85%; line-height: 1.05; font-size: clamp(2rem, 6vw, 3.1rem); margin: 0; }
.promise-lead { color: var(--soft); margin: 0.9rem 0 0; font-size: 1.1rem; max-width: 40rem; }
.promise-grid { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .promise-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.promise-grid li { padding: 1rem 1.1rem; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.promise-grid b { display: block; font-weight: 800; font-stretch: 85%; font-size: 1.15rem; color: var(--ink); line-height: 1.2; }
.promise-grid span { display: block; margin-top: 0.35rem; color: var(--soft); font-size: 0.95rem; }
.promise .links { margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.promise .links a { font-weight: 700; }

/* ---- final call */

.finale { text-align: center; padding: 5rem 0 5.5rem; }
.finale h2 { font-weight: 800; font-stretch: 85%; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.1; margin: 2.5rem 0 0; }
.finale p { color: var(--soft); max-width: 34rem; margin: 0.8rem auto 0; }

/* ------------------------------------------------------------------ footer */

.site-footer { margin-top: 0; background: var(--base); border-top: 1px solid var(--line); }
.site-footer .strip {
  height: 22px; border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(90deg, transparent 0 12px, var(--surface-2) 12px 24px) center / auto 10px no-repeat;
}
.footer-grid { display: grid; gap: 1.5rem; padding-top: 2rem; padding-bottom: 1.25rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } }
.footer-brand .brand { font-size: 1.2rem; }
.footer-brand .brand img { width: 32px; height: 32px; }
.footer-brand p { margin: 0.6rem 0 0; font-family: var(--mono); font-weight: 700; font-size: 0.6875rem; letter-spacing: 0.26em; color: var(--accent); text-transform: uppercase; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.6rem; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 8px; }
.footer-nav a:hover { color: var(--accent); background: var(--surface); }
.footer-nav a[aria-current="page"] { color: var(--accent); }
@media (max-width: 819px) { .footer-nav ul { margin-left: -0.6rem; } }
.credits { padding-top: 1.25rem; padding-bottom: 2rem; background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; color: var(--mute); font-size: 0.875rem; }
.credits p { margin: 0.25rem 0; max-width: 60rem; }
.credits a { color: var(--soft); }
.credits a:hover { color: var(--ink); }

/* ------------------------------------------------------------------ invite + 404 */

.stage { padding: 3rem 0 4.5rem; text-align: center; }
.stage .wrap { max-width: 44rem; }
.stage h1 { font-weight: 900; font-stretch: 75%; font-size: clamp(2.1rem, 8vw, 3.2rem); line-height: 1.02; margin: 0 0 0.75rem; }
.stage .sub { color: var(--soft); font-size: 1.1rem; margin: 0 auto; max-width: 32rem; }
.stage .marquee { margin-bottom: 2.25rem; }
.note { color: var(--mute); font-size: 0.95rem; }
.stage .note { max-width: 34rem; margin-left: auto; margin-right: auto; }

/* The invite code as a cinema ticket (same tickets as the app icon). */
.ticket {
  --notch: 14px;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch;
  width: 100%; max-width: 30rem; margin: 2rem auto 0; text-align: left;
  color: var(--on-accent);
  filter: drop-shadow(0 18px 40px rgba(232, 176, 74, 0.28));
}
.ticket-main, .ticket-stub {
  background: linear-gradient(160deg, var(--accent-light) 0%, #F5CB7A 45%, var(--accent) 100%);
}
.ticket-main {
  padding: 1.1rem 1.1rem 1.1rem 1.4rem; border-radius: 14px 4px 4px 14px;
  -webkit-mask: radial-gradient(circle at 0 50%, transparent var(--notch), #000 calc(var(--notch) + 0.5px));
  mask: radial-gradient(circle at 0 50%, transparent var(--notch), #000 calc(var(--notch) + 0.5px));
}
.ticket-stub {
  display: grid; place-items: center; padding: 0.9rem 1rem; border-radius: 4px 14px 14px 4px;
  border-left: 3px dashed rgba(26, 18, 6, 0.35);
  -webkit-mask: radial-gradient(circle at 100% 50%, transparent var(--notch), #000 calc(var(--notch) + 0.5px));
  mask: radial-gradient(circle at 100% 50%, transparent var(--notch), #000 calc(var(--notch) + 0.5px));
}
.ticket-stub svg { width: 34px; height: 34px; }
.ticket-label { margin: 0; font-family: var(--mono); font-weight: 700; font-size: 0.6875rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(26, 18, 6, 0.78); }
.ticket .code {
  display: block; margin-top: 0.25rem;
  font-family: var(--mono); font-weight: 700; font-size: clamp(1.6rem, 8.5vw, 2.6rem); letter-spacing: 0.06em; line-height: 1.1;
  color: var(--on-accent); user-select: all; overflow-wrap: anywhere;
}
.code-actions { margin-top: 1.25rem; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.status { min-height: 1.6em; color: var(--accent); margin: 0; font-weight: 600; }

.steps {
  counter-reset: step; list-style: none; text-align: left;
  margin: 2rem auto 0; max-width: 30rem; padding: 0.5rem 1.25rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.steps li { counter-increment: step; position: relative; padding: 0.8rem 0 0.8rem 2.75rem; color: var(--soft); }
.steps li + li { border-top: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0.85rem;
  font-family: var(--mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--accent);
  width: 2rem; height: 1.6rem; display: grid; place-items: center; border: 1px solid rgba(232, 176, 74, 0.4); border-radius: 6px;
}
.steps b { color: var(--ink); }
.soon-row { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.soon-row .note { margin: 0; }

/* ------------------------------------------------------------------ legal pages */

.doc-hero { padding: 2.75rem 0 2rem; border-bottom: 1px solid var(--line); background: radial-gradient(60% 120% at 0% 0%, rgba(232, 176, 74, 0.08), rgba(232, 176, 74, 0) 70%); }
.doc-hero h1 { font-weight: 900; font-stretch: 75%; font-size: clamp(2.2rem, 8vw, 3.6rem); line-height: 1; margin: 0; }
.doc-hero .meta { color: var(--mute); margin: 0.9rem 0 0; max-width: var(--measure); }
.doc-hero .note { margin: 0.5rem 0 0; }
.doc-hero .wrap, .doc .wrap { max-width: calc(var(--measure) + 2 * var(--gutter)); }

.doc { padding: 2rem 0 4rem; }
.prose { font-size: 1.0625rem; line-height: 1.7; }
.prose > * { max-width: var(--measure); }
.prose h1 { font-weight: 900; font-stretch: 75%; font-size: clamp(2rem, 7vw, 3rem); line-height: 1.02; margin: 0; }
.prose h2 {
  font-weight: 800; font-stretch: 85%; font-size: clamp(1.4rem, 4vw, 1.75rem); line-height: 1.15;
  margin: 3rem 0 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink);
  scroll-margin-top: 1.5rem;
}
.prose > h2:first-child { border-top: 0; padding-top: 0; margin-top: 0.5rem; }
.prose h3 { font-weight: 800; font-size: 1.15rem; margin: 1.9rem 0 0.4rem; color: var(--ink); }
.prose p, .prose li { color: #DCD4C6; }
.prose b, .prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin: 0.35rem 0; }
.prose ul li::marker { color: var(--accent); }
.prose ol li::marker { color: var(--accent); font-family: var(--mono); font-weight: 700; font-size: 0.85em; }
.prose .meta { color: var(--mute); margin: 0.6rem 0 1.5rem; }
.prose address { font-style: normal; padding: 1rem 1.2rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); margin: 0.75rem 0; color: #DCD4C6; }
.prose hr { border: 0; height: 22px; margin: 3.5rem 0; background: repeating-linear-gradient(90deg, var(--surface-2) 0 12px, transparent 12px 24px) center / 100% 10px no-repeat; }
.prose .kicker { color: var(--accent); font-size: 0.75rem; margin: 0 0 0.9rem; }
.prose code { font-family: var(--mono); font-size: 0.86em; color: var(--bulb); overflow-wrap: anywhere; }

.box {
  position: relative; margin: 1.5rem 0; padding: 1.1rem 1.25rem 1.1rem 1.4rem; border-radius: 14px;
  background: linear-gradient(135deg, rgba(232, 176, 74, 0.10), rgba(232, 176, 74, 0.02)), var(--surface);
  border: 1px solid rgba(232, 176, 74, 0.35);
}
.box::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--accent); }
.box p { margin: 0; }
.box.coral { border-color: rgba(232, 144, 138, 0.35); }
.box.coral::before { background: var(--coral); }

.toc { margin: 2rem 0; padding: 1.25rem 1.25rem 1rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.toc > b { display: block; font-family: var(--mono); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mute); }
.toc ol { counter-reset: toc; list-style: none; margin: 0.75rem 0 0; padding: 0; columns: 1; column-gap: 2rem; }
@media (min-width: 640px) { .toc ol { columns: 2; } }
.toc li { counter-increment: toc; break-inside: avoid; margin: 0; padding: 0; }
.toc a {
  display: flex; gap: 0.75rem; align-items: baseline; padding: 0.4rem 0.25rem; border-radius: 6px;
  color: var(--ink); text-decoration: none; line-height: 1.35;
}
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-weight: 700; font-size: 0.75rem; color: var(--accent); flex: none; }
.toc a:hover { background: var(--surface-2); color: var(--accent); }

.table-wrap { overflow-x: auto; max-width: 100% !important; margin: 1rem 0; border-radius: 12px; border: 1px solid var(--line); }
.prose .table-wrap { max-width: var(--measure); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); }
tbody tr:last-child td { border-bottom: 0; }
th { color: var(--ink); font-weight: 700; background: var(--surface); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; }
td { color: #DCD4C6; }
tbody tr:nth-child(even) td { background: rgba(243, 237, 226, 0.02); }

.lang-jump { display: inline-flex; margin-top: 1rem; }

@media print {
  .site-header, .site-footer, .skip { display: none; }
  body { background: #fff; color: #000; }
  .prose p, .prose li, td { color: #000; }
}
