/*
 * Design tokens — "Plopet".
 * World: the interface is made of matte silicone, like the fidget toys themselves.
 * Panels are soft silicone slabs, every primary control is a pop-it dome that presses in.
 * Palette is anchored on the pet (maroon 0x7c2e28 → ink) and its evolution forms (one silicone colour per toy/food).
 * Scene: kids on a phone at home or in the car, daytime light → light theme by default; "night room" for bedtime.
 */

:root {
  /* ---------- Colour: room ---------- */
  --bg: #ffffff;             /* app background */
  --sky: #6cc3e8;            /* room field (pet stage); complements the maroon pet */
  --sky-deep: #3f9fcd;       /* floor/horizon band */
  --slab: #eef8fd;           /* silicone panel surface */
  --slab-press: #d9eef8;     /* pressed/inset panel */
  --ink: #2e1411;            /* text, outlines — the pet's maroon taken to near-black */
  --ink-soft: #5b2a24;       /* secondary text (on slab: 8.9:1) */
  --pet: #7c2e28;            /* the pet's own colour, used for brand marks */

  /* ---------- Colour: action & state ---------- */
  --sunflower: #ffc83d;      /* primary action dome (ink on it: 11.6:1) */
  --sunflower-deep: #e9a400;
  --heart: #ff5c8a;          /* love, wishes */
  --ok: #2f9e5b;             /* success; always paired with an icon */
  --danger: #d64045;         /* destructive; always paired with an icon */
  --focus: #1b4fd8;          /* focus ring, visible on sky and slab */

  /* ---------- Colour: toy silicone (= the food each toy makes = pet form) ---------- */
  --toy-bubble: #6fb7dd;     /* bubble wrap → bubble → bubble form */
  --toy-popcorn: #f2b84b;    /* pop-it → popcorn → sand form */
  --toy-candy: #ff8fc0;      /* spinner → candy → rainbow form */
  --toy-jelly: #6cc77d;      /* slime → jelly → slime form */
  --toy-bean: #d6785e;       /* sand → bean → classic form */
  --toy-marsh: #c9b3f5;      /* squishy (Pro) → marshmallow → marshmallow form */
  --toy-merge: #ff9f5a;      /* poop merge (Pro) → gumball → gumball form */
  --toy-broccoli: #3b8f2a;   /* joke food */

  /* ---------- Silicone material ---------- */
  --shine: rgba(255, 255, 255, 0.55);
  --shade: rgba(46, 20, 17, 0.14);
  --drop: 0 6px 14px rgba(46, 20, 17, 0.18), 0 2px 3px rgba(46, 20, 17, 0.12);
  --slab-relief: inset 0 3px 0 var(--shine), inset 0 -4px 0 var(--shade), var(--drop);
  --dome-up: inset 0 4px 0 rgba(255, 255, 255, 0.6), inset 0 -6px 0 rgba(0, 0, 0, 0.16), 0 6px 0 var(--sunflower-deep), 0 10px 16px rgba(46, 20, 17, 0.2);
  --dome-down: inset 0 6px 10px rgba(0, 0, 0, 0.22), inset 0 -2px 0 rgba(255, 255, 255, 0.4), 0 1px 0 var(--sunflower-deep);

  /* ---------- Type ---------- */
  --font-display: 'M PLUS Rounded 1c', 'Nunito', ui-rounded, 'Arial Rounded MT Bold', sans-serif; /* Latin + Cyrillic: the same face in English and Russian */
  --font-body: 'Nunito', ui-rounded, system-ui, sans-serif;
  --fs-label: 0.875rem;   /* 14 — only under icons */
  --fs-body: 1rem;        /* 16 */
  --fs-lead: 1.25rem;     /* 20 */
  --fs-title: 1.5rem;     /* 24 */
  --fs-display: 2rem;     /* 32 */
  --fs-hero: 2.75rem;     /* 44 — site only */
  --lh-body: 1.5;
  --lh-tight: 1.15;

  /* ---------- Space (4/8 grid) ---------- */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;

  /* ---------- Shape ---------- */
  /* One corner radius for every surface and control. Bars are thinner than 2×16 px,
     so they get a smaller radius to stay a bar, not a pill. */
  --r: 16px;
  --r-bar: 6px;
  --r-sm: var(--r); --r-md: var(--r); --r-lg: var(--r); --r-xl: var(--r); --r-pill: var(--r);

  /* ---------- Touch (kids' fingers) ---------- */
  --tap: 56px;            /* minimum target; Apple 44 / Material 48 raised for 6-year-olds */
  --tap-gap: 12px;

  /* ---------- Motion ---------- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);   /* "squished and sprang back" */
  --dur-press: 90ms;
  --dur-pop: 220ms;
  --dur-move: 280ms;

  /* ---------- Layers ---------- */
  --z-scene: 0; --z-ui: 10; --z-nav: 20; --z-toast: 40; --z-sheet: 100; --z-gate: 1000;

  color-scheme: light;
}

/* Always the light room (owner's call, 24 Oct): no dark mode, whatever the phone is set to. */

@media (prefers-reduced-motion: reduce) {
  :root { --dur-pop: 1ms; --dur-move: 1ms; --ease-spring: linear; }
}

/* Browser surfaces carry the world too */
::selection { background: var(--sunflower); color: #2e1411; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--r-sm); }

/* Display text is 700: M PLUS Rounded 1c has no 600 (loaded 500/700/800).
   Plopet site: static pages at /, /<toy>, /privacy, /terms. Sits on top of /shared/tokens.css (the build glues them into one file).
   Same world as the app: matte silicone slabs, pop-it domes, one silicone colour per toy. Mobile-first at 375px, light only. */

* { box-sizing: border-box; }
/* Site depth: a soft lift, not the app's silicone ledge (the app keeps --slab-relief and --dome-up) */
:root {
  --lift: 0 1px 2px rgba(46, 20, 17, .06), 0 8px 24px rgba(46, 20, 17, .08);
  --lift-hover: 0 2px 4px rgba(46, 20, 17, .08), 0 16px 32px rgba(46, 20, 17, .12);
  --btn-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 2px 4px rgba(150, 100, 0, .18), 0 8px 20px rgba(233, 164, 0, .32);
}
::selection { background: var(--sunflower); color: var(--ink); }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--s4); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 600; /* Nunito is loaded at 600/700/800: say what renders */
  line-height: var(--lh-body);
  overflow-wrap: break-word;
}
svg { display: block; }
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (hover: hover) { a:hover { text-decoration-color: var(--pet); } }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: var(--lh-tight); margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-title); }
h3 { font-size: var(--fs-lead); }
p { margin: 0; }
p + p { margin-top: var(--s3); }

.skip { position: absolute; left: var(--s4); top: -100px; z-index: var(--z-toast); display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--s4); border-radius: var(--r); background: var(--sunflower); font-family: var(--font-display); font-weight: 700; }
.skip:focus { top: var(--s2); }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 var(--s4); }
.prose { max-width: 32rem; } /* ~70 characters a line */

/* ---------- Header / footer ---------- */
.top { padding: var(--s3) 0; }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); } /* large text: Play drops under the logo */
.brand { display: inline-flex; align-items: center; gap: var(--s2); min-height: 48px; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-title); color: var(--pet); text-decoration: none; }
.brand svg { width: 36px; height: 36px; }

.foot { margin-top: var(--s8); padding: var(--s6) 0 var(--s7); background: var(--slab); }
.foot nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.foot nav a { display: inline-flex; align-items: center; min-height: 48px; font-family: var(--font-display); font-weight: 700; }
.foot p { margin-top: var(--s4); color: var(--ink-soft); }

/* ---------- Pop-it dome: the primary action (same recipe as the app) ---------- */
.dome {
  min-height: var(--tap);
  padding: 0 var(--s5);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, #ffd95e 0%, var(--sunflower) 100%);
  color: #2e1411;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lead);
  text-decoration: none;
  box-shadow: var(--btn-shadow);
  transition: transform var(--dur-move) var(--ease-out), box-shadow var(--dur-move) var(--ease-out), filter var(--dur-move) var(--ease-out);
}
.dome svg { width: 24px; height: 24px; flex: none; }
@media (hover: hover) { .dome:hover { transform: translateY(-2px); filter: saturate(1.08); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 4px 8px rgba(150,100,0,.2), 0 14px 28px rgba(233,164,0,.38); } }
.dome:active { transform: translateY(1px) scale(.98); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 1px 2px rgba(150,100,0,.2); transition-duration: var(--dur-press); }
.dome.small { min-height: 48px; padding: 0 var(--s4); font-size: var(--fs-body); }
.dome.small svg { width: 20px; height: 20px; }
.quiet { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--s5); border-radius: var(--r-pill); background: var(--slab-press); font-family: var(--font-display); font-weight: 700; text-decoration: none; }
.cta { display: grid; justify-items: start; gap: var(--s3); margin-top: var(--s5); }
.cta small { font-weight: 700; color: var(--ink-soft); font-size: var(--fs-body); }

/* ---------- Sections ---------- */
main > section, main > .wrap > section:not(.hero) { margin-top: var(--s7); }
.section-head { display: grid; gap: var(--s2); margin-bottom: var(--s5); }
.section-head p { color: var(--ink-soft); font-weight: 700; }

/* Hero: the pet's sky with a slab floor */
.hero { margin-top: 0; }
.sky {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5);
  padding: var(--s6) var(--s5) var(--s7);
  border-radius: var(--r);
  background: radial-gradient(120% 90% at 85% 40%, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 60%), var(--sky);
}
.sky .lede { margin-top: var(--s3); font-size: var(--fs-body); font-weight: 700; } /* two lines on a phone; --fs-lead from 40em */
.sky .cta small { color: var(--ink); }
.hero-art { width: 160px; justify-self: center; }
.hero-art svg { width: 100%; height: auto; }

/* Toy page hero: flooded with the toy's own silicone colour */
.toy-hero { background: radial-gradient(120% 90% at 85% 40%, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 60%), var(--pad, var(--sky)); }
.toy-hero .art { width: 100%; max-width: 280px; justify-self: center; }
.toy-hero .art svg { width: 100%; height: auto; }

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: var(--s4) var(--s4) var(--s4) 72px; border-radius: var(--r); background: var(--slab); box-shadow: var(--lift); }
.steps li::before { content: counter(step); position: absolute; left: var(--s4); top: var(--s4); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--slab-press); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lead); }
.steps p { margin-top: var(--s1); }

/* ---------- Toy pads (same as the app's toy box) ---------- */
.pads { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.pad {
  position: relative; display: grid; grid-template-rows: 110px auto; gap: var(--s2);
  padding: var(--s3) var(--s4) var(--s4); border-radius: var(--r);
  background: var(--pad); color: #2e1411;
  box-shadow: var(--lift);
  transition: transform var(--dur-move) var(--ease-out), box-shadow var(--dur-move) var(--ease-out);
}
@media (hover: hover) { .pad:has(a):hover { transform: translateY(-4px); box-shadow: var(--lift-hover); } }
.pad .art { display: grid; place-items: center; min-height: 0; }
.pad .art svg { height: 100%; width: auto; max-width: 100%; }
.pad h3 a { text-decoration: none; }
.pad h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.pad h3 a:focus-visible { outline: none; }
.pad:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.pad:has(a):active { transform: translateY(0) scale(.98); transition-duration: var(--dur-press); }
.pad p { margin-top: var(--s1); font-weight: 700; }
.makes { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s2); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-label); }
.makes span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r); background: rgba(255,255,255,.7); box-shadow: inset 0 3px 6px rgba(0,0,0,.14); }
.makes svg { width: 30px; height: 30px; }
.psst { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s5); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lead); }
.psst svg { width: 44px; height: 44px; flex: none; color: var(--heart); }

/* ---------- Pets ---------- */
.pets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); gap: var(--s3); }
.pets li { position: relative; display: grid; justify-items: center; gap: var(--s1); padding: var(--s4) var(--s2); border-radius: var(--r); background: var(--slab); box-shadow: var(--lift); text-align: center; }
.pets li > * { max-width: 100%; }
.pets li > svg { width: 88px; height: 88px; }
.pets b { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.1; }
.pets small { font-weight: 700; color: var(--ink-soft); font-size: var(--fs-label); }
.growth { margin-top: var(--s5); }
.ladder { list-style: none; margin: var(--s3) 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.ladder li { display: inline-flex; align-items: center; gap: var(--s1); padding: var(--s1) var(--s3); border-radius: var(--r); background: var(--slab-press); font-family: var(--font-display); font-weight: 700; }
.ladder svg { width: 18px; height: 18px; }

/* ---------- Pro page (web-to-app paywall, test) ---------- */
.pro-gang { width: 26rem; max-width: 100%; justify-self: center; display: flex; justify-content: center; align-items: flex-end; } /* a set width: the eggs size in % of it */
.pro-gang span { width: min(104px, 24%); margin: 0 -10px; }
.pro-gang span:nth-child(2) { width: min(132px, 30%); position: relative; z-index: 1; }
.pro-gang svg { width: 100%; height: auto; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--s3); }
.perks li { display: grid; grid-template-rows: 96px auto auto; gap: var(--s1); padding: var(--s4); border-radius: var(--r); background: var(--pad); box-shadow: var(--lift); }
.perks .art { display: flex; justify-content: center; align-items: center; gap: var(--s2); }
.perks .art svg { height: 88px; width: auto; }
.perks li:nth-child(n+3) .art svg { height: 56px; color: #fff; }

/* ---------- w2app landing (/calm) ---------- */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.cta-row > * { justify-content: center; text-align: center; }
@media (max-width: 39.99em) { .cta-row > * { flex: 1 1 100%; } } /* phone: full-width buttons, the label may wrap */
.badges { list-style: none; margin: var(--s5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.badges li { display: inline-flex; align-items: center; gap: var(--s1); padding: var(--s1) var(--s3) var(--s1) var(--s2); border-radius: var(--r-pill); background: rgba(255, 255, 255, .7); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-label); }
.badges svg { width: 18px; height: 18px; color: #1f7a4d; }
.pro-gang span:nth-child(4) { width: min(96px, 22%); }
.proof .placeholder-note { color: #8a4b00; }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: var(--s3); }
.quotes li { display: grid; gap: var(--s3); padding: var(--s4); border-radius: var(--r); background: var(--slab); box-shadow: var(--lift); outline: 2px dashed rgba(138, 75, 0, .4); outline-offset: -6px; }
.quotes p { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lead); line-height: var(--lh-tight); }
.quotes span { color: var(--ink-soft); }
.compare-wrap { overflow-x: auto; border-radius: var(--r); box-shadow: var(--lift); background: var(--bg); }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: var(--s3) var(--s4); text-align: left; border-top: 1px solid var(--slab-press); }
.compare thead th { border-top: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lead); }
.compare tbody th { font-weight: 700; }
.compare .pro-col { background: #fff6d6; font-weight: 700; }
.compare thead .pro-col { background: var(--sunflower); }
.fine { margin-top: var(--s3); color: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare-wrap + .cta { margin-top: var(--s5); }

/* ---------- Parents ---------- */
.parents { padding: var(--s6) 0; background: var(--slab); }
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.trust li { padding: var(--s4); border-radius: var(--r); background: var(--bg); box-shadow: var(--lift); }
.trust h3 { margin-bottom: var(--s1); }

/* ---------- FAQ: native disclosure, no JS ---------- */
.faq { display: grid; gap: var(--s2); }
.faq details { border-radius: var(--r); background: var(--slab); box-shadow: var(--lift); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: var(--tap); padding: var(--s3) var(--s4); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lead); line-height: var(--lh-tight); border-radius: var(--r); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--sunflower); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 var(--s4) var(--s4); }
.parents .faq details { background: var(--bg); }

/* ---------- Toy page bits ---------- */
.tips { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s2); }
.tips li { position: relative; padding: var(--s3) var(--s4) var(--s3) 48px; border-radius: var(--r); background: var(--slab); }
.tips li::before { content: ""; position: absolute; left: var(--s4); top: 19px; width: 14px; height: 14px; border-radius: 50%; background: var(--pad, var(--sunflower)); box-shadow: inset 0 2px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(0,0,0,.18); }
.teaser { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--s4); padding: var(--s4); border-radius: var(--r); background: var(--sky); box-shadow: var(--lift); }
.teaser .food { width: 64px; height: 64px; display: grid; place-items: center; border-radius: var(--r); background: rgba(255,255,255,.7); box-shadow: inset 0 3px 6px rgba(0,0,0,.14); }
.teaser .food svg { width: 48px; height: 48px; }
.teaser b { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lead); line-height: var(--lh-tight); }
.teaser .quiet { grid-column: 1 / -1; justify-self: start; background: var(--bg); }

/* ---------- Legal ---------- */
.draft { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4); border-radius: var(--r); background: #fff3c4; border: 2px solid var(--sunflower-deep); font-weight: 800; }
.draft svg { width: 24px; height: 24px; flex: none; margin-top: 1px; }
.legal h1 { margin-top: var(--s5); }
.legal .updated { margin-top: var(--s2); color: var(--ink-soft); font-weight: 700; }
.legal h2 { margin-top: var(--s6); margin-bottom: var(--s3); }
.legal ul { margin: var(--s3) 0 0; padding-left: 1.25em; }
.legal li + li { margin-top: var(--s2); }

/* ---------- Wider screens ---------- */
@media (min-width: 40em) { /* 640px at 16px text: grows with the reader's text size */
  :root { --fs-display: 2.5rem; }
  .pads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sky { padding: var(--s7) var(--s6); }
  .sky .lede { font-size: var(--fs-lead); }
}
@media (min-width: 56.25em) { /* 900px */
  :root { --fs-display: var(--fs-hero); }
  .sky { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: var(--s8) var(--s7); }
  .hero-art { width: 240px; }
  .toy-hero .art { width: 300px; }
  .pads { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* four cards: 2 × 2, no orphan */
}

/* ---------- Motion: the egg is about to hatch; toys wake up under the pointer ---------- */
@keyframes wobble {
  0%, 70%, 100% { transform: rotate(0); }
  74% { transform: rotate(-7deg); } 78% { transform: rotate(6deg); } 82% { transform: rotate(-4deg); } 86% { transform: rotate(2deg); } 90% { transform: rotate(0); }
}
@keyframes hop { 0%, 100% { transform: translateY(0) scale(1); } 30% { transform: translateY(-10px) scale(1.04, .97); } 60% { transform: translateY(0) scale(1.03, .96); } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 40% { transform: translateX(3px); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dome, .pad { transition: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-art svg { transform-origin: 50% 82%; animation: wobble 3.2s var(--ease-out) infinite 1s; }
  .pets li > svg { transform-origin: 50% 82%; }
  .pro-gang span { transform-origin: 50% 82%; animation: wobble 3.2s var(--ease-out) infinite; }
  .pro-gang span:nth-child(1) { animation-delay: .4s; } .pro-gang span:nth-child(2) { animation-delay: 1.2s; } .pro-gang span:nth-child(3) { animation-delay: 2s; }
  @media (hover: hover) {
    .pets li:hover > svg { animation: wobble 1.4s var(--ease-out) 1; animation-delay: -1s; }
    .pad:has(a):hover .art svg { animation: hop 520ms var(--ease-out); }
    .dome:hover svg { animation: nudge 600ms var(--ease-out); }
  }
  /* sections rise in as they scroll into view, where the browser can tie it to scrolling */
  @supports (animation-timeline: view()) {
    .steps li, .pads > li, .pets li, .trust li { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}

/* ── w2app skin (/calm): looks like the app, not like the site. One phone-width column everywhere; on a computer it
   stands in the middle of the app's sky. App vocabulary: the room with its floor, silicone slabs, the sunflower dome
   button with its thick lip, and a buy bar pinned to the bottom like the app's pay sheet. ── */
.skin-app { background: var(--sky); }
.skin-app .top, .skin-app .skip + .top { display: none; }
.skin-app main { padding: 0; }
.skin-app main > section { margin-top: 0; }
.app-col { width: 100%; max-width: 440px; margin: 0 auto; min-height: 100dvh; background: var(--bg); display: grid; align-content: start; }
.app-col > .sheet { margin-top: var(--s4); }
.app-col > .buy-bar { margin-top: var(--s4); }
@media (min-width: 40em) {
  .skin-app { background: radial-gradient(120% 80% at 50% 0%, #8fd3f0, var(--sky) 60%, var(--sky-deep)); }
  .app-col { margin: var(--s6) auto; min-height: 0; border-radius: 32px; overflow: clip; box-shadow: 0 30px 60px rgba(20, 60, 90, .35), 0 0 0 8px rgba(255,255,255,.35); }
}
.app-bar { display: flex; align-items: center; justify-content: space-between; padding: max(var(--s3), env(safe-area-inset-top)) var(--s4) 0; background: var(--sky); }
.app-brand { display: inline-flex; align-items: center; gap: var(--s2); font: 700 1.125rem/1 var(--font-display); color: var(--ink); }
.app-brand img { border-radius: 9px; }
.app-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3); border-radius: 999px; background: rgba(255,255,255,.55); color: var(--ink); font: 700 .9375rem/1 var(--font-display); text-decoration: none; }

/* The room: sky, a rounded blue floor, the free egg in front and the three Pro eggs waiting behind it */
.room { background: var(--sky); color: var(--ink); padding-bottom: var(--s5); }
.room-stage { position: relative; height: 260px; overflow: hidden; }
.room-floor { position: absolute; left: -10%; right: -10%; bottom: 0; height: 34%; border-radius: 50% 50% 0 0 / 40px 40px 0 0; background: var(--sky-deep); box-shadow: inset 0 6px 0 rgba(255,255,255,.25); }
.room-egg { position: absolute; z-index: 1; filter: drop-shadow(0 10px 10px rgba(20, 50, 80, .3)); }
.room-egg svg { width: 100%; height: 100%; }
.room-egg.main { left: 50%; bottom: 12%; width: 150px; height: 150px; margin-left: -75px; z-index: 2; }
.room-egg.e1 { left: 8%; bottom: 26%; width: 84px; height: 84px; }
.room-egg.e2 { right: 8%; bottom: 26%; width: 84px; height: 84px; }
.room-egg.e3 { left: 50%; bottom: 52%; width: 64px; height: 64px; margin-left: 52px; opacity: .9; }
.room-copy { display: grid; gap: var(--s3); padding: var(--s4) var(--s4) 0; }
.room-copy h1 { font-size: clamp(1.75rem, 8vw, 2.125rem); line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; color: var(--ink); }
.room-copy p { font-size: 1.0625rem; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.chips li { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 var(--s3); border-radius: 999px; background: rgba(255,255,255,.55); color: var(--ink); font: 700 .875rem/1 var(--font-display); }
.chips svg { width: 16px; height: 16px; }

/* Sheets: the app's silicone panels */
.sheet { margin: 0 var(--s3); padding: var(--s5) var(--s4); border-radius: 24px; background: var(--slab); box-shadow: var(--slab-relief); display: grid; gap: var(--s3); }
.sheet h2 { font-size: 1.375rem; line-height: 1.2; text-wrap: balance; }
.sheet-lead { color: var(--ink-soft); font-weight: 700; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.rows li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s3); align-items: start; padding: var(--s3); border-radius: var(--r); background: var(--bg); }
.row-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--sunflower); color: #2e1411; box-shadow: inset 0 2px 0 rgba(255,255,255,.5), inset 0 -3px 0 rgba(0,0,0,.12); }
.row-icon svg { width: 22px; height: 22px; }
.rows h3 { font-size: 1.0625rem; line-height: 1.25; }
.rows p { margin-top: 2px; color: var(--ink-soft); line-height: 1.4; }

/* Toys: a strip of the app's own toy pads, scrolled sideways like a shelf; the next one peeks in */
.toy-strip { list-style: none; margin: 0 calc(-1 * var(--s4)); padding: var(--s1) var(--s4) var(--s3); display: grid; grid-auto-flow: column; grid-auto-columns: 128px; gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--s4); }
.toy-strip li { scroll-snap-align: start; display: grid; justify-items: center; gap: var(--s2); padding: var(--s3) var(--s2); border-radius: var(--r); background: var(--pad); box-shadow: inset 0 3px 0 var(--shine), inset 0 -4px 0 var(--shade); color: #2e1411; }
.toy-strip svg { width: 88px; height: 88px; }
.toy-strip b { font: 700 .9375rem/1.2 var(--font-display); text-align: center; }

/* Free vs Pro as the app's segmented card */
.plan { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--bg); border-radius: var(--r); overflow: hidden; }
.plan th, .plan td { padding: var(--s3) var(--s2); text-align: center; border-bottom: 1px solid var(--slab-press); font-variant-numeric: tabular-nums; }
.plan tbody tr:last-child > * { border-bottom: 0; }
.plan th[scope="row"] { text-align: start; font-weight: 700; }
.plan thead th { font: 700 1rem/1 var(--font-display); }
.plan .pro-col { background: #fff6d6; font-weight: 700; }
.plan thead .pro-col { background: var(--sunflower); }
.skin-app .fine { color: var(--ink-soft); font-size: .9375rem; }

/* FAQ as app list rows */
.faq-rows { display: grid; gap: var(--s2); }
.faq-rows details { border-radius: var(--r); background: var(--bg); }
.faq-rows summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 52px; padding: var(--s2) var(--s4); font: 700 1rem/1.3 var(--font-display); cursor: pointer; list-style: none; }
.faq-rows summary::-webkit-details-marker { display: none; }
.faq-rows summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--slab-press); font-size: 1.125rem; }
.faq-rows details[open] summary::after { content: "–"; }
.faq-rows details p { padding: 0 var(--s4) var(--s4); line-height: 1.45; color: var(--ink-soft); }

/* Buy bar: pinned to the bottom of the column like the app's pay sheet; the sunflower dome with its lip */
.buy-bar { position: sticky; bottom: 0; z-index: 5; display: grid; justify-items: center; gap: var(--s1); padding: var(--s3) var(--s4) max(var(--s3), env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 -8px 24px rgba(46, 20, 17, .08); }
.buy { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; border-radius: 18px; background: var(--sunflower); color: #2e1411; font: 700 1.125rem/1 var(--font-display); text-decoration: none; box-shadow: var(--dome-up); transition: transform .12s ease-out, box-shadow .12s ease-out; }
.buy:active { transform: translateY(4px); box-shadow: var(--dome-down); }
.buy-free { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink-soft); font: 700 .9375rem/1 var(--font-display); text-decoration: underline; text-underline-offset: 3px; }

/* The footer shrinks into the column too */
.skin-app .foot { max-width: 440px; margin: 0 auto var(--s6); margin-top: 0; padding: var(--s5) var(--s4); background: transparent; color: var(--ink); }
.skin-app .foot a, .skin-app .foot p { color: var(--ink); }
@media (max-width: 39.99em) { .skin-app .foot { background: var(--bg); margin-bottom: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .room-egg.main { animation: room-wobble 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
  .room-egg.e1, .room-egg.e2, .room-egg.e3 { animation: room-bob 3.6s ease-in-out infinite; }
  .room-egg.e2 { animation-delay: .6s; } .room-egg.e3 { animation-delay: 1.2s; }
}
@keyframes room-wobble { 0%, 70%, 100% { rotate: 0deg; } 76% { rotate: -6deg; } 82% { rotate: 5deg; } 88% { rotate: -3deg; } }
@keyframes room-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
