/* Landing pages: oihome.app (English) and nhaoi.app (Vietnamese).
   No inline styles anywhere (the server sends a strict Content-Security-Policy). */

:root {
  --ink: #0e2a2e;
  --ink-2: #3c5659;
  --cream: #fff6e8;
  --paper: #fffbf4;
  --white: #ffffff;
  --line: rgba(14, 42, 46, 0.1);
  --teal: #16857a;
  --teal-ink: #0d6b63;
  --teal-d: #0d4a52;
  --night: #072b30;
  --night-2: #0a3a40;
  --gold: #ffc857;
  --gold-d: #f2a93b;
  --pink: #ff9ec4;
  --blue: #8ec5ff;
  --peach: #ffb199;
  --on-dark: #fff6e8;
  --on-dark-2: rgba(255, 246, 232, 0.8);
  --radius: 28px;
  --gutter: 16px;
  --max: 1200px;
  --shadow: 0 1px 0 rgba(14, 42, 46, 0.04), 0 24px 48px -28px rgba(13, 74, 82, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 Roboto, system-ui, -apple-system, "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.015em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .site-header :focus-visible { outline-color: var(--gold); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-fill { fill: currentColor; stroke: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: #1d1a0e; font-weight: 700; padding: 10px 16px; border-radius: 12px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 16px;
  font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s;
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: #1f1a0b; box-shadow: 0 10px 30px -10px rgba(255, 200, 87, 0.7), inset 0 -2px 0 rgba(0, 0, 0, 0.08); }
.btn-gold:hover { box-shadow: 0 16px 36px -12px rgba(255, 200, 87, 0.85), inset 0 -2px 0 rgba(0, 0, 0, 0.08); }
.btn-glass { color: var(--on-dark); background: rgba(255, 246, 232, 0.08); border: 1.5px solid rgba(255, 246, 232, 0.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 246, 232, 0.14); }
.btn-teal { background: var(--teal-ink); color: #fff; box-shadow: 0 10px 30px -14px rgba(13, 107, 99, 0.8); }
.btn-sm { min-height: 40px; padding: 0 16px; border-radius: 12px; font-size: 0.92rem; }
@media (max-width: 420px) {
  .hero .btn, .cta .btn { width: 100%; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 43, 48, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255, 246, 232, 0.08);
  color: var(--on-dark);
  transition: background-color 0.3s;
}
.site-header.is-scrolled { background: rgba(7, 43, 48, 0.9); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; margin-right: auto; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.5); }
.brand small { font-weight: 500; font-size: 0.8rem; color: var(--on-dark-2); display: none; }
@media (min-width: 720px) { .brand small { display: inline; } }
.nav { display: none; gap: 4px; }
.nav a { color: var(--on-dark-2); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--on-dark); background: rgba(255, 246, 232, 0.08); }
@media (min-width: 960px) { .nav { display: flex; } }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark); text-decoration: none; font-weight: 700; font-size: 0.9rem; min-height: 40px; padding: 0 12px; border-radius: 12px; border: 1.5px solid rgba(255, 246, 232, 0.22); }
.lang-switch:hover { background: rgba(255, 246, 232, 0.08); }
.lang-switch .icon { width: 18px; height: 18px; }
.lang-switch .long { display: none; }
@media (min-width: 600px) { .lang-switch .long { display: inline; } .lang-switch .short { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; overflow: clip;
  color: var(--on-dark);
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(22, 133, 122, 0.55), transparent 62%),
    radial-gradient(700px 420px at 8% 92%, rgba(255, 158, 196, 0.13), transparent 60%),
    radial-gradient(600px 380px at 96% 96%, rgba(142, 197, 255, 0.12), transparent 60%),
    linear-gradient(180deg, var(--night-2) 0%, var(--night) 58%, #06242a 100%);
  border-radius: 0 0 clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px);
  margin-top: -65px;
  padding-top: 65px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image:
    radial-gradient(1.2px 1.2px at 20px 30px, #fff6e8 50%, transparent 52%),
    radial-gradient(1px 1px at 130px 80px, #fff6e8 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 210px 170px, #ffc857 50%, transparent 52%),
    radial-gradient(1px 1px at 60px 210px, #8ec5ff 50%, transparent 52%),
    radial-gradient(1px 1px at 250px 40px, #fff6e8 50%, transparent 52%);
  background-size: 280px 260px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
}
.hero-grid { position: relative; display: grid; gap: 24px; align-items: center; padding-top: clamp(28px, 6vw, 80px); padding-bottom: clamp(48px, 7vw, 96px); }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 32px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-ink);
  background: rgba(22, 133, 122, 0.1); border-radius: 999px; padding: 6px 12px; margin-bottom: 18px;
}
.eyebrow .dots { display: inline-flex; gap: 3px; }
.eyebrow .dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: var(--pink); }
.dots i:nth-child(2) { background: var(--blue); }
.dots i:nth-child(3) { background: var(--peach); }
.dark .eyebrow { color: var(--gold); background: rgba(255, 200, 87, 0.12); }

.hero h1 {
  font-size: clamp(2.2rem, 2.6vw + 1.3rem, 3.7rem);
  line-height: 1.08; font-weight: 900; letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: linear-gradient(92deg, var(--gold) 0%, var(--peach) 45%, var(--pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: clamp(1.06rem, 0.5vw + 0.95rem, 1.25rem); color: var(--on-dark-2); max-width: 36em; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 14px 0 0; font-size: 0.9rem; color: rgba(255, 246, 232, 0.66); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 0.95rem; font-weight: 500; color: var(--on-dark); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { width: 20px; height: 20px; color: var(--gold); }

/* Stage: the static art is the first paint; the WebGL canvas fades in over it. */
.stage { position: relative; width: 100%; max-width: 720px; margin: 0 auto; aspect-ratio: 1 / 0.84; }
.stage-art { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1400px; transition: opacity 0.9s var(--ease); }
.stage-glow { position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(22, 133, 122, 0.75), rgba(22, 133, 122, 0) 100%); filter: blur(8px); }
.tablet {
  position: relative; width: 84%; margin: 0; padding: 2.1%;
  border-radius: 26px;
  background: linear-gradient(150deg, #20434d 0%, #0d2229 55%, #0a1a20 100%);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.7), 0 0 0 1.5px rgba(255, 255, 255, 0.07) inset, 0 1px 0 rgba(255, 255, 255, 0.12) inset;
  transform: rotateY(-17deg) rotateX(9deg) rotateZ(1.5deg);
}
.tablet img { width: 100%; border-radius: 15px; }
.tablet::after { content: ""; position: absolute; inset: 2.1%; border-radius: 15px; background: linear-gradient(125deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 38%); pointer-events: none; }
.chip {
  position: absolute; display: grid; place-items: center;
  width: clamp(46px, 9vw, 66px); height: clamp(46px, 9vw, 66px); border-radius: 30%;
  background: linear-gradient(160deg, #fffdf8, #f3eadb);
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.55), inset 0 -3px 0 rgba(0, 0, 0, 0.06);
  animation: bob 6s ease-in-out infinite alternate;
}
.chip .icon { width: 55%; height: 55%; }
.chip-sun { left: 1%; top: 30%; color: #f29d1e; transform: rotate(-8deg); }
.chip-moon { right: 2%; top: 7%; color: #4f7fe0; animation-delay: -2s; transform: rotate(7deg); }
.chip-star { left: 14%; top: 4%; color: var(--gold-d); animation-delay: -4s; border-radius: 50%; }
.chip-coin { right: 4%; bottom: 14%; color: #d68b16; animation-delay: -1s; border-radius: 50%; background: linear-gradient(160deg, #ffe08a, #ffc857); }
.chip-check { left: 8%; bottom: 8%; color: #1e7a55; animation-delay: -3s; }
@keyframes bob { from { translate: 0 -6px; } to { translate: 0 8px; } }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.9s var(--ease); }
.stage.is-3d canvas { opacity: 1; }
.stage.is-3d .stage-art { opacity: 0; }
.stage.is-3d .chip { animation: none; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2, .parents h2 { font-size: clamp(1.95rem, 2.6vw + 1rem, 3.1rem); line-height: 1.12; margin-bottom: 16px; }
.section .lead { font-size: clamp(1.04rem, 0.4vw + 0.96rem, 1.2rem); color: var(--ink-2); margin: 0; }
.dark { color: var(--on-dark); }
.dark a:not(.btn) { color: var(--gold); }
.dark .lead { color: var(--on-dark-2); }

/* ---------- A day ---------- */
.day-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .day-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; } }

.device {
  margin: 0; padding: 12px; border-radius: 30px;
  background: linear-gradient(150deg, #1d3e47, #0b1d23);
  box-shadow: 0 40px 80px -40px rgba(7, 43, 48, 0.75), inset 0 0 0 1.5px rgba(255, 255, 255, 0.06);
}
.device img { width: 100%; border-radius: 18px; }
.device-wide { padding: 10px; border-radius: 26px; }
.device-wide img { border-radius: 16px; }
figcaption, .caption { margin-top: 14px; font-size: 0.9rem; color: var(--ink-2); text-align: center; }
.dark figcaption, .dark .caption { color: rgba(255, 246, 232, 0.7); }
@media (min-width: 1000px) { .day-shot { position: sticky; top: 96px; } }
.day-shot .pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.9rem; font-weight: 500; }
.pill .icon { width: 18px; height: 18px; color: var(--teal); }

.parts { display: grid; gap: 16px; }
.part { border-radius: 24px; padding: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.part-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.part-head h3 { font-size: 1.2rem; }
.part-head p { margin: 0; font-size: 0.88rem; color: inherit; opacity: 0.78; }
.bubble { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, 0.7); }
.part-morning { background: linear-gradient(135deg, #fff1d0 0%, #ffe0cc 100%); }
.part-morning .bubble { color: #e8890c; }
.part-afternoon { background: linear-gradient(135deg, #e3f2ff 0%, #d4f3ec 100%); }
.part-afternoon .bubble { color: #2f7fd8; }
.part-evening { background: linear-gradient(140deg, #1f2d63 0%, #3b2f70 100%); color: #f4f1ff; border-color: transparent; }
.part-evening .bubble { background: rgba(255, 255, 255, 0.14); color: #ffd66b; }
.part-week { background: var(--white); }
.part-week .bubble { background: #e9f6f3; color: var(--teal); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 6px 12px;
  box-shadow: 0 10px 20px -14px rgba(14, 42, 46, 0.45);
  font-size: 0.84rem; font-weight: 700; line-height: 1.25;
}
.tile .pic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; }
.tile .pic .icon { width: 24px; height: 24px; }
.tile time, .tile .time { font-weight: 500; font-size: 0.75rem; color: var(--ink-2); background: #f2efe8; border-radius: 999px; padding: 1px 8px; }
.pic-a { background: #ffe3d6; color: #c4532f; }
.pic-b { background: #e2eeff; color: #3069c8; }
.pic-c { background: #e3f6ec; color: #1e7a55; }
.pic-d { background: #f3e6ff; color: #7c45c9; }
.pic-e { background: #fff0c9; color: #b07800; }
.pic-f { background: #ffe1ee; color: #c23a77; }
.part-week .tiles { grid-template-columns: auto 1fr; align-items: center; }
.week-row { display: flex; align-items: center; gap: 14px; font-size: 0.95rem; }
.week-row strong { display: block; }
.week-row span { color: var(--ink-2); font-size: 0.88rem; }

/* ---------- Features (bento) ---------- */
.features { background: var(--paper); border-block: 1px solid var(--line); }
.bento { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .span-wide { grid-column: span 2; } }
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .f-board { grid-column: span 4; }
  .f-chores { grid-column: span 2; }
  .f-school { grid-column: span 3; }
  .f-money { grid-column: span 3; }
  .f-calls { grid-column: span 2; }
  .f-themes { grid-column: span 4; }
}
.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 32px);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(14, 42, 46, 0.04), 0 34px 60px -30px rgba(13, 74, 82, 0.45); }
.card h3 { font-size: clamp(1.25rem, 0.6vw + 1.1rem, 1.5rem); line-height: 1.2; margin: 16px 0 10px; }
.card p { color: var(--ink-2); margin-bottom: 0; }
.ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; }
.ico-gold { background: #fff0c9; color: #b07800; }
.ico-teal { background: #dff3ef; color: var(--teal-ink); }
.ico-pink { background: #ffe1ee; color: #c23a77; }
.ico-blue { background: #e2eeff; color: #3069c8; }
.ico-peach { background: #ffe6dc; color: #c4532f; }
.card-media { margin-top: auto; padding-top: 24px; }
.card-media img { border-radius: 16px; border: 1px solid var(--line); }
.card-dark { background: linear-gradient(160deg, #0f5359 0%, var(--night) 100%); color: var(--on-dark); border-color: transparent; }
.card-dark p { color: var(--on-dark-2); }
.card-dark .ico { background: rgba(255, 200, 87, 0.14); color: var(--gold); }
.card .note { font-size: 0.82rem; color: var(--ink-2); margin-top: 10px; text-align: center; }
.card-dark .note { color: rgba(255, 246, 232, 0.65); }
.split { display: grid; gap: 22px; align-items: center; }
.split > div:first-child p { max-width: 46em; }
.f-school .card-media, .f-calls .card-media { margin-block: auto; padding-top: 28px; }

/* Mock: chore suggestion */
.mock { border-radius: 20px; background: #f7f3ec; border: 1px solid var(--line); padding: 16px; font-size: 0.92rem; }
.mock-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.mock-input { display: flex; align-items: center; gap: 2px; background: #fff; border: 2px solid var(--teal); border-radius: 14px; padding: 12px 14px; font-weight: 700; font-size: 1rem; }
.caret { width: 2px; height: 1.2em; background: var(--teal); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sg { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 0.86rem; }
.sg .icon { width: 16px; height: 16px; }
.sg-sun { color: #b86a00; background: #fff4d6; border-color: #ffe3a3; }
.sg-pic { color: #c4532f; background: #ffe9df; border-color: #ffd1bf; }
.sg-hint { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 0.8rem; color: var(--teal-ink); font-weight: 500; }
.sg-hint .icon { width: 16px; height: 16px; }

/* Mock: school message to plan */
.school { display: grid; gap: 14px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 520px) { .school { grid-template-columns: minmax(0, 0.8fr) auto minmax(0, 1.2fr); } }
.paper-note {
  background: #fffdf6; color: #3a3a3a; border-radius: 10px; padding: 14px 14px 16px;
  transform: rotate(-3deg); box-shadow: 0 20px 30px -18px rgba(0, 0, 0, 0.7);
  font-size: 0.78rem; line-height: 1.5; position: relative;
}
.paper-note::before { content: ""; position: absolute; top: -8px; left: 50%; width: 54px; height: 16px; margin-left: -27px; background: rgba(255, 200, 87, 0.75); border-radius: 3px; transform: rotate(2deg); }
.paper-note b { display: block; font-size: 0.82rem; margin-bottom: 4px; color: #0d4a52; }
.paper-note .ln { display: block; height: 7px; border-radius: 4px; background: #e7e1d3; margin: 7px 0; }
.ln:nth-of-type(2) { width: 88%; }
.ln:nth-of-type(3) { width: 72%; }
.ln:nth-of-type(4) { width: 80%; }
.ai-arrow { display: grid; place-items: center; gap: 4px; color: var(--gold); font-size: 0.72rem; font-weight: 700; text-align: center; }
.ai-arrow .icon { width: 30px; height: 30px; }
.draft { background: rgba(255, 246, 232, 0.06); border: 1px solid rgba(255, 246, 232, 0.16); border-radius: 16px; padding: 12px; margin: 0; list-style: none; }
.draft li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 4px; font-size: 0.86rem; line-height: 1.35; color: var(--on-dark); border-bottom: 1px dashed rgba(255, 246, 232, 0.14); }
.draft li:last-child { border-bottom: 0; }
.draft .box { width: 20px; height: 20px; border-radius: 6px; flex: none; display: grid; place-items: center; background: var(--gold); color: #1f1a0b; margin-top: 1px; }
.draft .box .icon { width: 14px; height: 14px; stroke-width: 3; }
.draft .off .box { background: transparent; border: 2px solid rgba(255, 246, 232, 0.4); }
.draft .off span { opacity: 0.6; text-decoration: line-through; }
.draft small { display: block; font-size: 0.74rem; color: rgba(255, 246, 232, 0.6); }

/* Mock: calls and voice notes */
.callmock { display: grid; gap: 12px; }
.call-card { display: flex; align-items: center; gap: 12px; background: linear-gradient(140deg, #123f63, #1c2d5e); color: #fff; border-radius: 20px; padding: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #3b1c2b; background: linear-gradient(140deg, #ffd0e2, var(--pink)); flex: none; }
.call-card div { flex: 1; min-width: 0; }
.call-card strong { display: block; font-size: 0.98rem; }
.call-card span { font-size: 0.8rem; opacity: 0.8; }
.round { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.round .icon { width: 20px; height: 20px; }
.round-ok { background: #2fbf71; color: #fff; }
.voice { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 8px; position: relative; }
.voice .play { width: 38px; height: 38px; border-radius: 50%; background: var(--teal-ink); color: #fff; display: grid; place-items: center; flex: none; }
.voice .play .icon { width: 16px; height: 16px; }
.voice-text { flex: 1; min-width: 0; font-size: 0.86rem; font-weight: 700; line-height: 1.25; }
.voice-text small { display: block; font-weight: 500; color: var(--ink-2); font-size: 0.76rem; }
.wave { display: flex; align-items: center; gap: 2px; height: 26px; }
.wave i { display: block; width: 3px; border-radius: 3px; background: var(--teal); height: 40%; }
.wave i:nth-child(2n) { height: 75%; }
.wave i:nth-child(3n) { height: 55%; }
.wave i:nth-child(5n) { height: 95%; }
.wave i:nth-child(7n) { height: 30%; }
.red-dot { position: absolute; top: 4px; left: 36px; width: 12px; height: 12px; border-radius: 50%; background: #ef4b4b; border: 2px solid #fff; }
.quiet { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--ink-2); }
.quiet .icon { width: 16px; height: 16px; color: #5b6bd6; }

/* Money row */
.jars { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.jar { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 14px; font-weight: 800; font-size: 0.9rem; }
.jar-spend { background: #ffe3a3; color: #5a3d00; }
.jar-save { background: #cfe5ff; color: #173f75; }
.jar-give { background: #ffd0e2; color: #6d1b40; }
.jar-star { background: #0e2a2e; color: #ffd66b; }

/* Themes strip */
.characters { margin-top: 14px; border-radius: 16px; overflow: hidden; background: #221d55; }
.characters img { width: 100%; }

/* ---------- Parents ---------- */
.parents-section { padding-block: clamp(40px, 6vw, 72px); }
.parents { background: linear-gradient(180deg, var(--night-2), var(--night)); border-radius: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; padding: clamp(40px, 6vw, 88px) clamp(20px, 5vw, 72px); }
.parents::before { content: ""; position: absolute; width: 760px; height: 760px; right: -260px; top: -260px; background: radial-gradient(closest-side, rgba(22, 133, 122, 0.55), transparent); pointer-events: none; }
.parents-grid { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .parents-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; } }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--on-dark-2); }
.checks li strong { color: var(--on-dark); }
.checks .tick { width: 28px; height: 28px; border-radius: 9px; background: rgba(255, 200, 87, 0.16); color: var(--gold); display: grid; place-items: center; flex: none; margin-top: 1px; }
.checks .tick .icon { width: 16px; height: 16px; stroke-width: 3; }
.devices { position: relative; padding-bottom: 8%; padding-left: 12%; }
.laptop .screen { margin: 0; border-radius: 18px 18px 6px 6px; padding: 10px; background: linear-gradient(150deg, #24464f, #0c1d23); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 0 0 1.5px rgba(255, 255, 255, 0.06); }
.laptop .screen img { border-radius: 8px; width: 100%; }
.laptop .base { height: 14px; margin: 0 -5%; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #c9d3d4, #8f9c9e); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.8); }
.phone { position: absolute; left: 0; bottom: 0; width: 31%; margin: 0; padding: 7px; border-radius: 30px; background: linear-gradient(150deg, #24464f, #0b1a20); box-shadow: 0 40px 60px -20px rgba(0, 0, 0, 0.75), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08); }
.phone img { width: 100%; border-radius: 24px; }
.devices .caption { margin-top: 26px; padding-left: 22%; }

/* ---------- Privacy ---------- */
.privacy-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .privacy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .privacy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.p-tile { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.p-tile h3 { font-size: 1.15rem; margin: 14px 0 8px; }
.p-tile p { color: var(--ink-2); margin: 0; font-size: 0.98rem; }
.p-more { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.p-more a { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.p-more .icon { width: 18px; height: 18px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; counter-reset: step; position: relative; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .steps::before { content: ""; position: absolute; top: 52px; left: 12%; right: 12%; border-top: 2px dashed rgba(13, 107, 99, 0.3); }
}
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 26px; box-shadow: var(--shadow); }
.step .num { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.4rem; font-weight: 900; color: #fff; background: linear-gradient(140deg, var(--teal), var(--teal-d)); box-shadow: 0 12px 24px -12px rgba(13, 74, 82, 0.8); margin-bottom: 18px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); margin: 0; }
.start-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; } }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 1.04rem; line-height: 1.35; border-radius: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { margin-left: auto; color: var(--teal-ink); transition: transform 0.25s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; color: var(--ink-2); }
.faq-a p { margin: 0; }

/* ---------- Final CTA ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  border-radius: clamp(28px, 4vw, 48px); padding: clamp(48px, 7vw, 88px) var(--gutter);
  background:
    radial-gradient(500px 300px at 15% 0%, rgba(255, 200, 87, 0.22), transparent 70%),
    radial-gradient(520px 320px at 90% 100%, rgba(255, 158, 196, 0.2), transparent 70%),
    linear-gradient(150deg, var(--teal) 0%, var(--teal-d) 70%);
}
.cta img { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 22px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6); }
.cta h2 { font-size: clamp(2rem, 3vw + 1rem, 3.3rem); margin-bottom: 14px; }
.cta p { color: var(--on-dark-2); font-size: 1.15rem; max-width: 32em; margin: 0 auto 28px; }
.cta .cta-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-dark-2); margin-top: clamp(64px, 8vw, 112px); padding: 56px 0 40px; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand { margin: 0 0 12px; }
.site-footer p { margin: 0 0 8px; font-size: 0.95rem; }
.site-footer h2 { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a:not(.brand) { color: var(--on-dark-2); text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer a:not(.brand):hover { color: var(--on-dark); text-decoration: underline; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 246, 232, 0.12); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.88rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-pending { opacity: 0; transform: translateY(28px); }
.stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }
.stagger > .reveal:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
  .card:hover, .btn:hover { transform: none; }
}

/* ---------- Demo: the family tablet and a parent's phone ---------- */
.demo-section { padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 112px); }
.demo { --one-device: 0; position: relative; }
.demo [hidden] { display: none !important; }
.demo-views { display: none; margin: 0 auto 18px; width: max-content; max-width: 100%; padding: 5px; gap: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.demo-view { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-family: inherit; font-size: 0.92rem; font-weight: 700; line-height: 1; cursor: pointer; }
.demo-view .icon { width: 18px; height: 18px; }
.demo-view[aria-pressed="true"] { background: var(--night); color: var(--on-dark); }

.demo-stage { position: relative; display: grid; gap: 28px; align-items: center; justify-items: center; }
.demo-fx { position: absolute; inset: 0; pointer-events: none; z-index: 5; overflow: visible; }
.demo-fx > * { position: absolute; left: 0; top: 0; }
.demo-star, .demo-coin { width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center; border-radius: 50%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35)); }
.demo-star { color: #ffc531; }
.demo-star .icon { width: 30px; height: 30px; }
.demo-coin { background: linear-gradient(160deg, #ffe08a, #f4b63a); color: #9a5b00; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12); }
.demo-coin .icon { width: 20px; height: 20px; }
.demo-finger { width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); border: 3px solid rgba(255, 255, 255, 0.95); box-shadow: 0 0 0 6px rgba(255, 200, 87, 0.45), 0 10px 24px rgba(0, 0, 0, 0.35); opacity: 0; }
.demo-anchor { width: 1px; height: 1px; }

/* Device frames */
.dv { position: relative; width: 100%; container-type: inline-size; }
.dv-tablet { max-width: 900px; padding: 12px; border-radius: 30px; background: linear-gradient(150deg, #24464f 0%, #0d2229 55%, #0a1a20 100%); box-shadow: 0 50px 90px -40px rgba(7, 43, 48, 0.85), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.dv-phone { max-width: 300px; }
.pd-who { margin: 0 0 10px; text-align: center; font-size: 0.85rem; font-weight: 700; color: var(--ink-2); letter-spacing: 0.02em; }
@media (max-width: 599.98px) { .dv-tablet { padding: 8px; border-radius: 22px; } }

/* ---- The board (tablet) ---- */
.board {
  --c1: #4f8fe0; --c1-soft: #d5e4f7; --c1-ink: #234f8c;
  --c2: #9a6ae0; --c2-soft: #e7d7f6; --c2-ink: #5a2f97;
  position: relative; overflow: hidden; border-radius: 20px;
  aspect-ratio: 16 / 10; display: flex; flex-direction: column; gap: 0.7em;
  padding: 1.1em 1.2em 1.2em;
  font-size: clamp(9.5px, 1.95cqw, 17px); line-height: 1.25; color: #fff;
  background:
    linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, 0.05) 18.5%, rgba(255, 255, 255, 0.05) 24%, transparent 24.5%),
    linear-gradient(100deg, transparent 52%, rgba(255, 255, 255, 0.045) 52.5%, rgba(255, 255, 255, 0.045) 60%, transparent 60.5%),
    radial-gradient(4px 4px at 12% 78%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(3px 3px at 48% 64%, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(5px 5px at 86% 82%, rgba(255, 255, 255, 0.28), transparent 60%),
    radial-gradient(3px 3px at 70% 30%, rgba(255, 255, 255, 0.25), transparent 60%),
    linear-gradient(180deg, #0c4a74 0%, #0a3b60 45%, #08304f 100%);
}
.board .icon { width: 1.6em; height: 1.6em; }
.b-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1em; }
.b-when { margin: 0; display: flex; flex-direction: column; line-height: 1.1; }
.b-brand { font-size: 0.72em; font-weight: 700; color: #8fe3e6; letter-spacing: 0.04em; }
.b-date { font-size: 0.82em; font-weight: 500; margin-top: 0.2em; }
.b-time { font-size: 2.3em; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.b-trays { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.45em; }
.b-tray { position: relative; display: inline-flex; align-items: center; gap: 0.4em; min-height: 2.9em; padding: 0 0.95em 0 0.75em; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.09); color: #fff; font-family: inherit; font-size: 0.86em; font-weight: 700; line-height: 1; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.b-tray:hover { background: rgba(255, 255, 255, 0.16); }
.b-tray[aria-pressed="true"] { background: #f0fbff; color: #0b3554; border-color: #9be7e6; box-shadow: 0 0 0 3px rgba(155, 231, 230, 0.25); }
.b-emo { font-size: 1.15em; }
.b-count { min-width: 1.55em; height: 1.55em; padding: 0 0.35em; border-radius: 999px; display: grid; place-items: center; background: #f2763a; color: #fff; font-size: 0.82em; }
.b-say { margin: 0; display: flex; align-items: center; gap: 0.6em; padding: 0.5em 0.9em; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.14); font-weight: 600; font-size: 0.9em; white-space: nowrap; overflow: hidden; }
.b-say-ico { flex: none; }
.b-say span:last-child { overflow: hidden; text-overflow: ellipsis; }
.b-cols { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9em; }
.b-col { --c: var(--c1); --soft: var(--c1-soft); --ink: var(--c1-ink); position: relative; display: flex; flex-direction: column; gap: 0.65em; min-height: 0; padding: 0.85em; border-radius: 1.3em; background: rgba(255, 255, 255, 0.09); border: 2px solid var(--c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.b-c2 { --c: var(--c2); --soft: var(--c2-soft); --ink: var(--c2-ink); }
.b-head { display: flex; align-items: center; gap: 0.6em; }
.b-ava { width: 2.6em; height: 2.6em; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--soft); box-shadow: 0 0 0 3px #ffc857; line-height: 1; }
.b-col .b-ava { font-size: 1.25em; width: 2.2em; height: 2.2em; }
.b-name { font-weight: 800; font-size: 1.25em; flex: 1; min-width: 0; }
.b-stars { display: inline-flex; align-items: center; gap: 0.25em; padding: 0.3em 0.7em 0.3em 0.5em; border-radius: 999px; background: #0d2a33; color: #ffd66b; font-weight: 800; font-variant-numeric: tabular-nums; }
.board .b-stars .icon { width: 1.15em; height: 1.15em; }
.b-bar { height: 0.42em; border-radius: 999px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.b-bar i { --fill: 0; display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #7fe0b8, #ffd66b); transform-origin: 0 50%; transform: scaleX(var(--fill)); transition: transform 0.6s var(--ease); }
.b-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6em; align-content: start; }
.board[data-tray="morning"] .b-tile:not([data-tray="morning"]),
.board[data-tray="afternoon"] .b-tile:not([data-tray="afternoon"]),
.board[data-tray="evening"] .b-tile:not([data-tray="evening"]),
.board[data-tray="chores"] .b-tile:not([data-tray="chores"]) { display: none; }
.b-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0.35em; min-height: 9.8em; padding: 0.9em 0.35em 0.7em; border: 0; border-radius: 1.1em; background: #f7fbff; color: var(--ink); font-family: inherit; font-size: 0.92em; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer; box-shadow: 0 0.6em 1.2em -0.8em rgba(0, 0, 0, 0.6); transition: background-color 0.3s, transform 0.2s var(--ease); }
.b-tile:hover { transform: translateY(-2px); }
.b-pic { position: relative; width: 4.3em; height: 4.3em; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--ink); transition: background-color 0.3s, color 0.3s; }
.board .b-pic .icon { width: 2em; height: 2em; stroke-width: 2.2; }
.b-title { color: #11303a; font-size: 1em; }
.b-sub { font-size: 0.78em; font-weight: 600; color: #4f656c; background: #e6eef1; border-radius: 999px; padding: 0.15em 0.6em; }
.b-ring { position: absolute; inset: -0.35em; width: calc(100% + 0.7em); height: calc(100% + 0.7em); transform: rotate(-90deg); opacity: 0; transition: opacity 0.2s; }
.b-ring circle { fill: none; stroke: #f59f00; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.b-tile[data-state="pending"] { background: #fff6dc; }
.b-tile[data-state="pending"] .b-ring { opacity: 1; }
.b-tile[data-state="pending"] .b-sub { background: #ffb020; color: #3b2600; }
.b-tile[data-state="done"] { background: rgba(247, 251, 255, 0.78); }
.b-tile[data-state="done"] .b-pic { background: #2fa36b; color: #fff; }
.b-tile[data-state="done"] .b-pic .icon { opacity: 0.3; }
.b-tile[data-state="done"] .b-pic::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.9em; font-weight: 900; color: #fff; }
.b-tile[data-state="done"] .b-sub { background: #d6f2e3; color: #17643f; }
.b-tile[data-state="waiting"] .b-pic { background: #e9e4fb; color: #4b3fd6; }
.b-tile[data-state="waiting"] .b-pic::after { content: "⏳"; position: absolute; right: -0.35em; bottom: -0.2em; width: 1.6em; height: 1.6em; border-radius: 50%; display: grid; place-items: center; background: #4b3fd6; font-size: 0.8em; box-shadow: 0 0 0 2px #fff; }
.b-tile[data-state="waiting"] .b-sub { background: #4b3fd6; color: #fff; }
.b-tile[data-state="again"] .b-sub { background: #ffe1c7; color: #8a3d00; }
.b-voice { position: relative; overflow: hidden; display: flex; align-items: center; gap: 0.6em; padding: 0.4em 0.9em 0.4em 0.4em; border: 0; border-radius: 999px; background: #fff; color: #11303a; font-family: inherit; font-size: 0.88em; font-weight: 700; line-height: 1.15; text-align: left; cursor: pointer; box-shadow: 0 0.5em 1em -0.6em rgba(0, 0, 0, 0.6); }
.b-voice-play { width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; background: var(--teal-ink); color: #fff; flex: none; }
.board .b-voice-play .icon { width: 1em; height: 1em; }
.b-voice-text { flex: 1; min-width: 0; }
.b-voice-text small { display: block; font-weight: 500; color: #4f656c; }
.b-voice-dot { position: absolute; left: 1.95em; top: 0.3em; width: 0.8em; height: 0.8em; border-radius: 50%; background: #ef4b4b; box-shadow: 0 0 0 2px #fff; }
.b-voice[data-state="played"] .b-voice-dot, .b-voice[data-state="playing"] .b-voice-dot { display: none; }
.b-voice-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0.25em; background: var(--teal); transform-origin: 0 50%; transform: scaleX(0); }
.b-voice[data-state="played"] .b-voice-fill { transform: scaleX(1); }
.b-jars { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4em; }
.b-jar { display: inline-flex; align-items: baseline; gap: 0.35em; padding: 0.35em 0.7em; border-radius: 0.8em; font-weight: 700; font-size: 0.82em; }
.b-jar b { font-size: 1.2em; font-weight: 900; font-variant-numeric: tabular-nums; }
.b-spend { background: #ffe3a3; color: #5a3d00; }
.b-save { background: #cfe5ff; color: #173f75; }
.b-give { background: #ffd0e2; color: #6d1b40; }
.b-move { margin-left: auto; padding: 0.5em 0.85em; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.12); color: #fff; font-family: inherit; font-size: 0.78em; font-weight: 700; line-height: 1; cursor: pointer; }
.b-move:hover { background: rgba(255, 255, 255, 0.2); }
.b-move:disabled { opacity: 0.45; cursor: default; }
.b-praise { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(4, 18, 30, 0.55); }
.b-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.b-confetti i { position: absolute; left: 0; top: 0; width: 0.55em; height: 0.85em; border-radius: 2px; }
.b-praise-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.35em; width: min(30em, 88%); padding: 1.3em 1.6em 1.1em; border: 0; border-radius: 1.8em; background: #fff; color: #0e2a2e; font: inherit; cursor: pointer; box-shadow: 0 2em 4em -1em rgba(0, 0, 0, 0.55); }
.b-praise-head { display: flex; align-items: center; gap: 0.7em; }
.b-praise-head .b-ava { width: 2.4em; height: 2.4em; font-size: 1.5em; background: var(--c1-soft); }
.b-praise-head strong { font-size: 1.55em; font-weight: 900; line-height: 1.1; text-align: left; }
.b-praise-stars { font-size: 3em; font-weight: 900; color: #e29e00; line-height: 1.05; text-shadow: 0 0.12em 0.3em rgba(181, 129, 0, 0.3); font-variant-numeric: tabular-nums; }
.b-praise-line { font-size: 1.08em; font-weight: 800; }
.b-praise-note { margin-top: 0.3em; padding: 0.45em 1em; border-radius: 1em; background: #fff0f6; font-size: 1.15em; font-weight: 800; }
.b-praise-tap { margin-top: 0.4em; font-size: 0.78em; font-weight: 700; color: #5f7074; }

/* ---- The parent desk (phone) ---- */
.pd {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  aspect-ratio: 9 / 18.6; border-radius: 2.6em; padding: 0.55em;
  font-size: clamp(10px, 4.45cqw, 14px); line-height: 1.3; color: #1d1b2e;
  background: linear-gradient(150deg, #24464f, #0b1a20);
  box-shadow: 0 40px 70px -30px rgba(7, 43, 48, 0.75), inset 0 0 0 1.5px rgba(255, 255, 255, 0.1);
}
.pd .icon { width: 1.35em; height: 1.35em; }
.pd-status, .pd-body, .pd-nav { background: #f4f3fb; }
.pd-status { display: flex; align-items: center; justify-content: space-between; padding: 0.7em 1.3em 0.3em; border-radius: 2.1em 2.1em 0 0; font-size: 0.8em; font-weight: 700; font-variant-numeric: tabular-nums; }
.pd-isl { width: 5.5em; height: 1.4em; border-radius: 999px; background: #0b1a20; }
.pd-sig { display: inline-flex; align-items: flex-end; gap: 2px; height: 0.9em; }
.pd-sig i { width: 3px; border-radius: 2px; background: #1d1b2e; }
.pd-sig i:nth-child(1) { height: 40%; }
.pd-sig i:nth-child(2) { height: 70%; }
.pd-sig i:nth-child(3) { height: 100%; }
.pd-body { flex: 1; min-height: 0; overflow: hidden; padding: 0.5em 0.85em; }
.pd-scr { display: flex; flex-direction: column; gap: 0.75em; }
.pd-hero { display: flex; flex-direction: column; gap: 0.35em; padding: 1em 1.05em 1.05em; border-radius: 1.3em; color: #fff; background: linear-gradient(120deg, #2e2a8a 0%, #4a3fd6 55%, #a95ad9 100%); box-shadow: 0 1em 2em -1.2em rgba(74, 63, 214, 0.9); }
.pd-hero-gran { background: linear-gradient(120deg, #0f5d63 0%, #16857a 60%, #3f9f86 100%); box-shadow: 0 1em 2em -1.2em rgba(13, 107, 99, 0.9); }
.pd-date { font-size: 0.78em; opacity: 0.88; font-weight: 600; }
.pd-hi { font-size: 1.35em; font-weight: 800; }
.pd-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.35em; padding: 0.35em 0.75em; border-radius: 999px; background: rgba(255, 255, 255, 0.18); font-size: 0.8em; font-weight: 600; }
.pd .pd-chip .icon { width: 1.1em; height: 1.1em; }
.pd-chip b { font-size: 1.1em; }
.pd-h { margin: 0.2em 0 0; display: flex; align-items: center; gap: 0.45em; font-weight: 800; font-size: 1.05em; }
.pd .pd-h .icon { color: #4b3fd6; width: 1.15em; height: 1.15em; }
.pd-empty { margin: 0; padding: 1em; border-radius: 1em; background: #fff; border: 1px dashed #d8d4ee; color: #55526b; font-size: 0.86em; text-align: center; }
.pd-card { padding: 0.85em; border-radius: 1.1em; background: #fff; border: 1px solid #e6e3f3; box-shadow: 0 0.8em 1.6em -1.2em rgba(40, 30, 120, 0.45); display: flex; flex-direction: column; gap: 0.75em; }
.pd-card-top { display: flex; align-items: center; gap: 0.7em; }
.pd-ava { position: relative; width: 2.6em; height: 2.6em; flex: none; border-radius: 50%; display: grid; place-items: center; background: #d5e4f7; box-shadow: 0 0 0 2.5px #ffc857; font-size: 1.15em; line-height: 1; }
.pd-ava i { position: absolute; right: -0.3em; bottom: -0.25em; width: 1.25em; height: 1.25em; border-radius: 50%; display: grid; place-items: center; background: #4b3fd6; color: #fff; box-shadow: 0 0 0 2px #fff; }
.pd .pd-ava i .icon { width: 0.75em; height: 0.75em; }
.pd-what strong { display: block; font-size: 1.02em; }
.pd-what small { display: block; color: #5f5c75; font-size: 0.8em; }
.pd-acts { display: flex; gap: 0.4em; }
.pd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.35em; min-height: 2.8em; padding: 0 0.75em; border-radius: 0.85em; border: 0; font-family: inherit; font-size: 0.86em; font-weight: 700; line-height: 1; cursor: pointer; transition: filter 0.2s, transform 0.15s; }
.pd .pd-btn .icon { width: 1.2em; height: 1.2em; stroke-width: 2.6; }
.pd-btn:hover { filter: brightness(1.08); }
.pd-btn:active { transform: scale(0.97); }
.pd-btn:disabled { opacity: 0.45; cursor: default; filter: none; }
.pd-acts .pd-btn { flex: 1 1 auto; padding: 0 0.5em; }
.pd-ok { background: #1b6b4a; color: #fff; }
.pd-praise { background: #4b3fd6; color: #fff; }
.pd-redo { background: #fff; color: #1d1b2e; box-shadow: inset 0 0 0 1.5px #dcd9ea; }
.pd-wide { width: 100%; }
.pd-ideas { display: flex; flex-direction: column; gap: 0.55em; }
.pd-label { margin: 0; font-size: 0.76em; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #5f5c75; }
.pd-idea-row { display: flex; flex-wrap: wrap; gap: 0.4em; }
.pd-idea { padding: 0.5em 0.8em; border-radius: 999px; border: 1.5px solid #dcd9ea; background: #fff; color: #1d1b2e; font-family: inherit; font-size: 0.82em; font-weight: 700; line-height: 1.1; cursor: pointer; }
.pd-idea[aria-pressed="true"] { background: #fff0f6; border-color: #e0569a; color: #8c1d55; }
.pd-title { margin: 0.2em 0 0; font-size: 1.35em; font-weight: 800; }
.pd-sheet { display: flex; flex-direction: column; gap: 0.6em; padding: 0.9em; border-radius: 1.1em; background: #fff; border: 1px solid #e6e3f3; }
.pd-input { display: flex; align-items: center; gap: 1px; min-height: 2.9em; width: 100%; padding: 0 0.85em; border-radius: 0.85em; border: 2px solid #4b3fd6; background: #fff; color: #1d1b2e; font-family: inherit; font-size: 1em; font-weight: 700; line-height: 1; text-align: left; cursor: text; }
.pd-caret { width: 2px; height: 1.25em; background: #4b3fd6; animation: blink 1.1s steps(1) infinite; }
.pd-hint { display: flex; align-items: center; gap: 0.6em; padding: 0.65em; border-radius: 0.9em; background: linear-gradient(120deg, #f2efff, #fff5e6); border: 1px solid #e3dcff; }
.pd-hint-pic { width: 2.5em; height: 2.5em; flex: none; border-radius: 50%; display: grid; place-items: center; background: #e2eeff; color: #3069c8; }
.pd-hint-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.1em; }
.pd-hint-text small { display: inline-flex; align-items: center; gap: 0.25em; color: #4b3fd6; font-weight: 800; font-size: 0.75em; }
.pd .pd-hint-text small .icon { width: 1.1em; height: 1.1em; }
.pd-hint-text strong { font-size: 0.86em; line-height: 1.25; }
.pd-use { background: #4b3fd6; color: #fff; min-height: 2.4em; padding: 0 0.7em; font-size: 0.78em; }
.pd-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45em; }
.pd-list li { display: flex; align-items: center; gap: 0.65em; padding: 0.55em 0.7em; border-radius: 0.9em; background: #fff; border: 1px solid #ebe8f5; }
.pd-list strong { display: block; font-size: 0.88em; }
.pd-list small { display: block; font-size: 0.74em; color: #5f5c75; }
.pd-li-pic { width: 2.1em; height: 2.1em; flex: none; border-radius: 50%; display: grid; place-items: center; background: #eef0f6; color: #46506a; }
.pd .pd-li-pic .icon { width: 1.1em; height: 1.1em; }
.pd-li-new { background: #e2eeff; color: #3069c8; }
.pd-list li[data-new] { border-color: #b9b0f5; box-shadow: 0 0 0 3px rgba(75, 63, 214, 0.12); }
.pd-kid { margin: 0.3em 0 0; display: flex; align-items: center; gap: 0.6em; font-size: 1.25em; }
.pd-kid .pd-ava { font-size: 0.95em; }
.pd-jars { margin: 0; display: flex; flex-wrap: wrap; gap: 0.35em; }
.pd-jar { display: inline-flex; gap: 0.3em; align-items: baseline; padding: 0.35em 0.65em; border-radius: 0.75em; font-size: 0.82em; font-weight: 700; }
.pd-jar b { font-size: 1.15em; font-weight: 900; font-variant-numeric: tabular-nums; }
.pd-spend { background: #ffe3a3; color: #5a3d00; }
.pd-save { background: #cfe5ff; color: #173f75; }
.pd-give { background: #ffd0e2; color: #6d1b40; }
.pd-amount { margin: 0; display: flex; align-items: center; justify-content: center; gap: 0.35em; padding: 0.5em; border-radius: 0.85em; background: #fbf7ec; font-size: 1.05em; }
.pd .pd-amount .icon { color: #c47d0e; }
.pd-amount b { font-size: 1.5em; font-weight: 900; }
.pd-done { margin: 0; display: flex; align-items: center; justify-content: center; gap: 0.35em; color: #1b6b4a; font-weight: 800; font-size: 0.86em; }
.pd-note { margin: 0; font-size: 0.76em; color: #5f5c75; line-height: 1.4; }
.pd-rec { display: flex; align-items: center; gap: 0.65em; padding: 0.5em; border-radius: 999px; background: #f4f3fb; }
.pd-mic { position: relative; width: 3.1em; height: 3.1em; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; background: #d93a40; color: #fff; cursor: pointer; box-shadow: 0 0.4em 0.9em -0.4em rgba(229, 72, 77, 0.9); }
.pd .pd-mic .icon { width: 1.4em; height: 1.4em; }
.pd-rec[data-state="rec"] .pd-mic { animation: demo-pulse 1.2s ease-in-out infinite; }
.pd-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 1.8em; }
.pd-wave i { flex: 1; height: 25%; border-radius: 2px; background: #c9c5dc; }
.pd-rec:not([data-state="idle"]) .pd-wave i { background: #e5484d; }
.pd-rec[data-state="rec"] .pd-wave i { animation: demo-wave 0.9s ease-in-out infinite alternate; }
.pd-rec:not([data-state="idle"]) .pd-wave i:nth-child(2n) { height: 70%; }
.pd-rec:not([data-state="idle"]) .pd-wave i:nth-child(3n) { height: 45%; }
.pd-rec:not([data-state="idle"]) .pd-wave i:nth-child(5n) { height: 95%; }
.pd-rec .pd-wave i:nth-child(2n) { animation-delay: -0.3s; }
.pd-rec .pd-wave i:nth-child(3n) { animation-delay: -0.6s; }
.pd-timer { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 0.9em; min-width: 2.4em; }
@keyframes demo-pulse { 50% { box-shadow: 0 0 0 0.45em rgba(229, 72, 77, 0.25); } }
@keyframes demo-wave { from { transform: scaleY(0.5); } to { transform: scaleY(1.15); } }
.pd-kids { display: flex; flex-direction: column; gap: 0.4em; }
.pd-kidrow { margin: 0; display: flex; align-items: center; gap: 0.6em; padding: 0.55em 0.7em; border-radius: 0.9em; background: #fff; border: 1px solid #ebe8f5; }
.pd-kidrow .pd-ava { width: 2.1em; height: 2.1em; font-size: 1em; }
.pd-ava-2 { background: #e7d7f6; }
.pd-kid-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.3em; font-size: 0.88em; }
.pd-kbar { height: 0.4em; border-radius: 999px; background: #ebe8f5; overflow: hidden; }
.pd-kbar i { --fill: 0; display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2fa36b, #ffc857); transform-origin: 0 50%; transform: scaleX(var(--fill)); transition: transform 0.6s var(--ease); }
.pd-kstat { font-weight: 800; font-size: 0.86em; color: #b07800; font-variant-numeric: tabular-nums; }
.pd-nav { display: flex; justify-content: space-around; padding: 0.4em 0.3em 0.9em; border-top: 1px solid #e6e3f3; border-radius: 0 0 2.1em 2.1em; }
.pd-nav > * { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.2em; padding: 0.3em 0; border: 0; background: none; color: #55526b; font-family: inherit; font-size: 0.66em; font-weight: 600; line-height: 1.1; }
.pd-nav button { cursor: pointer; }
.pd .pd-nav .icon { width: 1.9em; height: 1.9em; padding: 0.2em 0.5em; box-sizing: content-box; border-radius: 999px; }
.pd-nav [aria-current="page"] { color: #2e2a8a; font-weight: 800; }
.pd .pd-nav [aria-current="page"] .icon { background: #e4e0fb; }

/* ---- Caption, controls, steps ---- */
.demo-panel { max-width: 860px; margin: 26px auto 0; display: grid; gap: 14px; justify-items: center; text-align: center; }
.demo-cap { position: relative; overflow: hidden; width: 100%; min-height: 8.6em; padding: 18px 22px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.demo-cap-n { display: inline-block; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px; background: rgba(22, 133, 122, 0.1); color: var(--teal-ink); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; }
.demo-cap-title { margin: 0 0 4px; font-size: clamp(1.1rem, 0.6vw + 1rem, 1.3rem); font-weight: 800; color: var(--ink); }
.demo-cap-text { margin: 0; color: var(--ink-2); font-size: 1rem; }
.demo-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(13, 107, 99, 0.1); }
.demo-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); }
.demo-bar { display: flex; align-items: center; gap: 10px; }
.demo-ctl { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 18px -12px rgba(13, 74, 82, 0.6); transition: transform 0.2s var(--ease), background-color 0.2s; }
.demo-ctl:hover { transform: translateY(-2px); }
.demo-ctl .icon { width: 20px; height: 20px; }
.demo-play { width: 58px; height: 58px; background: var(--night); color: var(--gold); border-color: transparent; }
.demo-play .icon { width: 22px; height: 22px; }
.demo-play .i-pause, .demo-play[data-playing="true"] .i-play { display: none; }
.demo-play[data-playing="true"] .i-pause { display: block; }
.icon-flip { transform: scaleX(-1); }
.demo-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.demo-step { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 14px 4px 5px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-family: inherit; font-size: 0.88rem; font-weight: 600; line-height: 1.2; text-align: left; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.demo-step:hover { color: var(--ink); }
.demo-n { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #eef3f2; color: var(--teal-ink); font-weight: 800; }
.demo-steps .is-past .demo-n { background: #d6efe9; }
.demo-steps .is-active .demo-step { background: var(--night); color: var(--on-dark); border-color: transparent; }
.demo-steps .is-active .demo-n { background: var(--gold); color: #1f1a0b; }
.demo-steps p { display: none; }
.demo-paused { margin: 0; font-size: 0.92rem; font-weight: 700; color: var(--teal-ink); }
@media (max-width: 899.98px) and (prefers-reduced-motion: no-preference) {
  .demo-step { padding: 4px; }
  .demo-t { display: none; }
  .demo-n { width: 36px; height: 36px; }
}

/* Reduced motion: no story, the steps are a readable list that still switches the screens. */
@media (prefers-reduced-motion: reduce) {
  .demo-steps { display: grid; gap: 10px; text-align: left; justify-content: stretch; width: 100%; }
  .demo-steps li { display: grid; gap: 4px; padding: 12px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
  .demo-step { padding: 0; border: 0; background: none; color: var(--ink); font-weight: 800; font-size: 1rem; min-height: 0; }
  .demo-t { display: inline; }
  .demo-steps p { display: block; margin: 0; padding-left: 40px; color: var(--ink-2); font-size: 0.95rem; }
  .demo-steps .is-active .demo-step { background: none; color: var(--ink); }
  .demo-steps .is-active { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(22, 133, 122, 0.15); }
  .demo-cap, .demo-play, .demo-bar [data-act="replay"] { display: none; }
}

/* Wide: both devices side by side. */
@media (min-width: 1000px) {
  .demo-stage { grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; }
  .dv-tablet { justify-self: end; }
  .dv-phone { justify-self: start; }
}
@media (min-width: 1200px) {
  .demo-stage { grid-template-columns: minmax(0, 1fr) 296px; gap: 44px; }
}
/* Narrow: one device at a time; the story switches between them. */
@media (max-width: 999.98px) {
  .demo { --one-device: 1; }
  .demo-views { display: flex; }
  .demo[data-view="tablet"] .dv-phone, .demo[data-view="phone"] .dv-tablet { display: none; }
}
/* The board on a narrow screen: the children one under the other. */
@container (max-width: 560px) {
  .board { aspect-ratio: auto; font-size: clamp(10.5px, 3.3cqw, 13px); padding: 0.9em 0.8em 1em; gap: 0.65em; border-radius: 15px; }
  .b-top { flex-direction: column; gap: 0.6em; }
  .b-when { flex-direction: row; align-items: baseline; gap: 0.6em; flex-wrap: wrap; }
  .b-time { font-size: 1.9em; order: -1; }
  .b-brand { display: none; }
  .b-trays { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.35em; }
  .b-tray { flex-direction: column; justify-content: center; gap: 0.15em; min-height: 3.7em; padding: 0.3em 0.2em; border-radius: 1em; font-size: 0.84em; }
  .b-count { position: absolute; top: -0.45em; right: -0.2em; }
  .b-say { white-space: normal; border-radius: 1em; font-size: 0.86em; }
  .b-cols { grid-template-columns: minmax(0, 1fr); }
  .b-tile { min-height: 7.4em; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-caret, .pd-rec[data-state="rec"] .pd-mic, .pd-rec[data-state="rec"] .pd-wave i { animation: none; }
}

/* ---------- Platforms ---------- */
.platforms { padding-top: clamp(24px, 4vw, 48px); }
.plat-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .plat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.plat-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.plat-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--teal), #8ec5ff); }
.plat-card + .plat-card::before { background: linear-gradient(90deg, var(--gold), var(--peach)); }
.plat-head { display: flex; align-items: center; gap: 14px; }
.plat-head h3 { font-size: clamp(1.3rem, 0.6vw + 1.15rem, 1.6rem); }
.plat-head p { margin: 2px 0 0; color: var(--ink-2); }
.plat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plat-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 14px; padding: 14px; border-radius: 18px; background: #f8f5ee; }
.plat-ico { grid-row: span 2; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--teal-ink); box-shadow: 0 6px 14px -10px rgba(13, 74, 82, 0.6); }
.plat-text strong { display: block; font-size: 1.04rem; }
.plat-text span { display: block; color: var(--ink-2); font-size: 0.94rem; line-height: 1.45; }
.badge { justify-self: start; display: inline-flex; white-space: nowrap; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.01em; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-now { background: #dcf3e8; color: #17643f; }
.badge-soon { background: #fff0c9; color: #7a5200; }
@media (min-width: 560px) {
  .plat-list li { grid-template-columns: auto minmax(0, 1fr) auto; }
  .plat-ico { grid-row: auto; }
  .badge { justify-self: end; }
}
.plat-foot { margin: auto 0 0; display: flex; gap: 10px; align-items: flex-start; padding-top: 4px; color: var(--ink-2); font-size: 0.95rem; }
.plat-foot .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--teal-ink); }
.plat-foot strong { color: var(--ink); }
.plat-req { margin: 26px auto 0; max-width: 820px; text-align: center; color: var(--ink-2); font-size: 0.95rem; }
.plat-req strong { color: var(--ink); }
.btn-line { color: var(--teal-ink); background: var(--white); border: 1.5px solid rgba(13, 107, 99, 0.35); }
.btn-line:hover { background: #f1faf8; }
