/* ideely Story Time website: "Candy Pop" look shared with the store screenshots
   (tools/app_store_screenshots/slides.html). Flat bright sections, ink outlines,
   hard offset shadows, lowercase Bricolage Grotesque headlines with pill highlights. */

:root {
  --ink: #16121F;
  --pink: #FF5FA8;
  --cobalt: #2B44F0;
  --lime: #C6F135;
  --tang: #FF7A1F;
  --yellow: #FFE23D;
  --paper: #FFF9EE;
  --white: #FFFFFF;
  --muted: #4A4357;
  --gutter: 20px;
  --maxw: 1160px;
  --display: 'Bricolage Grotesque', 'Rubik', system-ui, sans-serif;
  --body: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--yellow); color: var(--ink); font: 500 17px/1.5 var(--body); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 4px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.bg-cobalt :focus-visible, .bg-ink :focus-visible { outline-color: var(--yellow); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }
.sec { position: relative; padding: 72px 0 80px; overflow: hidden; }
.sec::after { /* light film grain, same as the store slides */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .06; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
}
.bg-yellow { background: var(--yellow); }
.bg-pink { background: var(--pink); }
.bg-tang { background: var(--tang); }
.bg-lime { background: var(--lime); }
.bg-cobalt { background: var(--cobalt); color: var(--white); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-paper { background: var(--paper); }

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 919px) { .desktop-only { display: none; } }
@media (min-width: 920px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .split.rev > .copy { order: 2; }
  .sec { padding: 110px 0 120px; }
}

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 800; text-transform: lowercase; letter-spacing: -.045em;
  line-height: .92; margin: 0 0 22px; font-size: clamp(44px, 12.4vw, 78px); text-wrap: balance; }
h1.display { font-size: clamp(48px, 13.6vw, 84px); }
.pill { display: inline-block; color: var(--ink); background: var(--white); border: .075em solid var(--ink); border-radius: 999px;
  padding: 0 .2em .07em; line-height: 1; box-shadow: .1em .1em 0 var(--ink); margin: .06em 0 .14em; white-space: nowrap; }
.pill.yellow { background: var(--yellow); } .pill.lime { background: var(--lime); } .pill.pink { background: var(--pink); }
.bg-yellow .pill.yellow, .bg-lime .pill.lime, .bg-pink .pill.pink { background: var(--white); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 800 13px/1 var(--body); text-transform: uppercase; letter-spacing: .08em;
  margin: 0 0 18px; padding: 8px 14px; border: 3px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.lede { font: 700 clamp(19px, 4.8vw, 24px)/1.32 var(--body); margin: 0 0 22px; max-width: 34em; letter-spacing: -.01em; }
.body { font-size: 17px; max-width: 36em; margin: 0 0 18px; }
.bg-cobalt .body, .bg-ink .body { color: rgba(255,255,255,.9); }
.fine { font-size: 13px; line-height: 1.45; opacity: .8; max-width: 44em; }

/* ---------- stickers ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--ink); border: 3px solid var(--ink);
  border-radius: 999px; padding: 7px 15px 8px; font: 800 15px/1.1 var(--body); box-shadow: 4px 4px 0 var(--ink); letter-spacing: -.01em; }
.chip.yellow { background: var(--yellow); } .chip.lime { background: var(--lime); } .chip.pink { background: var(--pink); }
.chip.ink { background: var(--ink); color: var(--white); box-shadow: 4px 4px 0 var(--white); border-color: var(--ink); }
.chips .chip:nth-child(3n+1) { transform: rotate(-1.5deg); } .chips .chip:nth-child(3n+2) { transform: rotate(1.2deg); }
.steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { display: flex; align-items: center; gap: 12px; font: 800 18px/1.2 var(--body); counter-increment: s; }
.steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--white); font: 800 19px var(--display); box-shadow: 3px 3px 0 rgba(22,18,31,.35); }
.bg-cobalt .steps li::before, .bg-ink .steps li::before { background: var(--yellow); color: var(--ink); }
.steps li span { background: var(--white); color: var(--ink); border: 3px solid var(--ink); border-radius: 999px; padding: 7px 16px 8px; box-shadow: 4px 4px 0 var(--ink); }

.burst { position: absolute; z-index: 8; display: grid; place-items: center; width: 132px; height: 132px; pointer-events: none; }
.burst svg { position: absolute; inset: -14%; width: 128%; height: 128%; overflow: visible; }
.burst b { position: relative; font: 800 17px/1 var(--body); text-align: center; letter-spacing: -.02em; color: var(--ink); padding: 0 14px; }
.spark { position: absolute; z-index: 3; width: 34px; height: 34px; color: var(--ink); }
.bg-cobalt .spark, .bg-ink .spark { color: var(--white); }

/* ---------- buttons & store badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 999px;
  border: 3px solid var(--ink); background: var(--white); color: var(--ink); font: 800 16px/1 var(--body); text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translate(-1px,-1px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-ink { background: var(--ink); color: var(--white); }
.badges { display: flex; flex-wrap: wrap; gap: 14px; margin: 6px 0 18px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-width: 176px; height: 60px; padding: 0 20px 0 16px; border-radius: 16px;
  background: #000; color: #fff; text-decoration: none; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease; }
.bg-ink .store, .bg-cobalt .store { box-shadow: 5px 5px 0 var(--white); border-color: #000; }
.store:hover { transform: translate(-1px,-1px); }
.store:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--ink); }
.store svg { width: 28px; height: 28px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.05; }
.store small { font: 500 11px/1.1 var(--body); letter-spacing: .01em; }
.store strong { font: 700 21px/1.1 var(--body); letter-spacing: -.02em; }
.store.is-you { outline: 4px solid var(--white); outline-offset: 2px; }
.store.sm { min-width: 0; height: 50px; padding: 0 14px 0 12px; gap: 8px; border-radius: 13px; box-shadow: 4px 4px 0 var(--ink); }
.store.sm svg { width: 22px; height: 22px; }
.store.sm small { font-size: 9.5px; }
.store.sm strong { font-size: 17px; }

/* store buttons between sections */
.cta-strip { position: relative; z-index: 3; background: var(--white); border-block: 3px solid var(--ink); padding: 18px 0 20px; }
.cta-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; text-align: center; }
.cta-strip p { margin: 0; font: 800 clamp(22px, 6vw, 30px)/1 var(--display); letter-spacing: -.035em; text-transform: lowercase; }
.cta-strip p::after { content: ' \2192'; }
.cta-strip .badges { margin: 0; gap: 10px; justify-content: center; flex-wrap: nowrap; }
@media (max-width: 919px) { .cta-strip p::after { content: none; } }
.trust { display: flex; flex-wrap: wrap; gap: 8px 16px; font: 700 14px/1.3 var(--body); margin: 4px 0 0; padding: 0; list-style: none; }
.trust li::before { content: '\2713'; margin-right: 6px; font-weight: 800; }

/* ---------- phones and blown-up details ---------- */
.stage { position: relative; width: min(100%, 470px); margin: 0 auto; padding: 10px 0 30px; }
.phone { position: relative; z-index: 4; width: 64%; margin: 0 auto; background: #0c0c0f; padding: 2.6%; border-radius: 15% / 7%;
  box-shadow: inset 0 0 0 2px #3b3b42, 0 0 0 3px var(--ink), 0 18px 36px rgba(22,18,31,.16), 0 4px 10px rgba(22,18,31,.10); }
.phone.tilt-l { transform: rotate(-4deg); } .phone.tilt-r { transform: rotate(4deg); }
.phone img { width: 100%; aspect-ratio: 1170 / 2532; object-fit: cover; object-position: top; border-radius: 12.5% / 5.8%; background: #f4efe9; }
.phone.sm { width: 46%; }
.phone.back { position: absolute; z-index: 2; top: 8%; }
.zoom { position: absolute; z-index: 6; background: var(--white); border: 4px solid var(--ink); border-radius: 20px; overflow: hidden;
  box-shadow: 8px 8px 0 var(--ink); }
.zoom img { width: 100%; height: auto; }
.zoom figcaption { position: absolute; left: 10px; top: 10px; }
.zoom-tag { display: inline-flex; align-items: center; gap: 5px; background: var(--ink); color: var(--white); border-radius: 999px;
  padding: 4px 10px 5px; font: 800 11px/1 var(--body); text-transform: uppercase; letter-spacing: .06em; }
.callout { position: absolute; z-index: 7; }

/* ---------- top bar & mobile dock ---------- */
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter); background: rgba(255,226,61,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 3px solid var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 800 20px/1 var(--body); letter-spacing: -.02em;
  background: var(--white); border: 3px solid var(--ink); border-radius: 999px; padding: 5px 16px 5px 6px; box-shadow: 4px 4px 0 var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 9px; border: 2px solid var(--ink); }
.brand span { font-weight: 700; opacity: .65; }
.nav { display: none; gap: 4px; }
.nav a { text-decoration: none; font: 700 15px/1 var(--body); padding: 10px 12px; border-radius: 999px; }
.nav a:hover { background: rgba(22,18,31,.08); }
@media (min-width: 980px) { .nav { display: flex; } }
@media (max-width: 430px) { .brand span { display: none; } }

.dock { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 3px solid var(--ink); border-radius: 22px; padding: 8px 8px 8px 10px; box-shadow: 5px 5px 0 var(--ink);
  transform: translateY(150%); transition: transform .3s ease; text-decoration: none; color: var(--ink); }
.dock.show { transform: none; }
.dock img { width: 44px; height: 44px; border-radius: 11px; border: 2px solid var(--ink); }
.dock div { flex: 1; min-width: 0; line-height: 1.15; }
.dock strong { display: block; font: 800 15px var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock small { display: block; font: 600 12px var(--body); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 920px) { .dock { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 36px 0 70px; }
.hero .stage { width: min(100%, 520px); margin-top: 10px; }
.hero .phone { width: 58%; }
.hero .phone.back { left: 0; width: 44%; transform: rotate(-8deg); top: 14%; }
.hero-voice { position: absolute; z-index: 7; right: -2%; top: 52%; display: flex; align-items: center; gap: 10px; background: var(--white);
  border: 3px solid var(--ink); border-radius: 999px; padding: 6px 16px 6px 6px; box-shadow: 5px 5px 0 var(--ink); transform: rotate(3deg);
  font: 800 14px/1.15 var(--body); text-align: left; }
.hero-voice img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: #f6c8cf; }
.hero-voice small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); }
@media (min-width: 920px) {
  .hero { padding: 34px 0 100px; }
  .hero h1.display { font-size: clamp(56px, 5.6vw, 80px); margin-bottom: 18px; }
  .hero .lede { margin-bottom: 18px; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--white); border-block: 3px solid var(--ink); overflow: hidden; padding: 14px 0; }
.marquee ul { display: flex; gap: 12px; width: max-content; margin: 0; padding: 0; list-style: none; animation: slide 38s linear infinite; }
.marquee li { white-space: nowrap; font: 800 16px/1 var(--body); padding: 9px 16px; border-radius: 999px; background: var(--yellow); color: var(--ink); }
.marquee li:nth-child(4n+2) { background: var(--lime); } .marquee li:nth-child(4n+3) { background: var(--pink); } .marquee li:nth-child(4n) { background: var(--white); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- video ---------- */
.video { position: relative; z-index: 2; width: 100%; max-width: 920px; margin: 0 auto; aspect-ratio: 16 / 9; border: 4px solid var(--ink);
  border-radius: 24px; overflow: hidden; box-shadow: 10px 10px 0 var(--ink); background: #000; }
.video > button { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.video > button img { width: 100%; height: 100%; object-fit: cover; }
.video .play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--yellow);
  border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); display: grid; place-items: center; transition: transform .15s ease; }
.video > button:hover .play { transform: scale(1.06); }
.video .play svg { width: 36px; height: 36px; margin-left: 5px; }
.video .len { position: absolute; right: 14px; bottom: 14px; background: var(--ink); color: #fff; font: 800 13px var(--body); padding: 6px 10px; border-radius: 999px; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.center { text-align: center; }
.center .lede, .center .body { margin-left: auto; margin-right: auto; }

/* ---------- voices ---------- */
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: var(--white); border: 3px solid var(--ink); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink); margin: 0 0 26px; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 9px 15px; font: 800 15px/1 var(--body); color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
@media (max-width: 480px) { .seg { flex-wrap: nowrap; gap: 2px; } .seg button { padding: 9px 11px; font-size: 14px; } }
.voices { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px var(--gutter) 18px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.voices::-webkit-scrollbar { display: none; }
@media (min-width: 860px) { .voices { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; padding: 6px 0 18px; margin: 0; } }
.voice { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px 16px; border-radius: 24px;
  background: var(--white); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); text-align: center; transition: transform .15s ease; }
.voice:hover { transform: translateY(-3px); }
.voice .ring { --p: 0; position: relative; width: 96px; height: 96px; border-radius: 50%; padding: 6px;
  background: conic-gradient(var(--tang) calc(var(--p) * 1turn), rgba(22,18,31,.12) 0); }
.voice .ring img { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--ink); object-fit: cover; background: #f2e5d7; }
.voice .ring i { position: absolute; right: -4px; bottom: -4px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); border: 3px solid var(--ink); }
.voice .ring i svg { width: 14px; height: 14px; }
.voice strong { font: 800 18px/1.1 var(--display); letter-spacing: -.02em; }
.voice small { font: 700 12px/1 var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.voice.playing { background: var(--yellow); }

/* ---------- originals ---------- */
.originals { display: grid; gap: 22px; margin-top: 34px; }
@media (min-width: 760px) { .originals { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .originals { grid-template-columns: repeat(4, 1fr); gap: 18px; } .orig h3 { font-size: 24px; } }
.orig { position: relative; display: flex; flex-direction: column; background: var(--white); color: var(--ink); border: 4px solid var(--ink); border-radius: 26px;
  overflow: hidden; box-shadow: 9px 9px 0 var(--ink); }
.orig > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-bottom: 4px solid var(--ink); }
.orig .meta { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.orig h3 { margin: 0; font: 800 28px/1 var(--display); letter-spacing: -.035em; }
.orig .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font: 800 12px/1 var(--body); padding: 6px 10px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); }
.tag.free { background: var(--lime); } .tag.new { background: var(--ink); color: var(--yellow); } .tag.soon { background: var(--yellow); } .tag.premium { background: var(--pink); }
.orig p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.player { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 10px; border-radius: 18px; background: var(--paper); border: 3px solid var(--ink); }
.player button { flex: none; width: 50px; height: 50px; border-radius: 50%; border: 3px solid var(--ink); background: var(--tang); display: grid; place-items: center; box-shadow: 3px 3px 0 var(--ink); }
.player button svg { width: 18px; height: 18px; }
.player .track { flex: 1; min-width: 0; }
.player .label { display: flex; justify-content: space-between; font: 800 13px/1 var(--body); margin-bottom: 7px; }
.player .bar { height: 10px; border-radius: 999px; background: rgba(22,18,31,.12); overflow: hidden; cursor: pointer; }
.player .bar i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 999px; }
.orig.more { justify-content: center; align-items: center; text-align: center; padding: 34px 22px; background: var(--paper); border-style: dashed; min-height: 320px; }
.orig.more .big { font-size: 64px; line-height: 1; margin-bottom: 10px; }
.orig.more h3 { margin-bottom: 8px; }

/* ---------- language tabs ---------- */
.lang-stage .zoom { left: -4%; right: -4%; bottom: 0; padding-top: 34px; }

/* ---------- feature grid ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1060px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border: 3px solid var(--ink); border-radius: 22px; padding: 16px 16px 18px; box-shadow: 5px 5px 0 var(--ink); }
.card .ico { font-size: 30px; line-height: 1; margin-bottom: 10px; display: block; }
.card h3 { margin: 0 0 6px; font: 800 18px/1.1 var(--display); letter-spacing: -.02em; text-transform: lowercase; }
.card p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.grid .card:nth-child(5n+2) { background: var(--yellow); } .grid .card:nth-child(5n+4) { background: var(--lime); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 216px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px var(--gutter) 26px; margin: 26px calc(var(--gutter) * -1) 0; scrollbar-width: thin; }
@media (min-width: 900px) { .gallery { grid-auto-columns: 246px; } }
.gallery img { width: 100%; aspect-ratio: 1320 / 2868; border-radius: 22px; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); scroll-snap-align: start; background: #fff; }
.gal-nav { display: none; gap: 10px; justify-content: flex-end; }
@media (min-width: 900px) { .gal-nav { display: flex; } }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; margin-top: 28px; max-width: 820px; }
.faq details { background: var(--white); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 5px 5px 0 var(--ink); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative; font: 800 18px/1.25 var(--body); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--yellow); border: 2px solid var(--ink); font: 800 20px/1 var(--body); }
.faq details[open] summary::after { content: '\2013'; }
.faq details > div { padding: 0 20px 20px; color: var(--muted); font-size: 16px; }
.faq details > div p { margin: 0 0 10px; }

/* ---------- final CTA & footer ---------- */
.final { text-align: center; }
.final .app-icon { width: 108px; height: 108px; border-radius: 26px; border: 4px solid var(--ink); box-shadow: 7px 7px 0 var(--ink); margin: 0 auto 22px; }
.final .badges { justify-content: center; }
.footer { background: var(--ink); color: rgba(255,255,255,.82); padding: 40px var(--gutter) calc(110px + env(safe-area-inset-bottom)); font-size: 14px; }
@media (min-width: 920px) { .footer { padding-bottom: 44px; } }
.footer .wrap { padding: 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px; }
.footer nav a { color: var(--white); font-weight: 700; text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
.footer p { margin: 0 0 10px; max-width: 70em; }

/* ---------- legal pages ---------- */
.legal-page { background: var(--paper); }
.legal { max-width: 780px; margin: 0 auto; padding: 36px var(--gutter) 60px; font-size: 16.5px; line-height: 1.65; }
.legal h1 { font: 800 clamp(40px, 10vw, 64px)/.95 var(--display); letter-spacing: -.04em; margin: 0 0 22px; }
.legal h2 { font: 800 25px/1.15 var(--display); letter-spacing: -.02em; margin: 40px 0 12px; padding-top: 8px; }
.legal h3 { font: 800 19px/1.25 var(--body); margin: 26px 0 8px; }
.legal a { color: #1B2CB8; }
.legal a.btn { color: var(--ink); text-decoration: none; }
.legal a.btn-ink { color: var(--white); }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: 6px; }
.legal code { background: rgba(22,18,31,.07); padding: 1px 5px; border-radius: 5px; font-size: .92em; }
.legal .toc { background: var(--white); border: 3px solid var(--ink); border-radius: 18px; padding: 12px 18px; box-shadow: 4px 4px 0 var(--ink); margin-bottom: 28px; }
.legal .toc summary { font-weight: 800; cursor: pointer; }
.legal .toc ul { margin: 10px 0 4px; padding: 0; list-style: none; font-size: 15px; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 2px solid var(--ink); border-radius: 14px; background: var(--white); }
.legal table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14.5px; line-height: 1.45; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(22,18,31,.15); }
.legal th { background: var(--yellow); }
.legal .back { margin-top: 44px; }
.legal-page .footer { padding-bottom: 40px; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee ul { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dock { transition: none; }
}
