/* SignLangy website. Colours and shapes come from the app's own theme
   (Classic for the dark parts, Daylight for the light parts). */

:root {
  --ink: #0B0B0F;
  --surface: #17151C;
  --card: #211D26;
  --card-2: #2A2531;
  --outline: #3A3442;
  --pink: #FF4FA3;
  --pink-soft: #FF8CC4;
  --mint: #79E8C0;
  --lav: #A98BFF;
  --cream: #FFF4EA;
  --muted: #B9B2C2;
  --warm: #FFC96B;

  --day-bg: #FFF8F2;
  --day-card: #F6ECE4;
  --day-white: #FFFFFF;
  --day-ink: #1E1922;
  --day-muted: #5C5263;
  --day-pink: #B8125F;
  --day-lav: #5B3FC4;
  --day-mint: #0B7353;
  --day-line: #EADDD2;

  --display: "Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-lg: 32px;
  --r-md: 22px;
  --r-sm: 14px;
  --shadow-pop: 0 2px 0 rgba(255, 255, 255, .04) inset, 0 24px 60px -24px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 15, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255, 244, 234, .06);
}
.top .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 22px/1 var(--display); letter-spacing: -.01em; }
.brand svg, .brand img.mascot { width: 36px; height: 36px; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover svg, .brand:hover img.mascot { transform: rotate(-12deg) scale(1.06); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--cream); background: rgba(255, 244, 234, .06); }
.nav a.pill { color: var(--ink); background: var(--pink); margin-left: 8px; padding: 9px 16px; box-shadow: 0 3px 0 #B8125F; }
.nav a.pill:hover { background: var(--pink-soft); color: var(--ink); }

/* ---------- buttons & badges ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 16px/1 var(--body); text-decoration: none;
  padding: 16px 22px; border-radius: 18px; border: 0; cursor: pointer;
  background: var(--pink); color: var(--ink);
  box-shadow: 0 4px 0 #B8125F;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.btn:hover { background: var(--pink-soft); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #B8125F; }
.btn.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px var(--outline); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--muted); }

.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 16px; border-radius: 16px;
  background: #000; color: #fff; text-decoration: none;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22);
}
.store svg { width: 26px; height: 26px; }
.store span { display: flex; flex-direction: column; font: 700 19px/1.05 var(--body); letter-spacing: -.01em; }
.store small { font: 600 11px/1.3 var(--body); letter-spacing: .02em; opacity: .8; text-transform: uppercase; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font: 800 13px/1 var(--body); letter-spacing: .02em;
  padding: 7px 12px; border-radius: 999px;
  background: var(--card); color: var(--cream);
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(36px, 7vw, 84px) 0 clamp(60px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 800 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 22px; height: 8px; border-radius: 4px; background: var(--mint); }
.hero h1 { font-size: clamp(46px, 7.2vw, 92px); font-weight: 600; letter-spacing: -.025em; line-height: .98; }
.hero h1 .hands { position: relative; color: var(--pink); white-space: nowrap; }
.hero h1 .hands svg { position: absolute; left: -2%; right: -2%; bottom: -.16em; width: 104%; height: .32em; overflow: visible; }
.lede { margin-top: 26px; font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 33ch; }
.lede strong { color: var(--cream); font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.price-note { margin-top: 18px; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.price-note b { color: var(--cream); }
.price-note span { display: inline-flex; align-items: center; gap: 6px; }
.price-note span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }

/* the stage on the right: phone, sign card, Pinky */
.stage { position: relative; height: clamp(520px, 52vw, 640px); }
.phone {
  position: absolute; right: 4%; top: 0;
  width: clamp(250px, 24vw, 300px); aspect-ratio: 1206 / 2622;
  border-radius: 46px; padding: 9px;
  background: linear-gradient(160deg, #3b3542, #1b1820 40%, #2a2530);
  box-shadow: 0 0 0 1.5px #4a4350, 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 10px rgba(255, 79, 163, .05);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; background: var(--surface); }
.signcard-float {
  position: absolute; left: 0; bottom: 6%;
  width: clamp(190px, 18vw, 230px);
  background: var(--card); border-radius: 26px; padding: 10px 10px 14px;
  box-shadow: 0 0 0 1.5px var(--outline), 0 30px 60px -20px rgba(0, 0, 0, .85);
  transform: rotate(-5deg);
}
.signcard-float video, .signcard-float img { width: 100%; aspect-ratio: 360 / 464; object-fit: cover; border-radius: 18px; background: #b8a3dc; }
.signcard-float .gl { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 6px 0; }
.signcard-float .gl b { font: 700 22px/1 var(--display); letter-spacing: .02em; }
.signcard-float .gl i { font-style: normal; font-size: 14px; color: var(--muted); }
.signcard-float .live {
  position: absolute; top: 20px; left: 20px;
  font: 800 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  background: rgba(11, 11, 15, .72); color: var(--cream);
  padding: 6px 9px; border-radius: 999px; display: flex; align-items: center; gap: 6px;
}
.signcard-float .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }

.pinky-hero { position: absolute; right: -2%; bottom: 4%; width: 118px; transform-origin: 60% 90%; animation: wave 3.2s ease-in-out infinite; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 68% { transform: rotate(14deg); } 76% { transform: rotate(-8deg); } 84% { transform: rotate(10deg); } 92% { transform: rotate(-4deg); } }
.bubble {
  position: absolute; right: 13%; bottom: 25%;
  background: var(--cream); color: var(--ink);
  font: 700 15px/1.3 var(--body); padding: 12px 15px; border-radius: 18px 18px 6px 18px;
  max-width: 170px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .6);
}
.sticker {
  position: absolute; font: 800 13px/1 var(--body); padding: 9px 13px; border-radius: 999px;
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .7);
}
.sticker.xp { left: 22%; top: 8%; background: var(--mint); color: var(--ink); transform: rotate(-8deg); }
.sticker.streak { left: 6%; top: 30%; background: var(--card-2); color: var(--warm); transform: rotate(5deg); box-shadow: 0 0 0 1.5px var(--outline), 0 12px 24px -10px rgba(0, 0, 0, .7); }
.sticker.streak svg { display: inline; width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; }

/* scattered "finger" confetti, the same rounded shapes Pinky is made of */
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; width: 14px; height: 40px; border-radius: 7px; opacity: .9; }

/* ---------- ribbon ---------- */
.ribbon-wrap { overflow: hidden; padding: 18px 0 26px; margin: -28px 0 -16px; position: relative; z-index: 2; }
.ribbon { background: var(--pink); color: var(--ink); transform: rotate(-1.6deg); margin: 0 -40px; overflow: hidden; position: relative; z-index: 2; box-shadow: 0 6px 0 #B8125F; }
.ribbon .track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.ribbon ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.ribbon li { font: 700 24px/1 var(--display); letter-spacing: .04em; padding: 16px 0; display: flex; align-items: center; white-space: nowrap; }
.ribbon li::after { content: ""; width: 9px; height: 22px; border-radius: 5px; background: var(--ink); margin: 0 26px; opacity: .85; transform: rotate(14deg); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.day { background: var(--day-bg); color: var(--day-ink); }
.dark2 { background: var(--surface); }
.kicker { font: 800 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: 16px; display: block; }
.day .kicker { color: var(--day-pink); }
.h2 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -.02em; max-width: 20ch; text-wrap: balance; }
.sub { margin-top: 16px; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 54ch; }
.day .sub { color: var(--day-muted); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }

/* ---------- try a sign ---------- */
.signs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.sign {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; text-align: left;
  background: var(--day-white); border-radius: 22px; overflow: hidden;
  box-shadow: 0 0 0 1.5px var(--day-line), 0 10px 24px -14px rgba(60, 30, 40, .35);
  transition: transform .25s cubic-bezier(.3, 1.5, .5, 1), box-shadow .25s;
}
.sign:nth-child(4n+1) { transform: rotate(-1.4deg); }
.sign:nth-child(4n+3) { transform: rotate(1.2deg); }
.sign:hover, .sign.on { transform: translateY(-6px) rotate(0); box-shadow: 0 0 0 2.5px var(--day-pink), 0 22px 36px -16px rgba(184, 18, 95, .45); }
.sign video { width: 100%; aspect-ratio: 360 / 464; object-fit: cover; background: #b8a3dc; }
.sign .meta { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.sign b { font: 700 17px/1.1 var(--display); letter-spacing: .03em; color: var(--day-ink); }
.sign i { font-style: normal; font-size: 13.5px; color: var(--day-muted); }
.sign .play {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); display: grid; place-items: center;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .35); transition: transform .2s, opacity .2s;
}
.sign .play svg { width: 14px; height: 14px; }
.sign .play .pause { display: none; }
.sign.on .play .go { display: none; }
.sign.on .play .pause { display: block; }

.anatomy {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(22px, 4vw, 48px); align-items: center;
  background: var(--day-white); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 0 0 1.5px var(--day-line);
}
.anatomy video { width: 100%; aspect-ratio: 360 / 464; object-fit: cover; border-radius: 22px; background: #b8a3dc; }
.anatomy h3 { font-size: 40px; letter-spacing: .02em; }
.anatomy .means { color: var(--day-muted); margin: 6px 0 22px; }
.parts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.part { background: var(--day-bg); border-radius: 18px; padding: 14px 16px 15px; display: flex; gap: 12px; }
.part .ic { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: #F2E3FF; color: var(--day-lav); }
.part .ic svg { width: 20px; height: 20px; }
.part small { display: block; font: 800 12px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--day-muted); margin-bottom: 3px; }
.part p { font-weight: 600; line-height: 1.4; }
.part.wide, .part.tip { grid-column: 1 / -1; }
.part.tip { background: #E3F7EF; }
.part.tip .ic { background: #C6EEDD; color: var(--day-mint); }

/* ---------- lesson steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 36px); position: relative; }
.step { position: relative; }
.step .shot {
  border-radius: 34px; padding: 7px; background: linear-gradient(160deg, #3b3542, #1b1820 40%, #2a2530);
  box-shadow: 0 0 0 1.5px #4a4350, 0 30px 60px -30px rgba(0, 0, 0, .9);
  max-width: 280px; margin: 0 auto;
}
.step .shot img { border-radius: 28px; width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: cover; object-position: top; background: var(--card); }
.step:nth-child(2) .shot { transform: translateY(34px); }
.step .num {
  position: absolute; top: -18px; left: calc(50% - 150px); z-index: 2;
  width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center;
  font: 700 26px/1 var(--display); color: var(--ink); transform: rotate(-8deg);
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .7);
}
.step:nth-child(1) .num { background: var(--pink); }
.step:nth-child(2) .num { background: var(--mint); top: 16px; transform: rotate(6deg); }
.step:nth-child(3) .num { background: var(--lav); }
.step h3 { margin-top: 30px; font-size: 26px; text-align: center; }
.step:nth-child(2) h3 { margin-top: 64px; }
.step p { color: var(--muted); text-align: center; margin: 8px auto 0; max-width: 30ch; }
.review-note {
  margin: clamp(48px, 7vw, 72px) auto 0; max-width: 760px;
  display: flex; align-items: center; gap: 18px;
  background: var(--card); border-radius: var(--r-md); padding: 18px 22px;
  box-shadow: 0 0 0 1.5px var(--outline);
}
.review-note svg, .review-note img.mascot { flex: none; width: 64px; height: 64px; }
.review-note p { color: var(--muted); }
.review-note b { color: var(--cream); }

/* ---------- course path ---------- */
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: unit; }
.unit {
  position: relative; background: var(--card); border-radius: var(--r-md); padding: 22px 22px 20px;
  box-shadow: 0 0 0 1.5px var(--outline);
}
.unit .badge {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font: 700 22px/1 var(--display); color: var(--ink); margin-bottom: 16px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .35);
}
.unit:nth-child(3n+1) .badge { background: var(--pink); }
.unit:nth-child(3n+2) .badge { background: var(--mint); }
.unit:nth-child(3n+3) .badge { background: var(--lav); }
.unit h3 { font-size: 23px; }
.unit ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.unit li > span { display: block; font-weight: 700; font-size: 15px; color: var(--muted); margin-bottom: 7px; }
.glosses { display: flex; flex-wrap: wrap; gap: 6px; }
.glosses em {
  font: 600 13px/1 var(--display); letter-spacing: .05em; font-style: normal;
  padding: 6px 9px; border-radius: 9px; background: var(--card-2); color: var(--cream);
}
.course-foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: 15px; }

/* ---------- games ---------- */
.games { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.game-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 10px; }
.game-list li {
  display: flex; align-items: center; gap: 14px;
  background: var(--day-white); border-radius: 18px; padding: 12px 16px 12px 12px;
  box-shadow: 0 0 0 1.5px var(--day-line);
}
.game-list .gi { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #FFE1EF; color: var(--day-pink); }
.game-list .gi svg { width: 22px; height: 22px; }
.game-list b { display: block; font: 600 18px/1.2 var(--display); }
.game-list span { font-size: 15px; color: var(--day-muted); }
.duo { position: relative; height: clamp(520px, 50vw, 600px); }
.duo .phone { width: clamp(220px, 21vw, 262px); }
.duo .phone.a { right: auto; left: 4%; top: 0; transform: rotate(-4deg); }
.duo .phone.b { right: 2%; top: 13%; transform: rotate(4deg); }
.duo .phone { box-shadow: 0 0 0 1.5px #4a4350, 0 40px 70px -30px rgba(40, 10, 30, .55); }
.duo .label {
  position: absolute; z-index: 3; background: var(--day-ink); color: var(--day-bg);
  font: 800 13px/1 var(--body); padding: 9px 13px; border-radius: 999px;
}
.duo .label.l1 { left: 0; bottom: 18%; transform: rotate(-6deg); }
.duo .label.l2 { right: 0; top: 6%; transform: rotate(5deg); background: var(--day-pink); color: #fff; }

/* ---------- honest ---------- */
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: minmax(190px, auto); gap: 16px; }
.tile { background: var(--card); border-radius: var(--r-md); padding: 26px; box-shadow: 0 0 0 1.5px var(--outline); position: relative; overflow: hidden; }
.tile h3 { font-size: 23px; margin-bottom: 10px; }
.tile p { color: var(--muted); }
.tile.big { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(180deg, #2a1d2a, var(--card) 70%); }
.tile.big .who { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.tile.big .who img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; box-shadow: 0 0 0 3px var(--lav); }
.tile.big .who small { display: block; color: var(--muted); font-size: 14px; }
.tile.big .who b { font: 600 20px/1.2 var(--display); }
.tile .mark { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.tile .mark svg { width: 22px; height: 22px; }
.tile.wide { grid-column: span 2; display: flex; gap: 22px; align-items: center; }
.tile.wide svg.pk, .tile.wide img.pk { flex: none; width: 96px; }

/* ---------- price ---------- */
.price-card {
  position: relative; max-width: 880px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--day-white); color: var(--day-ink); border-radius: 36px; overflow: hidden;
  box-shadow: 0 0 0 1.5px var(--day-line), 0 40px 80px -40px rgba(60, 30, 40, .45);
}
.price-card .l { padding: clamp(28px, 4vw, 48px); background: var(--day-ink); color: var(--cream); position: relative; overflow: hidden; }
.price-card .l .amount { font: 600 clamp(46px, 6vw, 68px)/1 var(--display); letter-spacing: -.03em; margin-top: 18px; }
.price-card .l .amount sup { font-size: .42em; vertical-align: .9em; margin-right: 2px; }
.price-card .l .once { color: var(--mint); font-weight: 800; margin-top: 6px; }
.price-card .l p.small { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 28ch; }
.price-card .l svg.pk, .price-card .l img.pk { position: absolute; right: -10px; bottom: -14px; width: 150px; transform: rotate(-10deg); }
.price-card .r { padding: clamp(28px, 4vw, 48px); }
.price-card ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.price-card li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.price-card li svg { flex: none; width: 24px; height: 24px; margin-top: 1px; }
.price-card .r .store { background: var(--day-ink); }
.price-card .r .fine { font-size: 14px; color: var(--day-muted); margin-top: 14px; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-side { position: sticky; top: 100px; }
.faq-side svg, .faq-side img.mascot { width: 120px; margin-top: 30px; }
details { background: var(--day-white); border-radius: 20px; margin-bottom: 10px; box-shadow: 0 0 0 1.5px var(--day-line); transition: box-shadow .2s; }
details[open] { box-shadow: 0 0 0 2px var(--day-lav); }
summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font: 600 19px/1.3 var(--display); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
  background: var(--day-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v10M7 12h10' stroke='%231E1922' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s;
}
details[open] summary::after { transform: rotate(45deg); background-color: #F2E3FF; }
details p { padding: 0 22px 20px; color: var(--day-muted); }
details p a { color: var(--day-pink); font-weight: 700; }

/* ---------- help ---------- */
.help { padding: 0; }
.help .box {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--pink); color: var(--ink); border-radius: 32px; padding: clamp(26px, 4vw, 44px);
  position: relative; overflow: hidden; box-shadow: 0 8px 0 #B8125F;
}
.help h2 { font-size: clamp(30px, 4vw, 44px); }
.help p { font-weight: 600; margin-top: 8px; max-width: 46ch; }
.help .btn { background: var(--ink); color: var(--cream); box-shadow: 0 4px 0 rgba(0, 0, 0, .35); }
.help .btn:hover { background: #24202a; }

/* ---------- footer ---------- */
footer { padding: clamp(80px, 10vw, 120px) 0 40px; color: var(--muted); font-size: 15px; }
footer .row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 6px; flex-wrap: wrap; }
footer nav a { text-decoration: none; font-weight: 700; padding: 6px 10px; border-radius: 10px; }
footer nav a:hover { color: var(--cream); background: rgba(255, 244, 234, .06); }
footer .credits { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 244, 234, .08); font-size: 13.5px; line-height: 1.6; max-width: 90ch; }
footer .credits a { color: var(--cream); }

/* ---------- legal pages ---------- */
.legal { padding: clamp(40px, 7vw, 80px) 0 0; }
.legal .paper { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -.02em; }
.legal .date { color: var(--muted); margin: 12px 0 30px; }
.legal .short {
  background: var(--card); border-radius: var(--r-md); padding: 20px 22px; box-shadow: 0 0 0 1.5px var(--outline);
  display: flex; gap: 16px; align-items: center; margin-bottom: 18px;
}
.legal .short svg, .legal .short img.mascot { flex: none; width: 58px; }
.legal h2 { font-size: 26px; margin: 38px 0 12px; }
.legal p, .legal li { color: #DCD5E2; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 0; }
.legal li { margin: 6px 0; }
.legal li::marker { color: var(--pink); }
.legal a { color: var(--pink-soft); font-weight: 700; }
.legal strong { color: var(--cream); }

/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.lost svg, .lost img.mascot { width: 150px; margin: 0 auto 24px; }
.lost h1 { font-size: clamp(40px, 6vw, 64px); }
.lost p { color: var(--muted); margin: 14px 0 28px; }

/* ---------- motion & small screens ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pinky-hero, .ribbon .track, .signcard-float .live::before { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1020px) {
  .signs { grid-template-columns: repeat(4, 1fr); }
  .path { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.big { grid-row: auto; grid-column: span 2; }
}

@media (max-width: 860px) {
  .nav a:not(.pill) { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { height: 560px; max-width: 460px; width: 100%; margin: 0 auto; }
  .anatomy { grid-template-columns: 1fr; }
  .anatomy video { max-width: 280px; }
  .steps { grid-template-columns: 1fr; gap: 64px; }
  .step:nth-child(2) .shot { transform: none; }
  .step:nth-child(2) .num { top: -18px; transform: rotate(6deg); }
  .step:nth-child(2) h3 { margin-top: 30px; }
  .step .shot { max-width: 250px; }
  .step .num { left: calc(50% - 140px); }
  .games { grid-template-columns: 1fr; }
  .duo { max-width: 520px; width: 100%; margin: 0 auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .faq-side svg, .faq-side img.mascot { display: none; }
  .price-card { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .confetti i:nth-child(1), .confetti i:nth-child(2), .confetti i:nth-child(4) { display: none; }
  .top .wrap { height: 60px; }
  .brand { font-size: 20px; }
  .brand svg, .brand img.mascot { width: 32px; height: 32px; }
  .nav a.pill { padding: 8px 13px; font-size: 14px; }
  .stage { height: 500px; }
  .phone { width: 220px; right: 0; border-radius: 38px; padding: 7px; }
  .phone img { border-radius: 32px; }
  .signcard-float { width: 160px; bottom: 4%; padding: 8px 8px 12px; border-radius: 22px; }
  .signcard-float .gl b { font-size: 18px; }
  .signcard-float .gl i { font-size: 12.5px; }
  .pinky-hero { width: 84px; right: -4px; bottom: 0; }
  .bubble { right: 18%; bottom: 17%; font-size: 13.5px; max-width: 140px; padding: 10px 12px; }
  .sticker.xp { left: 10%; top: 4%; }
  .sticker.streak { left: 0; top: 24%; }
  .ribbon li { font-size: 19px; padding: 13px 0; }
  .signs { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .parts { grid-template-columns: 1fr; }
  .anatomy h3 { font-size: 32px; }
  .path { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile.big, .tile.wide { grid-column: auto; }
  .tile.wide { flex-direction: column; align-items: flex-start; }
  .tile.wide svg.pk, .tile.wide img.pk { width: 76px; }
  .duo { height: 480px; }
  .duo .phone { width: 190px; }
  .review-note { flex-direction: column; text-align: center; }
  .price-card .l svg.pk, .price-card .l img.pk { width: 84px; top: 118px; right: 20px; bottom: auto; transform: rotate(10deg); }
  .store span { font-size: 17px; }
}

/* Critter mascot images keep a square box like the old SVG drawings. */
img.mascot { height: auto; aspect-ratio: 1; object-fit: contain; }
