/* Cbaby site, in the app's own look: Knus cream, Baloo 2 and Quicksand, the family-card colours. */
@font-face { font-family: "Baloo 2"; src: url("../assets/app/font-baloo.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("../assets/app/font-quicksand.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --ground: #f7efe4;
  --ground-2: #f2e7d3;
  --card: #fffaf3;
  --ink: #3a2a1e;
  --muted: #7d634c;
  --line: #ecdfcb;
  --coral: #e8445f;
  --coral-ink: #c2274a;
  --coral-soft: #ffe3e8;
  --feed: #f9ae75; --feed-deep: #f4812a; --feed-lip: #e08a4c; --feed-soft: #fde6d2;
  --diaper: #b2dce8; --diaper-lip: #86bfd0; --diaper-soft: #ddf0f6;
  --sleep: #c0beef; --sleep-deep: #5e5ce6; --sleep-lip: #9d99de; --sleep-soft: #e6e4fb;
  --mint: #c8f0e6; --mint-ink: #1f7a62;
  --gold: #ffd36b;
  --ok: #2e8a5e; --ok-soft: #dff3e8;
  --shadow: 0 18px 44px rgba(110, 60, 20, 0.13);
  --shadow-sm: 0 8px 22px rgba(110, 60, 20, 0.10);
  --radius: 30px;
  --font: "Quicksand", system-ui, sans-serif;
  --disp: "Baloo 2", "Quicksand", system-ui, sans-serif;
  --mark: "Space Grotesk", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #1c130d; --ground-2: #25160d; --card: #2f2219; --ink: #f4e8d2; --muted: #c4ae93; --line: #43332a;
    --coral: #ff6b81; --coral-ink: #ff8a9b; --coral-soft: #3c2025;
    --feed: #b8692f; --feed-deep: #ff9a4d; --feed-lip: #7a4520; --feed-soft: #3d2718;
    --diaper: #2f6577; --diaper-lip: #1f4e5c; --diaper-soft: #1e3138;
    --sleep: #4b4590; --sleep-deep: #a3a1ff; --sleep-lip: #2f2a66; --sleep-soft: #2a2648;
    --mint: #1d4a3f; --mint-ink: #8fe0c6; --ok: #7ad3a8; --ok-soft: #1f3a2d;
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.35); --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.28);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { background: var(--ground); color: var(--ink); font: 500 18px/1.55 var(--font); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.h1, .h2, .h3 { font-family: var(--disp); font-weight: 800; letter-spacing: -0.015em; line-height: 1.02; text-wrap: balance; }
.h1 { font-size: clamp(54px, 8.4vw, 112px); }
.h2 { font-size: clamp(38px, 5.2vw, 66px); }
.h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; }
.lead { font-size: clamp(19px, 1.7vw, 22px); color: var(--muted); max-width: 34ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1 var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--coral-ink); }
.coral { color: var(--coral); }
section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }

/* chips, buttons, the Play badge */
.chip { display: inline-flex; align-items: center; gap: 10px; background: var(--card); border-radius: 999px; padding: 9px 18px 9px 10px; font: 700 16px/1 var(--font); box-shadow: var(--shadow-sm); }
.chip img { width: 30px; height: 30px; border-radius: 9px; }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 5px var(--ok-soft); margin-left: 6px; }
.btn { display: inline-flex; align-items: center; gap: 12px; border-radius: 20px; padding: 16px 26px; font: 800 19px/1 var(--disp); text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.btn:active { transform: translateY(3px); }
.btn-play { background: #1f1714; color: #fff6ee; box-shadow: 0 5px 0 #000; padding: 12px 24px 12px 18px; }
.btn-play svg { width: 30px; height: 30px; }
.btn-play small { display: block; font: 600 12px/1.1 var(--font); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
.btn-play b { display: block; font: 800 21px/1.05 var(--disp); }
.btn-play:active { box-shadow: 0 2px 0 #000; }
.btn-soft { background: var(--card); color: var(--ink); box-shadow: 0 5px 0 var(--line), var(--shadow-sm); }
.btn-soft:active { box-shadow: 0 2px 0 var(--line); }
.btn svg.arrow { width: 20px; height: 20px; }
@media (prefers-color-scheme: dark) { .btn-play { background: #fff6ee; color: #1f1714; box-shadow: 0 5px 0 #b8a690; } .btn-play:active { box-shadow: 0 2px 0 #b8a690; } }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: color-mix(in srgb, var(--ground) 82%, transparent); transition: box-shadow 0.25s ease; }
.nav.scrolled { box-shadow: 0 6px 24px rgba(110, 60, 20, 0.08); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 6px 14px rgba(200, 60, 80, 0.25); }
.brand b { font: 700 27px/1 var(--mark); letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 6px; margin-left: 10px; }
.nav-links a { text-decoration: none; font: 700 17px/1 var(--font); padding: 11px 15px; border-radius: 14px; color: var(--muted); transition: background 0.2s ease, color 0.2s ease; }
.nav-links a:hover { color: var(--ink); background: var(--card); }
.nav-links a.active { color: var(--ink); background: var(--card); box-shadow: var(--shadow-sm); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; background: var(--ground-2); border-radius: 14px; padding: 4px; }
.lang button { font: 700 14px/1 var(--font); padding: 8px 11px; border-radius: 10px; color: var(--muted); }
.lang button.on { background: var(--card); color: var(--ink); box-shadow: 0 2px 6px rgba(110, 60, 20, 0.12); }
.nav .btn-play { padding: 9px 16px 9px 12px; border-radius: 15px; box-shadow: 0 4px 0 #000; }
.nav .btn-play svg { width: 22px; height: 22px; }
.nav .btn-play b { font-size: 16px; }
@media (prefers-color-scheme: dark) { .nav .btn-play { box-shadow: 0 4px 0 #b8a690; } }
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow-sm); place-items: center; }
.burger svg { width: 22px; height: 22px; }
.mobile-menu { display: none; }
@media (max-width: 920px) {
  .nav-links, .nav .btn-play { display: none; }
  .burger { display: grid; }
  .mobile-menu { display: grid; gap: 4px; padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
  .mobile-menu.open { max-height: 420px; padding: 6px 20px 18px; }
  .mobile-menu a { text-decoration: none; font: 700 20px/1 var(--font); padding: 15px 16px; border-radius: 16px; background: var(--card); }
}

/* hero */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 40px; }
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.hero h1 .l2 { display: block; color: var(--coral); }
.hero .lead { max-width: 30ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; font: 700 16px/1.2 var(--font); color: var(--muted); }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 20px; height: 20px; color: var(--ok); }
.hero-art { position: relative; justify-self: center; width: min(430px, 100%); aspect-ratio: 430 / 640; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { margin-top: 20px; } }

/* the flat phone */
.phone { position: relative; border-radius: 52px; background: #2e2420; padding: 12px; box-shadow: 0 40px 80px rgba(80, 40, 10, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05); }
.phone::before, .phone::after { content: ""; position: absolute; left: -6px; width: 6px; border-radius: 3px 0 0 3px; background: #2e2420; }
.phone::before { top: 22%; height: 9%; } .phone::after { top: 34%; height: 13%; }
.phone .screen { border-radius: 41px; overflow: hidden; background: var(--ground-2); aspect-ratio: 393 / 852; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-art .phone { position: absolute; left: 50%; top: 0; width: 76%; transform: translateX(-50%) rotate(2deg); }
.float { position: absolute; z-index: 2; animation: bob 6s ease-in-out infinite; }
.float.f2 { animation-delay: -2s; } .float.f3 { animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-12px) rotate(var(--r, 0deg)); } }
.pill-log { display: flex; align-items: center; gap: 14px; background: var(--feed-soft); border-radius: 999px; padding: 10px 22px 10px 12px; box-shadow: var(--shadow); font: 700 19px/1 var(--disp); white-space: nowrap; }
.pill-log img { width: 40px; height: 40px; }
.pill-log i { font: 600 16px/1 var(--font); font-style: normal; color: var(--muted); margin-left: 6px; }
.goal-mini { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: 24px; padding: 14px 20px 14px 14px; box-shadow: var(--shadow); }
.goal-mini .ok { display: inline-flex; gap: 6px; align-items: center; background: var(--ok-soft); color: var(--ok); border-radius: 999px; padding: 5px 11px; font: 700 14px/1 var(--font); }
.goal-mini b { display: block; font: 800 20px/1.1 var(--disp); }
.ringsvg { width: 56px; height: 56px; transform: rotate(-90deg); }
.ringsvg circle { fill: none; stroke-width: 6; }
.ringsvg .tr { stroke: var(--line); }
.float.f1 { left: -10%; top: 58%; } .float.f2 { right: -8%; top: 13%; }
@media (max-width: 560px) { .float.f1 { left: -2%; top: 62%; } .float.f2 { right: -2%; top: 8%; } .pill-log { font-size: 16px; padding: 8px 16px 8px 8px; } .pill-log img { width: 32px; height: 32px; } .goal-mini { padding: 10px 14px 10px 10px; } .goal-mini b { font-size: 16px; } .ringsvg { width: 44px; height: 44px; } }
.pip-peek { position: absolute; z-index: 3; width: 34%; right: -6%; bottom: 4%; filter: drop-shadow(0 18px 24px rgba(80, 40, 10, 0.25)); }

/* section heads */
.head { display: grid; gap: 18px; justify-items: start; margin-bottom: clamp(36px, 5vw, 60px); max-width: 760px; }
.head.center { justify-items: center; text-align: center; margin-inline: auto; }
.head .lead { max-width: 44ch; }

/* the try-it card: a pared-down Vandaag */
.try { background: var(--ground-2); border-radius: clamp(36px, 5vw, 60px); margin-inline: 20px; }
.try-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 920px) { .try-grid { grid-template-columns: 1fr; } }
.today { background: var(--card); border-radius: 40px; padding: clamp(18px, 4vw, 26px); box-shadow: var(--shadow); max-width: 480px; width: 100%; justify-self: center; position: relative; }
.today-top { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.today-top b { font: 800 34px/1 var(--disp); }
.today-top span { font: 600 16px/1 var(--font); color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile { border-radius: 24px; padding: 14px 6px 12px; display: grid; justify-items: center; gap: 6px; font: 700 18px/1 var(--disp); transition: transform 0.12s ease, box-shadow 0.12s ease; user-select: none; -webkit-tap-highlight-color: transparent; }
.tile img { width: 58px; height: 58px; }
.tile.feed { background: var(--feed); box-shadow: 0 5px 0 var(--feed-lip); }
.tile.diaper { background: var(--diaper); box-shadow: 0 5px 0 var(--diaper-lip); }
.tile.sleep { background: var(--sleep); box-shadow: 0 5px 0 var(--sleep-lip); }
.tile:active, .tile.pressed { transform: translateY(4px) scale(0.98); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12); }
/* a running nap: the cloud breathes instead of a border round the tile */
.tile.running img { animation: breathe 2.2s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1) translateY(-2px); } }
.timer { display: flex; align-items: center; justify-content: space-between; background: var(--sleep-soft); border-radius: 20px; padding: 12px 12px 12px 18px; margin-top: 14px; }
.timer[hidden] { display: none; }
.timer small { display: block; font: 700 14px/1 var(--font); color: var(--sleep-deep); }
.timer b { font: 800 28px/1.1 var(--disp); font-variant-numeric: tabular-nums; }
.timer button { background: var(--sleep-deep); color: #fff; border-radius: 14px; padding: 11px 20px; font: 800 18px/1 var(--disp); box-shadow: 0 4px 0 #3f3cc0; }
.goals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.goal { background: var(--ground); border-radius: 22px; padding: 16px 10px 14px; display: grid; justify-items: center; gap: 2px; }
.ringwrap { position: relative; width: 78px; height: 78px; margin-bottom: 6px; }
.ringwrap .ringsvg { width: 100%; height: 100%; }
.ringwrap .ringsvg circle { stroke-width: 6.5; transition: stroke-dasharray 0.9s cubic-bezier(.2, .8, .2, 1); }
.ringwrap img { position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; }
.gval { font: 800 21px/1.1 var(--disp); font-variant-numeric: tabular-nums; }
.glabel { font: 600 14px/1.2 var(--font); color: var(--muted); text-align: center; }
/* the status line: "nog 300 ml" until the goal is met, then the green pill, in the same spot */
.gstate { display: grid; place-items: center; height: 30px; margin-top: 6px; }
.gstate > * { grid-area: 1 / 1; }
.gstate .left { font: 700 14px/1 var(--font); color: var(--muted); transition: opacity 0.2s ease, transform 0.2s ease; }
.gstate .ok { display: inline-flex; align-items: center; gap: 5px; background: var(--ok-soft); color: var(--ok); border-radius: 999px; padding: 6px 12px 6px 9px; font: 700 14px/1 var(--font); opacity: 0; transform: scale(0.4); transition: opacity 0.2s ease, transform 0.4s cubic-bezier(.3, 1.6, .5, 1); }
.gstate .ok svg { width: 15px; height: 15px; }
.goal.reached .gstate .left { opacity: 0; transform: translateY(-6px); }
.goal.reached .gstate .ok { opacity: 1; transform: scale(1); }
.logbook { margin-top: 18px; }
.logbook p { font: 700 13px/1 var(--font); letter-spacing: 0.08em; color: var(--muted); margin: 0 0 8px 6px; }
.rows { display: grid; gap: 8px; }
.row { display: flex; align-items: center; gap: 12px; border-radius: 20px; padding: 10px 16px 10px 10px; font: 700 18px/1 var(--disp); animation: rowin 0.45s cubic-bezier(.2, .9, .3, 1.2) both; }
.row img { width: 34px; height: 34px; }
.row i { margin-left: auto; font: 600 15px/1 var(--font); font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.row.feed { background: var(--feed-soft); } .row.diaper { background: var(--diaper-soft); } .row.sleep { background: var(--sleep-soft); }
@keyframes rowin { from { opacity: 0; transform: translateY(-14px) scale(0.96); } }
.reset { position: absolute; right: 22px; bottom: -54px; font: 700 15px/1 var(--font); color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.try-copy { display: grid; gap: 22px; }
.steps { display: grid; gap: 14px; list-style: none; }
.steps li { display: flex; gap: 16px; align-items: center; background: var(--card); border-radius: 22px; padding: 14px 18px 14px 14px; box-shadow: var(--shadow-sm); font-weight: 600; }
.steps li img { width: 46px; height: 46px; flex: none; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 5; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--card); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow-sm); }
.card .ic { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 4px; }
.card .ic img { width: 52px; height: 52px; }
.card p { color: var(--muted); font-size: 17px; }
.card.side { grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.card.share { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 30px 34px; }
@media (max-width: 720px) { .card.side, .card.share { grid-template-columns: 1fr; } .card.side .pals { justify-content: center; } }
.bg-feed { background: var(--feed-soft); } .bg-diaper { background: var(--diaper-soft); } .bg-sleep { background: var(--sleep-soft); } .bg-coral { background: var(--coral-soft); } .bg-mint { background: var(--mint); } .bg-ground { background: var(--ground-2); }

/* feature rows with a phone */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.split .phone { width: min(340px, 78%); justify-self: center; }
.ticks { display: grid; gap: 12px; list-style: none; margin-top: 6px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.ticks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-8' fill='none' stroke='%232e8a5e' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* the night band */
.night { background: #221a35; color: #f4e8d2; border-radius: clamp(36px, 5vw, 60px); margin-inline: 20px; overflow: hidden; }
.night .lead, .night .muted { color: #cdbfe0; }
.night .eyebrow { color: #ffb3c0; }
.night .ticks li::before { background-color: rgba(122, 211, 168, 0.18); }
.stars { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(1.6px 1.6px at 12% 18%, #fff4d8 50%, transparent), radial-gradient(1.2px 1.2px at 28% 70%, #fff4d8 50%, transparent), radial-gradient(1.8px 1.8px at 46% 12%, #fff4d8 50%, transparent), radial-gradient(1.2px 1.2px at 63% 82%, #fff4d8 50%, transparent), radial-gradient(1.6px 1.6px at 82% 22%, #fff4d8 50%, transparent), radial-gradient(1.2px 1.2px at 92% 64%, #fff4d8 50%, transparent), radial-gradient(1.4px 1.4px at 6% 88%, #fff4d8 50%, transparent), radial-gradient(1.2px 1.2px at 38% 42%, #fff4d8 50%, transparent); opacity: 0.8; animation: twinkle 5s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: 0.35; } }

/* the magic section */
.pals { display: flex; gap: 10px; align-items: flex-end; }
.pals figure { display: grid; justify-items: center; gap: 4px; }
.pals img { width: clamp(90px, 11vw, 140px); height: auto; filter: drop-shadow(0 12px 16px rgba(80, 40, 10, 0.18)); }
.pals figcaption { font: 800 18px/1 var(--disp); }
.seasons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 8px; }
@media (max-width: 760px) { .seasons { grid-template-columns: repeat(3, 1fr); } }
.seasons figure { border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm); }
.seasons img { width: 100%; aspect-ratio: 900 / 790; object-fit: cover; object-position: top; }
.seasons figcaption { font: 700 15px/1 var(--font); text-align: center; padding: 10px 6px 12px; }
.magic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
@media (max-width: 860px) { .magic-grid { grid-template-columns: 1fr; } }
.magic-card { background: var(--card); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: 1fr 150px; gap: 20px; align-items: center; box-shadow: var(--shadow-sm); }
.magic-card .phone { padding: 6px; border-radius: 26px; }
.magic-card .phone .screen { border-radius: 21px; }
@media (max-width: 480px) { .magic-card { grid-template-columns: 1fr; } .magic-card .phone { width: 170px; justify-self: center; } }

/* pricing */
.price { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; background: var(--card); border-radius: clamp(36px, 5vw, 56px); overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } }
.price-copy { padding: clamp(32px, 5vw, 64px); display: grid; gap: 22px; justify-items: start; }
.price-art { background: var(--feed-soft); display: grid; place-items: center; padding: 40px; position: relative; overflow: hidden; }
.price-art img { position: relative; width: min(300px, 80%); filter: drop-shadow(0 20px 26px rgba(80, 40, 10, 0.22)); }
.week { display: flex; gap: 8px; flex-wrap: wrap; }
.week span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font: 800 16px/1 var(--disp); background: var(--ok-soft); color: var(--ok); }
.week span.pay { width: auto; padding: 0 14px; background: var(--coral-soft); color: var(--coral-ink); }

/* the story */
.story { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.story .big-c { font: 800 clamp(140px, 18vw, 240px)/0.8 var(--disp); color: var(--coral); }
@media (max-width: 720px) { .story { grid-template-columns: 1fr; } }

/* footer */
footer { background: var(--ground-2); margin-top: clamp(60px, 8vw, 100px); padding: 64px 0 36px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
@media (max-width: 820px) { .foot { grid-template-columns: 1fr 1fr; } }
.foot .col { display: grid; gap: 10px; align-content: start; }
.foot .col b.t { font: 800 16px/1 var(--disp); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.foot .col a { text-decoration: none; font-weight: 600; }
.foot .col a:hover { color: var(--coral-ink); }
.social { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; background: var(--card); border-radius: 999px; padding: 9px 16px 9px 10px; box-shadow: var(--shadow-sm); width: max-content; }
.social svg { width: 24px; height: 24px; color: var(--coral); }
.legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 15px; color: var(--muted); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .stars, .tile.running img { animation: none; }
  .row { animation: none; }
}

/* the try page: the real app in a phone */
.try-page { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.demo-phone .phone { width: 414px; }
.demo-phone .screen { aspect-ratio: auto; height: min(820px, 82vh); }
.demo-phone iframe { width: 100%; height: 100%; border: 0; display: block; background: var(--ground-2); }
@media (max-width: 900px) { .try-page { grid-template-columns: 1fr; } .demo-phone { justify-self: center; } .demo-phone .phone { width: min(414px, 100%); } }
