/* de•vice landing page. Rules live in DESIGN.md. */
/* The faces, served from this site (Quicksand: SIL Open Font License; Outfit: the same), Latin only. */
@font-face { font-family: "Quicksand"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("assets/fonts/quicksand-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/outfit-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --forest: #22563f;
  --forest-dark: #173d2c;
  --night: #0f2a1e;
  --leaf: #7ccc98;
  --strike: #e0694a;
  --paper: #f7f5f0;
  --alt: #efebe2;
  --card: #ffffff;
  --ink: #111814;
  --muted: #5b665f;
  --line: rgba(17, 24, 20, 0.12);

  --sans: "Quicksand", system-ui, sans-serif;
  --logo: "Outfit", system-ui, sans-serif; /* the wordmark only: it matches the logo on the key */
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(44px, 5.6vw, 76px); letter-spacing: -0.04em; }
h2 { font-size: clamp(34px, 4.2vw, 56px); }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--forest); margin-bottom: 14px; }
.sub { font-size: clamp(18px, 1.5vw, 20px); color: var(--muted); max-width: 40ch; }
.head { max-width: 760px; margin-bottom: 48px; }
.head .sub { margin-top: 18px; }

.wordmark { font: 600 24px/1 var(--logo); letter-spacing: -0.03em; text-decoration: none; color: var(--forest); }
.wordmark span { display: inline-block; transform: translateY(-0.04em); margin: 0 0.02em; }

/* Buttons: one style, in sizes. */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--forest); color: #fff;
  font: 600 17px/1 var(--sans);
  text-decoration: none; border-radius: 999px;
  padding: 16px 28px;
  transition: background 0.2s, transform 0.2s;
}
.button:hover { background: var(--forest-dark); }
.button:active { transform: scale(0.98); }
.button-small { padding: 12px 20px; font-size: 15px; }
.button-large { padding: 20px 40px; font-size: 19px; }
.button-block { width: 100%; }
.button-light { background: #fff; color: var(--forest); }
.button-light:hover { background: #eef5f0; }
/* The other choice beside a main button: white with a hairline, never a tint on the paper. */
.button-quiet { background: #fff; color: var(--forest); box-shadow: inset 0 0 0 1px var(--line); }
.button-quiet:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--forest); }
.store-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
/* Sold out: the button stays where it is and stops being one. */
.button.is-out, .button.is-out:hover { background: #b7c0ba; color: #fff; cursor: default; pointer-events: none; }

/* Announcement and nav */
.announce { background: var(--forest); color: #fff; text-align: center; font-size: 14px; font-weight: 500; padding: 9px var(--gutter); text-wrap: balance; }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(247, 245, 240, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 28px; margin-right: auto; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav .button-small { margin-left: auto; }

/* Placeholders: obviously unfinished, but tidy. */
.placeholder {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(34, 86, 63, 0.035) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #e5eee8, #d3e2d8);
}
.ph-tag {
  position: absolute; left: 16px; bottom: 16px; width: fit-content; max-width: calc(100% - 32px);
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em; color: var(--forest-dark);
  background: rgba(255, 255, 255, 0.88); padding: 7px 12px; border-radius: 999px;
}
/* A plain panel for product imagery, and the key photo that sits in it. */
.panel { position: relative; overflow: hidden; border-radius: var(--radius); background: linear-gradient(160deg, #ecf1ea, #d9e4da); }
.key { filter: drop-shadow(0 22px 26px rgba(15, 42, 30, 0.38)); }
.offer-media .key { width: 62%; transform: rotate(-6deg); }
/* In the hero, the key sits in front of the phone, low and to the left. */
/* Real sizes, so the key is always the right size beside the phone. An iPhone 17 Pro is 150 mm tall
   and 71.9 mm wide; the key is 2 inches (50.8 mm) square. `--fit` is the phone's height as a share
   of the panel's, read by phone3d.js too, so the 3D phone, the flat fallback and the key all agree. */
.hero-media { container-type: size; --fit: 1.06; --phone-height: calc(100cqh * var(--fit)); }
.hero-media .phone { position: absolute; right: 7%; top: 9%; width: calc(var(--phone-height) * 0.4706); transform: rotate(3deg); transform-origin: top right; }
/* 0.336 of the phone's height is 2 inches; the photo has a sliver of clear space round the key, hence 0.977. */
.hero-media .key { position: absolute; left: 2%; bottom: 5%; width: calc(var(--phone-height) * 0.336 / 0.977); max-width: none; transform: rotate(-9deg); z-index: 1; }

/* A phone frame around a real app screenshot. Set its width; the rest follows. */
.phone {
  position: relative; width: 260px; max-width: 100%; aspect-ratio: 780 / 1696; flex: none;
  container-type: inline-size;
  background: #14181a; padding: 3.2%;
  border-radius: 15.5% / 7.1%;
  box-shadow: 0 0 0 1.5px #3a403c inset, 0 36px 60px -24px rgba(15, 42, 30, 0.5);
}
.phone img, .phone video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 13% / 6%; }
/* A video screen keeps playing under the 3D phone, which covers it: hidden or faded, browsers slow or pause
   it. Drawn a little smaller, so none of the flat frame shows round the 3D one. */
.is-3d > .phone:has(video) { visibility: visible; transform: scale(0.85); }
.hold-scene { --fit: 0.95; align-items: center; padding-top: 0; }
.shot.hold-scene .phone { width: calc(var(--phone-height) * 0.4706); }
.phone::after { content: ""; position: absolute; top: 2.6%; left: 50%; transform: translateX(-50%); width: 29%; height: 3.5%; background: #000; border-radius: 999px; }

/* The 3D phone (phone3d.js) draws into a canvas over the panel and hides the flat frame it replaces. */
.phone3d { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 26px 30px rgba(15, 42, 30, 0.3)); }
.is-3d > .phone { visibility: hidden; }
.ph-tag { z-index: 2; }

/* A screenshot panel. On its own, the phone sits at the top and the panel's edge cuts it off;
   `.full` (below) shows the whole screen instead, for screens that are there to be read. */
.shot { position: relative; overflow: hidden; border-radius: var(--radius); background: linear-gradient(160deg, #e5eee8, #d3e2d8); display: flex; justify-content: center; align-items: flex-start; padding-top: 8%; }
.shot-dark { background: rgba(255, 255, 255, 0.07); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset; }
/* Screens worth reading: straight on and whole. The panel's height sets the phone's, so it always fits. */
.shot.full { container-type: size; --fit: 0.9; --phone-height: calc(100cqh * var(--fit)); align-items: center; padding-top: 0; }
.shot.full .phone { width: calc(var(--phone-height) * 0.4706); }

/* 1. Hero */
.hero { max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 88px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
/* The headline's second line: a few apps people can't put down, landing on "apps." */
.rotator { display: block; color: var(--forest); overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.rotator .word { display: inline-block; }
.rotator .word.out { animation: word-out 0.26s cubic-bezier(0.5, 0, 0.75, 0) forwards; }
.rotator .word.in { animation: word-in 0.44s cubic-bezier(0.2, 0.9, 0.3, 1.15); }
@keyframes word-out { to { transform: translateY(-110%); opacity: 0; } }
@keyframes word-in { from { transform: translateY(110%); opacity: 0; } }
.hero .sub { max-width: 34ch; }
.price-block { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.price { display: grid; gap: 2px; }
.price strong { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price > span { font-size: 15px; color: var(--muted); max-width: 28ch; line-height: 1.4; }
/* The launch price beside the regular price it replaces. */
.price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.was { color: var(--muted); font-weight: 500; text-decoration-color: var(--strike); text-decoration-thickness: 2px; }
.price-line .was { font-size: 24px; letter-spacing: -0.02em; }
.sale { font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--forest-dark); background: #dcebe1; padding: 5px 10px; border-radius: 999px; align-self: center; }
.final .was { color: rgba(255, 255, 255, 0.6); }
.final p strong { color: #fff; font-weight: 600; }
.announce strong { font-weight: 700; }
.text-link { font-size: 16px; font-weight: 600; color: var(--forest); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.text-link:hover { color: var(--forest-dark); }
/* Stock and delivery, then the chips (Norma's strip): the reasons not to wait, in one glance. */
.stock-line { margin-top: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px; font-size: 15px; color: var(--ink); }
.stock-line .dot { width: 8px; height: 8px; border-radius: 50%; background: #2e9d62; box-shadow: 0 0 0 4px rgba(46, 157, 98, 0.16); flex: none; }
.stock-line [data-delivery] { color: var(--muted); }
.trust-line { margin-top: 16px; font-size: 14px; color: var(--muted); }
.chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 500; color: var(--forest-dark); background: var(--alt); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.hero-media { aspect-ratio: 4 / 5; }

/* 2. Problem */
.problem { background: var(--night); color: #fff; padding: 112px 0; }
.problem h2 { max-width: 14em; }
.excuses { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.excuses p { padding: 28px 28px 0 0; display: grid; gap: 6px; }
.excuses p + p { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.excuses s { font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; position: relative; justify-self: start; }
/* The strike is a drawn line, so it can draw itself in when the section scrolls into view. */
.excuses s::after { content: ""; position: absolute; left: -3%; right: -3%; top: 54%; height: 3px; border-radius: 3px; background: var(--strike); transform: rotate(-1.5deg); transform-origin: left center; transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1); }
.excuses.will-draw s::after { transform: rotate(-1.5deg) scaleX(0); }
.excuses.will-draw.drawn s::after { transform: rotate(-1.5deg) scaleX(1); }
.excuses.drawn p:nth-child(2) s::after { transition-delay: 0.35s; }
.excuses.drawn p:nth-child(3) s::after { transition-delay: 0.7s; }
.excuses span { color: rgba(255, 255, 255, 0.65); }
.problem-close { margin-top: 56px; font-size: clamp(20px, 2vw, 26px); color: var(--leaf); font-weight: 500; max-width: 36ch; }

/* Sections */
.section { padding: 112px 0; }
.section-alt { background: var(--alt); }

/* 3. Steps */
/* How it works: pinned while you scroll through its track, a quarter of the track for each step. The list
   says where you are; the stage shows that step (main.js swaps them). */
.how { padding-bottom: 96px; }
.how-track { height: calc(100svh - var(--nav-h, 65px) + 220svh); }
.how-screen { position: sticky; top: var(--nav-h, 65px); height: calc(100svh - var(--nav-h, 65px)); display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.how h2 { font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 28px; }
.how-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.how-steps li { border-bottom: 1px solid var(--line); }
.how-steps button { display: flex; gap: 16px; align-items: flex-start; width: 100%; padding: 18px 0; font: inherit; color: inherit; text-align: left; background: none; border: 0; cursor: pointer; opacity: 0.42; transition: opacity 0.3s; }
.how-steps li.is-active button, .how-steps button:hover { opacity: 1; }
.how-steps button:focus-visible { outline: 2px solid var(--forest); outline-offset: 4px; border-radius: 8px; }
.how-steps .step-num { flex: none; margin: 1px 0 0; background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); transition: background 0.3s, color 0.3s; }
.how-steps li.is-active .step-num { background: var(--forest); color: #fff; }
.how-text { display: grid; gap: 4px; }
.how-text b { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.how-text span { color: var(--muted); font-size: 16px; }
.how-stage { position: relative; width: 100%; max-width: min(620px, calc(100svh - var(--nav-h, 65px) - 96px)); aspect-ratio: 1; justify-self: center; }
.how-visual { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s ease; }
.how-visual.is-active { opacity: 1; }
.how-visual.shot .phone { width: calc(var(--phone-height) * 0.4706); }
.how-place { display: grid; place-items: center; }
.how-place .key { width: 38%; transform: rotate(-8deg); filter: drop-shadow(0 18px 24px rgba(15, 42, 30, 0.25)); }
.how-dots { display: none; }
/* Step 2: the phone taps the key. Both are to scale: a 2-inch key beside a 150 mm phone. */
.tap-scene { container-type: size; --fit: 0.92; --phone-height: calc(100cqh * var(--fit)); aspect-ratio: 1; }
.tap-target { position: absolute; left: 21%; top: 21%; width: calc(var(--phone-height) * 0.336); aspect-ratio: 1; transform: translate(-50%, -50%) rotate(-7deg); }
.tap-target .key { width: calc(100% / 0.977); max-width: none; margin: -1.2%; }
.tap-target::after { content: ""; position: absolute; inset: -6%; border: 2px solid var(--forest); border-radius: 26%; opacity: 0; pointer-events: none; }
.tapped .tap-target::after { animation: tap-ring 0.9s ease-out; }
@keyframes tap-ring { from { opacity: 0.8; transform: scale(0.94); } to { opacity: 0; transform: scale(1.4); } }
.step-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--forest); color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.footnote { margin-top: 40px; font-size: 15px; color: var(--muted); }
.inline-cta { margin-top: 28px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }

/* 4. Comparison */
.table-scroll { overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.compare { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; background: var(--card); border-radius: var(--radius); overflow: hidden; font-size: 16px; }
.compare th, .compare td { padding: 20px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 15px; font-weight: 600; color: var(--muted); }
.compare tbody th { font-weight: 500; width: 32%; }
.compare td { color: var(--muted); }
.compare i { font-style: normal; font-weight: 700; display: inline-block; width: 22px; }
.compare .no { color: #b8452c; }
.compare .some { color: #a08a3c; }
.compare .yes { color: var(--forest); }
.compare .us { background: #e9f3ed; color: var(--ink); font-weight: 500; }
.compare thead .us { background: var(--forest); color: #fff; font-size: 17px; }
.compare .price-row th, .compare .price-row td { font-weight: 600; color: var(--ink); }
.compare .price-row .us b { font-size: 18px; color: var(--forest); }

/* 5. Protection */
/* A band of its own: deeper than the forest green, with light gathering behind the phone. */
.protection { color: #fff; padding: 112px 0; background: radial-gradient(900px 520px at 22% 58%, rgba(124, 204, 152, 0.16), transparent 70%), linear-gradient(180deg, #16402e, var(--night)); }
.protection .eyebrow { color: var(--leaf); }
.protection .sub { color: rgba(255, 255, 255, 0.72); }
.plus-badge { display: inline-block; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: var(--night); background: var(--leaf); padding: 6px 16px; border-radius: 999px; margin-bottom: 20px; }
.plus-tag { display: inline-block; font-size: 12px; font-weight: 700; line-height: 1.5; color: #fff; background: var(--forest); padding: 1px 9px; border-radius: 999px; white-space: nowrap; }
.plus-body { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.plus-stage { display: grid; gap: 18px; }
/* No box: the phone floats on its own light. */
.plus-stage .shot { aspect-ratio: 3 / 4; background: radial-gradient(52% 46% at 50% 50%, rgba(124, 204, 152, 0.26), transparent 74%); box-shadow: none; border-radius: 0; overflow: visible; }
.plus-stage .phone { box-shadow: 0 0 0 1.5px #3a403c inset, 0 36px 60px -24px rgba(0, 0, 0, 0.6); }
.plus-stage figcaption { min-height: 4.6em; max-width: 36ch; justify-self: center; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.72); text-align: center; }
.plus-example { color: rgba(255, 255, 255, 0.4); }
.plus-stage figcaption b { color: #fff; font-weight: 600; }
.plus-mini { display: none; }
/* The three features, as one segmented control. The chosen one is filled; while the gallery moves on by
   itself, a bar fills along its foot. Longer names wrap to two lines. */
.plus-tabs { display: flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); }
.plus-tabs button { flex: 1; min-width: 0; position: relative; overflow: hidden; font: 600 14px/1.15 var(--sans); color: rgba(255, 255, 255, 0.72); background: transparent; border: 0; border-radius: 999px; padding: 9px 10px; cursor: pointer; text-wrap: balance; transition: color 0.2s, background 0.2s; }
.plus-tabs button:hover { color: #fff; }
.plus-tabs button[aria-selected="true"] { color: var(--night); background: var(--leaf); }
.plus-tabs button:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }
.plus-tabs button::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: rgba(15, 42, 30, 0.4); }
.is-playing .plus-tabs button[aria-selected="true"]::after { animation: plus-fill 5s linear forwards; }
@keyframes plus-fill { to { width: 100%; } }

/* The four protections: a numbered list, one open at a time. The short line says it; opening explains. */
.plus-list { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.plus-list details { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.plus-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 32px; column-gap: 12px; align-items: baseline; padding: 24px 0; }
.plus-list summary::-webkit-details-marker { display: none; }
.plus-list .num { grid-row: 1 / 3; font-size: 14px; font-weight: 600; color: var(--leaf); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.plus-list h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.02em; transition: color 0.2s; }
.plus-list .line { grid-column: 2; margin-top: 6px; font-size: 16px; color: rgba(255, 255, 255, 0.58); }
.plus-list details[open] .line { display: none; }
.plus-list .toggle { grid-column: 3; grid-row: 1 / 3; align-self: center; justify-self: end; position: relative; width: 28px; height: 28px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.24); transition: transform 0.3s, background 0.2s, border-color 0.2s; }
.plus-list .toggle::before, .plus-list .toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; background: #fff; border-radius: 1px; }
.plus-list .toggle::after { transform: rotate(90deg); }
.plus-list summary:hover h3 { color: var(--leaf); }
.plus-list summary:hover .toggle { border-color: var(--leaf); }
.plus-list details[open] .toggle { transform: rotate(45deg); background: var(--leaf); border-color: var(--leaf); }
.plus-list details[open] .toggle::before, .plus-list details[open] .toggle::after { background: var(--night); }
.plus-list summary:focus-visible { outline: 2px solid var(--leaf); outline-offset: 4px; border-radius: 8px; }
.plus-list details p { padding: 0 44px 26px 56px; font-size: 17px; color: rgba(255, 255, 255, 0.8); max-width: 60ch; }
/* Where the browser can animate to the content's own height, opening and closing slide. */
@supports (interpolate-size: allow-keywords) {
  .plus-list { interpolate-size: allow-keywords; }
  .plus-list details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.35s ease, content-visibility 0.35s allow-discrete; }
  .plus-list details[open]::details-content { block-size: auto; }
}

.plus-price { margin-top: 36px; display: grid; gap: 8px; }
.plus-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; font-size: 20px; color: rgba(255, 255, 255, 0.7); }
.plus-amount strong { font-size: 64px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: #fff; }
.plus-free { align-self: center; font-size: 14px; font-weight: 600; color: var(--night); background: var(--leaf); padding: 5px 12px; border-radius: 999px; }
.plus-note { font-size: 15px; color: rgba(255, 255, 255, 0.58); max-width: 46ch; }

/* The fine print, quietly: four short columns under the band. */
.plus-facts { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.plus-facts li { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 15px; color: rgba(255, 255, 255, 0.62); }
.plus-facts b { display: block; margin-bottom: 4px; color: #fff; font-weight: 600; }
.offer-plus { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.offer-plus a, .footnote a { color: var(--forest); font-weight: 500; }

/* 6. Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.review blockquote { font-size: 19px; line-height: 1.45; letter-spacing: -0.01em; flex: 1; }
.review figcaption { font-size: 15px; color: var(--muted); }
.stars { color: #e3a52b; letter-spacing: 3px; }
.ph-badge { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #8a5a00; background: #fff1cc; padding: 4px 9px; border-radius: 999px; }

/* 7. Motivation: the Focus Field. The screen stays pinned while you scroll through the track, and the
   island fills with trees as you go (main.js), then the page carries on. */
.motivation { background: radial-gradient(60% 55% at 70% 55%, rgba(124, 204, 152, 0.18), transparent 70%), var(--alt); }
.grow-track { height: calc(100svh - var(--nav-h, 65px) + 160svh); }
.grow-screen { position: sticky; top: var(--nav-h, 65px); height: calc(100svh - var(--nav-h, 65px)); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.motivation h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 16px; }
.grow-island { display: block; width: 100%; height: min(76svh, 640px); }
.grow-count { display: flex; gap: 48px; margin: 32px 0 0; }
.grow-count dt { font-size: 14px; font-weight: 500; color: var(--muted); }
.grow-count dd { margin: 2px 0 0; font-size: 48px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--forest); font-variant-numeric: tabular-nums; }

/* 8. Offer */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 32px; }
/* One key, in the middle of its panel. With both colors on sale, the staged rules below take over. */
.offer-media { aspect-ratio: 1; display: grid; place-items: center; }
.offer-copy { padding: 16px 16px 16px 0; }
.offer h2 { font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 24px; }
.offer-price { margin-bottom: 24px; }
.included { display: grid; gap: 12px; margin-bottom: 32px; }
/* The color choice, once Blossom is on sale. Both keys sit in the picture, fanned like a hand of
   cards: the chosen one in front, the other peeking out behind. Tapping the one behind, or its
   swatch, shuffles it forward, and the panel, the name and the Buy button follow it. */
.offer-media.staged { cursor: default; }
.offer-media.staged::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity .7s ease;
  background: radial-gradient(120% 90% at 30% 70%, #fff3f7 0%, #f8dbe6 55%, #efc6d6 100%);
}
.offer-media.staged[data-color="blossom"]::before { opacity: 1; }
.offer-media.staged .key {
  position: absolute; left: 21%; top: 19%; width: 54%; z-index: 1; cursor: pointer;
  transition: transform .75s cubic-bezier(.2, .9, .25, 1.05), filter .75s ease, z-index 0s .28s;
  -webkit-tap-highlight-color: transparent;
}
.offer-media.staged .key.front { transform: translate(-8%, 10%) rotate(-7deg); z-index: 3; cursor: default; filter: drop-shadow(0 26px 30px rgba(15, 42, 30, .38)); }
.offer-media.staged .key.back { transform: translate(30%, -24%) rotate(11deg) scale(.66); z-index: 2; filter: drop-shadow(0 12px 16px rgba(15, 42, 30, .22)) saturate(.92) brightness(.97); }
.offer-media.staged .key.back:hover { transform: translate(31%, -27%) rotate(15deg) scale(.7); filter: drop-shadow(0 16px 20px rgba(15, 42, 30, .26)); }
/* Its name, low on the panel, swapping as the keys do. */
.stage-name { position: absolute; left: 24px; bottom: 20px; z-index: 4; pointer-events: none; }
.stage-name span { display: block; transition: opacity .4s ease, transform .4s ease; }
.stage-name span[hidden] { display: block; opacity: 0; transform: translateY(8px); position: absolute; left: 0; bottom: 0; }
.stage-name b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.stage-name small { font-size: 14px; color: var(--muted); white-space: nowrap; }
.stage-name [data-name="forest"] b { color: var(--forest); }
.stage-name [data-name="blossom"] b { color: #a8336b; }
.stage-hint { position: absolute; right: 18px; top: 16px; z-index: 4; font-size: 13px; font-weight: 600; color: var(--muted); background: rgba(255, 255, 255, .75); padding: 6px 11px; border-radius: 999px; pointer-events: none; transition: opacity .4s; }
.staged.touched .stage-hint { opacity: 0; }
/* What comes off a key as it lands: a few petals, or leaves, drifting down and fading. */
.flutter {
  position: absolute; z-index: 5; width: 9px; height: 6px; border-radius: 100% 0 100% 0; pointer-events: none;
  opacity: 0; animation: flutter 1.6s ease-out both;
}
@keyframes flutter {
  0% { opacity: 0; transform: translate(0, 0) rotate(0); }
  20% { opacity: .9; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--turn)); }
}

.colors[hidden] { display: none; }
.colors { border: 0; padding: 0; margin: -12px 0 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.colors legend { font-size: 15px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.swatch { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 500; transition: border-color .2s, box-shadow .2s, background .2s; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch img { width: 34px; height: 34px; transform: rotate(-8deg); filter: drop-shadow(0 3px 4px rgba(15, 42, 30, .25)); transition: transform .3s; }
.swatch:hover img { transform: rotate(4deg) scale(1.06); }
.swatch:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.swatch.blossom:has(input:checked) { border-color: #a8336b; box-shadow: 0 0 0 1px #a8336b; background: #fdf3f7; }
.swatch:has(input:focus-visible) { outline: 2px solid var(--forest); outline-offset: 2px; }
.color-note { flex-basis: 100%; font-size: 14px; color: var(--muted); }
.color-note:empty { display: none; }
/* The offer takes the chosen key's color. */
.offer .eyebrow, .offer [data-offer-buy] { transition: color .5s, background .5s; }
.offer[data-color="blossom"] .eyebrow { color: #a8336b; }
.offer[data-color="blossom"] [data-offer-buy]:not(.is-out) { background: #b8457a; }
.offer[data-color="blossom"] [data-offer-buy]:not(.is-out):hover { background: #9c3666; }
.offer[data-color="blossom"] .included li::before { background: #fbe1ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5 5.5-5.5' fill='none' stroke='%23a8336b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
@media (prefers-reduced-motion: reduce) { .flutter { display: none; } }
/* On a phone the keys sit higher and a little smaller, clear of the name below them. */
/* Under the picture, on a phone: centered, the note beneath. */
.colors.under-stage { margin: 0; justify-content: center; }
.colors.under-stage legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.colors.under-stage .color-note { text-align: center; }
@media (max-width: 760px) {
  .offer-media.staged .key { width: 50%; top: 15%; left: 25%; }
  .stage-name { left: 18px; right: 18px; bottom: 16px; }
  .stage-name b { font-size: 22px; }
  .stage-name small { white-space: normal; display: block; line-height: 1.35; }
  .stage-hint { right: auto; left: 14px; top: 14px; }
}
.included li { position: relative; padding-left: 32px; }
.included li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #e1efe6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5 5.5-5.5' fill='none' stroke='%2322563f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.offer-fine { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }
.offer-delivery { display: block; color: var(--ink); font-weight: 500; margin-bottom: 2px; }

/* 9. FAQ */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--forest); transition: transform 0.25s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 44px 24px 0; }

/* 10. Final */
.final { padding: 72px var(--gutter); }
.final-inner { max-width: calc(var(--max) - 2 * var(--gutter)); background: radial-gradient(ellipse 70% 90% at 50% 120%, rgba(124, 204, 152, 0.35), transparent 70%), var(--forest); color: #fff; border-radius: 32px; padding: 96px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final h2 { font-size: clamp(38px, 5vw, 64px); }
.final p { color: rgba(255, 255, 255, 0.8); font-size: 18px; margin-bottom: 8px; }

/* The page Stripe sends buyers back to */
.thanks { padding: 72px 0 112px; }
.thanks-inner { max-width: 720px; display: grid; gap: 20px; justify-items: start; }
.thanks h1 { font-size: clamp(36px, 5vw, 56px); }
.thanks .key { width: 120px; transform: rotate(-8deg); margin-bottom: 8px; }
.thanks .eyebrow { margin-bottom: -6px; }
.thanks-steps { display: grid; gap: 14px; margin: 8px 0 12px; color: var(--muted); font-size: 18px; }
.start-help { margin-top: 18px; color: var(--muted); font-size: 15px; }
.thanks-steps b { color: var(--ink); font-weight: 600; }

/* Policy and support pages, built from Markdown by web-src/policies.py. */
.legal { padding: 64px 0 96px; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
.legal h2 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; margin: 40px 0 12px; }
.legal h3 { margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal p { margin: 0 0 14px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.legal li ul { margin: 8px 0 0; }
.legal a { color: var(--forest); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal .table { overflow-x: auto; margin: 0 0 16px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 16px; }
.legal th, .legal td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--ink); font-weight: 600; }
.legal td { color: var(--muted); }

/* Placeholder words: plainly unfinished, on the light bands and the dark. */
.ph-text { background: rgba(255, 214, 102, 0.38); border-radius: 4px; padding: 0 0.2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ph-badge.inline { position: static; display: inline-block; vertical-align: middle; }

/* 2. The problem, in numbers (Norma) */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
.stats p { display: grid; gap: 8px; align-content: start; }
.stats b { font-size: clamp(40px, 4.4vw, 60px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--leaf); }
.stats p > span { color: rgba(255, 255, 255, 0.65); max-width: 26ch; }
.stats-source { margin-top: 20px; font-size: 13px; color: rgba(255, 255, 255, 0.45); }

/* 4. Modes: a row of cards that scrolls sideways, lined up with the page (Brick, Norma, Bloom) */
.modes { --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.modes .head { margin-bottom: 40px; }
.modes-row { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--edge) 20px; scroll-padding-inline: var(--edge); scrollbar-width: thin; }
.mode { flex: 0 0 clamp(250px, 26vw, 320px); scroll-snap-align: start; display: grid; gap: 6px; align-content: start; }
.mode-photo { aspect-ratio: 4 / 5; margin-bottom: 12px; }
.mode p { color: var(--muted); font-size: 16px; }
/* On a wide screen all five fit, so they sit in a row like any other grid. */
@media (min-width: 1001px) {
  .modes-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; max-width: var(--max); margin: 0 auto; padding: 4px var(--gutter) 0; }
}
.mode .mode-blocks { font-size: 14px; font-weight: 500; color: var(--forest); }
.starts { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.starts b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.starts span { font-size: 14px; font-weight: 500; color: var(--forest-dark); background: var(--card); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }
.starts em { font-style: normal; margin-left: 4px; }

/* 7. Results, above the reviews (Brick, Bloom) */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.results p { display: grid; gap: 6px; padding: 24px 28px; background: var(--alt); border-radius: var(--radius); }
.results b { font-size: 48px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--forest); }
.results p > span { color: var(--muted); }
.results-note { margin: 14px 0 32px; font-size: 14px; color: var(--muted); }
.review-video { padding: 12px; gap: 12px; }
.review-clip { flex: 1; min-height: 280px; border-radius: 16px; }
.review-video figcaption { padding: 0 8px 8px; }

/* 9. The rest of the app (Norma) */
.tour-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 20px; }
.tour-grid article[hidden] { display: none; }
.tour-grid article { display: grid; gap: 6px; align-content: start; }
.tour-shot { aspect-ratio: 3 / 4; margin-bottom: 12px; }
.tour-grid p { color: var(--muted); font-size: 16px; }

/* 10. The founder (Bloom, Lockd) */
.founder-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.founder-photo { aspect-ratio: 4 / 5; }
.founder-copy { display: grid; gap: 18px; justify-items: start; max-width: 60ch; }
.founder-copy .eyebrow { margin: 0; font-size: 15px; color: var(--forest); }
.founder h2 { font-size: clamp(30px, 3.4vw, 44px); }
.founder-copy p { color: var(--muted); font-size: 18px; }
.founder-copy .signature { display: grid; margin-top: 6px; font-size: 21px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.signature span { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; }

/* 11. The guarantee, made big, and the other reasons not to wait */
.promise { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 24px 32px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 32px; }
.seal { position: relative; width: 120px; height: 120px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-content: center; justify-items: center; box-shadow: 0 0 0 5px #e1efe6; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal text { font: 600 9.5px var(--sans); fill: rgba(255, 255, 255, 0.85); }
.seal b { font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.seal span { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.promise h3 { font-size: clamp(21px, 2vw, 26px); letter-spacing: -0.02em; }
.promise-copy p { margin-top: 8px; color: var(--muted); max-width: 56ch; }
.promise-copy a { color: var(--forest); font-weight: 500; }
.reasons { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.reasons li { display: grid; gap: 2px; }
.reasons b { font-weight: 600; }
.reasons li > span { font-size: 14px; color: var(--muted); }

/* 12. Beside the FAQ: a person to ask (Bloom) */
.ask { margin-top: 32px; max-width: 380px; display: grid; gap: 8px; justify-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.ask b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.ask p { color: var(--muted); font-size: 16px; }
.ask-more { font-size: 15px; color: var(--muted); }

/* Footer: signup and the App Store, above the links */
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; padding-top: 56px; padding-bottom: 40px; }
.signup { display: grid; gap: 8px; justify-items: start; }
.signup b { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.signup-row { display: flex; gap: 8px; width: 100%; max-width: 440px; margin-top: 6px; }
.signup input { flex: 1; min-width: 0; font: 400 16px var(--sans); color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; }
.signup button:disabled { opacity: 0.55; cursor: default; }
.get-app { display: grid; gap: 10px; justify-items: end; text-align: right; }
.app-badge { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border-radius: 12px; padding: 8px 18px 8px 14px; text-decoration: none; }
.app-badge svg { width: 22px; height: 26px; }
.app-badge > span { display: grid; font-size: 20px; font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
.app-badge small { font-size: 11px; font-weight: 500; letter-spacing: 0; }
.get-app em { font-style: normal; font-weight: 600; color: var(--forest); }

/* Footer */
.footer { padding: 0 0 48px; color: var(--muted); font-size: 15px; }
.footer-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 32px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-right: auto; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--ink); }

/* Sticky buy bar: phones only, after the hero's button scrolls away. */
.buy-bar { display: none; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .hero-media { aspect-ratio: 1 / 1.08; max-width: 520px; width: 100%; justify-self: center; }
  .hero-media { aspect-ratio: 1; }
  .hero-media .key { bottom: 8%; }
  /* Phones and tablets: the picture comes straight after the headline, so the first screen shows the
     product as well as the words (as Brick, Lockd and Unpluq do), then the price and Buy. */
  .hero { gap: 0; }
  .hero-copy { display: contents; }
  .hero .eyebrow { order: 1; }
  .hero h1 { order: 2; margin-bottom: 18px; }
  .hero-media { order: 3; }
  .hero .price-block { order: 4; margin-top: 20px; }
  .hero .stock-line { order: 5; margin-top: 16px; }
  .hero .sub { order: 6; margin-top: 22px; }
  .hero .chips, .hero .trust-line { order: 7; }
  .plus-body { grid-template-columns: 1fr; gap: 40px; }
  .plus-stage { max-width: 440px; width: 100%; justify-self: center; }
  .plus-facts { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .offer-copy { padding: 8px; }
  .faq { grid-template-columns: 1fr; gap: 0; }
  .stats { gap: 24px; }
  /* Side by side, scrolled sideways, so the phones stay big enough to read. */
  .tour-grid { grid-template-columns: none; grid-auto-columns: minmax(220px, 64vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .tour-grid article { scroll-snap-align: start; }
  .founder-inner { grid-template-columns: 1fr; gap: 32px; }
  .founder-photo { max-width: 420px; width: 100%; }
  .reasons { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; align-items: start; }
  .get-app { justify-items: start; text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  /* One Buy at a time: on a phone the bar along the bottom has it, so the header doesn't too. */
  .nav .button-small { display: none; }
  .hero { padding-bottom: 64px; }
  .price-block { flex-direction: column; align-items: stretch; gap: 18px; }
  .price-block .button { width: 100%; }
  .price-block .text-link { align-self: center; }
  .hero-media { aspect-ratio: 16 / 10; }
  .problem, .section, .protection { padding: 80px 0; }
  .excuses { grid-template-columns: 1fr; }
  .excuses p, .excuses p + p { padding: 22px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .plus-facts { grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
  .plus-list summary { grid-template-columns: 34px 1fr 32px; padding: 20px 0; }
  .plus-list details p { padding: 0 0 22px 46px; font-size: 16px; }
  .plus-amount strong { font-size: 52px; }
  /* de•vice+ on a phone: one pinned screen. The track gives it room, and scrolling through the
     track steps through the offerings (main.js) before the page carries on. */
  .protection { padding-top: 0; }
  .plus-track { height: calc(100svh - var(--nav-h, 65px) + 165svh); }
  .plus-screen { position: sticky; top: var(--nav-h, 65px); height: calc(100svh - var(--nav-h, 65px)); display: flex; flex-direction: column; padding: 20px 0 14px; }
  .protection .head { margin-bottom: 14px; }
  .protection .head .sub { display: none; }
  .protection .head h2 { font-size: 26px; }
  .plus-badge { font-size: 13px; padding: 4px 12px; margin-bottom: 10px; }
  .plus-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  .plus-side { display: none; }
  .plus-stage { flex: 1; min-height: 0; max-width: none; display: flex; flex-direction: column; gap: 12px; }
  .plus-stage .shot { flex: 1; min-height: 0; aspect-ratio: auto; --fit: 0.97; }
  .plus-stage figcaption { order: 1; min-height: 3em; max-width: 34ch; margin: 0 auto; }
  .plus-tabs { order: 2; }
  /* How it works on a phone: the stage fills the middle, then the step it's showing and the numbers. */
  .how-screen { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 18px 0 14px; }
  .how-copy { display: contents; }
  .how .eyebrow { margin-bottom: 0; }
  .how h2 { font-size: 26px; margin-bottom: 0; }
  .how-stage { order: 1; flex: 1; min-height: 0; max-width: none; aspect-ratio: auto; }
  .how-steps { order: 2; border: 0; min-height: 6.2em; }
  .how-steps li { border: 0; }
  .how-steps li:not(.is-active) { display: none; }
  .how-steps button { padding: 0; opacity: 1; cursor: default; }
  .how-text b { font-size: 19px; }
  .how-text span { font-size: 15px; }
  .how-dots { order: 3; display: flex; justify-content: center; gap: 10px; }
  .how-dots button { width: 34px; height: 34px; border-radius: 50%; font: 600 14px/1 var(--sans); color: var(--forest); background: transparent; border: 1.5px solid var(--forest); cursor: pointer; transition: background 0.3s, color 0.3s; }
  .how-dots button[aria-current="step"] { background: var(--forest); color: #fff; }
  .plus-tabs button { font-size: 13px; padding: 8px 6px; }
  .plus-example { display: none; }
  .plus-mini { order: 3; display: block; margin: 0; text-align: center; font-size: 14px; color: rgba(255, 255, 255, 0.6); }
  .plus-mini b { color: #fff; font-weight: 600; }
  .plus-facts { margin-top: 36px; }
  /* Fit the table on a phone: drop the middle column so de•vice stays in view. */
  .compare { min-width: 0; font-size: 14px; }
  .compare th, .compare td { padding: 14px 10px; }
  .compare tr > :nth-child(3) { display: none; }
  .compare tbody th { width: 42%; }
  .compare thead .us { font-size: 15px; }
  /* The Focus Field on a phone: words on top, the island filling the middle, the counts beneath. */
  .grow-screen { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding-top: 20px; padding-bottom: 16px; }
  .grow-copy { display: contents; }
  .motivation .eyebrow { margin-bottom: 0; }
  .motivation h2 { font-size: 26px; margin-bottom: 0; }
  .motivation .sub { font-size: 15px; }
  .grow-island { order: 1; flex: 1; min-height: 0; height: auto; }
  .grow-count { order: 2; justify-content: center; gap: 48px; margin: 0; text-align: center; }
  .grow-count dd { font-size: 36px; }
  .final { padding-inline: var(--gutter); }
  .final-inner { padding: 72px 20px; border-radius: 24px; }
  .footer { padding-bottom: 104px; }
  .stats { grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
  .stats p { grid-template-columns: auto 1fr; align-items: center; gap: 16px; }
  .stats b { font-size: 36px; min-width: 3.4em; }
  .results { grid-template-columns: 1fr; gap: 10px; }
  .results p { grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 18px 20px; }
  .results b { font-size: 34px; }
  .review-clip { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .mode { flex-basis: 76vw; }
  .mode-photo { aspect-ratio: 1; }
  .tour-grid { gap: 24px 14px; }
  .tour-grid h3 { font-size: 17px; }
  .tour-grid p { font-size: 14px; }
  .founder-copy p { font-size: 16px; }
  .promise { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 28px 20px; border-radius: 24px; }
  .seal { width: 104px; height: 104px; }
  .reasons { justify-items: center; text-align: center; gap: 18px 12px; }
  .ask { max-width: none; margin: 24px 0 8px; }
  .footer-top { padding-top: 40px; }
  .buy-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 50;
    background: var(--card); border: 1px solid var(--line); border-radius: 20px;
    padding: 12px 12px 12px 18px; box-shadow: 0 12px 32px rgba(15, 42, 30, 0.18);
    transform: translateY(140%); transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
  }
  .buy-bar.show { transform: none; }
  .buy-bar { justify-content: flex-start; gap: 12px; }
  .buy-bar img { width: 40px; height: 40px; flex: none; }
  .buy-bar div { display: grid; line-height: 1.25; margin-right: auto; }
  .buy-bar strong { font-size: 16px; }
  .buy-bar span { font-size: 13px; color: var(--muted); }
  .buy-bar span b { color: var(--ink); font-weight: 600; }
  .buy-bar .button { padding: 14px 26px; }
}

/* A friend's link opens on the offer: who sent it, the price, the color and Buy (main.js welcome()).
   A centered card on a computer, a sheet from the bottom on a phone. */
html.welcome-lock { overflow: hidden; }
.welcome { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: var(--gutter); }
.welcome-scrim { position: absolute; inset: 0; background: rgba(15, 42, 30, 0.42); opacity: 0; transition: opacity 0.3s ease; }
.welcome-card {
  position: relative; width: 100%; max-width: 780px; max-height: calc(100dvh - 2 * var(--gutter)); overflow: auto;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); align-items: center; gap: 8px;
  background: var(--card); border-radius: 32px; padding: 20px; box-shadow: 0 30px 80px rgba(15, 42, 30, 0.3);
  opacity: 0; transform: translateY(16px) scale(0.97);
  transition: opacity 0.25s ease, transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
}
.welcome-card:focus { outline: none; }
.welcome.open .welcome-scrim { opacity: 1; }
.welcome.open .welcome-card { opacity: 1; transform: none; }
.welcome-grabber { display: none; }
.welcome-key { margin: 0; aspect-ratio: 1; border-radius: 24px; background: radial-gradient(circle at 50% 42%, #e7f1ea, var(--alt) 70%); display: grid; place-items: center; overflow: hidden; }
.welcome-card[data-color="blossom"] .welcome-key { background: radial-gradient(circle at 50% 42%, #fbe7ef, #f3e4e9 70%); }
.welcome-key img { width: 64%; transform: rotate(-6deg); filter: drop-shadow(0 18px 24px rgba(15, 42, 30, 0.22)); }
.welcome-copy { padding: 12px 20px 8px 28px; display: grid; gap: 14px; }
.welcome-from { font-size: 15px; font-weight: 600; color: var(--forest); }
.welcome-copy h2 { font-size: clamp(30px, 3vw, 38px); margin-top: -6px; }
.welcome-price { display: flex; align-items: baseline; gap: 10px; }
.welcome-price strong { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.welcome-price .was { font-size: 19px; color: var(--muted); text-decoration-color: var(--strike); text-decoration-thickness: 2px; }
.welcome-what { font-size: 16px; color: var(--muted); }
.welcome-colors { display: flex; gap: 8px; }
.welcome-swatch {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 14px;
  font: 600 15px/1 var(--sans); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.welcome-swatch img { width: 26px; height: 26px; }
.welcome-swatch:active { transform: scale(0.97); }
.welcome-swatch[aria-checked="true"] { border-color: var(--forest); background: #eef5f0; }
.welcome-swatch[data-color="blossom"][aria-checked="true"] { border-color: #c9547f; background: #fbedf2; }
.welcome-later { justify-self: center; background: none; border: 0; padding: 4px 8px; font: 500 16px/1.4 var(--sans); color: var(--forest); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.welcome-fine { font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 760px) {
  .welcome { place-items: end stretch; padding: 0; }
  .welcome-card {
    grid-template-columns: minmax(0, 1fr); gap: 0; max-width: none; max-height: 92dvh; border-radius: 28px 28px 0 0;
    padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    opacity: 1; transform: translateY(100%); transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  }
  .welcome-grabber { display: block; justify-self: center; width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin-bottom: 10px; }
  .welcome-key { aspect-ratio: auto; height: min(24dvh, 180px); }
  .welcome-key img { width: min(17dvh, 128px); height: auto; }
  .welcome-copy { padding: 16px 4px 0; gap: 12px; }
  .welcome-copy h2 { font-size: 30px; }
  .welcome-price strong { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-card, .welcome.open .welcome-card { transform: none; }
  .rotator .word, .tapped .tap-target::after { animation: none; }
  *, *::before, *::after { transition: none !important; }
  html { scroll-behavior: auto; }
}
