/* Amplist — the app's own tokens, so the site and the product agree.
   No build step: three of these pages are text, and only one needs script. */
:root {
  --bg: #FBF6EC;
  --surface: #FFFFFF;
  --ink: #1B1A17;
  --ink2: #56524A;
  --ink3: #8B8678;
  --hairline: rgba(27, 26, 23, 0.10);
  --accent: #B7D98C;
  --accent-deep: #5C7A3F;
  --accent-soft: #E5F1D2;
  --peach-deep: #8A4521;
  --rose-deep: #8A3030;
  --radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark {
  font-family: "Bricolage Grotesque", Georgia, serif;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a { color: var(--accent-deep); }
a:hover { color: var(--ink); }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 22px; }

/* ── header ─────────────────────────────────────────────────────────────── */
header {
  border-bottom: 1px solid var(--hairline);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
header .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 64px;
}
.wordmark {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
}
.wordmark img { width: 34px; height: 34px; border-radius: 9px; }
header nav { margin-left: auto; display: flex; gap: 18px; }
header nav a {
  font-size: 14px;
  color: var(--ink3);
  text-decoration: none;
  font-weight: 500;
}
header nav a:hover, header nav a[aria-current="page"] { color: var(--ink); }

/* ── page ───────────────────────────────────────────────────────────────── */
main { padding: 44px 0 80px; }
h1 { font-size: 38px; margin: 0 0 8px; font-weight: 700; }
.updated {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink3);
  margin: 0 0 34px;
}
h2 {
  font-size: 22px;
  margin: 38px 0 10px;
  font-weight: 600;
  scroll-margin-top: 80px;
}
h3 {
  font-size: 16px;
  margin: 24px 0 6px;
  font-weight: 600;
  font-family: inherit;
}
p, li { color: var(--ink2); }
ul { padding-left: 20px; }
li { margin: 6px 0; }
strong { color: var(--ink); font-weight: 600; }

.lede { font-size: 18px; color: var(--ink2); }

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 26px 0;
}
.card.warn { background: #FFF6EF; border-color: rgba(138, 69, 33, 0.18); }
.card.warn h3, .card.warn strong { color: var(--peach-deep); }
.card.danger { background: #FFF2F2; border-color: rgba(138, 48, 48, 0.2); }
.card.danger h3, .card.danger strong { color: var(--rose-deep); }
.card h3 { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

/* ── form ───────────────────────────────────────────────────────────────── */
label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 5px; }
input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}
input:focus { outline: none; border-color: var(--accent-deep); }
button {
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 99px;
  border: 1px solid transparent;
  cursor: pointer;
  width: 100%;
  margin-top: 16px;
}
button:disabled { opacity: 0.5; cursor: default; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-ghost { background: var(--surface); color: var(--ink2); border-color: var(--hairline); }
.btn-danger { background: var(--rose-deep); color: #fff; }
.msg { margin-top: 14px; font-size: 14px; }
.msg.err { color: var(--rose-deep); }
.msg.ok { color: var(--accent-deep); }
.hidden { display: none !important; }

/* ── footer ─────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--hairline); padding: 26px 0 44px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
footer a { font-size: 14px; color: var(--ink3); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .copy { margin-left: auto; font-size: 13px; color: var(--ink3); }

/* ── app mode ────────────────────────────────────────────────────────────── */
/* Loaded inside the app's own WebView (?mode=app). The site's header, footer
   and nav are chrome the app already provides — a second "Amplist" wordmark
   and a nav bar under a native app bar reads as a website bolted into a
   screen. Set by a tiny inline script before first paint, so nothing flashes
   in and then vanishes. */
/* Two hooks for one state. The <html> class is set by an inline script in
   the head, so the chrome is gone before the first paint; the <body> class
   arrives at DOMContentLoaded and is what the rest of the page keys off.
   Without the first one the header paints and then disappears — which on a
   slow connection is exactly the flash this mode exists to avoid. */
html.app-mode-pending header,
html.app-mode-pending footer,
body.app-mode header,
body.app-mode footer { display: none; }
html.app-mode-pending main,
body.app-mode main { padding: 24px 0 56px; }
html.app-mode-pending h1,
body.app-mode h1 { font-size: 30px; }


/* ═══════════════════════════════════════════════════════════════════════════
   LANDING
   Editorial rather than brochure: a hard left-aligned grid, oversized display
   type, hairline rules instead of cards, and the product drawn in CSS instead
   of photographed. Nothing here is shared with the legal pages above.
   ═══════════════════════════════════════════════════════════════════════════ */

.lp { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
}

/* ── motion ──────────────────────────────────────────────────────────────── */
/* Two reveals. Blocks fade up; display type wipes up from behind a mask, the
   way a headline is meant to land. Both are added by script — without it the
   .in state never arrives, so the base state has to be readable on its own.
   It is: the no-JS fallback in reveal.js reveals everything on the spot. */
.rise { opacity: 0; transform: translateY(20px); }
.rise.in {
  opacity: 1; transform: none;
  transition: opacity .8s cubic-bezier(.22,1,.36,1) var(--d, 0s),
              transform .8s cubic-bezier(.22,1,.36,1) var(--d, 0s);
}
.ln { display: block; overflow: hidden; padding-bottom: .04em; }
.ln > span { display: block; transform: translateY(108%); }
.rise.in .ln > span {
  transform: none;
  transition: transform 1s cubic-bezier(.19,1,.22,1) var(--ld, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .rise, .rise.in { opacity: 1; transform: none; transition: none; }
  .ln > span, .rise.in .ln > span { transform: none; transition: none; }
  .vig *, .marq { animation: none !important; }
  html { scroll-behavior: auto; }
}
html { scroll-behavior: smooth; }

/* Read position, as a hairline. Above the header, which is sticky. */
.progress {
  position: fixed; inset: 0 auto auto 0; height: 2px; width: 0;
  background: var(--accent-deep); z-index: 50; transition: width .1s linear;
}

/* ── header ──────────────────────────────────────────────────────────────── */
/* Starts invisible over the hero and only draws itself once the page has
   moved — a bordered bar above a full-height opening cuts the type off. */
header.lp-head {
  background: transparent; border-bottom-color: transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
body.scrolled header.lp-head {
  background: rgba(251, 246, 236, .82);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--hairline);
}
header.lp-head .lp { display: flex; align-items: center; gap: 14px; height: 68px; }
header.lp-head nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
header.lp-head nav a {
  font-size: 14px; color: var(--ink2); text-decoration: none; font-weight: 500;
}
header.lp-head nav a:hover { color: var(--ink); }
header.lp-head nav a.cta-sm {
  background: var(--ink); color: var(--bg); padding: 9px 17px;
  border-radius: 99px; font-size: 13.5px;
}
header.lp-head nav a.cta-sm:hover { background: var(--accent-deep); color: #fff; }
@media (max-width: 560px) {
  header.lp-head nav { gap: 15px; }
  header.lp-head nav a { font-size: 13px; }
}

/* The headline wipes; it must not also fade, or the two read as mud. */
.hero h1.rise, .hero h1.rise.in { opacity: 1; transform: none; }

section.band.tint {
  background: rgba(255, 255, 255, .55);
  border-block: 1px solid var(--hairline);
}

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(56px, 11vh, 104px) 0 clamp(64px, 10vh, 108px); }

/* Column rules, not blobs. Four hairlines on the page grid, faded top and
   bottom so they read as paper ruling rather than as a table. */
.rules {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 70%, transparent);
}
.rules span { border-left: 1px solid var(--ink); opacity: .07; }
.rules span:first-child { border-left: 0; }
@media (max-width: 760px) { .rules { display: none; } }

.hero .lp { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 68px); align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.22fr .78fr; } }

.eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  color: var(--accent-deep); margin: 0 0 clamp(20px, 3vw, 30px);
}
.eyebrow::after {
  content: ""; height: 1px; flex: 1; max-width: 90px;
  background: currentColor; opacity: .35;
}

.hero h1 {
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.02; letter-spacing: -0.03em; font-weight: 700;
  margin: 0 0 clamp(20px, 3vw, 28px);
}
.hero h1 .two { color: var(--accent-deep); }
.hero h1 .two em {
  font-style: normal; position: relative; display: inline-block;
}
/* The underline is drawn, not typed: it arrives after the word does. */
.hero h1 .two em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.03em;
  height: .07em; background: var(--accent); border-radius: 99px;
  transform: scaleX(0); transform-origin: left;
}
.rise.in .two em::after {
  transform: none; transition: transform .8s cubic-bezier(.22,1,.36,1) 1.05s;
}

.hero p.lede {
  font-size: clamp(16.5px, 1.6vw, 19px); max-width: 430px; margin: 0 0 30px;
}
.hero p.lede b { color: var(--ink); font-weight: 600; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.btn-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ink); color: var(--bg); text-decoration: none;
  font-size: 15px; font-weight: 600; padding: 14px 26px; border-radius: 99px;
  transition: transform .25s cubic-bezier(.22,1,.36,1), background .25s;
}
.btn-pill:hover { background: var(--accent-deep); color: #fff; transform: translateY(-2px); }
.btn-pill .arw { transition: transform .25s; }
.btn-pill:hover .arw { transform: translateX(4px); }
.btn-text {
  font-size: 14.5px; font-weight: 500; color: var(--ink2);
  text-decoration: none; border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
}
.btn-text:hover { color: var(--ink); border-bottom-color: var(--ink); }

.facts { margin: 34px 0 0; color: var(--ink3); display: flex; flex-wrap: wrap; gap: 10px 14px; }
.facts span { display: flex; align-items: center; gap: 14px; }
.facts span::after { content: "·"; opacity: .5; }
.facts span:last-child::after { content: ""; }

/* ── the product, drawn ──────────────────────────────────────────────────── */
/* Three real pieces of the app rather than a device photograph: the coverage
   rows, a few list rows, the due-again strip. One chip crosses from MISSING
   to COVERED on a slow alternating loop — the single idea of the app, shown
   rather than described. */
.vig { position: relative; display: grid; gap: 14px; justify-items: stretch; }
@media (min-width: 940px) { .vig { margin-left: auto; max-width: 380px; } }

.vig-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 20px; padding: 16px 18px;
  box-shadow: 0 22px 44px -28px rgba(27, 26, 23, .45);
}
.vig-head {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--ink3); margin-bottom: 13px;
}

.cov-row { display: flex; align-items: center; gap: 7px; min-height: 30px; }
.cov-row + .cov-row { margin-top: 8px; }
.cov-row .lbl { color: var(--ink3); width: 60px; flex: none; }
.chip {
  font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden;
  border: 1px solid var(--hairline); border-radius: 99px;
  padding: 5px 12px; background: #F1EDE4; color: var(--ink3);
}
.chip.ok {
  background: var(--accent-soft); color: var(--accent-deep);
  border-color: rgba(92, 122, 63, .26);
}
/* The demo (hero-demo.js): a chip leaves Missing and arrives in Covered as the
   row that covers it is added. Collapsing max-width with the padding and margin
   is what sells it, since the row closes up behind the chip. */
.cov-row { flex-wrap: wrap; row-gap: 6px; }
.chip { transition: max-width .7s cubic-bezier(.65,0,.35,1), padding .7s cubic-bezier(.65,0,.35,1),
        margin .7s cubic-bezier(.65,0,.35,1), opacity .5s, border-width .7s; max-width: 90px; }
.chip.in-iron, .chip.in-b12 { max-width: 0; padding-inline: 0; margin-right: -7px; opacity: 0; border-width: 0; }
.vig.s1 .m-iron, .vig.s2 .m-b12 {
  max-width: 0; padding-inline: 0; margin-right: -7px; opacity: 0; border-width: 0;
}
.vig.s1 .in-iron, .vig.s2 .in-b12 {
  max-width: 90px; padding-inline: 12px; margin-right: 0; opacity: 1; border-width: 1px;
}
/* Half a second after the row lands, so the new item is seen before the chip
   moves. Both halves of the pair wait the same time and move together. */
.vig.s1 .m-iron, .vig.s1 .in-iron, .vig.s2 .m-b12, .vig.s2 .in-b12 { transition-delay: .5s; }
.none { font-size: 12.5px; color: var(--ink3); opacity: 0; max-width: 0; overflow: hidden; white-space: nowrap;
        transition: opacity .5s 1.2s, max-width .1s 1.2s; }
.vig.s2 .none { opacity: 1; max-width: 160px; }
.vig.no-anim *, .vig.no-anim *::after { transition: none !important; }

.rows { display: flex; flex-direction: column; }
.row {
  display: flex; align-items: center; gap: 11px; padding-block: 5.5px; overflow: hidden;
  max-height: 34px; transition: max-height .6s cubic-bezier(.22,1,.36,1), padding .6s cubic-bezier(.22,1,.36,1), opacity .5s;
}
/* Rows the demo adds start folded away and open at the top of the list. */
.row.late { max-height: 0; padding-block: 0; opacity: 0; }
.vig.s1 .row.l1, .vig.s2 .row.l2 { max-height: 34px; padding-block: 5.5px; opacity: 1; }
.box {
  width: 19px; height: 19px; border-radius: 7px; flex: none;
  border: 1.6px solid var(--hairline);
}
.box { position: relative; transition: background .3s, border-color .3s; }
.box::after {
  content: ""; position: absolute; left: 5.5px; top: 2.5px;
  width: 4px; height: 8px; border: solid #fff; border-width: 0 1.8px 1.8px 0;
  transform: rotate(42deg) scale(0); transition: transform .3s cubic-bezier(.3,1.6,.5,1) .05s;
}
.row.done .box { background: var(--accent-deep); border-color: var(--accent-deep); }
.row.done .box::after { transform: rotate(42deg) scale(1); }
/* The strike is a drawn line, not text-decoration, so it can grow across. */
.row .nm {
  font-size: 14.5px; font-weight: 500; transition: color .4s;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 55% / 0 1.5px;
  transition: color .4s, background-size .45s cubic-bezier(.22,1,.36,1);
}
.row.done .nm { color: var(--ink3); background-size: 100% 1.5px; }
.row .tag {
  margin-left: auto; font-size: 11px; font-weight: 600;
  color: var(--accent-deep); background: var(--accent-soft);
  border-radius: 99px; padding: 3px 9px;
}

.due { display: flex; flex-wrap: wrap; gap: 7px; }
.due i {
  font-style: normal; font-size: 12.5px; font-weight: 600;
  background: #FFE8D9; color: var(--peach-deep);
  border-radius: 99px; padding: 6px 12px;
}
.due i:first-child { animation: nudge 6.5s ease-in-out infinite; }
@keyframes nudge {
  0%, 62%, 100% { transform: none; }
  70% { transform: translateY(-4px); }
  78% { transform: none; }
}

/* ── steps ───────────────────────────────────────────────────────────────── */
/* Ruled rows with a set-out numeral, the way a contents page is laid out.
   No cards: three boxes in a row is the shape every landing page has. */
section.band { padding: clamp(64px, 9vw, 104px) 0; }
.band-head { max-width: 640px; margin: 0 0 clamp(34px, 5vw, 54px); }
.band-head .mono { color: var(--accent-deep); margin: 0 0 14px; }
.band-head h2 { font-size: clamp(28px, 4.4vw, 46px); letter-spacing: -0.03em; margin: 0 0 12px; }
.band-head p { font-size: 17px; margin: 0; max-width: 520px; }

.steps { border-top: 1px solid var(--hairline); }
.step {
  display: grid; gap: 6px 30px; padding: clamp(24px, 3.4vw, 34px) 0;
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 780px) {
  .step { grid-template-columns: 78px 300px 1fr; align-items: start; gap: 30px 44px; }
}
.step .no {
  font-family: "JetBrains Mono", monospace; font-size: 13px;
  color: var(--ink3); padding-top: 5px;
  transition: color .3s;
}
.step:hover .no { color: var(--accent-deep); }
.step h3 { font-family: "Bricolage Grotesque", serif; font-size: clamp(20px, 2.2vw, 25px); margin: 0; font-weight: 600; }
.step p { margin: 0; font-size: 16px; }

/* ── bento ───────────────────────────────────────────────────────────────── */
.bento { display: grid; gap: 14px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(190px, auto); }
  .bento .t1 { grid-column: span 2; grid-row: span 2; }
  .bento .t4 { grid-column: span 2; }
}
.tile {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 24px; padding: 26px 26px 28px;
  display: flex; flex-direction: column;
  /* A grid item's automatic minimum is its min-content width, and the
     marquee's nowrap track is thousands of pixels wide — without these the
     whole grid stretches to fit it and the page scrolls sideways. */
  min-width: 0; overflow: hidden;
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -26px rgba(27,26,23,.4); }
.tile .mono { color: var(--ink3); margin: 0 0 auto; }
.tile h3 {
  font-family: "Bricolage Grotesque", serif; font-weight: 600;
  font-size: clamp(19px, 2vw, 23px); margin: 26px 0 8px; letter-spacing: -0.02em;
}
.tile p { margin: 0; font-size: 14.5px; }
.tile.sage { background: var(--accent-soft); border-color: rgba(92,122,63,.16); }
.tile.sage .mono { color: var(--accent-deep); }
.tile.dark { background: var(--ink); border-color: transparent; }
.tile.dark h3 { color: var(--bg); }
.tile.dark p, .tile.dark .mono { color: rgba(251,246,236,.62); }

/* The catalogue tile says its own point: the same food under many names,
   sliding past. Two identical tracks so the loop has no seam. */
.marq-wrap {
  margin: 22px -26px 0; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marq { display: flex; width: max-content; animation: marq 26s linear infinite; }
.marq > span {
  display: flex; gap: 12px; padding-right: 12px;
  font-size: 14px; color: rgba(251,246,236,.82); white-space: nowrap;
}
.marq b {
  font-weight: 500; background: rgba(251,246,236,.09);
  border: 1px solid rgba(251,246,236,.14);
  border-radius: 99px; padding: 6px 13px;
}
.marq b.hi { background: var(--accent); color: var(--ink); border-color: transparent; }
@keyframes marq { to { transform: translateX(-50%); } }

.t1 .big {
  font-size: clamp(40px, 6vw, 62px); font-family: "Bricolage Grotesque", serif;
  font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin: 22px 0 0;
}
.t1 .big small { display: block; font-size: 14.5px;
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 400; color: var(--ink2); letter-spacing: 0; margin-top: 12px; line-height: 1.6; }

/* Fourteen days; the filled ones are when milk actually got bought. The
   point of the tile made visible instead of asserted. */
.cadence { display: flex; align-items: flex-end; gap: 6px; height: 46px; margin-top: 26px; }
.cadence i {
  flex: 1; border-radius: 3px; background: rgba(92, 122, 63, .16);
  height: 34%;
}
.cadence i.hit { background: var(--accent-deep); height: 100%; }

/* ── the claim ───────────────────────────────────────────────────────────── */
.claim { display: grid; gap: 22px; align-items: start; }
@media (min-width: 900px) {
  .claim { grid-template-columns: 1.15fr 1fr; gap: 64px; }
}
.claim h2 {
  font-size: clamp(32px, 5.4vw, 60px); letter-spacing: -0.035em;
  line-height: 1.03; margin: 0; max-width: 11ch;
}
.claim h2 em { font-style: normal; color: var(--ink3); }
.claim .mono { color: var(--accent-deep); margin: 0 0 16px; }
.claim p { font-size: 17px; margin: 0 0 14px; }
.claim p.small { font-size: 14.5px; color: var(--ink2); margin: 0; }

/* ── close ───────────────────────────────────────────────────────────────── */
.close {
  border-top: 1px solid var(--hairline);
  padding: clamp(66px, 9vw, 110px) 0 clamp(56px, 8vw, 96px);
}
.close h2 {
  font-size: clamp(32px, 6vw, 68px); letter-spacing: -0.035em;
  line-height: 1.02; margin: 0 0 20px; max-width: 12ch;
}
.close h2 span { color: var(--ink3); }
.close p { font-size: 17px; max-width: 420px; margin: 0 0 30px; }

/* In the tall tile the label leads, the cadence sits under it, and the big
   line drops to the floor — the empty middle is the point. */
.tile.t1 .mono { margin-bottom: 22px; }
.tile.t1 .cadence { margin: 0 0 auto; }

.close-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) {
  .close-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .close-grid .mark { justify-self: end; text-align: right; }
}
.close-grid .mark img {
  width: 104px; height: 104px; border-radius: 26px;
  box-shadow: 0 26px 50px -24px rgba(27, 26, 23, .5);
}
.close-grid .mark .mono { color: var(--ink3); margin: 18px 0 0; }


/* ── wordmark, store badge and the get-the-app block ─────────────────────── */
.wordmark.logo img { width: auto; height: 30px; border-radius: 0; }
@media (max-width: 560px) { .wordmark.logo img { height: 26px; } }

/* Google's badge is used exactly as supplied (no recolour, no crop). The file
   carries its own clear space, so the margins cancel it to line up with the text. */
.play-badge { display: inline-block; line-height: 0; }
.play-badge img { height: 82px; width: auto; display: block; margin: -12px -14px; }
.play-badge.sm img { height: 62px; margin: -8px -9px; }
.play-badge:hover { opacity: .92; }

.get-app { display: flex; flex-wrap: wrap; gap: 16px; }
@media (min-width: 900px) { .get-app { justify-content: flex-end; } }
.get-card {
  background: #fff; border: 1px solid var(--hairline); border-radius: 24px;
  padding: 20px 14px 16px; text-align: center; width: 190px;
  box-shadow: 0 26px 50px -30px rgba(27, 26, 23, .45);
}
.get-card .mono { color: var(--ink3); margin: 0 0 14px; }
.get-card .qr { display: block; line-height: 0; }
.get-card .qr img { width: 144px; height: 144px; margin: 0 auto; }
.get-card .scan { font-size: 14px; color: var(--ink2); margin: 10px 0 10px; max-width: none; }
.get-card .app-icon { width: 96px; height: 96px; border-radius: 24px; margin: 4px auto 0; display: block;
  box-shadow: 0 18px 34px -20px rgba(27, 26, 23, .5); }
.get-card.soon { background: transparent; border-style: dashed; }
.get-card.soon .scan { font-size: 16px; font-weight: 600; color: var(--ink); margin-top: 22px; }
.get-card.soon { display: flex; flex-direction: column; justify-content: center; }
.get-card.soon .scan { margin-top: 14px; }

/* Card titles read "Android" and "iPhone", not the site's usual capitals. */
.get-card .mono { text-transform: none; letter-spacing: 0; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--ink); }

/* An outline the size of Google's badge button (the badge image carries its own
   clear space, so the visible button is about 87% x 66% of the image). */
.soon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 185px; height: 55px; box-sizing: border-box;
  border: 1.5px solid var(--ink); border-radius: 8px;
  font-size: 15px; font-weight: 600; color: var(--ink);
  background: transparent; cursor: default; user-select: none;
}

/* The demo changes what is inside the card; it must never change the card's
   own size, or the grid column (and the headline beside it) shifts. */
.hero-grid > * { min-width: 0; }
.vig { width: 100%; }
@media (min-width: 940px) { .vig { width: 380px; max-width: 100%; } }

/* Five chips have to fit one line in the 380px card. */
.vig .cov-row { gap: 6px; }
.vig .cov-row .lbl { width: 54px; }
.vig .chip { padding: 5px 10px; font-size: 12px; }
.vig.s1 .in-iron, .vig.s2 .in-b12 { padding-inline: 10px; }
.vig .none { margin-left: 6px; }

/* The closing note: neutral and factual, the same dark pill the app uses for its
   own confirmations. It fades in under the list and fades away again. */
.demo-toast {
  position: absolute; left: 50%; bottom: -19px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 600;
  padding: 10px 16px; border-radius: 99px; box-shadow: 0 16px 30px -14px rgba(27, 26, 23, .6);
  opacity: 0; transform: translate(-50%, 10px); pointer-events: none;
  transition: opacity .45s ease, transform .45s cubic-bezier(.22,1,.36,1);
}
.demo-toast .tk { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); position: relative; }
.demo-toast .tk::after {
  content: ""; position: absolute; left: 4.5px; top: 2px; width: 3px; height: 6px;
  border: solid var(--accent-deep); border-width: 0 1.6px 1.6px 0; transform: rotate(42deg);
}
.vig.toast .demo-toast { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .demo-toast { display: none; } }

/* The pill overlaps the bottom edge of the list card. Nothing around it moves. */
.vig-card.list-card { position: relative; }
.vig-card { transition: opacity .4s ease; }
.vig.fading .vig-card { opacity: 0; }

/* Reserve the stack's finished height from the start. The demo adds rows, and a
   stack that grows gets re-centred by the hero grid, which moves it (and the
   headline beside it) on every step. */
@media (min-width: 940px) { .vig { min-height: 466px; align-content: start; } }
@media (max-width: 939px) { .vig { min-height: 470px; align-content: start; } }
