/* =========================================================
   Playlines — marketing site
   Palette, type and shapes mirror the iOS app.
   ========================================================= */

:root {
  --coral: #EE7656;
  --coral-deep: #E4563D;
  --navy: #0C1A3A;
  --cream: #FDF3EA;
  --lav: #C8B8F8;
  --yellow: #F8DA6A;
  --pink: #F1A4C6;
  --blue: #AEC6F8;
  --green: #B9CE90;

  --ink: var(--navy);
  --ink-soft: rgba(12, 26, 58, .72);
  --radius: 28px;
  --shadow: 0 18px 40px -18px rgba(12, 26, 58, .45);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --font: "DM Sans", ui-rounded, system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
b, strong { font-weight: 800; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; position: relative; }
.ico { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--xl { width: 1.9em; height: 1.9em; }

/* Shapes: every <use href="#s-*"> is filled from --c */
svg:has(> use[href^="#s-"]) { fill: var(--c, var(--navy)); overflow: visible; }

/* ---------- Headlines: bold line + italic line, like the app ---------- */
.headline {
  margin: 0 0 .5em;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1;
  letter-spacing: -.035em;
}
.headline b, .headline em { display: block; }
.headline b { font-weight: 800; }
.headline em { font-weight: 400; font-style: italic; letter-spacing: -.03em; }
.headline--xl { font-size: clamp(46px, 5.8vw, 88px); }
.headline--sm { font-size: clamp(30px, 3vw, 40px); margin: 0; }
.headline--center { text-align: center; }
.headline--light { color: var(--cream); }

.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section__sub { margin: -.4em 0 1.8em; color: var(--ink-soft); max-width: 36em; }

.hl {
  font-weight: 700;
  background: linear-gradient(transparent 58%, var(--yellow) 58% 90%, transparent 90%);
  padding: 0 .1em;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 64px;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  height: var(--h); padding: 0 8px 0 28px;
  border-radius: 999px; border: 0;
  font-weight: 800; font-size: 19px; text-decoration: none; letter-spacing: -.01em;
  transition: transform .25s var(--bounce), box-shadow .25s;
}
.btn span { display: inline-flex; align-items: center; gap: 10px; }
.btn--navy { background: var(--navy); color: var(--cream); box-shadow: var(--shadow); }
.btn--sm { --h: 46px; padding: 0 20px; font-size: 16px; gap: 8px; justify-content: center; }
.btn--wide { width: 100%; }
.btn:hover { transform: translateY(-2px) rotate(-1deg) scale(1.02); }
.btn:active { transform: scale(.97); }

.dot-arrow {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid !important; place-items: center;
  background: var(--coral); color: var(--navy);
  transition: transform .3s var(--bounce);
}
.dot-arrow .ico { width: 22px; height: 22px; stroke-width: 2.4; }
.btn--sm .dot-arrow { display: none !important; }
a:hover > .dot-arrow, button:hover > .dot-arrow, a:hover .dot-arrow { transform: translateX(3px) rotate(-8deg); }

.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 68px; padding: 0 30px 0 22px;
  background: var(--navy); color: var(--cream);
  border-radius: 20px; text-decoration: none;
  box-shadow: 0 6px 0 rgba(12, 26, 58, .35);
  transition: transform .25s var(--bounce), box-shadow .25s;
}
.store-btn span { display: flex; flex-direction: column; line-height: 1; font-size: 25px; font-weight: 800; letter-spacing: -.02em; }
.store-btn small { font-size: 13px; font-weight: 500; letter-spacing: 0; margin-bottom: 4px; opacity: .85; }
.store-btn:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 9px 0 rgba(12, 26, 58, .35); }
.store-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(12, 26, 58, .35); }
.store-btn--big { height: 84px; padding: 0 40px 0 28px; border-radius: 26px; }
.store-btn--big span { font-size: 32px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--cream); color: var(--navy);
  font-size: 15px; font-weight: 600;
}
.chip--tilt { transform: rotate(-3deg); box-shadow: 0 4px 0 rgba(12, 26, 58, .15); margin-bottom: 26px; }
.chip .ico { color: var(--coral-deep); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.is-scrolled {
  background: rgba(253, 243, 234, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(12, 26, 58, .08);
  padding-block: 10px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 24px; letter-spacing: -.03em; }
.nav__brand img { transition: transform .4s var(--bounce); }
.nav__brand:hover img { transform: rotate(-12deg) scale(1.1); }
.nav__brand--light { color: var(--cream); }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 16px; padding: 8px 14px; border-radius: 999px; transition: background .2s; }
.nav__links a:hover { background: rgba(12, 26, 58, .08); }

/* ---------- Hero ---------- */
.hero {
  background: var(--coral);
  padding: 130px 0 170px;
  position: relative; overflow: hidden;
  min-height: 100svh;
}
.hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.hero__sub { font-size: clamp(18px, 1.6vw, 21px); max-width: 30em; margin: 0 0 30px; color: rgba(12, 26, 58, .85); }

.paste {
  display: flex; align-items: center; gap: 12px;
  background: var(--cream); border-radius: 999px;
  padding: 8px 8px 8px 26px; max-width: 560px;
  box-shadow: 0 8px 0 rgba(12, 26, 58, .12);
  transition: transform .3s var(--bounce), box-shadow .3s;
}
.paste:focus-within { transform: scale(1.02) rotate(-.5deg); box-shadow: 0 10px 0 rgba(12, 26, 58, .2); }
.paste__icon { width: 26px; height: 26px; stroke-width: 2.4; }
.paste input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: 500 19px var(--font); color: var(--navy); padding: 14px 0;
}
.paste input::placeholder { color: rgba(12, 26, 58, .45); }
.paste__go {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--navy); color: var(--cream); border: 0; border-radius: 999px;
  padding: 6px 6px 6px 22px; font-weight: 800; font-size: 17px;
  transition: transform .25s var(--bounce);
}
.paste__go .dot-arrow { width: 44px; height: 44px; }
.paste__go:hover { transform: rotate(-2deg) scale(1.04); }
.paste.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px) rotate(-1deg); } 40%, 80% { transform: translateX(8px) rotate(1deg); } }

.hero__ctas { display: flex; align-items: center; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.qr { display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.35; }
.qr p { margin: 0; }
.qr__box {
  width: 76px; height: 76px; border-radius: 16px;
  background: var(--cream); border: 2.5px dashed var(--navy);
  display: grid; place-items: center; text-align: center;
  font-size: 11px; font-weight: 800; line-height: 1.1; text-transform: uppercase; letter-spacing: .06em;
  transform: rotate(4deg);
}

/* Phone */
.hero__stage { position: relative; height: 660px; display: grid; place-items: center; }
.phone {
  position: relative; width: 310px; height: 640px;
  border-radius: 52px; background: var(--navy); padding: 12px;
  box-shadow: 0 40px 70px -30px rgba(12, 26, 58, .7), inset 0 0 0 2px rgba(255, 255, 255, .08);
  transform: rotate(4deg);
  z-index: 2;
}
.phone__notch { position: absolute; top: 22px; left: 50%; translate: -50% 0; width: 96px; height: 28px; border-radius: 20px; background: var(--navy); z-index: 5; }
.screen {
  position: absolute; inset: 12px; border-radius: 41px; overflow: hidden;
  padding: 64px 20px 20px;
  opacity: 0; transform: translateX(30px) scale(.98);
  transition: opacity .5s, transform .6s var(--bounce);
}
.screen.is-active { opacity: 1; transform: none; }
.screen.is-leaving { opacity: 0; transform: translateX(-30px) scale(.98); }
.screen--paste { background: var(--coral); }
.screen--pick { background: var(--cream); }
.screen--cards { background: var(--pink); }

.scr-top { display: flex; justify-content: space-between; align-items: center; font-size: 17px; letter-spacing: -.03em; margin-top: -26px; margin-bottom: 26px; }
.scr-avatar { width: 34px; height: 32px; --c: var(--blue); }
.scr-h { margin: 0 0 18px; font-size: 27px; line-height: 1.05; letter-spacing: -.04em; }
.scr-h b, .scr-h em { display: block; }
.scr-h em { font-weight: 400; }
.scr-input { display: flex; align-items: center; gap: 6px; background: var(--cream); border-radius: 99px; padding: 11px 14px; font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; }
.scr-input .ico { width: 15px; height: 15px; }
.caret { width: 1.5px; height: 14px; background: var(--navy); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* Like the app: twice the screen width (286px), centred 20% in from the bottom-right corner */
.scr-spinner { position: absolute; width: 572px; height: 545px; left: -57px; top: 287px; }
.scr-spinner svg { width: 100%; height: 100%; --c: var(--navy); animation: spin 40s linear infinite; }
.scr-pill {
  position: absolute; left: 14px; right: 14px; bottom: 16px; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(253, 243, 234, .75); backdrop-filter: blur(6px);
  border-radius: 99px; padding: 5px 5px 5px 18px; font-weight: 800; font-size: 14px;
}
.scr-pill .dot-arrow { width: 36px; height: 36px; }
.scr-pill .dot-arrow .ico { width: 16px; height: 16px; }

.scr-stickers { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 6px; }
.ss { position: relative; aspect-ratio: 1; display: grid; place-items: center; text-align: center; font-size: 13px; line-height: 1.05; letter-spacing: -.02em; padding: 16px; }
.ss svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ss b { position: relative; }
.ss--arch { --c: var(--coral); transform: rotate(-5deg); }
.ss--flower { --c: var(--lav); transform: rotate(-8deg); }
.ss--square { --c: var(--yellow); transform: rotate(12deg); }
.ss--circle { --c: var(--blue); }
.ss--burst { --c: var(--pink); transform: rotate(6deg); }
.ss--scallop { --c: var(--green); transform: rotate(-6deg); }
.screen--pick.is-active .ss { animation: pop .5s var(--bounce) backwards; }
.screen--pick.is-active .ss:nth-child(2) { animation-delay: .06s; }
.screen--pick.is-active .ss:nth-child(3) { animation-delay: .12s; }
.screen--pick.is-active .ss:nth-child(4) { animation-delay: .18s; }
.screen--pick.is-active .ss:nth-child(5) { animation-delay: .24s; }
.screen--pick.is-active .ss:nth-child(6) { animation-delay: .3s; }
@keyframes pop { from { transform: scale(.3) rotate(-20deg); opacity: 0; } }
.tap { position: absolute; width: 38px; height: 38px; border-radius: 50%; background: rgba(12, 26, 58, .25); border: 2px solid rgba(12, 26, 58, .5); left: 170px; top: 170px; opacity: 0; }
.screen--pick.is-active .tap { animation: tap 1.2s 1.3s ease-out; }
@keyframes tap { 0% { opacity: 0; transform: scale(1.6); } 30% { opacity: 1; transform: scale(1); } 60% { transform: scale(.8); } 100% { opacity: 0; transform: scale(1.4); } }

.scr-video { display: flex; gap: 6px; align-items: center; font-size: 11.5px; font-weight: 700; margin: -8px 0 12px; }
.scr-video .ico { width: 10px; height: 10px; }
.scr-progress { height: 9px; border: 1.5px solid var(--navy); border-radius: 9px; background: var(--cream); margin-bottom: 16px; overflow: hidden; }
.scr-progress i { display: block; height: 100%; width: 0; background: var(--coral); transition: width 1s .8s; }
.screen--cards.is-active .scr-progress i { width: 35%; }
.scr-card { perspective: 900px; height: 230px; transform: rotate(-2deg); }
.scr-card__inner { position: relative; height: 100%; transform-style: preserve-3d; transition: transform .7s var(--bounce); }
.screen--cards.is-flipped .scr-card__inner { transform: rotateY(180deg); }
.scr-card__face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--cream); border: 1.5px solid var(--navy); border-radius: 20px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 18px;
}
.scr-card__face small { position: absolute; top: 12px; left: 16px; font-style: italic; font-size: 11px; }
.scr-card__face b { font-size: 18px; line-height: 1.2; letter-spacing: -.02em; }
.scr-card__face span { position: absolute; bottom: 12px; font-size: 10.5px; opacity: .6; }
.scr-card__face--back { background: var(--yellow); transform: rotateY(180deg); }
.scr-btns { display: flex; gap: 8px; margin-top: 16px; }
.scr-btns span { flex: 1; text-align: center; padding: 9px; border-radius: 99px; border: 1.5px solid var(--navy); font-weight: 800; font-size: 13px; }
.scr-btns .on { background: var(--navy); color: var(--cream); }

/* Floating stickers around the phone */
.float-sticker {
  position: absolute; width: 130px; height: 130px;
  display: grid; place-items: center; text-align: center;
  font-weight: 800; font-size: 17px; line-height: 1.05; letter-spacing: -.02em;
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  z-index: 3;
  animation: bob 5s ease-in-out infinite;
  filter: drop-shadow(0 10px 12px rgba(12, 26, 58, .18));
}
.float-sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .35s var(--bounce); }
.float-sticker span { position: relative; pointer-events: none; }
.float-sticker:hover svg { transform: scale(1.1) rotate(10deg); }
.float-sticker.is-dragging { cursor: grabbing; animation: none; z-index: 10; filter: drop-shadow(0 22px 20px rgba(12, 26, 58, .3)); }
.float-sticker.is-dragging svg { transform: scale(1.14) rotate(-6deg); }
.fs-1 { top: 20px; left: -10px; rotate: -10deg; }
.fs-2 { top: 60px; right: -30px; width: 150px; height: 150px; rotate: 8deg; animation-delay: -1s; }
.fs-3 { bottom: 150px; left: -40px; rotate: 10deg; animation-delay: -2s; width: 115px; height: 115px; }
.fs-4 { bottom: 70px; right: -10px; animation-delay: -3s; width: 120px; height: 120px; }
.fs-5 { top: 290px; right: -60px; rotate: -6deg; animation-delay: -4s; width: 120px; height: 120px; font-size: 15px; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.drag-hint { position: absolute; bottom: 10px; left: 0; margin: 0; font-style: italic; font-size: 15px; transform: rotate(-4deg); opacity: .8; }

/* ---------- Marquee ---------- */
.marquee-zone { position: relative; height: 220px; margin-top: -70px; z-index: 4; overflow: hidden; pointer-events: none; }
.marquee { position: absolute; left: -5%; right: -5%; padding: 18px 0; overflow: hidden; }
.marquee--navy { top: 40px; background: var(--navy); color: var(--cream); transform: rotate(-3deg); z-index: 2; }
.marquee--yellow { top: 105px; background: var(--yellow); transform: rotate(2deg); }
.marquee__track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 50s linear infinite; font-size: 30px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.marquee__track--rev { animation-direction: reverse; animation-duration: 60s; }
.marquee__track em { font-weight: 400; }
.marquee__track svg { width: 30px; height: 30px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Story ---------- */
.story { padding-top: 70px; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.note {
  background: #fff; border-radius: 26px; padding: 30px 34px;
  transform: rotate(-1.5deg); box-shadow: 0 4px 0 rgba(12, 26, 58, .08), var(--shadow);
  font-size: 19px; position: relative;
}
.note::before { content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 30px; translate: -50% 0; rotate: 3deg; background: rgba(248, 218, 106, .85); border-radius: 4px; }
.note p { margin: 0 0 .8em; }
.note__sig { font-style: italic; color: var(--ink-soft); }

.timeback {
  background: var(--lav); border-radius: 40px; padding: 34px;
  transform: rotate(1.5deg); box-shadow: var(--shadow);
}
.thumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: 20px; background: var(--navy); overflow: hidden;
  border: 3px solid var(--navy);
}
.thumb__shapes svg { position: absolute; width: 45%; height: auto; aspect-ratio: 1; }
.thumb__shapes svg:first-child { left: -8%; top: -18%; }
.thumb__shapes svg:last-child { right: -6%; bottom: -30%; rotate: 16deg; }
.thumb__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; }
.thumb__play .ico { width: 24px; height: 24px; margin-left: 3px; }
.thumb__len { position: absolute; right: 12px; bottom: 16px; background: rgba(0, 0, 0, .75); color: #fff; font-size: 14px; font-weight: 700; padding: 2px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.thumb__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, .3); }
.thumb__bar i { display: block; width: 3%; height: 100%; background: #ff3b30; }
.thumb__title { margin: 10px 0 20px; font-weight: 700; font-size: 16px; }
.timeback__label { font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 14px; border-radius: 99px; background: var(--cream); border: 2px solid var(--navy); margin: 14px 0 22px; outline-offset: 6px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 38px; height: 38px; border-radius: 50%; background: var(--coral); border: 3px solid var(--navy); cursor: grab; transition: transform .2s var(--bounce); }
input[type=range]::-moz-range-thumb { width: 34px; height: 34px; border-radius: 50%; background: var(--coral); border: 3px solid var(--navy); cursor: grab; }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.2) rotate(20deg); }
.timeback__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tb-stat { background: var(--cream); border-radius: 20px; padding: 14px 18px; }
.tb-stat small { display: block; font-size: 14px; color: var(--ink-soft); }
.tb-stat b { font-size: 30px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tb-stat--watch b { text-decoration: line-through; text-decoration-color: var(--coral-deep); text-decoration-thickness: 3px; }
.timeback__win { position: relative; width: 200px; height: 200px; margin: -10px auto -8px; display: grid; place-items: center; text-align: center; }
.timeback__win svg { position: absolute; inset: 0; width: 100%; height: 100%; --c: var(--yellow); animation: spin 30s linear infinite; }
.timeback__win p { position: relative; margin: 0; font-size: 15px; line-height: 1.1; }
.timeback__win b { font-size: 32px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.timeback__win.bump p { animation: bump .4s var(--bounce); }
@keyframes bump { 50% { transform: scale(1.15) rotate(-4deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
.fineprint { font-size: 13px; font-style: italic; color: var(--ink-soft); margin: 4px 0 0; text-align: center; }

/* ---------- How ---------- */
.how { background: var(--yellow); border-radius: 60px 60px 0 0; overflow: hidden; }
.how__squiggle { position: absolute; left: 5%; right: 5%; top: 230px; width: 90%; height: 200px; fill: none; stroke: var(--navy); stroke-width: 3; stroke-dasharray: 10 12; opacity: .35; }
.steps { list-style: none; margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.step { text-align: center; }
.step__shape { position: relative; width: 190px; height: 190px; margin: 0 auto 20px; display: grid; place-items: center; transform: rotate(var(--r)); transition: transform .5s var(--bounce); }
.step__shape svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 12px 0 rgba(12, 26, 58, .12)); }
.step:hover .step__shape { transform: rotate(calc(var(--r) * -3)) scale(1.08); }
.step__num { position: relative; font-size: 88px; font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.step h3 { font-size: 30px; margin: 0 0 8px; letter-spacing: -.03em; }
.step p { margin: 0 auto; max-width: 18em; color: var(--ink-soft); }

/* ---------- Demo ---------- */
.demo { background: var(--cream); }
.demo__video {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: #fff; border-radius: 22px; padding: 12px 20px 12px 12px;
  width: fit-content; max-width: 100%; margin-bottom: 36px;
  box-shadow: 0 4px 0 rgba(12, 26, 58, .08);
  transform: rotate(-1deg);
}
.demo__video b { display: block; font-size: 17px; letter-spacing: -.01em; }
.demo__video small { color: var(--ink-soft); font-size: 14px; }
.demo__vthumb { width: 70px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--coral); display: grid; place-items: center; flex: none; }
.demo__yourlink { font-size: 13px; background: var(--yellow); padding: 4px 12px; border-radius: 99px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo__grid { display: grid; grid-template-columns: 420px 1fr; gap: 40px; align-items: start; }

.demo__cats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; position: sticky; top: 90px; }
.cat {
  position: relative; aspect-ratio: 1; border: 0; background: none; padding: 26px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  line-height: 1.05; transform: rotate(var(--r, 0deg)); transition: transform .45s var(--bounce);
  color: var(--navy);
}
.cat > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; transition: filter .3s; }
.cat .ico { position: relative; width: 30px; height: 30px; margin-bottom: 6px; stroke-width: 1.8; }
.cat b { position: relative; font-size: 24px; letter-spacing: -.03em; }
.cat small { position: relative; font-style: italic; font-size: 15px; margin-top: 4px; }
.cat:hover { transform: rotate(calc(var(--r, 0deg) * -1)) scale(1.06); }
.cat[aria-selected="true"] { transform: rotate(0deg) scale(1.08); z-index: 2; }
.cat[aria-selected="true"] > svg:first-child { filter: drop-shadow(0 0 0 var(--navy)) drop-shadow(4px 6px 0 var(--navy)); }
.cat--dark { color: var(--cream); }
.cat--wide { grid-column: 1 / -1; width: 55%; justify-self: center; margin-top: -20px; }

.demo__panel {
  --panel: var(--lav);
  background: var(--panel); border-radius: 40px; padding: 30px;
  transition: background .5s; box-shadow: var(--shadow);
  min-height: 640px; display: flex; flex-direction: column;
}
.demo__panel.is-dark { color: var(--cream); }
.panel__head { margin-bottom: 20px; }
.panel__formats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.fmt {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 12px; border-radius: 999px; border: 0;
  background: rgba(253, 243, 234, .7); color: var(--navy);
  font-weight: 700; font-size: 15px;
  transition: transform .3s var(--bounce), background .2s;
}
.fmt .ico { width: 18px; height: 18px; color: var(--coral-deep); }
.fmt:hover { transform: translateY(-2px) rotate(-2deg); background: var(--cream); }
.fmt[aria-selected="true"] { background: var(--navy); color: var(--cream); }
.fmt[aria-selected="true"] .ico { color: var(--coral); }
.fmt--in { animation: pop .45s var(--bounce) backwards; }

.panel__out {
  flex: 1; background: var(--cream); color: var(--navy); border-radius: 28px; padding: 26px;
  position: relative; overflow: hidden;
}
.panel__out.swap { animation: swapIn .45s var(--bounce); }
@keyframes swapIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.panel__foot { margin-top: 20px; }
.panel__foot .btn { font-size: 18px; }

.out-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; }
.out-title b { font-size: 26px; letter-spacing: -.03em; }
.out-title em { color: var(--ink-soft); font-size: 15px; }
.out ul, .out ol { margin: 0; padding-left: 1.2em; }
.out li { margin-bottom: .55em; }
.out li::marker { color: var(--coral-deep); font-weight: 800; }
.out p { margin: 0 0 .8em; }
.out h4 { margin: 1em 0 .4em; font-size: 17px; letter-spacing: -.01em; }
.out h4:first-child { margin-top: 0; }
.term { background: var(--yellow); padding: 0 .25em; border-radius: 4px; font-weight: 700; }

/* quiz */
.quiz__q { font-size: 21px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; line-height: 1.2; }
.quiz__meta { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--ink-soft); margin-bottom: 10px; }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opt {
  text-align: left; padding: 14px 18px; border-radius: 18px; border: 2px solid var(--navy);
  background: #fff; font-weight: 600; font-size: 16px;
  transition: transform .25s var(--bounce), background .2s;
}
.quiz__opt:hover:not(:disabled) { transform: translateX(4px) rotate(-.5deg); }
.quiz__opt.right { background: var(--green); }
.quiz__opt.wrong { background: var(--pink); animation: shake .4s; }
.quiz__opt:disabled { cursor: default; }
.quiz__next { margin-top: 16px; }
.quiz__done { text-align: center; padding: 20px 0; }
.quiz__done b { font-size: 60px; letter-spacing: -.04em; display: block; line-height: 1; }

/* flashcards */
.fc__top { display: flex; justify-content: space-between; font-weight: 800; margin-bottom: 8px; }
.fc__bar { height: 12px; border: 2px solid var(--navy); border-radius: 99px; background: #fff; overflow: hidden; margin-bottom: 18px; }
.fc__bar i { display: block; height: 100%; background: var(--coral); width: 0; transition: width .5s var(--bounce); }
.fc__card { perspective: 1200px; height: 230px; cursor: pointer; transform: rotate(-1.5deg); border: 0; background: none; padding: 0; width: 100%; }
.fc__inner { position: relative; height: 100%; transition: transform .7s var(--bounce); transform-style: preserve-3d; }
.fc__card.flipped .fc__inner { transform: rotateY(180deg); }
.fc__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 2px solid var(--navy); border-radius: 26px; background: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 24px 30px; text-align: center; }
.fc__face small { position: absolute; top: 16px; left: 22px; font-style: italic; font-size: 15px; }
.fc__face b { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.fc__face span { position: absolute; bottom: 14px; font-size: 13px; opacity: .55; }
.fc__back { background: var(--yellow); transform: rotateY(180deg); }
.fc__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.pill-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; border-radius: 99px; border: 2px solid var(--navy); background: transparent; font-weight: 800; font-size: 16px; transition: transform .25s var(--bounce); }
.pill-btn:hover { transform: scale(1.04) rotate(-1deg); }
.pill-btn--fill { background: var(--navy); color: var(--cream); }
.pill-btn .ico { width: 18px; height: 18px; }

/* checklist */
.check { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1.5px dashed rgba(12, 26, 58, .15); cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--navy); display: grid; place-items: center; transition: background .2s, transform .3s var(--bounce); background: #fff; }
.check__box .ico { width: 16px; height: 16px; stroke-width: 3; opacity: 0; transform: scale(.3); transition: .3s var(--bounce); }
.check input:checked + .check__box { background: var(--green); transform: rotate(-8deg); }
.check input:checked + .check__box .ico { opacity: 1; transform: none; }
.check input:checked ~ span { text-decoration: line-through; opacity: .55; }
.check input:focus-visible + .check__box { outline: 3px solid var(--coral); outline-offset: 2px; }
.check small { display: block; color: var(--ink-soft); font-size: 14px; }
.check__count { font-weight: 800; font-size: 14px; background: var(--yellow); padding: 3px 10px; border-radius: 99px; }

/* example-result badge, TL;DR, callouts */
.out-badge { align-self: center; background: var(--navy); color: var(--cream); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 99px; }
.tldr { background: #fff; border: 2px solid var(--navy); border-radius: 18px; padding: 12px 16px; }
.tldr b, .callout b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--coral-deep); }
.callout { background: var(--yellow); border-radius: 16px; padding: 10px 14px; }
.callout b { color: var(--navy); }

/* cheat sheet tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.tile { background: #fff; border: 2px solid var(--navy); border-radius: 16px; padding: 10px 12px; }
.tile:nth-child(4n+1) { background: var(--lav); }
.tile:nth-child(4n+3) { background: var(--green); }
.tile small { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.tile b { font-size: 15px; line-height: 1.25; }

/* podcast dialogue */
.chat { display: grid; gap: 10px; }
.chat__turn { display: flex; gap: 10px; align-items: flex-end; max-width: 88%; }
.chat__turn--1 { flex-direction: row-reverse; margin-left: auto; }
.chat__who { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--navy); display: grid; place-items: center; font-weight: 900; background: var(--lav); }
.chat__turn--1 .chat__who { background: var(--pink); }
.chat__turn p { margin: 0; background: #fff; border: 2px solid var(--navy); border-radius: 18px 18px 18px 4px; padding: 8px 14px; font-size: 15px; }
.chat__turn--1 p { border-radius: 18px 18px 4px 18px; background: var(--yellow); }
.chat__turn small { display: block; font-weight: 800; font-size: 12px; color: var(--coral-deep); }

/* FAQ */
.faq-out { display: grid; gap: 10px; }
.faq-out__item { background: #fff; border: 2px solid var(--navy); border-radius: 18px; padding: 12px 16px; }
.faq-out__item b { display: block; font-size: 16px; margin-bottom: 4px; }
.faq-out__item p { margin: 0; font-size: 15px; }

/* mind map */
.mindmap { width: 100%; height: auto; }
.mindmap text { font: 700 13px var(--font); fill: var(--navy); }
.mindmap .center text { font-size: 15px; fill: var(--cream); }

/* timeline */
.tl { list-style: none; padding: 0 0 0 26px !important; margin: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--navy); }
.tl li { position: relative; margin-bottom: 14px; }
.tl li::before { content: ""; position: absolute; left: -25px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--c, var(--coral)); border: 2.5px solid var(--navy); }
.tl b { display: block; font-size: 14px; color: var(--coral-deep); }

/* ---------- Who ---------- */
.who { background: var(--coral); border-radius: 60px 60px 0 0; margin-top: -40px; }
.who__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.persona {
  background: var(--cream); border-radius: 34px; padding: 26px 24px 24px;
  transform: rotate(var(--r)); transition: transform .45s var(--bounce);
  box-shadow: 0 8px 0 rgba(12, 26, 58, .15);
}
.persona:hover { transform: rotate(calc(var(--r) * -1)) translateY(-8px); }
.persona__shape { position: relative; width: 96px; height: 96px; display: grid; place-items: center; margin: -60px 0 10px; }
.persona__shape svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
.persona__shape .ico { position: relative; width: 34px; height: 34px; stroke-width: 1.8; }
.persona:hover .persona__shape svg:first-child { animation: spin 3s linear infinite; }
.persona h3 { font-size: 28px; letter-spacing: -.03em; margin: 0 0 6px; }
.persona p { margin: 0 0 16px; font-size: 16px; color: var(--ink-soft); }
.persona__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-chip { border: 0; background: var(--c); padding: 6px 12px; border-radius: 99px; font-weight: 700; font-size: 13px; transition: transform .25s var(--bounce); }
.mini-chip:hover { transform: scale(1.08) rotate(-3deg); }

/* ---------- VS ---------- */
.vs { background: var(--navy); color: var(--cream); overflow: hidden; }
.vs__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; margin-top: 50px; }
.vs__label { display: inline-block; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; padding: 6px 14px; border-radius: 99px; background: rgba(253, 243, 234, .12); margin-bottom: 18px; }
.vs__label--pop { background: var(--coral); color: var(--navy); transform: rotate(-3deg); }
.boring-card { background: #e9e9ec; color: #6b6f7a; border-radius: 10px; font: 14px/1.6 ui-monospace, Menlo, monospace; overflow: hidden; filter: grayscale(1); }
.boring-card__bar { display: flex; gap: 6px; align-items: center; background: #d4d4d8; padding: 8px 12px; }
.boring-card__bar i { width: 10px; height: 10px; border-radius: 50%; background: #a1a1aa; }
.boring-card__bar span { margin-left: 8px; font-size: 12px; }
.boring-card p { padding: 16px 18px; margin: 0; }
.vs__meh { font-style: italic; opacity: .5; margin: 12px 0 0; animation: bob 3s ease-in-out infinite; }
.confetti-pile { position: relative; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pile-chip {
  border: 0; padding: 9px 16px; border-radius: 99px; font-weight: 800; font-size: 15px;
  background: var(--c); color: var(--navy);
  transform: rotate(var(--r)) translate(var(--x), var(--y)) scale(.2); opacity: 0;
  transition: transform .8s var(--bounce), opacity .4s;
  transition-delay: var(--d);
}
.pile-chip.is-dark { color: var(--cream); border: 2px solid rgba(253, 243, 234, .5); }
.vs__fun.is-in .pile-chip { transform: rotate(var(--r)); opacity: 1; }
.vs__fun.is-in .pile-chip:hover { transform: rotate(0) scale(1.12); transition-delay: 0s; transition-duration: .3s; }
.vs__hint { text-align: center; font-style: italic; opacity: .6; font-size: 15px; margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.qa { background: #fff; border-radius: 26px; margin-bottom: 12px; box-shadow: 0 4px 0 rgba(12, 26, 58, .08); transition: background .3s, transform .3s var(--bounce); }
.qa:nth-child(odd) { transform: rotate(-.4deg); }
.qa:nth-child(even) { transform: rotate(.4deg); }
.qa[open] { background: var(--lav); transform: rotate(0); }
.qa:nth-child(2)[open] { background: var(--yellow); }
.qa:nth-child(3)[open] { background: var(--blue); }
.qa:nth-child(4)[open] { background: var(--pink); }
.qa:nth-child(5)[open] { background: var(--green); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa__plus { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; transition: transform .4s var(--bounce); }
.qa[open] .qa__plus { transform: rotate(135deg); background: var(--navy); color: var(--cream); }
.qa p { margin: 0; padding: 0 24px 22px; color: var(--ink-soft); }

/* ---------- Final CTA ---------- */
.final { background: var(--coral); padding: 140px 0 330px; position: relative; overflow: hidden; text-align: center; }
.final__sub { font-size: 21px; margin: -10px 0 34px; }
.final__ctas { display: flex; justify-content: center; }
.fst { position: absolute; width: 120px; height: 120px; animation: bob 6s ease-in-out infinite; }
.fst-1 { left: 6%; top: 18%; }
.fst-2 { right: 8%; top: 12%; rotate: 14deg; animation-delay: -2s; }
.fst-3 { left: 12%; bottom: 20%; width: 150px; height: 150px; animation-delay: -1s; }
.fst-4 { right: 12%; bottom: 26%; animation-delay: -3s; }
.fst-5 { left: 30%; top: 6%; width: 60px; height: 60px; animation-delay: -4s; }
.bubble {
  position: absolute; top: -70px; right: 6%;
  background: var(--cream); padding: 10px 18px; border-radius: 22px; font-weight: 700; font-size: 16px; white-space: nowrap;
  transform: rotate(4deg); box-shadow: 0 4px 0 rgba(12, 26, 58, .15);
}
.bubble::after { content: ""; position: absolute; bottom: -9px; left: 30px; width: 20px; height: 20px; background: inherit; transform: rotate(45deg); border-radius: 3px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--cream); padding: 40px 0 50px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { text-decoration: none; opacity: .8; font-size: 16px; }
.footer__links a:hover { opacity: 1; text-decoration: underline; }
.footer__copy { width: 100%; margin: 10px 0 0; opacity: .6; font-size: 14px; }

/* ---------- Legal pages (privacy.html, terms.html, copyright.html) ---------- */
.legal { padding: 130px 0 90px; }
.legal__inner { width: min(720px, 100% - 32px); margin-inline: auto; }
.legal .headline { font-size: clamp(40px, 6vw, 60px); }
.legal__updated { display: inline-block; background: var(--yellow); font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 99px; margin: 0 0 28px; }
.legal__card { background: #fff; border: 2px solid var(--navy); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); font-size: 17px; line-height: 1.65; }
.legal__card p { margin: 0 0 16px; }
.legal__card ul { margin: 0 0 18px; padding-left: 1.2em; }
.legal__card li { margin-bottom: 8px; }
.legal__card li::marker { color: var(--coral-deep); }
.legal__card a { color: var(--coral-deep); font-weight: 700; overflow-wrap: anywhere; }
.legal__card > :last-child { margin-bottom: 0; }

/* ---------- The app's spinning star (replaces the old mascot) ---------- */
.spinner { position: absolute; width: var(--s); aspect-ratio: 600 / 572; pointer-events: none; }
.spinner svg { width: 100%; height: 100%; --c: var(--navy); }
.spinner use { pointer-events: auto; cursor: grab; touch-action: pan-y; }
.spinner.is-dragging use { cursor: grabbing; }
.spinner--hero { --s: clamp(560px, 62vw, 980px); right: calc(var(--s) * -.5 + 9%); bottom: calc(var(--s) * -.48 + 70px); }
.hero__grid { z-index: 1; }
.spinner--faq { --s: 240px; position: relative; margin-top: 30px; }
.spinner-zone { position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: min(620px, 92vw); height: 250px; }
.spinner--final { --s: 100%; left: 0; top: 0; }
.spinner-zone .bubble { z-index: 1; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 30px 16px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, transparent, rgba(12, 26, 58, .35));
  transform: translateY(110%); transition: transform .5s var(--bounce);
  display: none;
}
.sticky-cta .btn { --h: 60px; font-size: 17px; }
.sticky-cta.is-on { transform: none; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--coral); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; animation: fadeIn .3s; }
.loader[hidden] { display: none; }
.loader__shapes { display: flex; gap: 10px; margin-bottom: 40px; }
.loader__shapes svg { width: 110px; height: 110px; animation: hop .9s var(--bounce) infinite alternate; }
.loader__shapes svg:nth-child(2) { animation-delay: .15s; width: 130px; height: 130px; }
.loader__shapes svg:nth-child(3) { animation-delay: .3s; }
@keyframes hop { from { transform: translateY(10px) rotate(-10deg); } to { transform: translateY(-20px) rotate(12deg); } }
.loader__title { font-size: 30px; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.loader__sub { font-style: italic; opacity: .75; margin: 6px 0 30px; }
.loader__bar { width: min(320px, 80%); height: 6px; background: rgba(253, 243, 234, .4); border-radius: 6px; overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--cream); animation: fill 1.9s ease-in-out forwards; }
@keyframes fill { to { width: 100%; } }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: 20px; z-index: 120;
  translate: -50% -200%; visibility: hidden; background: var(--navy); color: var(--cream);
  padding: 12px 22px; border-radius: 99px; font-weight: 700; font-size: 16px; max-width: calc(100% - 32px); text-align: center;
  transition: translate .45s var(--bounce), visibility 0s .45s;
  box-shadow: var(--shadow);
}
.toast.is-on { translate: -50% 0; visibility: visible; transition: translate .45s var(--bounce); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .8s var(--bounce); }
.reveal.is-in { opacity: 1; transform: none; }
.chip--tilt.reveal.is-in { transform: rotate(-3deg); }
.note.reveal.is-in { transform: rotate(-1.5deg); }
.timeback.reveal.is-in { transform: rotate(1.5deg); }
.demo__video.reveal.is-in { transform: rotate(-1deg); }
.persona.reveal.is-in { transform: rotate(var(--r)); }
.persona.reveal.is-in:hover { transform: rotate(calc(var(--r) * -1)) translateY(-8px); }
.qa.reveal.is-in:nth-child(odd) { transform: rotate(-.4deg); }
.qa.reveal.is-in:nth-child(even) { transform: rotate(.4deg); }
.qa.reveal.is-in[open] { transform: none; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 8px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .demo__grid { grid-template-columns: 1fr; }
  .demo__cats { position: static; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .cat { padding: 12px; }
  .cat b { font-size: 17px; }
  .cat small { font-size: 12px; }
  .cat .ico { width: 22px; height: 22px; }
  .cat--wide { grid-column: auto; width: auto; margin-top: 0; }
  .who__grid { grid-template-columns: 1fr 1fr; row-gap: 70px; }
}

@media (max-width: 900px) {
  body { font-size: 17px; }
  .nav__links { display: none; }
  .hero { padding: 110px 0 150px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { height: 560px; margin-top: 10px; }
  .phone { transform: rotate(3deg) scale(.85); }
  .qr { display: none; }
  .story__grid, .faq__grid, .vs__grid { grid-template-columns: 1fr; gap: 50px; }
  .steps { grid-template-columns: 1fr; gap: 50px; }
  .how__squiggle { display: none; }
  .sticky-cta { display: block; }
  .footer { padding-bottom: 120px; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .nav .btn--sm { display: none; }
  .hero__stage { height: 520px; }
  .phone { transform: rotate(3deg) scale(.78); }
  .float-sticker { width: 96px !important; height: 96px !important; font-size: 13px !important; }
  .fs-1 { left: -8px; top: 0; }
  .fs-2 { right: -14px; }
  .fs-3 { left: -14px; bottom: 90px; }
  .fs-4 { right: -6px; bottom: 30px; }
  .fs-5 { right: -20px; top: 250px; }
  .drag-hint { display: none; }
  .paste { padding-left: 18px; }
  .paste__go span:first-child { display: none; }
  .paste__go { padding: 5px; }
  .demo__cats { grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0 -8px; }
  .cat { padding: 8px; }
  .cat b { font-size: 13px; }
  .cat small { display: none; }
  .cat .ico { width: 18px; height: 18px; margin-bottom: 2px; }
  .demo__panel { padding: 18px; border-radius: 30px; min-height: 0; }
  .panel__out { padding: 18px; }
  .who__grid { grid-template-columns: 1fr; }
  .timeback { padding: 22px; }
  .tb-stat b { font-size: 24px; }
  .marquee__track { font-size: 22px; }
  .store-btn--big { height: 74px; }
  .store-btn--big span { font-size: 27px; }
  /* Stickers small and in the corners, clear of the headline and button; the star stays below the button */
  .final { padding: 130px 0 310px; }
  .fst, .fst-3, .fst-5 { width: 52px; height: 52px; }
  .fst-1 { left: 4%; top: 30px; }
  .fst-2 { right: 5%; top: 60px; }
  .fst-5 { left: 44%; top: 34px; }
  .fst-3 { left: 3%; top: auto; bottom: 252px; }
  .fst-4 { right: 3%; top: auto; bottom: 252px; }
  .bubble { display: none; }
  .spinner--faq { --s: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Dark (Visual) panel tweaks */
.demo__panel.is-dark .fmt { background: rgba(253, 243, 234, .92); }
.demo__panel.is-dark .fmt[aria-selected="true"] { background: var(--coral); color: var(--navy); }
.demo__panel.is-dark .fmt[aria-selected="true"] .ico { color: var(--navy); }
.demo__panel.is-dark .btn--navy { background: var(--cream); color: var(--navy); }
.demo__grid > *, .demo__panel, .panel__out { min-width: 0; }
@media (max-width: 600px) {
  .panel__formats { flex-wrap: nowrap; overflow-x: auto; margin: 14px -18px 0; padding: 4px 18px 8px; scrollbar-width: none; }
  .panel__formats::-webkit-scrollbar { display: none; }
  .fmt { flex: none; }
}
