/* ============================================================================
   THE LANDING PAGE — ported from .bolter/mockups/landing-hero.html.

   Every measurement, colour role and word of the approved mockup is kept. The
   only changes from that file are the four this app needs and cannot avoid:

     1. its palette now POINTS AT the app's tokens (--app-bg and friends, which
        /walkaround.css sets for light and dark) instead of holding its own hex
        values, so the page has a dark mode;
     2. the one inverted card (the daily plan) takes its inks from a small set
        of --inv-* values that flip in dark mode, so it stays legible there;
     3. `.reveal` hides its content only once a script has said JavaScript is
        running (`.wa-js`), so the page reads with scripting off;
     4. a small-screen step at 560px, because the mockup's only breakpoint was
        1000px and the page has to hold at 390.

   Nothing else moved: the dot grain, the sticky nav, the stacked sheets, the
   pen round the quote, the scanline, the facts strip, the three steps, the
   printout, the two plans ("prices"/"the report"/"how" anchors included) and
   the footer are the mockup's own.
   ========================================================================== */

:root {
  --paper: var(--app-bg);
  --sheet: var(--app-surface);
  --ink: var(--app-text);
  --ink-2: var(--app-text-muted);
  --muted: var(--app-text-subtle);
  --rule: var(--app-border);
  --red: var(--app-danger);
  --red-ink: var(--wa-red-wash);
  --sans: var(--app-font-body);
  --mono: var(--app-font-mono);
  --e1: 200ms;
  --e2: 320ms;
  --ease: cubic-bezier(.22, .68, 0, 1);
  --max: 1160px;

  /* the daily plan's inverted card: ink in light, a raised sheet in dark */
  --inv-bg: var(--app-text);
  --inv-fg: var(--app-surface);
  --inv-text: #DCD5C6;
  --inv-muted: #B9B2A2;
  --inv-rule: #332F28;
  --sheet-shadow: 0 1px 0 rgba(25, 23, 19, .04), 0 18px 40px -22px rgba(25, 23, 19, .35);
  --print-shadow: 0 24px 50px -30px rgba(25, 23, 19, .4);
  --dot: rgba(25, 23, 19, .045);
  /* two small grounds the mockup picks by hand: the sheet's foot, and a code
     chip. Named here so dark mode can restate them instead of losing them. */
  --foot-bg: #FAF7EE;
  --code-bg: #E9E4D6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-app-mode]) {
    --inv-bg: var(--app-surface-2);
    --inv-fg: var(--app-text);
    --inv-text: var(--app-text-muted);
    --inv-muted: var(--app-text-subtle);
    --inv-rule: var(--app-border-strong);
    --sheet-shadow: 0 1px 0 rgba(0, 0, 0, .4), 0 18px 40px -22px rgba(0, 0, 0, .75);
    --print-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8);
    --dot: rgba(242, 237, 226, .05);
    --foot-bg: var(--app-surface-2);
    --code-bg: var(--app-surface-2);
  }
}
:root[data-app-mode="dark"] {
  --inv-bg: var(--app-surface-2);
  --inv-fg: var(--app-text);
  --inv-text: var(--app-text-muted);
  --inv-muted: var(--app-text-subtle);
  --inv-rule: var(--app-border-strong);
  --sheet-shadow: 0 1px 0 rgba(0, 0, 0, .4), 0 18px 40px -22px rgba(0, 0, 0, .75);
  --print-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8);
  --dot: rgba(242, 237, 226, .05);
  --foot-bg: var(--app-surface-2);
  --code-bg: var(--app-surface-2);
}

* { box-sizing: border-box }
html, body { margin: 0; padding: 0 }
:root body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image: radial-gradient(var(--dot) .7px, transparent .7px);
  background-size: 4px 4px;
}
:root a { color: inherit }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule) }
.nav-in { display: flex; align-items: center; gap: 34px; height: 68px }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 620; letter-spacing: -.02em; font-size: 16px; text-decoration: none }
/* `:root` here for one reason: the app's own `:root a` underlines every link,
   and a bare `.brand` rule loses to it. The wordmark is not a link in a
   sentence; it is the name of the thing. */
:root .brand { text-decoration: none }
.brand svg { display: block }
/* The name has its own box so that, when the header runs out of room, the words
   end in an ellipsis instead of being cut mid-letter. `text-overflow` on the
   link itself did nothing: its words are a bare child of a flex row, so the
   browser has nothing of its own to shorten. */
.brand-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
/* Two labels for the one button: the header has room for the long one on a
   desk, and a phone keeps the name whole by reading the short one. */
.on-phone { display: none }
/* the mark's own ink, not the danger red: the stamp says the sheet was checked */
.brand .mark-stamp { color: var(--mark-ink, #C14046) }
.nav-links { display: flex; gap: 26px; margin-left: auto }
.nav-links a { text-decoration: none; font-size: 14.5px; color: var(--ink-2) }
.nav-links a:hover { color: var(--ink) }
:root .btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 22px; border-radius: 3px;
  font-size: 15px; font-weight: 560; text-decoration: none; border: 1px solid var(--ink); transition: transform 120ms var(--ease), box-shadow 120ms var(--ease), background 120ms linear }
:root .btn-fill { background: var(--ink); color: var(--sheet) }
:root .btn-fill:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(25, 23, 19, .18) }
:root .btn-fill:active { transform: scale(.988) }
:root .btn-line { background: transparent; color: var(--ink); border-color: var(--rule) }
:root .btn-line:hover { border-color: var(--ink) }
:root .btn-sm { height: 38px; padding: 0 16px; font-size: 14px }

/* hero */
.hero { padding: 78px 0 0 }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 56px; align-items: start }
:root h1 { margin: 0; font-size: 62px; line-height: .99; letter-spacing: -.038em; font-weight: 640 }
:root h1 .em { position: relative; white-space: nowrap }
.sub { margin: 24px 0 0; font-size: 19.5px; line-height: 1.5; color: var(--ink-2); max-width: 33ch }
.cta-row { display: flex; align-items: center; gap: 12px; margin-top: 34px; flex-wrap: wrap }
.who { margin-top: 22px; font-size: 14.5px; color: var(--muted); max-width: 40ch; line-height: 1.45 }
.who b { color: var(--ink-2); font-weight: 560 }

/* proof strip */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule) }
.fact { padding: 22px 26px 24px; border-right: 1px solid var(--rule) }
.fact:last-child { border-right: 0 }
.fact b { display: block; font-size: 24px; letter-spacing: -.02em; font-weight: 620 }
.fact span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.4 }

/* the sheet stack */
.stack { position: relative; padding: 14px 6px 0 0 }
.sheet { background: var(--sheet); border: 1px solid var(--rule); border-radius: 2px; box-shadow: var(--sheet-shadow) }
.sheet-back { position: absolute; inset: 0; transform-origin: top right }
.sheet-b1 { transform: rotate(1.6deg) translate(14px, -6px); opacity: .75 }
.sheet-b2 { transform: rotate(3.1deg) translate(26px, -12px); opacity: .45 }
.sheet-front { position: relative; transform: translateY(6px); overflow: hidden }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); opacity: 0 }
.sheet-head { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--rule) }
.chip { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border: 1px solid var(--rule); border-radius: 2px; color: var(--muted); white-space: nowrap }
.chip-red { color: var(--red); border-color: color-mix(in srgb, var(--red) 35%, transparent); background: var(--red-ink) }
.path { font-family: var(--mono); font-size: 12px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0 }
.sheet-body { padding: 20px 22px 22px }
.sheet-body h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.018em; font-weight: 600; line-height: 1.25 }
.sheet-body p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5 }
.qwrap { position: relative; margin: 16px 0 0; padding: 12px 14px; background: var(--app-surface-2); border: 1px solid var(--rule); border-radius: 2px }
/* The quote is a line inside a full-width strip, so the pen has to hug the
   words themselves. A loop sized to the strip would circle the empty right-hand
   half of it. This is the same two-stroke mark the report page puts round a
   finding's quote, so the hero shows the mark a customer actually gets. */
.qmark { position: relative; display: inline-block; vertical-align: top; max-width: calc(100% - 24px) }
/* the quote stays on one line: the pen ring follows this box, so a wrapped quote
   would leave the ring stretched round empty space rather than round the words */
.qmark code { white-space: nowrap }
.qwrap code { position: relative; z-index: 2; font-family: var(--mono); font-size: 13px; color: var(--ink); letter-spacing: -.01em; overflow-wrap: anywhere }
.pen, .pen::after { content: ""; position: absolute; border: solid var(--red); max-width: none; pointer-events: none; z-index: 1 }
.pen { inset: -11px -22px -10px -10px; border-width: 3px; border-radius: 54% 46% 52% 48% / 62% 56% 44% 50%; transform: rotate(-1.3deg) skewX(-1.5deg); opacity: .9 }
.pen::after { inset: -3px 3px 1px -3px; border-width: 2.5px; border-radius: 46% 54% 48% 52% / 48% 44% 56% 52%; transform: rotate(1.2deg); opacity: .7 }
.qlabel { margin-top: 7px; font-family: var(--mono); font-size: 11px; color: var(--muted); overflow-wrap: anywhere }
.fix { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--rule); font-size: 14.5px; color: var(--ink-2); line-height: 1.45 }
.fix b { color: var(--ink); font-weight: 600 }
.sheet-foot { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-top: 1px solid var(--rule); background: var(--foot-bg); flex-wrap: wrap }
.sheet-foot .mono { color: var(--muted) }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--rule) }

/* section frame */
section { position: relative }
/* The nav is sticky, so an anchor's target needs room above it. */
section[id], #report, #prices { scroll-margin-top: 84px }
.sec { padding: 96px 0 0 }
.sec-head { max-width: 52ch }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
:root h2 { margin: 12px 0 0; font-size: 40px; line-height: 1.08; letter-spacing: -.03em; font-weight: 630 }
.lede { margin: 16px 0 0; color: var(--ink-2); font-size: 18px; max-width: 46ch }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 52px }
.step { border-top: 1px solid var(--ink); padding-top: 18px }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .06em }
.step h3 { margin: 14px 0 8px; font-size: 19.5px; font-weight: 600; letter-spacing: -.018em; line-height: 1.25 }
.step p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5 }
.step code { display: inline-block; max-width: 100%; font-family: var(--mono); font-size: 13px; background: var(--code-bg); padding: 1px 4px; border-radius: 2px; overflow-wrap: anywhere }

/* report section */
.report-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; margin-top: 52px; align-items: start }
.bullets { list-style: none; padding: 0; margin: 26px 0 0 }
.bullets li { position: relative; padding: 14px 0 14px 26px; border-top: 1px solid var(--rule); font-size: 15.5px; color: var(--ink-2); line-height: 1.5 }
.bullets li:last-child { border-bottom: 1px solid var(--rule) }
.bullets li::before { content: ""; position: absolute; left: 0; top: 22px; width: 9px; height: 9px; border: 1.5px solid var(--red); border-radius: 1px; transform: rotate(45deg) }
.printout { background: var(--sheet); border: 1px solid var(--rule); border-radius: 2px; box-shadow: var(--print-shadow); padding: 0 }
/* The sample report is a picture, not markup: its quotes are the point of it, and
   quote-shaped text on our own page is exactly what our own scan reports as a
   finding. The PNG carries the sheet, its border and its type; the shadow stays
   here because a picture cannot cast one. Two renders, so the phone keeps the
   card's own line breaks rather than shrinking the desk one. */
.printout-shot { display: block; width: 100%; height: auto; border-radius: 2px; box-shadow: var(--print-shadow) }

/* The hero's finding card is a picture for the same reason, with its motion kept
   as overlays: the scan sweeps over it, the red wash lands on the quote and the
   pen draws its ring, all positioned by shares of the picture measured when it
   was drawn. The pen's box is the quote's ring; the
   wash is the quote's own box. The two sets differ at phone width because the
   card reflows there, so they are restated under the same breakpoint the picture
   swaps at. */
.hero-shot { position: relative }
.hero-shot img { display: block; width: 100%; height: auto }
.hero-shot .hit { position: absolute; left: 4.688%; top: 43.747%; width: 90.625%; height: 13.708%; border-radius: 2px; background: color-mix(in srgb, var(--red) 15%, transparent); opacity: 0; pointer-events: none }
.hero-shot .ink { position: absolute; left: 5.911%; top: 46.366%; width: 39.75%; height: 8.732%; overflow: visible; pointer-events: none; z-index: 1 }
@media (max-width: 720px) {
  .hero-shot .hit { left: 6.686%; top: 46.771%; width: 86.628%; height: 11.411% }
  .hero-shot .ink { left: 8.43%; top: 48.951%; width: 56.695%; height: 7.269% }
}
.po-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 22px; border-bottom: 1px solid var(--rule) }
.po-head b { font-size: 14px; letter-spacing: -.01em }
.finding { padding: 18px 22px; border-bottom: 1px solid var(--rule) }
.finding:last-child { border-bottom: 0 }
.f-top { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; min-width: 0 }
.finding h4 { margin: 0 0 6px; font-size: 16.5px; font-weight: 600; letter-spacing: -.015em; line-height: inherit }
.finding .q { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); background: var(--app-surface-2); border-left: 2px solid var(--red); padding: 7px 10px; margin: 8px 0 0; overflow-wrap: anywhere }
.finding .f { font-size: 14px; color: var(--muted); margin-top: 8px }
.finding .f b { color: var(--ink-2); font-weight: 560 }

/* why every week, now a plain text block: the comparison moved into the prices
   block, so this section holds only its own argument. */
.weekly-copy { margin-top: 52px; max-width: 62ch }
.weekly-copy h2 { margin-top: 12px }
.weekly-copy .small { margin-top: 22px; max-width: 44ch; line-height: 1.55 }
/* THE COMPARISON. It sits inside the prices block, directly under the plan
   cards and above the tax line, so the rival figures are read in the same
   breath as the number we charge. */
.price-list { margin-top: 26px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 2px; box-shadow: var(--print-shadow); padding: 20px 22px 16px }
.pl-head { font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--rule) }
.pl-row { display: grid; grid-template-columns: 1fr auto; column-gap: 18px; row-gap: 2px; padding: 10px 0; border-bottom: 1px dashed var(--rule) }
/* One row after another, ours last: the comparison is read down the page, and
   the row that matters is the one at the foot of it. */
.pl-rows { display: grid; grid-template-columns: 1fr; margin-top: 2px }
.pl-row:last-of-type { border-bottom: 0 }
.pl-name { font-size: 15px; color: var(--ink-2); font-weight: 520; min-width: 0 }
.pl-price { font-family: var(--mono); font-size: 14px; color: var(--ink); text-align: right; white-space: nowrap }
.pl-note { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); line-height: 1.45 }
.pl-ours .pl-name { color: var(--ink); font-weight: 600 }
.pl-ours .pl-price { font-weight: 600 }
.pl-ours .em { position: relative; white-space: nowrap; display: inline-block }
.pl-ours .em::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: -1px; height: 2px; background: var(--red); opacity: .85; transform: rotate(-.7deg) }
/* THE GAP IN ONE LINE. The comparison's whole point, said as a figure: the
   cheapest continuous plan against ours, both numbers in the sentence. Set in
   body size, because a claim set in small print is one nobody weighs. */
.pl-times { margin: 12px 0 0; padding-top: 11px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--ink-2); line-height: 1.5 }
.pl-times b { color: var(--ink); font-weight: 620; white-space: nowrap }
.pl-foot { margin: 12px 0 0; font-size: 12px; color: var(--muted); line-height: 1.45 }
/* THE PROOF BESIDE THE PRICE. The sample report is the one thing a stranger can
   weigh before paying, so its line sits in the prices block rather than a
   section earlier: the link and the number are read together. */
.sample-line { margin: 22px 0 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; max-width: 62ch }
.sample-line a { color: var(--ink); text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 560 }

/* WHO RUNS THE SCANS. The founder's own sentence, set as plain text on the
   page rather than as a testimonial card: no sheet, no border round it, no
   quote marks. It sits between the report section and the prices, so a
   stranger meets the person before the number. The line is set larger than
   body text because it is the only voice on the page that is not the
   product's, and it carries a name above it once he gives one. */
.operator { margin-top: 96px; padding-top: 40px; border-top: 1px solid var(--ink) }
.op-block { margin: 26px 0 0; max-width: 54ch }
.op-name { margin: 0 0 10px; font-size: 15.5px; font-weight: 620; letter-spacing: -.01em }
.op-line { margin: 0; font-size: 22px; line-height: 1.38; letter-spacing: -.021em; color: var(--ink) }

/* prices */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px }
.plan { background: var(--sheet); border: 1px solid var(--rule); border-radius: 3px; padding: 28px 28px 26px; display: flex; flex-direction: column }
.plan.dark { background: var(--inv-bg); color: var(--inv-fg); border-color: var(--inv-bg) }
.plan .tier { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted) }
.plan.dark .tier { color: var(--inv-muted) }
.amount { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 2px }
.amount b { font-size: 46px; letter-spacing: -.035em; font-weight: 640; line-height: 1 }
.amount span { font-size: 15px; color: var(--muted) }
.plan.dark .amount span { color: var(--inv-muted) }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; flex: 1 }
.plan li { font-size: 15px; color: var(--ink-2); padding: 9px 0; border-top: 1px solid var(--rule); line-height: 1.45 }
.plan.dark li { color: var(--inv-text); border-color: var(--inv-rule) }
.plan .btn { margin-top: 22px; width: 100% }
.plan.dark .btn-fill { background: var(--inv-fg); color: var(--inv-bg); border-color: var(--inv-fg) }
.plan.dark .btn-fill:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .24) }
.small { margin-top: 18px; font-size: 13.5px; color: var(--muted) }
/* THE ADD-ON PRICE. A line of its own under the two plans, set at body size
   rather than in the small print: it is a price, and a price that looks like a
   footnote is a price somebody reads after they have decided. */
.extra-line { margin: 26px 0 0; font-size: 16px; color: var(--ink-2); letter-spacing: -.005em }
.extra-line b { color: var(--ink); font-weight: 620 }

/* honest */
.honest { margin-top: 96px; padding: 40px 0 0; border-top: 1px solid var(--ink) }
.honest-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 36px; margin-top: 26px }
.honest-grid p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.5 }
.honest-grid b { display: block; font-size: 16px; color: var(--ink); font-weight: 600; margin-bottom: 6px; letter-spacing: -.012em }
/* the four rules a check keeps to: two across on a wide page, one on a phone */
.never-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 36px; margin-top: 26px; max-width: 820px }
.never-grid p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.5 }
.never-grid b { display: block; font-size: 16px; color: var(--ink); font-weight: 600; margin-bottom: 6px; letter-spacing: -.012em }

/* footer */
footer { margin-top: 88px; border-top: 1px solid var(--rule); padding: 30px 0 44px }
.foot { display: flex; align-items: center; gap: 24px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap }
.foot .r { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap }
.foot a { text-decoration: none }
.foot a:hover { color: var(--ink) }

/* motion — hidden only when a script has confirmed it can reveal them again */
.wa-js .reveal { opacity: 0; transform: translateY(10px) }
.wa-js .reveal.in { opacity: 1; transform: none; transition: opacity var(--e2) var(--ease), transform var(--e2) var(--ease) }
@media (prefers-reduced-motion: reduce) {
  .wa-js .reveal { opacity: 1; transform: none }
  * { animation: none !important; transition: none !important }
}
@media (max-width: 1000px) {
  .hero-grid, .report-grid { grid-template-columns: 1fr; gap: 44px }
  :root h1 { font-size: 46px }
  .steps, .price-grid, .honest-grid, .never-grid, .facts { grid-template-columns: 1fr }
  .fact { border-right: 0; border-bottom: 1px solid var(--rule) }
  .fact:last-child { border-bottom: 0 }
  .nav-links { display: none }
  /* With the links gone, the row has nothing left to push the button out, so
     the one way in holds the right edge itself. Without this the button sits
     just after the name with a wide gap of nothing to the right of it. */
  .nav-in > .btn { margin-left: auto }
  .wrap { padding: 0 22px }
  /* The two sheets behind the hero's card lean past its right edge, and at a
     tablet width the column is wide enough for them to reach past the page: the
     page scrolled 5px sideways at 1000. They take the phone's smaller offsets
     from here down, so nothing runs off the sheet. */
  .sheet-b1 { transform: rotate(1.4deg) translate(9px, -5px) }
  .sheet-b2 { transform: rotate(2.6deg) translate(16px, -9px) }
}
/* FOUR STEPS. The block has a fourth step now (the card comes first), and four
   columns only work on a wide page: between 561 and 1060 the step columns come
   out narrower than the token path printed in step 2, and the path was breaking
   mid-word. Two columns from 1060 down, and one from 560 (below). */
@media (max-width: 1060px) {
  .steps { grid-template-columns: repeat(2, 1fr) }
}
/* The mockup stopped at 1000px because it was drawn at 1280. A phone is the
   same page with less room, not a different one: its type scale is kept, and
   only the space around it is tightened. Nothing moves sideways. */
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr }
  .hero { padding: 44px 0 0 }
  .sec { padding: 66px 0 0 }
  .facts { margin-top: 44px }
  .steps, .price-grid, .honest-grid { gap: 22px }
  .report-grid { gap: 34px }
  .honest { margin-top: 66px }
  footer { margin-top: 62px }
  /* The mockup's own 22px page margin is kept: the sheet stack is what needs
     room, not the text column. Its back sheets are pulled 26px to the right,
     which is past the edge of a 390px screen, so those two offsets are the one
     thing that shrinks. */
  .stack { padding-right: 2px }
  .sheet-b1 { transform: rotate(1.4deg) translate(9px, -5px) }
  .sheet-b2 { transform: rotate(2.6deg) translate(16px, -9px) }
  .cta-row .btn { flex: 1 1 auto }
  /* A phone has no room for a name on two lines and a button on two more. The
     brand and the call to action each stay on one line; the name gives way
     first, because "Open the board" cut in half reads as a broken button. */
  .nav-in { gap: 10px; height: 62px }
  .brand { font-size: 15px; white-space: nowrap; min-width: 0; flex: 0 1 auto }
  .brand svg { flex: 0 0 auto }
  .nav .btn { white-space: nowrap; padding: 0 14px; flex: 0 0 auto }
}


/* Under 430px the header cannot hold the sign of the page, the whole name and
   "Open your sites" at once: measured at 390, the words needed 143px and had
   115px, so the name lost its last five letters. The button says the same thing
   in fewer words on a phone and the name stays whole. */
@media (max-width: 430px) {
  .on-wide { display: none }
  .on-phone { display: inline }
  /* The header holds three things on one line: the mark, the name, and the
     button. Measured as a signed-in customer at 375 and 390, the words need
     138px and get 138, which is the whole name with nothing to spare. At 360,
     which is what most Android phones are, they were five pixels short, so the
     smallest step takes three small savings rather than one large one: the page
     margin gives up 6px a side inside the header only, the gaps lose 2px each,
     and the button gives up 2px a side. Nothing shrinks by more than it can
     afford: the name keeps its size here and the words stay whole from 360 up. */
  .nav .wrap { padding: 0 16px }
  .nav-in { gap: 8px }
  .nav .btn { padding: 0 10px }
  .brand { font-size: 13.5px }
}

/* Below 340 there is no arrangement that holds the mark, the whole two words and
   the button at a readable size: at 320 the words need 45px more than the row
   has. So the smallest phones show the name's first word, which is what a
   wordmark does on a narrow sheet, and the link keeps the whole name for anyone
   reading it with a screen reader. No ellipsis: a name that trails off reads as
   unfinished, and a short name reads as short. */
@media (max-width: 340px) {
  .brand-rest { display: none }
}


/* The quote in the hero's finding sheet has to stay on one line, because the pen
   ring follows that line. Under 380px the 13px setting no longer fits, so it
   gives up half a pixel rather than let the ring stretch round empty space. */
@media (max-width: 380px) {
  .qwrap code { font-size: 11.5px }
}


/* ============================================================================
   THE HERO'S ONE MOMENT.

   A visitor watches a report being made: the sheet settles, a scan sweeps it, a
   pen circles the line it hit, and the finding writes itself round the mark.

   Every staged element sits in its final state unless the page has said it can
   play (.wa-motion, added only when scripting runs and reduced motion is off),
   so the page is whole with scripting off and for anyone who asked the system
   to calm things down. Only transform, opacity and stroke offset move.
   ========================================================================== */
.wa-motion .st { opacity: 0 }
.wa-motion .under { clip-path: inset(-20px 100% -20px 0) }
.wa-motion .ink path { stroke-dasharray: 2000; stroke-dashoffset: 2000 }

/* the underline the headline carries, in ink rather than red: red on this page
   means a hole, and a promise is not a hole */
h1 .em .under { position: absolute; left: -1.5%; bottom: -.09em; width: 103%; height: .12em; overflow: visible; pointer-events: none }
h1 .em .under path { fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; opacity: .5; vector-effect: non-scaling-stroke }

/* the stack leans towards the pointer, back sheets included, which is what
   makes it read as paper rather than a picture of paper */
.stack-wrap { perspective: 1100px }
.stack { transform: rotateX(calc(var(--py, 0) * -2.2deg)) rotateY(calc(var(--px, 0) * 2.6deg)) translate3d(calc(var(--px, 0) * 4px), calc(var(--py, 0) * 4px), 0); transform-style: preserve-3d }
@media (hover: none), (pointer: coarse) { .stack { transform: none } }

/* the scan: a head with a wash trailing behind it, clipped by the sheet */
.sheet-front { overflow: hidden }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 0; opacity: 0; pointer-events: none; z-index: 3 }
.scan-wash { position: absolute; left: 0; right: 0; top: -92px; height: 92px; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--red) 7%, transparent)) }
.scan-head { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--red) 16%, var(--red) 84%, transparent); box-shadow: 0 0 14px 1px color-mix(in srgb, var(--red) 40%, transparent) }

/* the line the scan hit, lit for a moment as the head passes over it */
.qwrap .hit { position: absolute; inset: 0; border-radius: 2px; background: color-mix(in srgb, var(--red) 15%, transparent); opacity: 0; pointer-events: none }

/* the pen mark round the quote, drawn as two strokes rather than faked with a
   border: a rounded box can fade in, only a path can be drawn. The paths fill
   their viewBox edge to edge, so the air round the words comes from this box
   alone: the insets here ARE the gap between the stroke and the first and last
   letter. Percentages here once collapsed that gap and the loop cut the words. */
.qmark .ink { position: absolute; left: -9px; top: -3px; width: calc(100% + 18px); height: calc(100% + 7px); overflow: visible; pointer-events: none; z-index: 1 }
.ink path { fill: none; stroke: var(--red); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .92 }
.ink .ink-b { stroke-width: 2; opacity: .6 }

@media (prefers-reduced-motion: reduce) {
  .stack { transform: none }
  .scan { display: none }
  h1 .em .under { clip-path: none }
  .ink path { stroke-dashoffset: 0 }
}
