/* The home page (D-150, D-151, D-154). Night by default, like the app; the light theme is warm paper, never plain white.
   Legal pages use site.css with the same two themes. Every motion stops for readers who ask for less of it. */
:root {
  --night: #0b0d14;
  --night-2: #11141d;
  --surface: #161925;
  --line: #262a38;
  --text: #f3f2ee;
  --muted: #a9acba;
  --violet: #6f5ef0;
  --violet-soft: #b4a8ff;
  --gold: #e8c98a;
  --gold-hi: #f6e2b4;
  --gold-deep: #b8914f;
  --on-gold: #1a1408;
  --bar: rgba(11, 13, 20, 0.72);
  --card: rgba(22, 25, 37, 0.92);
  --glass: rgba(255, 255, 255, 0.035);
  --glow-violet: rgba(111, 94, 240, 0.36);
  --glow-gold: rgba(232, 201, 138, 0.22);
  --shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --night: #f3ecdf;
  --night-2: #ede3d0;
  --surface: #fbf7ef;
  --line: #e2d6c0;
  --text: #1c1a2e;
  --muted: #5f5a6b;
  --violet: #5546e0;
  --violet-soft: #4a3bd6;
  --gold: #8a6a25;
  --gold-hi: #b08a3c;
  --gold-deep: #6f541c;
  --on-gold: #fff8ea;
  --bar: rgba(243, 236, 223, 0.84);
  --card: rgba(251, 247, 239, 0.96);
  --glass: rgba(255, 255, 255, 0.55);
  --glow-violet: rgba(85, 70, 224, 0.16);
  --glow-gold: rgba(176, 138, 60, 0.18);
  --shadow: 0 40px 80px -36px rgba(60, 44, 20, 0.45);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 17px/1.6 Figtree, system-ui, -apple-system, Segoe UI, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* A faint grain over the night, so large dark areas read as paper rather than plastic. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: var(--violet-soft); }
img { max-width: 100%; }
svg { fill: currentColor; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bar);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.theme-toggle svg { fill: none; }
.theme-toggle:hover { border-color: var(--gold); transform: rotate(-12deg); }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }
.wordmark {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.wordmark span { color: var(--gold); }
.wordmark img { height: 30px; width: auto; vertical-align: -6px; margin-right: 8px; }
.top-cta {
  position: relative;
  overflow: hidden;
  color: var(--on-gold);
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 45%, var(--gold-deep));
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  padding: 9px 18px;
  box-shadow: 0 8px 22px -10px rgba(232, 201, 138, 0.7);
}
.top-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-120%);
}
.top-cta:hover::after { transition: transform 0.7s; transform: translateX(120%); }

/* Type */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
h1, h2, h3, h4 { font-family: Fraunces, Georgia, serif; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(46px, 6.6vw, 84px); line-height: 1; }
h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, var(--gold-deep), var(--gold-hi) 40%, var(--gold) 60%, var(--gold-deep));
  background-size: 220% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.sub { font-family: Fraunces, Georgia, serif; font-size: clamp(20px, 2.4vw, 27px); color: var(--text); opacity: 0.88; margin: 24px 0 0; }
.lede { color: var(--muted); max-width: 520px; margin: 18px 0 0; }

/* The store button: the Google Play mark on a roomy black pill, so it never looks squeezed. */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 36px; }
.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 62px;
  padding: 0 28px 0 22px;
  border-radius: 16px;
  background: linear-gradient(180deg, #17181d, #050507);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.play-btn:hover { transform: translateY(-2px); border-color: rgba(232, 201, 138, 0.7); box-shadow: 0 22px 40px -18px rgba(232, 201, 138, 0.35); }
.play-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.play-logo { width: 26px; height: 28px; flex: none; }
.play-btn span { display: flex; flex-direction: column; line-height: 1; }
.play-btn small { font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; opacity: 0.86; }
.play-btn b { font-size: 23px; font-weight: 600; letter-spacing: -0.01em; margin-top: 4px; }
.cta-note { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.cta-note svg { color: var(--gold); flex: none; }

/* Hero */
.hero { position: relative; padding: 26px 0 40px; isolation: isolate; overflow: hidden; }
.aurora { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); }
.aurora i:nth-child(1) { width: 620px; height: 620px; right: -6%; top: 0; background: var(--glow-violet); }
.aurora i:nth-child(2) { width: 420px; height: 420px; right: 22%; top: 34%; background: var(--glow-gold); }
.aurora i:nth-child(3) { width: 480px; height: 480px; left: -14%; top: 8%; background: rgba(111, 94, 240, 0.14); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }

.stage { position: relative; height: 640px; display: grid; place-items: center; }
.halo {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-gold), transparent 62%);
}
.tilt { position: relative; width: 300px; height: 650px; translate: -40px 0; scale: 0.86; }
.phone {
  position: absolute;
  width: 290px;
  aspect-ratio: 9 / 20;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(155deg, #353a4e, #12141c 38%, #0c0e14 62%, #3a3016);
  box-shadow: var(--shadow), 0 0 0 1px rgba(232, 201, 138, 0.26), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.welcome-phone { top: 44px; left: -46px; transform: rotate(-3deg); z-index: 2; }
/* The welcome screen, live: the app's tilted wall of covers drifts behind its real bottom half. */
.welcome { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #0b0d14; }
.welcome-wall { position: absolute; inset: 0 0 34%; overflow: hidden; }
.welcome-wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 13, 20, 0.35), transparent 18%, transparent 62%, #0b0d14 100%); }
.ww-tilt { position: absolute; inset: -16% -14% -40% -20%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; transform: rotate(-8deg); }
.wcol { display: flex; flex-direction: column; gap: 9px; will-change: transform; }
.wcol img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; filter: brightness(0.82); }
.welcome-status { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 10px 22px 0 24px; color: #fff; font: 600 11px/1 Figtree, sans-serif; }
.welcome-status span { display: flex; gap: 5px; align-items: center; }
.welcome-status svg { height: 10px; width: auto; }
.welcome-bottom { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; display: block; -webkit-mask: linear-gradient(180deg, transparent, #000 9%); mask: linear-gradient(180deg, transparent, #000 9%); }

/* "New today": the library grows every day, said up front. */
.new-card {
  position: absolute;
  z-index: 4;
  top: 70px;
  left: -96px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 18px;
  background: var(--card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(232, 201, 138, 0.4);
  box-shadow: 0 24px 46px -20px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
}
.new-covers { display: flex; }
.new-covers img { width: 30px; height: 45px; object-fit: cover; border-radius: 6px; border: 1.5px solid var(--surface); margin-left: -12px; box-shadow: 0 6px 12px -4px rgba(0, 0, 0, 0.7); }
.new-covers img:first-child { margin-left: 0; transform: rotate(-8deg); }
.new-covers img:last-child { transform: rotate(8deg); }
.new-card b { display: block; font: 600 16px/1.2 Fraunces, Georgia, serif; }
.new-card small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gold); font-weight: 600; }
.live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #5fd28a; flex: none; box-shadow: 0 0 10px #5fd28a; }
.live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #5fd28a; opacity: 0; }

.fresh-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 24px;
  padding: 8px 16px 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  background: linear-gradient(90deg, rgba(232, 201, 138, 0.16), rgba(111, 94, 240, 0.12));
  box-shadow: 0 10px 30px -16px rgba(232, 201, 138, 0.6);
  overflow: hidden;
}
.fresh-pill b { color: var(--gold); font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.fresh-sep { width: 1px; height: 14px; background: rgba(232, 201, 138, 0.4); flex: none; }
.fresh-more { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fresh-pill::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.fresh-pill:hover .fresh-more { color: var(--text); }
.reader-phone { top: 0; left: 150px; transform: rotate(4deg); }

/* The reader, drawn as the app draws it: sepia page, the top bar with its three tools, the chapter bar below. */
.reader {
  position: relative;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: #f1e6d2;
  color: #2a2117;
  display: flex;
  flex-direction: column;
}
.reader svg { width: 19px; height: 19px; flex: none; color: #2a2117; }
.reader-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 40px 12px 10px 14px;
  background: #e9dcc4;
  border-bottom: 1px solid rgba(42, 33, 23, 0.1);
}
.reader-title { flex: 1; min-width: 0; font: 600 11px/1.2 Figtree, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tool { position: relative; display: grid; place-items: center; }
.pin {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font: 700 10.5px/1 Figtree, sans-serif;
  font-style: normal;
  color: #1a1408;
  background: linear-gradient(135deg, #f6e2b4, #c9a25c);
  box-shadow: 0 0 0 2px #0b0d14, 0 6px 14px -4px rgba(0, 0, 0, 0.6);
}
.tool .pin { position: absolute; top: -15px; left: 50%; margin-left: -9px; }
.tool .pin::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 201, 138, 0.8);
}
.reader-page { flex: 1; padding: 22px 20px 0; font-family: Literata, Georgia, serif; overflow: hidden; }
.reader-page .kicker { font: 600 9px/1.3 Figtree, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: #8a6a25; }
.reader-page h3 { font-size: 22px; line-height: 1.15; margin: 8px 0 14px; color: #1f1810; }
.reader-page p { font-size: 13px; line-height: 1.72; margin: 0 0 10px; color: #3b3024; }
.reader-page p:first-of-type::first-letter { float: left; font: 600 42px/0.9 Fraunces, Georgia, serif; padding: 4px 6px 0 0; color: #8a6a25; }
.reader-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 26px;
  background: #e9dcc4;
  border-top: 1px solid rgba(42, 33, 23, 0.1);
}
.reader-foot > span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.reader-foot b { font: 600 10.5px/1 Figtree, sans-serif; }
.progress { display: block; width: 82%; height: 3px; border-radius: 3px; background: rgba(42, 33, 23, 0.16); overflow: hidden; }
.progress i { display: block; width: 3%; height: 100%; background: #2a2117; border-radius: 3px; }

.legend {
  position: absolute;
  z-index: 5;
  right: -34px;
  bottom: 40px;
  margin: 0;
  padding: 14px 16px;
  list-style: none;
  display: grid;
  gap: 11px;
  width: 236px;
  border-radius: 18px;
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(232, 201, 138, 0.34);
  box-shadow: 0 26px 50px -24px rgba(0, 0, 0, 0.85);
}
.legend li { display: flex; gap: 11px; align-items: flex-start; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.legend .pin { flex: none; margin-top: 1px; box-shadow: none; }
.legend b { display: block; color: var(--text); font-size: 14px; font-weight: 600; }

.spark { position: absolute; width: 14px; height: 14px; color: var(--gold-hi); z-index: 4; }
.spark::before, .spark::after { content: ""; position: absolute; inset: 0; background: currentColor; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.spark::after { filter: blur(6px); opacity: 0.8; }
.spark.s1 { top: 6%; left: 18%; }
.spark.s2 { top: 52%; right: 4%; width: 10px; height: 10px; }
.spark.s3 { bottom: 14%; left: 4%; width: 9px; height: 9px; }
.spark.s4 { bottom: 4%; right: 30%; }

/* Numbers card */
.stats {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1.7fr 1fr 1.25fr;
  border-radius: 24px;
  border: 1px solid rgba(232, 201, 138, 0.22);
  background: linear-gradient(180deg, var(--glass), transparent), var(--surface);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.stats li { position: relative; text-align: center; padding: 26px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.stats li + li::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(transparent, var(--line), transparent); }
.stats b {
  font: 600 clamp(28px, 3.6vw, 40px)/1.05 Fraunces, Georgia, serif;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats span { color: var(--muted); font-size: 14.5px; }
.stats .no-signup b { font-size: clamp(24px, 2.8vw, 32px); padding: 4px 0 2px; }

/* Every language in one moving line under the numbers. */
.lang-strip { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.lang-label { flex: none; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.lang-window { flex: 1; min-width: 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lang-track { display: flex; width: max-content; }
.lang-track .dup { display: flex; }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: 10px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}
.lang img { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }

/* A thread of gold light running round a frame, like the Featured frame in the app. */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.glow-border { position: relative; }
.glow-border::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--spin), transparent 0 58%, rgba(232, 201, 138, 0.2) 68%, #f6e2b4 79%, #fff6dc 81%, rgba(232, 201, 138, 0.2) 90%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Sections */
section { padding: 88px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2, .library-copy h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; }
.section-head p { color: var(--muted); margin: 14px 0 0; }

/* Library */
.library-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.library-copy p { color: var(--muted); margin: 16px 0 0; max-width: 440px; }
.genres { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.genres li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(232, 201, 138, 0.3);
  background: linear-gradient(180deg, rgba(232, 201, 138, 0.1), rgba(232, 201, 138, 0.02));
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}
.genres svg { width: 17px; height: 17px; color: var(--gold); flex: none; }
.genres li:hover { border-color: var(--gold); transform: translateY(-1px); }
.genres li:nth-child(-n+3) { border-color: rgba(232, 201, 138, 0.6); color: var(--gold); }

.wall {
  position: relative;
  height: 600px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(232, 201, 138, 0.2);
  background: #07080d;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.wall::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, #07080d 0%, transparent 16%, transparent 80%, #07080d 100%),
    radial-gradient(120% 80% at 50% 50%, transparent 60%, rgba(7, 8, 13, 0.8) 100%);
}
.wall-tilt {
  position: absolute;
  inset: -30% -18%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  transform: rotate(-9deg);
}
.col { display: flex; flex-direction: column; gap: 16px; will-change: transform; }
.col img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 14px; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.9); backface-visibility: hidden; }

/* Readers decide */
.decide { overflow: hidden; }
.decide::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 30%;
  width: 900px;
  height: 500px;
  margin-left: -450px;
  border-radius: 50%;
  background: var(--glow-violet);
  filter: blur(120px);
  opacity: 0.6;
}
.decide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.decide-card {
  position: relative;
  border-radius: 30px;
  padding: 28px;
  background:
    radial-gradient(100% 70% at 100% 0%, rgba(232, 201, 138, 0.12), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--night-2));
  border: 1px solid rgba(232, 201, 138, 0.26);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.decide-copy h3 { font-size: 28px; line-height: 1.15; margin-top: 12px; }
.decide-copy p { color: var(--muted); margin: 10px 0 0; }
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(232, 201, 138, 0.4);
  background: rgba(232, 201, 138, 0.08);
}

/* The weekly vote, as the app's sheet */
.poll {
  border-radius: 22px;
  padding: 20px;
  background: #13151f;
  border: 1px solid #272b3a;
  color: #f3f2ee;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.poll-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.poll-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #e8c98a; }
.poll-eyebrow svg { width: 16px; height: 16px; }
.poll-closes { font-size: 12px; color: #a9acba; }
.poll h4 { font-size: 21px; line-height: 1.2; margin-top: 12px; }
.poll-hint { margin: 6px 0 14px; font-size: 13.5px; color: #a9acba; }
.poll-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  background: #1d2130;
  border: 1px solid #2c3142;
  color: #d9d8e2;
}
.chip svg { width: 16px; height: 16px; color: #b4a8ff; }
.chip.on { background: rgba(111, 94, 240, 0.22); border-color: #8c7dff; color: #fff; }
.chip.on svg { color: #e8c98a; }
.chip .tick { width: 15px; height: 15px; color: #fff !important; }
.poll-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 13px; color: #a9acba; }
.poll-btn { padding: 9px 26px; border-radius: 999px; background: #6f5ef0; color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 10px 24px -10px rgba(111, 94, 240, 0.9); }

/* The season vote at the end of a story */
.season { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 16px; align-items: stretch; }
.season-cover { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.9); }
.season-cover img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 2 / 3; }
.season-done {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(11, 13, 20, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.season-done svg { width: 16px; height: 16px; color: #e8c98a; }
.season-poll {
  border-radius: 22px;
  padding: 20px;
  background: #13151f;
  border: 1px solid #272b3a;
  color: #f3f2ee;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.season-poll h4 { font-size: 22px; }
.season-answers { display: grid; gap: 8px; margin-top: 14px; }
.answer { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.answer svg { width: 17px; height: 17px; }
.answer.on { background: #6f5ef0; color: #fff; box-shadow: 0 10px 24px -10px rgba(111, 94, 240, 0.9); }
.answer.off { border: 1px solid #2c3142; color: #a9acba; opacity: 0.55; }
.season-poll p { margin: 12px 0 0; font-size: 12.5px; line-height: 1.45; color: #a9acba; }
.season-next { margin-top: 14px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #e8c98a; padding: 5px 10px; border-radius: 999px; background: rgba(232, 201, 138, 0.12); }
.season-next svg { width: 14px; height: 14px; }

/* Inside the app: a visual over every feature */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  border-radius: 26px;
  padding: 16px 16px 24px;
  background: linear-gradient(180deg, var(--surface), var(--night-2));
  border: 1px solid var(--line);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s, box-shadow 0.35s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(232, 201, 138, 0.35); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.9); }
.feature h3 { font-size: 22px; line-height: 1.2; margin: 20px 8px 0; }
.feature p { color: var(--muted); font-size: 15.5px; margin: 8px 8px 0; }
.visual {
  position: relative;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(90% 90% at 50% 0%, rgba(111, 94, 240, 0.2), transparent 70%),
    #0f111a;
  border: 1px solid #23273a;
  color: #f3f2ee;
}

.offline { padding: 46px 14px 14px; display: flex; flex-direction: column; gap: 7px; }
.mode { position: absolute; top: 12px; right: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: #e8c98a; padding: 4px 10px; border-radius: 999px; background: rgba(232, 201, 138, 0.12); }
.mode svg { width: 14px; height: 14px; transform: rotate(45deg); }
.dl { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; background: #181b27; border: 1px solid #262a3a; }
.dl img { width: 26px; height: 39px; object-fit: cover; border-radius: 6px; }
.dl span { flex: 1; min-width: 0; font-size: 11.5px; color: #a9acba; line-height: 1.3; }
.dl b { display: block; font-size: 13px; color: #f3f2ee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl .ok { width: 20px; height: 20px; color: #7ed6a0; flex: none; }
.ring-dl { width: 20px; height: 20px; border-radius: 50%; flex: none; background: conic-gradient(#e8c98a 0 64%, #2c3142 64%); -webkit-mask: radial-gradient(circle, transparent 6px, #000 7px); mask: radial-gradient(circle, transparent 6px, #000 7px); }

.themes { display: flex; align-items: center; justify-content: center; padding: 0 10px; }
.mini {
  width: 74px;
  height: 120px;
  margin: 0 -10px;
  border-radius: 14px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(232, 201, 138, 0.2);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mini b { font: 500 22px/1 Literata, Georgia, serif; margin-bottom: 4px; }
.mini i { display: block; height: 4px; border-radius: 4px; background: currentColor; opacity: 0.35; }
.mini i:last-child { width: 60%; }
.mini:nth-child(1) { transform: rotate(-12deg) translateY(10px); }
.mini:nth-child(2) { transform: rotate(-6deg) translateY(2px); }
.mini:nth-child(3) { transform: translateY(-4px) scale(1.06); z-index: 1; }
.mini:nth-child(4) { transform: rotate(6deg) translateY(2px); }
.mini:nth-child(5) { transform: rotate(12deg) translateY(10px); }
.feature:hover .mini { transform: none; margin: 0 3px; }
.mini.light { background: #fbfaf6; color: #222; }
.mini.sepia { background: #f1e6d2; color: #4a3820; }
.mini.mint { background: #e5f1ea; color: #22382c; }
.mini.dark { background: #1d2130; color: #e7e3da; }
.mini.black { background: #000; color: #d8d4cb; }

.words { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 16px; align-content: center; }
.words span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 11px;
  background: #181b27;
  border: 1px solid #262a3a;
  font: 500 14.5px/1 Fraunces, Georgia, serif;
  white-space: nowrap;
}
.words img { width: 18px; height: 18px; border-radius: 50%; flex: none; }

.resume { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 18px; }
.resume-card { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: #181b27; border: 1px solid rgba(232, 201, 138, 0.3); }
.resume-card img { width: 64px; height: 96px; object-fit: cover; border-radius: 9px; }
.resume-card > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.resume-card small { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #e8c98a; }
.resume-card b { font: 600 16px/1.2 Fraunces, Georgia, serif; }
.resume-card em { font-style: normal; font-size: 12.5px; color: #a9acba; }
.bar { display: block; height: 4px; border-radius: 4px; background: #2c3142; margin-top: 6px; overflow: hidden; }
.bar i { display: block; width: 40%; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #b8914f, #e8c98a); }
.sync { align-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: #a9acba; }
.sync svg { width: 18px; height: 18px; color: #b4a8ff; }

.fresh img { position: absolute; top: 28px; width: 104px; height: 156px; object-fit: cover; border-radius: 12px; box-shadow: 0 20px 34px -14px rgba(0, 0, 0, 0.95); border: 1px solid rgba(255, 255, 255, 0.1); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fresh .c1 { left: 50%; margin-left: -128px; transform: rotate(-12deg); }
.fresh .c2 { left: 50%; margin-left: 24px; transform: rotate(12deg); }
.fresh .c3 { left: 50%; margin-left: -52px; top: 20px; z-index: 1; }
.feature:hover .fresh .c1 { transform: rotate(-16deg) translateX(-8px); }
.feature:hover .fresh .c2 { transform: rotate(16deg) translateX(8px); }
.fresh .new {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 50%;
  margin-left: 22px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #1a1408;
  padding: 4px 9px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f6e2b4, #c9a25c);
  box-shadow: 0 8px 18px -6px rgba(232, 201, 138, 0.6);
}

.chapters { display: grid; gap: 9px; padding: 22px 18px; align-content: center; }
.ch {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #181b27;
  border: 1px solid #262a3a;
  font-size: 13px;
  color: #a9acba;
}
.ch i { position: relative; height: 4px; border-radius: 4px; background: #2c3142; overflow: hidden; }
.ch i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, #b8914f, #e8c98a); }
.ch.now { border-color: rgba(232, 201, 138, 0.45); color: #f3f2ee; }
.ch.done span { color: #f3f2ee; }

/* FAQ */
.questions .wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: Fraunces, Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  padding: 20px 48px 20px 0;
  position: relative;
  transition: color 0.2s;
}
.faq summary:hover { color: var(--gold); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(232, 201, 138, 0.35);
  font: 400 22px/1 Figtree, sans-serif;
  color: var(--gold);
  transition: transform 0.25s, background 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: rgba(232, 201, 138, 0.12); }
.faq details p { color: var(--muted); margin: 0 0 22px; max-width: 720px; }

/* Closing */
.closing { text-align: center; padding: 120px 0 128px; overflow: hidden; isolation: isolate; }
.closing::before { content: ""; position: absolute; z-index: -2; inset: 15% 18%; background: var(--glow-violet); filter: blur(100px); border-radius: 50%; }
.ring {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 620px;
  height: 620px;
  margin: -310px 0 0 -310px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(232, 201, 138, 0.5), transparent 30%, rgba(111, 94, 240, 0.5), transparent 60%, rgba(232, 201, 138, 0.4), transparent);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 59%, #000 60%, transparent 61%);
  mask: radial-gradient(circle, transparent 58%, #000 59%, #000 60%, transparent 61%);
}
.closing-mark { width: 84px; height: auto; filter: drop-shadow(0 12px 30px rgba(232, 201, 138, 0.35)); margin-bottom: 18px; }
.closing h2 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; }
.closing p { color: var(--muted); margin: 18px auto 0; max-width: 480px; }
.closing .cta-row { justify-content: center; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .legal-line { width: 100%; font-size: 12.5px; opacity: 0.8; }

/* Reveal on scroll, only when the script is there to undo it. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .feature-grid .reveal:nth-child(3n + 2), .js .decide-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .feature-grid .reveal:nth-child(3n) { transition-delay: 0.16s; }

@media (max-width: 1160px) and (min-width: 961px) {
  .tilt { translate: -70px 0; scale: 0.82; }
  .legend { right: -24px; width: 220px; }
}

@media (max-width: 960px) {
  .hero { padding: 22px 0 32px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .stage { height: 800px; place-items: start center; padding-top: 10px; }
  .tilt { translate: -20px -30px; scale: 0.86; }
  .legend { right: auto; left: 50%; top: auto; bottom: 0; margin-left: -150px; width: 300px; }
  .library-grid { grid-template-columns: minmax(0, 1fr); }
  .wall { height: 480px; }
  .decide-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .lang-stat { order: -1; grid-column: 1 / -1; }
  .stats li::before { display: none; }
  .stats li { border-top: 1px solid var(--line); }
  .stats .lang-stat { border-top: 0; }
  .stats .no-signup { grid-column: 1 / -1; }
  .stats li:nth-child(odd):not(.lang-stat) { border-right: 1px solid var(--line); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 68px 0; }
  .stage { height: 660px; padding-top: 10px; }
  .tilt { scale: 0.7; translate: -36px -80px; }
  .legend { width: 290px; margin-left: -145px; }
  .wall { height: 420px; border-radius: 26px; }
  .wall-tilt { inset: -34% -22%; gap: 12px; }
  .col { gap: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .decide-card { padding: 18px; border-radius: 26px; }
  .season { grid-template-columns: 1fr 1.3fr; gap: 10px; }
  .season-poll { padding: 14px; }
  .season-poll h4 { font-size: 18px; }
  .season-done { font-size: 10.5px; white-space: nowrap; left: 6px; right: 6px; padding: 6px; }
  .season-next { font-size: 11px; }
  .top-cta { padding: 8px 13px; font-size: 14px; }
  .ring { width: 440px; height: 440px; margin: -220px 0 0 -220px; }
  .play-btn { height: 58px; }
  .lang-strip { flex-direction: column; align-items: stretch; gap: 10px; }
  .lang-label { text-align: center; }
  .lang-window { flex: none; }
  .new-card { left: 8px; top: 18px; }
  .fresh-more { display: none; }
  .fresh-sep { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .aurora i:nth-child(1) { animation: drift-a 18s ease-in-out infinite alternate; }
  .aurora i:nth-child(2) { animation: drift-b 22s ease-in-out infinite alternate; }
  .aurora i:nth-child(3) { animation: drift-a 26s ease-in-out infinite alternate-reverse; }
  @keyframes drift-a { to { transform: translate(-60px, 50px) scale(1.12); } }
  @keyframes drift-b { to { transform: translate(70px, -40px) scale(0.9); } }

  h1 em, h2 em { animation: sheen 7s ease-in-out infinite; }
  @keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

  .stage { animation: rise 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  @keyframes rise { from { opacity: 0; } }
  .live::after { animation: ping 1.8s ease-out infinite; }
  .fresh-pill::before { animation: glint 4.5s ease-in-out infinite; }
  @keyframes glint { 0%, 55% { transform: translateX(-120%); } 80%, 100% { transform: translateX(120%); } }
  .glow-border::after { animation: spin-border 7s linear infinite; }
  .decide-card.glow-border::after { animation-duration: 10s; }
  .decide-card.glow-border + .decide-card.glow-border::after { animation-delay: -5s; }
  @keyframes spin-border { to { --spin: 360deg; } }
  .wcol.up { animation: wall-up 46s linear infinite; }
  .wcol.down { animation: wall-down 46s linear infinite; }
  .wcol.slow { animation-duration: 58s; }
  .lang-track { animation: marquee 38s linear infinite; }
  .lang-strip:hover .lang-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
  @keyframes bob { 50% { translate: 0 -8px; } }
  .tool .pin::after { animation: ping 2.4s ease-out infinite; }
  .tool:nth-of-type(3) .pin::after { animation-delay: 0.8s; }
  .tool:nth-of-type(4) .pin::after { animation-delay: 1.6s; }
  @keyframes ping { 0% { transform: scale(0.7); opacity: 1; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
  .halo { animation: breathe 5s ease-in-out infinite; }
  @keyframes breathe { 50% { transform: scale(1.12); opacity: 0.7; } }
  .spark { animation: twinkle 3.4s ease-in-out infinite; }
  .spark.s2 { animation-delay: -0.85s; }
  .spark.s3 { animation-delay: -1.7s; }
  .spark.s4 { animation-delay: -2.55s; }
  @keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(0.4) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
  .progress i { animation: read 9s ease-in-out infinite; }
  @keyframes read { 0% { width: 2%; } 70%, 100% { width: 9%; } }
  .ring-dl { animation: spin 2.2s linear infinite; }

  .col.up { animation: wall-up 70s linear infinite; }
  .col.down { animation: wall-down 70s linear infinite; }
  .col.slow { animation-duration: 88s; }
  .wall:hover .col { animation-play-state: paused; }
  @keyframes wall-up { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -50%, 0); } }
  @keyframes wall-down { from { transform: translate3d(0, -50%, 0); } to { transform: translate3d(0, 0, 0); } }

  .chip.on { animation: glowchip 3s ease-in-out infinite; }
  @keyframes glowchip { 50% { box-shadow: 0 0 0 4px rgba(111, 94, 240, 0.18); } }
  .ring { animation: spin 40s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
}

/* The store buttons carry the same running gold light, a little faster so they catch the eye. */
@media (prefers-reduced-motion: no-preference) {
  .play-btn.glow-border::after { animation-duration: 4.5s; }
}
.play-btn.glow-border::after { padding: 1.5px; inset: -1px; }
