/*
 * 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; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); } /* two a row, like the app's toy box */
.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); }

/* ---------- Wide screens: the same phone layout, as one column in the middle (owner's call, 25 Oct) ---------- */
@media (min-width: 30em) {
  html { background: radial-gradient(120% 80% at 50% 0%, #8fd3f0, var(--sky) 60%, var(--sky-deep)) fixed; }
  body:not(.skin-app) { max-width: 440px; min-height: 100dvh; margin: 0 auto; box-shadow: 0 0 0 1px rgba(20, 60, 90, .08), 0 30px 60px rgba(20, 60, 90, .25); }
}

/* ---------- 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); }
/* the rounded face runs wide: the w2app page sets it 4% tighter at every size (owner's call). Set on each element,
   because an inherited em value is fixed in px at the body's size. */
.skin-app, .skin-app * { letter-spacing: -0.04em; }
.skin-app .top, .skin-app .skip + .top { display: none; }
.skin-app main { padding: 0; }
.skin-app main > section { margin-top: 0; }
.app-col { position: relative; 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); }
}
/* the bar floats over the room's sky, with no band of its own */
.app-bar { position: absolute; z-index: 4; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: max(var(--s3), env(safe-area-inset-top)) var(--s4) 0; }
.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-brand .wordmark { display: block; height: 34px; width: auto; } /* the cartoon wordmark: yellow letters, ink outline, a bubble for the o */
.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 with a soft sun, a rounded blue floor and the whole gang on it. The pets are renders from the
   app's own 3D code (pet/src/snapshot.js), so the page shows exactly who lives in the app. */
.room { background: var(--sky); color: var(--ink); padding-bottom: var(--s5); } /* one flat sky: the browser's top bar takes the same colour */
.room-stage { position: relative; height: 356px; overflow: hidden; }
.room-glow { position: absolute; left: 50%; top: 10%; width: 300px; height: 300px; margin-left: -150px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,246,200,.85), rgba(255,236,160,.3) 55%, transparent); } /* fades out inside the stage: a clipped edge read as a band behind the copy */
.room-floor { position: absolute; left: 6%; right: 6%; bottom: 4%; height: 56px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 70, 110, .28), transparent); } /* a soft shadow, no floor band: the copy sits on the same sky */
.pet { position: absolute; z-index: 1; height: auto; filter: drop-shadow(0 12px 10px rgba(20, 50, 80, .28)); transform-origin: 50% 100%; }
.p-poop { z-index: 3; left: 50%; bottom: 9%; width: 150px; margin-left: -75px; }
.p-galaxy { left: 2%; bottom: 25%; width: 128px; }
.p-cloud { right: 3%; bottom: 23%; width: 112px; }
.p-gum { z-index: 0; left: 50%; bottom: 47%; width: 84px; margin-left: 30px; }
.spark { position: absolute; z-index: 2; width: 18px; height: 18px; color: #fff6c8; filter: drop-shadow(0 0 6px rgba(255,240,170,.9)); }
.spark svg, .snack svg { width: 100%; height: 100%; display: block; }
.spark.s1 { left: 14%; top: 22%; } .spark.s2 { right: 16%; top: 20%; width: 24px; height: 24px; }
.spark.s3 { left: 30%; top: 40%; width: 12px; height: 12px; } .spark.s4 { right: 30%; top: 30%; width: 14px; height: 14px; }
.snack { position: absolute; z-index: 2; width: 34px; height: 34px; opacity: 0; filter: drop-shadow(0 4px 4px rgba(20,50,80,.2)); }
.snack.f1 { left: 22%; bottom: 30%; } .snack.f2 { right: 22%; bottom: 34%; } .snack.f3 { left: 40%; bottom: 52%; } .snack.f4 { right: 38%; bottom: 46%; }
.hero-cta { display: grid; gap: var(--s2); margin-top: var(--s2); }
/* Pro in the hero: a gold button with the plum crown of the app's Pro banner */
.buy.buy-pro { gap: var(--s2); min-height: 60px; background: linear-gradient(135deg, #ffe08a, var(--sunflower) 45%, #f5b52a); box-shadow: inset 0 3px 0 rgba(255,255,255,.55), inset 0 -4px 0 rgba(150,90,0,.22), 0 10px 22px rgba(27, 16, 51, .3); }
.buy.buy-pro svg { width: 30px; height: 26px; margin-top: -3px; filter: drop-shadow(0 2px 0 rgba(90, 46, 10, .25)); }
.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; 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: the app's own toy pads, all five at a glance (3 + 2), no sideways scroll */
.toy-strip { list-style: none; margin: 0; padding: var(--s1) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); }
.toy-strip li { position: relative; 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: 100%; height: auto; }
.toy-strip b { font: 700 .75rem/1.15 var(--font-display); text-align: center; text-wrap: balance; }
.toy-strip .pro-tag { position: absolute; top: -6px; right: -4px; }
/* Pro mark on a toy: the app's sunflower badge */
.pro-tag { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 3px; padding: 3px 9px 3px 5px; border-radius: 999px; border: 2px solid #2e1411;
  background: radial-gradient(120% 140% at 20% 0%, #8a5cd6 0%, #5b34a8 45%, #2c1a5c 100%); color: #ffe08a; font: 800 .8125rem/1.1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; vertical-align: middle;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.3), 0 2px 4px rgba(46,20,17,.25); rotate: 6deg; } /* the Pro block's plum, never the sunflower of the main buttons */
.pro-tag svg { width: 19px !important; height: 17px !important; }
.pro-tag::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .pro-tag::after { animation: sweep 4.5s ease-in-out infinite 2s; } }

/* 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: var(--bg); box-shadow: 0 -8px 24px rgba(46, 20, 17, .08); } /* solid white, nothing shows through: the browser's bottom bar takes the same colour */
.buy { position: relative; overflow: hidden; isolation: isolate; 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: inset 0 3px 0 rgba(255,255,255,.5), inset 0 -4px 0 rgba(0,0,0,.14), var(--drop); transition: transform var(--dur-press) var(--ease-out); }
.buy:active { transform: translateY(2px) scale(.98); }
/* a light sweep across the buy button, now and then */
.buy::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-120%); }
.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) {
  .pet { animation: pet-breathe 2.8s ease-in-out infinite; }
  .p-galaxy { animation-delay: -.7s; } .p-cloud { animation-delay: -1.4s; } .p-gum { animation-delay: -2.1s; }
  .p-poop { animation: pet-hop 3.6s var(--ease-out) infinite 1s; }
  .spark { animation: twinkle 2.4s ease-in-out infinite; }
  .spark.s2 { animation-delay: .6s; } .spark.s3 { animation-delay: 1.2s; } .spark.s4 { animation-delay: 1.8s; }
  .snack { animation: snack-float 5s ease-in-out infinite; }
  .snack.f2 { animation-delay: 1.25s; } .snack.f3 { animation-delay: 2.5s; } .snack.f4 { animation-delay: 3.75s; }
  .room-glow { animation: glow 4s ease-in-out infinite; }
  .buy::after { animation: sweep 4.5s ease-in-out infinite 1.5s; }
  .gang-row img { animation: pet-breathe 2.8s ease-in-out infinite; }
  .gang-row img:nth-child(2) { animation-delay: -.7s; } .gang-row img:nth-child(3) { animation-delay: -1.4s; } .gang-row img:nth-child(4) { animation-delay: -2.1s; }
  .home-app img { animation: app-call 2.6s ease-in-out infinite; }
  .grow-pic img { transform-origin: 50% 100%; animation: pet-breathe 2.8s ease-in-out infinite; }
  .grow li:nth-child(2) .grow-pic img { animation-delay: -.9s; } .grow li:nth-child(3) .grow-pic img { animation-delay: -1.8s; }
  .is-royal .grow-step { animation: app-call 2.6s ease-in-out infinite; }
  /* the pinned buy bar slides in once the hero's own buttons have scrolled away */
  @supports (animation-timeline: scroll()) {
    .buy-bar { animation: bar-in linear both; animation-timeline: scroll(root); animation-range: 420px 560px; }
  }
}
@keyframes bar-in { from { opacity: 0; transform: translateY(100%); visibility: hidden; } to { opacity: 1; transform: none; visibility: visible; } }
@keyframes pet-breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.03, .97); } }
@keyframes pet-hop { 0%, 55%, 100% { transform: translateY(0) scale(1, 1); } 62% { transform: translateY(0) scale(1.08, .9); } 72% { transform: translateY(-28px) scale(.95, 1.06); } 82% { transform: translateY(0) scale(1.06, .92); } 90% { transform: scale(1, 1); } }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(25deg); } }
@keyframes snack-float { 0% { opacity: 0; transform: translateY(20px) scale(.6); } 20% { opacity: 1; transform: translateY(0) scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-60px) scale(.9) rotate(20deg); } }
@keyframes glow { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes sweep { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes app-call { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,200,61,.7); } 50% { transform: scale(1.06); box-shadow: 0 0 0 10px rgba(255,200,61,0); } }

/* Grows while they play: three steps of one pet */
.grow { position: relative; list-style: none; margin: 0; padding: var(--s4) var(--s2) var(--s4); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); border-radius: 20px; background: radial-gradient(90% 70% at 85% 30%, rgba(255, 233, 160, .75), transparent 60%), linear-gradient(#8fd3f0, var(--sky)); box-shadow: inset 0 3px 0 rgba(255,255,255,.45), inset 0 -4px 0 rgba(20, 70, 110, .18); overflow: hidden; }
/* the track under the pets, filling towards the crown */
.grow::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: calc(var(--s4) + 120px + var(--s2) + 13px); height: 6px; border-radius: 3px; background: linear-gradient(90deg, #fff, var(--sunflower)); box-shadow: 0 0 12px rgba(255, 200, 61, .8); }
.grow li { position: relative; display: grid; grid-template-rows: 120px 32px auto; justify-items: center; align-content: start; gap: var(--s2); text-align: center; }
.grow-pic { display: grid; place-items: end center; width: 100%; height: 120px; }
.grow-pic img { width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(20, 70, 110, .3)); }
.grow li:nth-child(1) .grow-pic img { height: 52px; }
.grow li:nth-child(2) .grow-pic img { height: 84px; }
.grow li:nth-child(3) .grow-pic img { height: 116px; }
.grow li.is-royal .grow-pic { background: radial-gradient(closest-side, rgba(255, 236, 160, .95), transparent); }
.grow-step { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #2e1411; font: 800 .9375rem/1 var(--font-display); box-shadow: inset 0 -3px 0 rgba(0,0,0,.12), 0 3px 8px rgba(20, 70, 110, .25); }
.is-royal .grow-step { width: 40px; height: 40px; margin-top: -4px; background: linear-gradient(#fff3c4, var(--sunflower)); }
.is-royal .grow-step svg { width: 26px; height: 22px; }
.grow b { font: 700 .875rem/1.25 var(--font-display); text-wrap: balance; color: #2e1411; }

/* Pro: the app's premium plum banner with a gold rim, the whole gang on it */
/* What you both get: the child's side in sunflower, the parent's in sky */
.both-col { display: grid; gap: var(--s3); padding: var(--s4); border-radius: var(--r); }
.both-col.kid { background: linear-gradient(160deg, #fff4cf, #ffe08a); }
.both-col.you { background: linear-gradient(160deg, #e3f5fd, #bfe6f7); }
.both-col h3 { font: 800 1.125rem/1.2 var(--font-display); color: #2e1411; }
.both-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.both-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s3); align-items: start; }
.both-list b { font: 700 1.0625rem/1.25 var(--font-display); color: #2e1411; }
.both-list p { margin-top: 2px; line-height: 1.4; color: var(--ink-soft); }
.both-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; color: #2e1411; box-shadow: inset 0 -3px 0 rgba(0,0,0,.08), 0 3px 8px rgba(46, 20, 17, .12); }
.both-col.kid .both-icon { color: #b26a00; }
.both-col.you .both-icon { color: #1f6f99; }
.both-icon svg { width: 24px; height: 24px; }
.gang { position: relative; isolation: isolate; margin: var(--s4) var(--s3) 0; padding: var(--s5) var(--s4); display: grid; gap: var(--s3); border-radius: 28px; border: 1.5px solid transparent; background: radial-gradient(120% 90% at 100% 0%, #6a43b3 0%, #33205e 50%, #1b1033 100%) padding-box, linear-gradient(135deg, #ffe9a6, #c48a1c 35%, #fff1c2 55%, #a8700f 80%, #ffe08a) border-box; color: #fff; box-shadow: 0 14px 28px rgba(27, 16, 51, .38), 0 3px 6px rgba(27, 16, 51, .25); overflow: hidden; }
.gang::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 78% 12%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 88% 46%, #ffe9a6 50%, transparent 51%), radial-gradient(1px 1px at 30% 60%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 60% 30%, #fff 50%, transparent 51%); opacity: .8; }
.gang-badge { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 var(--s3); border-radius: 999px; background: linear-gradient(135deg, #ffe9a6, #e0a20f 60%, #ffe08a); color: #3a2400; font: 800 .875rem/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.gang-badge svg { width: 16px; height: 16px; }
.gang h2 { font-size: 1.75rem; line-height: 1.1; color: #fff; }
.gang-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: var(--s2); padding: var(--s3) var(--s2) var(--s2); border-radius: 20px; background: radial-gradient(80% 70% at 50% 100%, rgba(255,233,166,.28), transparent 70%); }
.gang-row img { width: 100%; height: auto; transform-origin: 50% 100%; filter: drop-shadow(0 8px 8px rgba(0,0,0,.35)); }
.gang-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.gang-list li { line-height: 1.4; color: rgba(255,255,255,.9); }
.gang-list b { font: 800 1.25rem/1 var(--font-display); color: #ffe08a; margin-right: 4px; }
.gang .buy { margin-top: var(--s2); }
.gang-fine { font-size: .9375rem; color: rgba(255,255,255,.75); text-align: center; }

/* Home screen: a phone with Plopet among the apps, then three steps */
.home-phone { justify-self: center; width: 220px; padding: var(--s4) var(--s3) var(--s3); border-radius: 34px; background: linear-gradient(160deg, #8fd3f0, var(--sky) 45%, #c9b3f5); border: 6px solid var(--ink); box-shadow: var(--drop); display: grid; gap: var(--s4); }
.home-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 12px; justify-items: center; }
.home-grid i, .home-dock i { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.45); }
.home-app { display: grid; justify-items: center; gap: 3px; }
.home-app img { width: 38px; height: 38px; border-radius: 10px; }
.home-app b { font: 700 .625rem/1 var(--font-display); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.home-dock { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 18px; background: rgba(255,255,255,.35); }
.home-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.home-steps 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); }
.home-steps h3 { font-size: 1.0625rem; line-height: 1.25; }
.home-steps p { margin-top: 2px; color: var(--ink-soft); line-height: 1.4; }

/* Maker letter and refund guarantee (both landings): trust from a real promise instead of reviews */
.letter-head { display: flex; align-items: center; gap: var(--s3); }
.letter-head img { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.letter-body { display: grid; gap: var(--s3); }
.letter-body p { line-height: 1.55; text-wrap: pretty; }
.letter-body a, .guarantee a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.letter-sign { font-family: var(--font-display); font-weight: 700; color: var(--ink-soft); }
.guarantee { display: grid; gap: var(--s2); padding: var(--s5) var(--s4); border-radius: 24px; background: var(--sunflower); color: #2e1411; box-shadow: inset 0 3px 0 rgba(255,255,255,.5), inset 0 -5px 0 rgba(150, 90, 0, .25), var(--lift); }
.guarantee h2 { font-size: 1.375rem; line-height: 1.2; text-wrap: balance; }
.guarantee p { line-height: 1.5; text-wrap: pretty; }
.g-big { display: flex; align-items: baseline; gap: var(--s2); font: 700 1.25rem/1 var(--font-display); }
.g-big b { font-size: 4rem; line-height: .9; letter-spacing: -0.03em; }
.skin-app .guarantee { margin: var(--s4) var(--s3) 0; }
/* main landing: letter and guarantee side by side on wide screens */
.maker { display: grid; gap: var(--s4); align-items: start; }
.maker-letter { display: grid; gap: var(--s3); padding: var(--s5); border-radius: var(--r); background: var(--slab); box-shadow: var(--lift); }

/* Inside a social app's browser (web/js/landing.js): a bar asking to open the page in the real browser */
.inapp { position: relative; z-index: 20; display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: var(--s2) var(--s2); max-width: 440px; margin: 0 auto; padding: max(var(--s3), env(safe-area-inset-top)) var(--s3) var(--s3) var(--s4); background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(46, 20, 17, .25); }
.inapp[hidden] { display: none; }
.inapp-text { display: grid; gap: 4px; }
.inapp-title { font: 700 1.0625rem/1.25 var(--font-display); }
.inapp-text p:not(.inapp-title) { font-size: .9375rem; line-height: 1.4; color: rgba(255,255,255,.85); text-wrap: pretty; }
.inapp-actions { grid-column: 1; display: flex; flex-wrap: wrap; gap: var(--s2); }
.inapp-copy { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4); border: 0; border-radius: 14px; background: var(--sunflower); color: #2e1411; font: 700 .9375rem/1 var(--font-display); text-decoration: none; cursor: pointer; }
.inapp-close { grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
