/* Tale Hoot website. Colours, fonts and shapes follow hootales-docs/design/tokens.md. */
:root {
  --night: #0B1026;
  --night-top: #101742;
  --surface: #1A2247;
  --sheet: #0F1532;
  --glass: rgba(255, 255, 255, .06);
  --glass-border: rgba(255, 255, 255, .09);
  --purple-400: #8E7DFF;
  --purple-500: #7C6BFF;
  --purple-600: #6A58F5;
  --gold-300: #FFD66B;
  --gold-500: #FF9F1C;
  --gold-text: #FFC24B;
  --on-gold: #2A1B00;
  --text: #FFFFFF;
  --text-2: #C9CFF0;
  --muted: #A8B0D6;
  --success: #45D483;
  --cream: #FFF8EC;
  --on-paper: #1E2A5A;
  --radius: 24px;
  --max: 1180px;
  --display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --story: "Baloo 2", "Nunito", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--night);
  background-image:
    radial-gradient(ellipse 60% 38% at 100% 0%, rgba(124, 107, 255, .38), transparent 70%),
    radial-gradient(ellipse 45% 30% at 0% 100%, rgba(255, 159, 28, .16), transparent 70%),
    linear-gradient(180deg, var(--night-top) 0%, var(--night) 60%);
  background-attachment: fixed;
  color: var(--text);
  font: 600 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.12; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--gold-text); text-underline-offset: 3px; }
a:hover { color: var(--gold-300); }
img, video { display: block; max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 3px; border-radius: 8px; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold-300); color: var(--on-gold); padding: 10px 18px; border-radius: 999px;
  font-weight: 800; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 38, .72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 800 21px/1 var(--display); letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 4px 16px rgba(124, 107, 255, .45); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--text-2); text-decoration: none; font-weight: 800; font-size: 15px; }
.nav a:hover { color: var(--text); }
.nav .pill-soon {
  color: var(--on-gold); background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  padding: 9px 16px; border-radius: 999px; box-shadow: 0 8px 22px rgba(255, 159, 28, .3);
}
.nav .pill-soon:hover { color: var(--on-gold); }

/* Buttons and badges */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 16px/1 var(--display); text-decoration: none; border: 0; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(180deg, var(--purple-400), var(--purple-600)); box-shadow: 0 10px 26px rgba(106, 88, 245, .4); }
.btn-primary:hover { color: #fff; }
.btn-glass { color: var(--text); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.btn-glass:hover { color: var(--text); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
}
.store svg { width: 26px; height: 26px; flex: none; color: var(--gold-300); }
.store small { display: block; font: 800 11px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.store span { display: block; font: 700 17px/1.2 var(--display); }
.soon-note { color: var(--muted); font-size: 15px; margin-top: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 800 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-300); box-shadow: 0 0 12px var(--gold-300); }

/* Hero */
.hero { position: relative; padding: 56px 0 96px; overflow: hidden; isolation: isolate; }
.stars { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.wordmark {
  font: 800 clamp(56px, 8.4vw, 112px)/.95 var(--display); letter-spacing: -.035em;
  background: linear-gradient(180deg, #FFFFFF 30%, #FFE7A8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 30px rgba(255, 190, 80, .28));
  margin-bottom: 18px;
}
.tagline { font: 800 clamp(26px, 3.2vw, 38px)/1.15 var(--display); margin-bottom: 18px; }
.tagline em { font-style: normal; color: var(--gold-300); }
.lead { color: var(--text-2); font-size: 19px; max-width: 32em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }

.scene { position: relative; justify-self: center; width: min(100%, 440px); }
.portal {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 220px 220px 32px 32px;
  border: 2px solid rgba(255, 214, 107, .5);
  background: var(--surface);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .03), 0 30px 80px rgba(0, 0, 0, .55), 0 0 120px rgba(124, 107, 255, .35);
}
.portal img, .portal video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.portal::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 70%, rgba(11, 16, 38, .55) 100%);
  border-radius: inherit;
}
.float-cover {
  position: absolute; width: 112px; aspect-ratio: 1; border-radius: 18px; overflow: hidden;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .5), 0 0 0 3px rgba(255, 255, 255, .12);
  will-change: transform;
}
.float-cover img { width: 100%; height: 100%; object-fit: cover; }
.float-cover.a { left: -64px; top: 18%; rotate: -9deg; }
.float-cover.b { right: -54px; top: 52%; rotate: 8deg; width: 128px; }
.float-noor {
  position: absolute; left: -40px; bottom: -36px; width: 150px;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .45)) drop-shadow(0 0 30px rgba(255, 190, 80, .25));
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }

/* Sections */
section { position: relative; }
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2, .split h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; margin-bottom: 16px; }
.section-head p, .split .lead { color: var(--text-2); font-size: 19px; }
.glass { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { padding: 28px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; right: 18px; top: 6px;
  font: 800 92px/1 var(--display); color: rgba(255, 255, 255, .05);
}
.step h3 { font-size: 23px; }
.step p { color: var(--text-2); }
.step-art { height: 190px; position: relative; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.heroes-fan { position: relative; width: 100%; height: 100%; }
.heroes-fan img {
  position: absolute; bottom: 0; width: 120px; height: 160px; object-fit: cover; border-radius: 20px;
  border: 3px solid rgba(255, 255, 255, .16); box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}
.heroes-fan img:nth-child(1) { left: calc(50% - 150px); rotate: -9deg; }
.heroes-fan img:nth-child(2) { left: calc(50% - 60px); z-index: 2; bottom: 14px; }
.heroes-fan img:nth-child(3) { left: calc(50% + 30px); rotate: 9deg; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 320px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font: 700 14px/1 var(--body);
}
.chip img { width: 26px; height: 26px; }
.chip.on { background: var(--purple-500); border-color: transparent; }
.noor-pair { display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.noor-pair img { width: 150px; }
.noor-pair img + img { width: 130px; }
.step-note { text-align: center; color: var(--muted); margin-top: 28px; font-size: 16px; }

/* Showcase marquee */
.showcase { padding: 88px 0; overflow: hidden; }
.marquee {
  display: flex; gap: 20px; width: max-content; padding: 10px 0;
  animation: slide 70s linear infinite;
}
.marquee.reverse { animation-direction: reverse; animation-duration: 80s; margin-top: 10px; }
.marquee-track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track:hover .marquee { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cover {
  width: 200px; aspect-ratio: 1; flex: none; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35); background: var(--surface);
  transition: transform .3s ease;
}
.cover:hover { transform: translateY(-6px) rotate(-1deg); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.showcase-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 30px; padding: 0 24px; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-2); }
.ticks li::before {
  content: ""; flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  background: var(--gold-300) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A1B00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: 0 0 14px rgba(255, 214, 107, .45);
}
.ticks strong { color: var(--text); font-weight: 800; }

/* Reader */
.reader-frame {
  position: relative; border-radius: 34px; padding: 14px; background: #05081A;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .08), 0 30px 80px rgba(0, 0, 0, .55), 0 0 100px rgba(124, 107, 255, .25);
}
.reader-page { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 2 / 1; }
.reader-page img { width: 100%; height: 100%; object-fit: cover; }
.reader-words {
  position: absolute; left: 7%; top: 9%; width: 40%;
  font: 500 clamp(13px, 1.6vw, 21px)/1.4 var(--story); color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}
.reader-bar {
  position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 24, .82)); font: 700 13px/1 var(--body); color: var(--text-2);
}
.reader-bar b { font-family: var(--display); color: #fff; }
.styles { display: flex; gap: 14px; margin-top: 26px; }
.style-card { padding: 12px 16px 12px 12px; display: flex; gap: 12px; align-items: center; }
.style-card b { display: block; font: 700 16px/1.2 var(--display); }
.style-card span { color: var(--muted); font-size: 14px; }
.style-card .swatch { width: 44px; height: 44px; border-radius: 12px; flex: none; background: linear-gradient(135deg, #2a3d7a, #e7b46a); }
.style-card .swatch.side { background: linear-gradient(90deg, #6aa0d8 50%, var(--cream) 50%); }

/* Hoot Club */
.club {
  position: relative; overflow: hidden; padding: 56px; border-radius: 36px;
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(255, 159, 28, .22), transparent 70%),
    radial-gradient(ellipse 60% 60% at 0% 100%, rgba(124, 107, 255, .35), transparent 70%),
    linear-gradient(160deg, #1B2150, #0F1532);
  border: 1px solid rgba(255, 214, 107, .22);
}
.club .split { gap: 48px; }
.club-crown { width: 86px; margin-bottom: 14px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .4)); }
.club .fine { color: var(--muted); font-size: 15px; margin-top: 22px; }
.portal.small { max-width: 360px; margin: 0 auto; border-radius: 180px 180px 28px 28px; }

/* Print */
.print { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; padding: 36px 40px; }
.print img { width: 150px; }
.print h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 10px; }
.print p { color: var(--text-2); }
.tag { display: inline-block; padding: 6px 12px; border-radius: 999px; font: 800 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; background: rgba(69, 212, 131, .14); color: var(--success); margin-bottom: 12px; }

/* Parents */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust .card { padding: 26px; }
.trust .icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(180deg, rgba(142, 125, 255, .3), rgba(106, 88, 245, .15)); border: 1px solid rgba(142, 125, 255, .35);
}
.trust .icon svg { width: 24px; height: 24px; stroke: var(--gold-300); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.trust h3 { font-size: 19px; margin-bottom: 8px; }
.trust p { color: var(--text-2); font-size: 16px; }
.parents-foot { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; text-align: center; color: var(--text-2); }
.parents-foot img { width: 84px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-border); transition: background .2s; }
.faq details[open] { background: rgba(255, 255, 255, .085); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; position: relative;
  font: 700 18px/1.35 var(--display); border-radius: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
  background: rgba(255, 255, 255, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFD66B' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--text-2); }
.faq .answer p + p { margin-top: 10px; }

/* Final call */
.finale { position: relative; padding: 0 0 40px; }
.finale-card {
  position: relative; border-radius: 36px; overflow: hidden;
  background: #151B45; border: 1px solid rgba(255, 214, 107, .18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.finale-card picture { display: block; position: relative; aspect-ratio: 2.4 / 1; }
.finale-card picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.finale-card picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 27, 69, 0) 55%, #151B45 100%); }
.finale-body { position: relative; padding: 8px 48px 48px; text-align: center; }
.finale-body h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; margin-bottom: 12px; }
.finale-body p { color: var(--text-2); font-size: 18px; margin: 0 auto 24px; max-width: 34em; }
.finale-body .stores { justify-content: center; }

/* Footer */
.site-footer { padding: 48px 0 56px; border-top: 1px solid rgba(255, 255, 255, .07); margin-top: 40px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; align-items: center; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--text-2); text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--gold-300); }
.foot-brand p { margin-top: 8px; }

/* Plain pages: terms, privacy, sign-in, 404 */
.doc { padding: 56px 0 40px; }
.doc .wrap { max-width: 860px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; margin-bottom: 12px; }
.doc .updated { color: var(--gold-text); font-weight: 800; margin-bottom: 24px; }
.doc .intro { font-size: 19px; color: var(--text-2); }
.doc h2 { font-size: 25px; margin: 48px 0 14px; scroll-margin-top: 90px; }
.doc h3 { font-size: 19px; margin: 26px 0 10px; }
.doc p, .doc li { color: var(--text-2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 12px 0; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--gold-300); }
.doc strong { color: var(--text); }
.toc { margin: 32px 0 8px; padding: 22px 26px; }
.doc .toc h2 { margin: 0 0 10px; font-size: 16px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-text); font-family: var(--body); font-weight: 800; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { color: var(--text-2); text-decoration: none; font-weight: 700; }
.toc a:hover { color: var(--gold-300); }
.table-wrap { overflow-x: auto; margin: 16px 0; border-radius: 18px; border: 1px solid var(--glass-border); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--glass-border); color: var(--text-2); }
.doc th { color: var(--text); font-family: var(--display); font-weight: 700; background: rgba(255, 255, 255, .04); }
.doc tr:last-child td { border-bottom: 0; }
.callout { padding: 20px 24px; margin: 18px 0; border-left: 4px solid var(--gold-300); }

.center-page .stars { -webkit-mask-image: radial-gradient(ellipse 42% 48% at 50% 52%, transparent 55%, #000 100%); mask-image: radial-gradient(ellipse 42% 48% at 50% 52%, transparent 55%, #000 100%); }
.center-page { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 48px 0 64px; position: relative; overflow: hidden; isolation: isolate; }
.center-card { max-width: 600px; margin: 0 auto; text-align: center; padding: 0 8px; }
.center-card .noor { width: 190px; margin: 0 auto 10px; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 0 30px rgba(255, 190, 80, .25)); }
.center-card h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 800; margin-bottom: 14px; }
.center-card .lead { margin: 0 auto 26px; }
.howto { text-align: left; padding: 22px 26px; margin: 0 auto 22px; }
.howto ol { margin: 0; padding-left: 22px; color: var(--text-2); }
.howto li { margin: 8px 0; }
.howto li::marker { color: var(--gold-300); font-weight: 800; }
.center-card .stores { justify-content: center; margin: 22px 0 8px; }
.small-print { color: var(--muted); font-size: 15px; margin-top: 18px; }

/* Scroll reveal (only when JavaScript runs) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; }
.js .reveal.d2 { transition-delay: .2s; }

/* Responsive */
@media (max-width: 1020px) {
  .nav a.opt { display: none; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .hero { padding: 24px 0 72px; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.flip > :first-child { order: 0; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-copy .stores, .hero-actions { justify-content: center; }
  .eyebrow { justify-content: center; }
  .scene { order: -1; width: min(82%, 380px); }
  .float-cover.a { left: -40px; width: 84px; }
  .float-cover.b { right: -36px; width: 96px; }
  .float-noor { width: 118px; left: -30px; bottom: -30px; }
  .section, .showcase { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .club { padding: 36px 24px; }
  .print { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 32px 24px; }
  .print img { width: 130px; }
  .finale-card picture { aspect-ratio: 1.5 / 1; }
  .finale-body { padding: 4px 20px 32px; }
  .toc ol { columns: 1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { gap: 12px; }
  .nav a:not(.pill-soon) { display: none; }
  .lead, .section-head p, .split .lead { font-size: 17px; }
  .trust { grid-template-columns: 1fr; }
  .cover { width: 150px; }
  .marquee { gap: 14px; }
  .step { padding: 22px; }
  .heroes-fan img { width: 100px; height: 134px; }
  .heroes-fan img:nth-child(1) { left: calc(50% - 128px); }
  .heroes-fan img:nth-child(2) { left: calc(50% - 50px); }
  .heroes-fan img:nth-child(3) { left: calc(50% + 28px); }
  .styles { flex-direction: column; }
  .float-cover.a { left: -14px; top: 8%; width: 76px; }
  .float-cover.b { right: -12px; width: 84px; }
  .float-noor { left: -12px; width: 104px; }
  .print img + div + img { display: none; }
  .reader-frame { padding: 8px; border-radius: 22px; }
  .reader-page { border-radius: 16px; }
  .reader-bar { left: 8px; right: 8px; bottom: 8px; padding: 8px 12px; font-size: 11px; border-radius: 0 0 16px 16px; }
  .reader-bar .pages { display: none; }
  .store { padding: 9px 14px 9px 12px; }
  .store span { font-size: 15px; }
  .faq summary { font-size: 16.5px; padding: 18px 54px 18px 18px; }
  .faq .answer { padding: 0 18px 20px; }
  .doc { padding-top: 36px; }
  .doc h2 { font-size: 22px; }
  .doc .toc h2 { font-size: 15px; }
  .table-wrap { border: 0; overflow: visible; }
  .doc table, .doc tbody, .doc tr, .doc td { display: block; min-width: 0; width: 100%; }
  .doc thead { display: none; }
  .doc tr { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 18px; padding: 14px 16px; margin-bottom: 10px; }
  .doc td { padding: 0; border: 0; }
  .doc td:first-child { color: var(--text); font-weight: 700; }
  .doc td + td { margin-top: 6px; color: var(--muted); font-weight: 600; }
}
@media (max-width: 380px) {
  .brand { font-size: 19px; }
  .brand img { width: 34px; height: 34px; }
  .nav .pill-soon { padding: 8px 12px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee { width: max-content; }
  .marquee [aria-hidden="true"] { display: none; }
}
.finale-body .small-print { margin: 20px auto 0; }
