/* Sorted Studio — site styles
   One light theme. Warm off-white paper, near-black ink, one lime used small (13 Oct 2026: no dark bands, no lime blocks).
   Shape rule: buttons and cards 28px, screenshots 18px, inputs 14px, tags full pill.
   Tokens on :root (11 Oct 2026): type steps, the 4/8 spacing scale, colour roles, shadows, breakpoints.
   Elevation rule: ink-tinted shadows from the --shadow-* tokens, only where DESIGN.md (Elevation & Depth) allows them. */

:root {
  --paper: #fafaf7;
  --card: #ffffff;
  --tone: #f2f1ec;                                               /* one step under paper: footer, top strip, WhatsApp band, price total */
  --ink: #16181a;
  --ink-soft: #575b60;
  --lime: #beff50;
  --lime-deep: #a8ec2e;
  --ash: #e7e7e2;
  --line: #d9d8d1;                                               /* stronger hairline */
  --charcoal: #2c2f33;
  --on-lime-soft: rgba(22, 24, 26, 0.86);
  --on-ink-soft: rgba(250, 250, 247, 0.8);
  --error: #a3260f;
  /* Roles (11 Oct 2026, Jack's rule 12). Components use these names, never a hex or rgba value. */
  --border: color-mix(in srgb, var(--ink) 16%, transparent);    /* hairline round screenshots and cards */
  --rule: color-mix(in srgb, var(--ink) 22%, transparent);      /* dividers drawn on lime */
  --placeholder: #6e7076;                                        /* 5.23:1 on card */
  --surface-dark: #141618;                                       /* near-black: device bezels, the screenshot viewer */
  --focus: var(--ink);                                           /* focus ring; set to lime on moss and in the viewer */
  --browser-bar: #efefeb;                                        /* the drawn browser frame */
  --browser-dot: #cfcfca;
  --chat: #f0f0ec;                                               /* the drawn WhatsApp chat */
  --read-blue: #2a8fd6;                                          /* read ticks inside the drawn chat, the one blue */
  --white: #fff;                                                 /* highlights only */
  /* Shadows: ink-tinted, long and soft, never grey. DESIGN.md (Elevation) lists where each one may go. */
  --shadow-screen: 0 28px 56px -34px color-mix(in srgb, var(--ink) 42%, transparent);
  --shadow-phone: 0 30px 60px -32px color-mix(in srgb, var(--ink) 50%, transparent);
  --shadow-lift: 0 34px 60px -24px color-mix(in srgb, var(--ink) 50%, transparent);
  --shadow-menu: 0 18px 32px -16px color-mix(in srgb, var(--ink) 35%, transparent);
  --shadow-float: 0 26px 44px -26px color-mix(in srgb, var(--ink) 55%, transparent);
  --shadow-sticker: 0 16px 26px -14px color-mix(in srgb, var(--ink) 60%, transparent);
  --shadow-hover: 0 18px 32px -22px color-mix(in srgb, var(--ink) 30%, transparent);   /* card lift on hover */
  --shadow-hint: 0 6px 16px -6px color-mix(in srgb, var(--ink) 60%, transparent);
  --shadow-drawn: 0 34px 60px -30px color-mix(in srgb, var(--ink) 55%, transparent);
  --shadow-strip: 0 18px 30px -18px color-mix(in srgb, var(--ink) 55%, transparent);
  --shadow-device: 0 30px 56px -30px color-mix(in srgb, var(--ink) 38%, transparent);       /* drawn laptop on the hero */
  --shadow-device-phone: 0 26px 48px -24px color-mix(in srgb, var(--ink) 42%, transparent);
  --shadow-device-tick: 0 14px 24px -14px color-mix(in srgb, var(--ink) 40%, transparent);

  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-brand: "Schibsted Grotesk", system-ui, sans-serif;
  --font-text: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type: one modular scale (11 Oct 2026, Jack's rule 10). Ratio 1.2, step 0 is the body size (17px).
     Every font size on the site is a step, or a clamp() that slides between two steps, so nothing jumps. */
  --ratio: 1.2;
  --step-0: 1.0625rem;                              /* 17px: body, small text, buttons */
  --step--1: calc(var(--step-0) / var(--ratio));    /* 14.2px: labels only (tags, STUDIO, verdict pills) */
  --step-1: calc(var(--step-0) * var(--ratio));     /* 20.4px */
  --step-2: calc(var(--step-1) * var(--ratio));     /* 24.5px */
  --step-3: calc(var(--step-2) * var(--ratio));     /* 29.4px */
  --step-4: calc(var(--step-3) * var(--ratio));     /* 35.3px */
  --step-5: calc(var(--step-4) * var(--ratio));     /* 42.3px */
  --step-6: calc(var(--step-5) * var(--ratio));     /* 50.8px */
  --step-7: calc(var(--step-6) * var(--ratio));     /* 60.9px */
  --step-8: calc(var(--step-7) * var(--ratio));     /* 73.1px */
  --step-9: calc(var(--step-8) * var(--ratio));     /* 87.7px */
  --step-10: calc(var(--step-9) * var(--ratio));    /* 105.3px */
  --step-11: calc(var(--step-10) * var(--ratio));   /* 126.3px */
  --step-12: calc(var(--step-11) * var(--ratio));   /* 151.6px */
  --step-13: calc(var(--step-12) * var(--ratio));   /* 181.9px */
  --step-14: calc(var(--step-13) * var(--ratio));   /* 218.3px: the 404 */

  /* Display slides from step 5 (320px) to step 10 (1280px and up). The min()/max() pair keeps the old curve
     (fast rise to step 6 by 370px, flat, then the wide-screen rise) in one line, with no breakpoint. */
  --fs-display: clamp(var(--step-5), max(min(17.1vw - 0.77rem, var(--step-6)), 7.6vw + 0.5rem), var(--step-10));
  --fs-h2: clamp(var(--step-4), 3.4vw + 0.8rem, var(--step-7));
  --fs-h3: clamp(var(--step-1), 0.9vw + 1.05rem, var(--step-2));
  --fs-lead: clamp(var(--step-0), 0.45vw + 1.02rem, var(--step-1));
  --fs-body: var(--step-0);
  --fs-small: var(--step-0);   /* same size as body (11 Oct 2026, was 16px): the muted colour does the receding */
  --fs-label: var(--step--1);
  --fs-nav: clamp(var(--step--1), 0.249rem + 1.184vw, var(--step-0));   /* desktop nav links: 14.2px at 861px to 17px at 1100px */

  /* Spacing: the 4/8 scale (11 Oct 2026, Jack's rule 10). Every margin, padding and gap is one of these. */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --r-card: 28px;
  --r-screen: 18px;
  --r-input: 14px;
  --r-pill: 999px;

  --gutter: clamp(var(--space-4), 4.2vw, var(--space-8));
  --wrap: 1240px;
  --section: clamp(var(--space-8), 8vw, var(--space-9));   /* at most 96 px (13 Oct 2026, was 128) */
  --section-tight: clamp(var(--space-7), 6.2vw, var(--space-9));

  /* Breakpoints (11 Oct 2026, Jack's rule 2). Four shared widths, each where the layout breaks:
     360  below it the header "Start my website" pill no longer fits beside the name and the menu button (it needs 358px)
     600  phone layouts: stacked calls, full-width buttons, one-column forms
     860  the nav becomes the menu button; two- and three-column sections stack
     960  the hero, the cases, the price rows and the other side-by-side layouts stack
     Queries use only these: max-width 359 / 600 / 860 / 960 and min-width 601 / 861 / 961. Type and spacing are fluid. */

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* z-index scale: content 1, nav 50, WhatsApp bar 54, back-to-top 55, paper grain 60, skip link 70, screenshot viewer 95 */
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--ink) var(--paper); scroll-padding-top: 96px; }   /* the sticky header never covers a focused item or an anchor (11 Oct 2026) */
/* Phones: the WhatsApp bar (css/motion.css, section 20) never covers a focused item either. */
@media (max-width: 860px) { html { scroll-padding-bottom: 76px; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  caret-color: var(--ink);
}
::selection { background: var(--lime); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; animation: focus-in 0.18s var(--ease-out); }
/* The focus ring eases in: it closes from a wider, clear ring onto the element. */
@keyframes focus-in { from { outline-offset: 7px; outline-color: transparent; } }

h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
h1, .display { font-size: var(--fs-display); line-height: 1; letter-spacing: -0.019em; font-weight: 500; }
h2 { font-size: var(--fs-h2); line-height: 1; letter-spacing: -0.017em; font-weight: 500; }
h3 { font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -0.008em; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 34em; }
.soft { color: var(--ink-soft); }
.small { font-size: var(--fs-small); }
.measure { max-width: 62ch; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }
.phrase { display: inline-block; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 70; background: var(--ink); color: var(--paper); padding: var(--space-3) var(--space-4); border-radius: 12px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: var(--section-tight); }
.stack > * + * { margin-top: var(--gap, var(--space-5)); }

/* The highlighter: one marked word per page heading. The word is always visible; only the lime swipes in. */
.mark { position: relative; z-index: 0; white-space: nowrap; display: inline-block; }
/* Phones (11 Oct 2026): the marked word may wrap inside its highlight, so it is never cut off when a reader widens the letter spacing (WCAG 1.4.12). */
@media (max-width: 600px) { .mark { white-space: normal; } }
.mark::before {
  content: ""; position: absolute; z-index: -1;
  inset: 0.1em -0.11em 0.03em -0.09em;
  background: var(--lime); border-radius: 0.16em;
  transform-origin: left center;
  animation: swipe 0.45s var(--ease-out) 0.2s both;
}
.page-hero .mark::before { inset: 0.56em -0.06em 0.02em -0.06em; border-radius: 0.08em; }   /* 13 Oct 2026: a highlighter stroke, so lime stays small */
@keyframes swipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 56px; padding: 0 1.5em 0 1.6em;
  border: 0; border-radius: var(--r-card);
  font: 600 var(--step-0)/1 var(--font-text); letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.18s var(--ease-out), background-color 0.18s ease, color 0.18s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform 0.25s var(--ease-out); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-deep); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--charcoal); }
.btn--small { min-height: 46px; font-size: var(--step-0); padding-inline: 1.25em 1.15em; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.55; pointer-events: none; }

.link { font-weight: 600; text-decoration: underline; text-decoration-color: currentColor; display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px; }
/* Touch screens: a link inside a sentence gets a 44px tap area; padding on an inline link does not move the text (22 Oct 2026, SEO review). */
@media (pointer: coarse) { main p a:not(.btn):not(.link), .pb__small .link { padding-block: 0.7em; } }
.link svg { width: 1.05em; height: 1.05em; transition: transform 0.25s var(--ease-out); }
.link:hover svg { transform: translateX(4px); }
a[href^="mailto:"] { overflow-wrap: anywhere; }   /* a long email address breaks instead of widening a phone page at big text (14 Oct 2026) */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); }
.actions .btn { max-width: 100%; white-space: normal; text-align: center; }   /* a button alone on its line wraps its words at very big text, instead of leaving the screen (14 Oct 2026) */

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--paper); box-shadow: 0 1px 0 var(--ash); }   /* solid since 13 Oct 2026: the glass let dark screenshots smudge through */
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; font: 800 var(--step-2)/1 var(--font-brand); letter-spacing: -0.035em; min-height: 44px; white-space: nowrap; flex-shrink: 0; }
.brand svg { width: 30px; height: 30px; view-transition-name: brand-mark; }
/* The brand mark: lime box, ink tick (header, footer, 404), from the tokens rather than hex in the markup. */
.logo__box { fill: var(--lime); }
.logo__tick { stroke: var(--ink); }
/* Phones: stack the name so "Studio" never pushes the menu button off the bar */
@media (max-width: 600px) {
  .brand__name { display: grid; line-height: 0.92; }
  .brand__studio { font: 600 var(--fs-label)/1 var(--font-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); padding-left: 0.1em; }
}
.nav__links { display: flex; align-items: center; gap: clamp(var(--space-4), 2.6vw, var(--space-6)); list-style: none; margin: 0; padding: 0; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 500; padding: var(--space-3) var(--space-1); position: relative; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out); }
.nav__links a:not(.btn):hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__toggle, .nav__cta { display: none; }
.nav__short { display: none; }
/* Small laptop screens: the links and their gaps shrink with the window (no breakpoint, 11 Oct 2026; was one step at 1099px),
   so "Sorted Studio" stays on one line and no link wraps. Phones override all of this with the menu below. */
.nav__in { gap: clamp(var(--space-4), 3.35vw - 12.8px, var(--space-5)); }
.nav__links { gap: clamp(var(--space-2), 6.5vw - 48px, var(--space-6)); }
.nav__links a:not(.btn) { white-space: nowrap; font-size: var(--fs-nav); }
.nav__links .btn--small { font-size: var(--fs-nav); padding-inline: clamp(var(--space-3), 3.35vw - 16.8px, var(--space-5)); }

@media (max-width: 860px) {
  .nav__in { gap: var(--space-2); }
  .brand { margin-right: auto; }
  .nav__cta { display: inline-flex; padding-inline: var(--space-3); font-size: var(--fs-label); }
  .nav__long { display: none; }   /* the full label pushed the menu button off a 375px screen (18 Nov 2026) */
  .nav__short { display: inline; }   /* one size from 360 to 860px (11 Oct 2026; stepped at 389px before) */
  .nav__toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; padding: 0; border: 1.5px solid var(--ink); border-radius: var(--r-pill); background: transparent; color: var(--ink); cursor: pointer; }
  .nav__toggle svg { width: 20px; height: 20px; }
  .nav__links li:last-child { display: none; }
  .nav__links { position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-2) var(--gutter) var(--space-6); background: var(--paper); border-bottom: 1px solid var(--ash); box-shadow: var(--shadow-menu); min-height: calc(100dvh - 72px); display: none; }
  .nav--open .nav__links { display: flex; }
  .nav__links a:not(.btn) { display: block; font: 600 var(--step-2)/1.1 var(--font-display); letter-spacing: -0.011em; padding: var(--space-4) 0; border-bottom: 1px solid var(--ash); }
  .nav__links a:not(.btn)::after { display: none; }
  /* Without JavaScript the menu button cannot open anything, so show the links in a row instead. */
  html:not(.js) .nav__toggle { display: none; }
  html:not(.js) .nav__in { height: auto; flex-wrap: wrap; padding-block: var(--space-3) var(--space-2); }
  html:not(.js) .nav__links { position: static; display: flex; flex-direction: row; flex-wrap: wrap; gap: 0 var(--space-5); width: 100%; padding: 0; border: 0; background: transparent; min-height: 0; box-shadow: none; }
  html:not(.js) .nav__links a:not(.btn) { font: 500 var(--step-0)/1 var(--font-text); letter-spacing: 0; padding: var(--space-4) 0; border: 0; }
}
/* Under 360px the pill does not fit beside the name and the menu button (it needs 358px), so it waits in the menu. */
@media (max-width: 359px) { .nav__cta { display: none; } }
/* The same rule in em, so it follows a phone's bigger text setting: from 130% text the pill pushed the menu
   button off the screen (14 Oct 2026). The header is the size container; the menu is already placed against it. */
.nav { container-type: inline-size; }
@container (max-width: 21.1em) { .nav__cta { display: none; } }

/* Hero (home). The headline runs across the top in two lines. The copy sits under it on the left: one proof
   sentence pair (who it is for; once-off price and time), the two calls, then one note (what the check-up
   gives, the founding condition). Round 5: the picture stays inside the window, its right edge one
   gutter in; the laptop rises beside "Sorted." and the phone stands under the calls, overlapping the
   laptop's left edge. Only the fold crops them. Round 6: a narrower text column and a bigger phone, so the
   laptop grows and the phone fills the left column under the calls (no empty moss there). */
.hero { padding-block: clamp(var(--space-6), 4.5vw, var(--space-8)) clamp(var(--space-7), 7vw, var(--space-9)); overflow-x: clip; }
.hero__grid {
  /* how far the window edge sits past the wrap on the right */
  --hero-edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  display: grid; grid-template-columns: minmax(0, clamp(420px, 36vw, 540px)) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: clamp(var(--space-5), 2.6vw, var(--space-6)); align-items: start;
}
/* 21 Oct 2026 (Mark, after a Firecrawl look at 10 premium sites): a calm headline in one colour, about 77px, beside the slider; the search words moved into the sentence under it. */
.hero__title { grid-column: 1; grid-row: 1; font-size: clamp(2.75rem, 1.6rem + 3.6vw, 5.25rem); line-height: 1; letter-spacing: -0.025em; }
.hero__copy { grid-column: 1; grid-row: 2; margin-top: var(--space-5); }
/* Names I have built for, under the hero (21 Oct 2026, Jack's review: brands, not trades). Real names with their yes on Work. */
.brands { border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--ash); }
.brands__in { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-6); padding-block: clamp(var(--space-4), 2vw, var(--space-5)); }
.brands__label { font-size: var(--fs-small); color: var(--ink-soft); }
.brands__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) clamp(var(--space-5), 3vw, var(--space-7)); font: 500 clamp(var(--step-2), 0.5rem + 1.8vw, var(--step-4))/1.2 var(--font-display); }
/* Who it is for, then price and speed, then one button (21 Oct 2026: Mark trimmed the hero to one action; the ticks live in "What you get", the check-up in the menu). */
.hero__lead { margin: 0 0 var(--space-6); max-width: 30ch; font-size: var(--step-1); line-height: 1.45; }
.hero__lead strong { font-weight: 650; }   /* allow the price to wrap instead of clipping beside the example */
.hero__note { margin-top: var(--space-3); max-width: 46ch; font-size: var(--fs-body); line-height: 1.5; }
.hero__note + .actions { margin-top: var(--space-4); }
/* the stage ends one gutter inside the window's right edge, however wide the window */
.hero__pic { grid-column: 2; grid-row: 1 / span 2; margin-right: calc(var(--gutter) - var(--hero-edge)); }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__title, .hero__copy, .hero__pic { grid-column: 1; grid-row: auto; }
  .hero__copy { margin-top: var(--space-5); }
  .hero__pic { margin-top: var(--space-6); }
}
/* Phones: the button runs full width and the stack is tight, so the example site starts high in the first screen. */
@media (max-width: 600px) {
  .hero__copy { margin-top: var(--space-4); }
  .hero__lead { margin-bottom: var(--space-5); }
  .hero__copy .actions > * { width: 100%; }
  .hero__note { margin-top: var(--space-3); text-align: center; font-size: var(--fs-small); }
  .hero__pic { margin-top: var(--space-4); }
}
.page-hero { padding-block: clamp(var(--space-6), 6vw, var(--space-9)) clamp(var(--space-6), 5vw, var(--space-8)); }
.page-hero .lead { margin-top: var(--space-5); }

/* Real screenshots */
.screen { border-radius: var(--r-screen); overflow: hidden; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-screen); }
.screen img { width: 100%; }
/* Phone shots: a thin, light bezel, like a pale phone. No heavy dark border. */
.screen--phone { border-radius: 30px; padding: var(--space-1); background: var(--card); border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); box-shadow: var(--shadow-phone), inset 0 0 0 1px color-mix(in srgb, var(--white) 70%, transparent); }
.screen--phone img { border-radius: 25px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent); }
.caption { margin-top: var(--space-4); font-size: var(--fs-small); color: var(--ink-soft); max-width: 50ch; }   /* about 65 real characters a line: this font's ch is wider than an average letter */

/* Browser frame around a desktop screenshot: a quiet bar with three dots and an address pill.
   --bar sets the bar height; the hero stage sets its own. */
.browser { --bar: clamp(20px, 2.1vw, 30px); }
.browser.screen { border-radius: 14px; }
.browser__bar {
  display: flex;
  align-items: center;
  gap: calc(var(--bar) * 0.22);
  height: var(--bar);
  padding-inline: calc(var(--bar) * 0.5);
  border-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: var(--browser-bar);
}
.browser__bar i {
  width: calc(var(--bar) * 0.27);
  height: calc(var(--bar) * 0.27);
  border-radius: 50%;
  background: var(--browser-dot);
}
.browser__url {
  display: flex;
  align-items: center;
  width: 38%;
  height: calc(var(--bar) * 0.6);
  margin-left: auto;
  margin-right: auto;
  padding-left: calc(var(--bar) * 0.2);
  border-radius: var(--r-pill);
  background: var(--card);
}
.browser__url svg {
  width: calc(var(--bar) * 0.42);
  height: calc(var(--bar) * 0.42);
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.6;
  stroke-linecap: round;
}

/* Promise list: a list being ticked off */
.ticks { list-style: none; margin: clamp(var(--space-6), 5vw, var(--space-8)) 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.ticks li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: var(--space-2) clamp(var(--space-4), 3vw, var(--space-7)); align-items: start; padding-block: clamp(var(--space-5), 3vw, var(--space-6)); border-bottom: 1px solid var(--ash); }
.ticks p { grid-column: 2; color: var(--ink-soft); max-width: 46ch; }
.tickbox { width: 38px; height: 38px; border-radius: 11px; background: var(--lime); display: grid; place-items: center; }
@media (min-width: 861px) {
  .ticks li { grid-template-columns: 64px minmax(0, 5fr) minmax(0, 6fr); }
  .ticks p { grid-column: auto; padding-top: 0.25em; }
  .tickbox { width: 44px; height: 44px; border-radius: 13px; }
}
.tickbox svg { width: 24px; height: 24px; }
.tickbox path { stroke-dasharray: 30; stroke-dashoffset: 0; }
.js [data-reveal="ticks"] .tickbox { transform: scale(0.6); opacity: 0; transition: transform 0.5s var(--ease-out), opacity 0.3s ease; transition-delay: calc(var(--i, 0) * 140ms); }
.js [data-reveal="ticks"] .tickbox path { stroke-dashoffset: 30; transition: stroke-dashoffset 0.5s var(--ease-out); transition-delay: calc(var(--i, 0) * 140ms + 220ms); }
.js [data-reveal="ticks"].is-in .tickbox { transform: none; opacity: 1; }
.js [data-reveal="ticks"].is-in .tickbox path { stroke-dashoffset: 0; }

/* Work preview: one large screen with a phone leaning on it */
.showcase { margin-top: clamp(var(--space-6), 4.5vw, var(--space-8)); }
.js [data-reveal="screen"] { clip-path: inset(0 0 14% 0 round var(--r-screen)); transform: translateY(26px); opacity: 0.001; transition: clip-path 0.9s var(--ease-out), transform 0.9s var(--ease-out), opacity 0.4s ease; }
.js [data-reveal="screen"].is-in { clip-path: inset(0 0 0 0 round var(--r-screen)); transform: none; opacity: 1; }

/* Home: three demo sites in a row, rising in one after another */
.demo-row { list-style: none; margin: clamp(var(--space-6), 4.5vw, var(--space-8)) 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 861px) { .demo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(var(--space-4), 2vw, var(--space-6)); } }
.demo-card { display: grid; gap: var(--space-1); text-decoration: none; }
.demo-card__shot { display: block; margin-bottom: var(--space-4); transition: transform 0.2s var(--ease-out); }
.demo-card__shot img { aspect-ratio: 16 / 10; }
.demo-card__name { font: 600 var(--fs-h3)/1.1 var(--font-display); letter-spacing: -0.008em; }
.demo-card__kind { font-size: var(--fs-small); color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) {
  .demo-card:hover .demo-card__shot { transform: translateY(-4px); }
  .demo-card:hover .demo-card__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
}
.js [data-reveal="rise"] > li { transform: translateY(24px); opacity: 0; transition: transform 0.5s var(--ease-out), opacity 0.3s ease; transition-delay: calc(var(--i, 0) * 40ms); }
.js [data-reveal="rise"].is-in > li { transform: none; opacity: 1; }

/* Section header: heading, then one short paragraph under it */
.head h2 { max-width: 18em; }
.head p { margin-top: var(--space-5); max-width: 34em; }
.head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-5) var(--space-6); max-width: none; }

/* The price ladder: a real staircase */
.ladder { list-style: none; margin: clamp(var(--space-6), 5vw, var(--space-8)) 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--space-3); align-items: end; }
.step { --rise: calc(var(--i) * 46px); background: var(--card); border: 1px solid var(--ash); border-radius: var(--r-card); padding: var(--space-5) var(--space-5) var(--space-5); margin-left: calc(var(--i) * 4.5%); display: flex; flex-direction: column; text-decoration: none; transition: background-color 0.2s ease, transform 0.2s var(--ease-out); }
@media (min-width: 961px) {
  .ladder { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-3); }
  .step { padding: var(--space-5) var(--space-5) var(--space-5); margin-left: 0; min-height: calc(214px + var(--rise)); }
}
a.step:hover { border-color: var(--ink); box-shadow: var(--shadow-hover); transform: translateY(-4px); }   /* hairline turns ink, soft lift; no double ring (13 Oct 2026) */
.step--quote { background: var(--tone); }
.step__name { font: 600 var(--step-1)/1.15 var(--font-display); letter-spacing: -0.006em; text-wrap: balance; }
.step__what { margin-top: var(--space-2); font-size: var(--fs-small); color: var(--ink-soft); text-wrap: pretty; }
.step__price { margin-top: auto; padding-top: var(--space-4); font: 500 clamp(var(--step-3), 0.5rem + 1.75vw, var(--step-4))/1 var(--font-display); letter-spacing: -0.019em; font-variant-numeric: tabular-nums; }
.step__price small { font: 500 var(--step-0)/1 var(--font-text); letter-spacing: 0; }
.step__then { margin-top: var(--space-2); font-size: var(--fs-small); color: var(--ink-soft); }
@media (min-width: 601px) { .step__price, .step__then { order: 1; } }   /* the + R750 pill sits above the price, so every price lines up (13 Oct 2026) */
@media (min-width: 961px) { .step__price { padding-top: var(--space-5); } .step__then { min-height: 3.2em; } }
.js [data-reveal="ladder"] .step { transform: translateY(24px); opacity: 0; transition: transform 0.5s var(--ease-out), opacity 0.3s ease, background-color 0.2s ease; transition-delay: calc(var(--i) * 40ms); }
.js [data-reveal="ladder"].is-in .step { transform: none; opacity: 1; }
.js [data-reveal="ladder"].is-in a.step:hover { transform: translateY(-4px); transition-duration: 0.2s; transition-delay: 0s; }

/* Closing block: a white panel with a hairline on the paper, not a full-bleed colour band (13 Oct 2026) */
.band--close .close { background: var(--card); border: 1px solid var(--ash); border-radius: var(--r-card); padding: clamp(var(--space-6), 6vw, var(--space-9)) clamp(var(--space-5), 6vw, var(--space-9)); }
.close { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-6) var(--space-7); align-items: center; }   /* centre, not start: the heading no longer floats alone at the top (13 Oct 2026) */
.close h2 { font-size: clamp(var(--step-4), 3.6vw + 0.6rem, var(--step-6)); line-height: 1.02; }
.close__side { --gap: var(--space-5); }
/* Two routes (10 Oct 2026): "Start my website" first, then the web address box for owners who already have a site. */
.close__start { display: flex; width: fit-content; }
.close__side > .siteform { margin-top: var(--space-6); }
@media (max-width: 600px) { .close__start { width: 100%; } }
@media (max-width: 860px) { .close { grid-template-columns: minmax(0, 1fr); } }   /* minmax: bigger text wraps instead of widening the panel (14 Oct 2026) */

/* Web address box in the lime band: type the address, press the button, WhatsApp opens with it filled in.
   Field and button sit in one card so they read as one control. Without JavaScript it goes to the check-up page. */
.siteform label { display: block; font-weight: 600; margin-bottom: var(--space-2); text-wrap: balance; }
.siteform__row { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-2); padding: var(--space-1); background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--r-card); }
.siteform__row:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; animation: focus-in 0.18s var(--ease-out); }
.siteform input { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 var(--space-3) 0 var(--space-4); border: 0; border-radius: 22px; background: transparent; color: var(--ink); font: 400 var(--step-0)/1.4 var(--font-text); }
.siteform input::placeholder { color: var(--placeholder); }
.siteform input:focus-visible { outline: none; animation: none; }
.siteform .btn { flex: none; width: 100%; min-height: 52px; border-radius: 23px; }
.siteform .btn:focus-visible { outline-offset: -6px; }   /* outline button since 11 Oct 2026: "Start my website" is the band's one filled button */
.siteform__hint { margin-top: var(--space-2); font-size: var(--fs-small); color: var(--ink-soft); }
.siteform__error { margin-top: var(--space-2); font-size: var(--fs-small); font-weight: 600; color: var(--error); }
.siteform.is-bad .siteform__row { border-color: var(--error); }
@media (min-width: 601px) {
  .siteform__row { flex-direction: row; align-items: center; }
  .siteform .btn { width: auto; }
}

/* Footer */
.footer { background: var(--tone); color: var(--ink); border-top: 1px solid var(--ash); padding-block: clamp(var(--space-7), 7vw, var(--space-9)) var(--space-6); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
@media (min-width: 601px) { .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); } .footer__top > :first-child { grid-column: 1 / -1; } }
@media (min-width: 861px) { .footer__top { grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); } .footer__top > :first-child { grid-column: auto; } }
.footer__word { font: 800 clamp(var(--step-5), 1rem + 4vw, var(--step-8))/1 var(--font-brand); letter-spacing: -0.04em; }
.footer__word svg { width: 0.62em; height: 0.62em; margin-left: 0.16em; vertical-align: -0.04em; }
.footer p, .footer li { color: var(--ink-soft); }
.footer p.footer__word { color: var(--ink); margin: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }   /* 8px between the 44px link rows (11 Oct 2026) */
.footer li a { display: inline-flex; align-items: center; gap: 0.3em; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; }
.footer li a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.footer h2 { font: 600 var(--step-0)/1.2 var(--font-text); letter-spacing: 0; color: var(--ink-soft); margin-bottom: var(--space-2); }
.footer__base { margin-top: clamp(var(--space-7), 6vw, var(--space-8)); padding-top: var(--space-5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-6); font-size: var(--fs-small); }

/* Work page */
.case { display: grid; grid-template-columns: 1fr; gap: var(--space-6) clamp(var(--space-6), 5vw, var(--space-8)); align-items: start; padding-block: clamp(var(--space-7), 6vw, var(--space-9)); border-top: 1.5px solid var(--ink); }
.case__copy { --gap: var(--space-4); }
@media (min-width: 961px) { .case { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } .case__copy { position: sticky; top: 104px; } }
.case h2, .case h3 { font-size: clamp(var(--step-3), 2.3vw + 0.5rem, var(--step-5)); line-height: 1.04; letter-spacing: -0.014em; }
.case__facts { list-style: none; margin: var(--space-5) 0 0; padding: 0; }
.case__facts li { display: flex; gap: var(--space-3); padding-block: var(--space-3); border-top: 1px solid var(--ash); font-size: var(--fs-small); }
.case__facts li > span:first-child { flex: 0 0 5.5em; color: var(--ink-soft); }
/* Coppertill on Home: the same labels as the real builds on Work (css/spin.css), 14 Oct 2026. */
.real .case__facts li > span:first-child { flex-basis: 7.2em; font-weight: 600; color: var(--ink); }
/* Phones: label above value, so a value gets the full width instead of about 22 characters a line (13 Oct 2026). */
@media (max-width: 600px) { .case__facts li { display: block; } .case__facts li > span { display: block; } .case__facts li > span:first-child { margin-bottom: var(--space-1); } }
/* Client quote (13 Oct 2026): her words unchanged, ink rule on the left, no lime (lime is for actions). */
.quote { margin: 0; padding-left: var(--space-4); border-left: 3px solid var(--ink); max-width: 50ch; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: var(--fs-lead); line-height: 1.4; }
.quote blockquote p { margin: 0; }
.quote figcaption { margin-top: var(--space-2); font-size: var(--fs-small); font-weight: 600; }
.quote figcaption .soft { font-weight: 400; }
.case__shots { display: grid; gap: var(--space-4); }
.case__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.34fr); gap: var(--space-4); align-items: start; }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 var(--space-3); border-radius: var(--r-pill); background: var(--lime); font-weight: 600; font-size: var(--fs-label); }
.tag--plain { background: transparent; border: 1.5px solid var(--ink); }

.note { background: var(--card); border: 1px solid var(--ash); border-radius: var(--r-card); padding: clamp(var(--space-5), 4vw, var(--space-7)); }
.note h2, .note h3 { font-size: var(--fs-h3); letter-spacing: -0.008em; line-height: 1.12; font-weight: 600; }
.note p { margin-top: var(--space-3); }
.note--row { display: grid; grid-template-columns: 1fr; justify-items: start; gap: var(--space-5) var(--space-7); align-items: end; }
@media (min-width: 861px) { .note--row { grid-template-columns: minmax(0, 1fr) auto; justify-items: stretch; } }

/* Work page: section heads and website cases */
.work-head { padding-top: clamp(var(--space-5), 3vw, var(--space-6)); }
.work-head h2 { max-width: none; }
.work-head + .case { margin-top: clamp(var(--space-6), 4vw, var(--space-7)); }
.case__shots--site { gap: 0; }
.case__shots--site .case__pair { grid-template-columns: minmax(0, 1fr) minmax(0, 0.3fr); align-items: end; }
.case .link { align-self: flex-start; }

/* Before and after slider. The old page sits on top, clipped to the left of the handle. */
.compare { position: relative; overflow: hidden; touch-action: pan-y; cursor: ew-resize; --pos: 50%; }
.compare__frame { position: relative; aspect-ratio: 16 / 10; }
.compare__frame img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__label { position: absolute; top: 12px; z-index: 1; padding: var(--space-1) var(--space-3); border-radius: var(--r-pill); font-size: var(--fs-label); font-weight: 600; pointer-events: none; }
.compare__label--before { left: 12px; background: var(--ink); color: var(--paper); }
.compare__label--after { right: 12px; background: var(--lime); color: var(--ink); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2;
  width: 48px; margin-left: calc(-1 * var(--space-5)); padding: 0; border: 0; background: transparent; cursor: ew-resize;
  display: grid; place-items: center; touch-action: none;
}
.compare__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 1.5px); width: 3px; background: var(--lime); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 35%, transparent); }
.compare__knob { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--ink); border: 2px solid var(--ink); display: grid; place-items: center; transition: transform 0.18s var(--ease-out); }
.compare__knob svg { width: 22px; height: 22px; }
.compare__handle:active .compare__knob, .compare.is-dragging .compare__knob { transform: scale(0.92); }
.compare__handle:focus-visible { outline: none; }
/* Home hero (21 Oct 2026, Mark: the slider showed too little): the new site sits on the left so its headline shows in full,
   the old site on the right; the line starts in the middle. */
.compare--flip .compare__before { clip-path: inset(0 0 0 var(--pos)); }
.compare--flip .compare__label--before { left: auto; right: 12px; }
.compare--flip .compare__label--after { right: auto; left: 12px; }
.compare__handle:focus-visible .compare__knob { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Prices page */
.offer { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4) clamp(var(--space-5), 4vw, var(--space-7)); padding-block: clamp(var(--space-6), 4vw, var(--space-7)); border-top: 1px solid var(--ash); align-items: start; }
.offer:first-of-type { border-top: 1.5px solid var(--ink); }
.offer__title { font-size: var(--fs-h3); letter-spacing: -0.015em; line-height: 1.12; }
.offer__body { --gap: var(--space-4); }
.offer__body ul { margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.offer__body li { position: relative; padding: var(--space-1) 0 var(--space-1) var(--space-6); }
.offer__body li a { font-weight: 600; }
.offer__body li svg { position: absolute; left: 0; top: 0.5em; width: 18px; height: 18px; }
.offer__price { font: 500 clamp(var(--step-4), 0.25rem + 3.3vw, var(--step-6))/1 var(--font-display); letter-spacing: -0.022em; font-variant-numeric: tabular-nums; }
.offer__price small { font: 500 var(--step-0)/1 var(--font-text); letter-spacing: 0; }
.offer__then { margin-top: var(--space-3); font-size: var(--fs-small); color: var(--ink-soft); }
/* Stacked: name, price, then what is included. Side by side from 961px: name, what is included, price. */
.offer > h2 { order: 1; } .offer > div:last-child { order: 2; } .offer__body { order: 3; }
@media (min-width: 961px) { .offer { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 3fr); } .offer > h2, .offer > div:last-child, .offer__body { order: 0; } }

.faq { margin-top: clamp(var(--space-6), 4vw, var(--space-7)); border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--ash); }
.faq summary { text-wrap: balance; list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding-block: var(--space-5); font: 600 var(--fs-h3)/1.15 var(--font-display); letter-spacing: -0.008em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 26px; height: 26px; clip-path: inset(0 0); transition: clip-path 0.3s var(--ease-out); }
.faq details[open] summary svg { clip-path: inset(45% 0); }   /* open shows a minus, not a close cross (13 Oct 2026) */
.faq details p { padding: 0 0 var(--space-5); max-width: 62ch; color: var(--ink-soft); }

/* How it works: the days */
.days { list-style: none; margin: clamp(var(--space-6), 4vw, var(--space-7)) 0 0; padding: 0; }
.day { display: grid; grid-template-columns: 1fr; gap: var(--space-2) clamp(var(--space-4), 4vw, var(--space-7)); align-items: baseline; padding-block: clamp(var(--space-5), 3vw, var(--space-6)); border-top: 1px solid var(--ash); }
.day:first-child { border-top: 1.5px solid var(--ink); }
.day__when { font: 500 clamp(var(--step-2), 0.5rem + 1.9vw, var(--step-4))/1 var(--font-display); letter-spacing: -0.017em; }
.day p { color: var(--ink-soft); max-width: 48ch; }
.day--live .day__when { display: inline-block; background: var(--lime); padding: 0.14em 0.36em 0.2em; border-radius: 12px; justify-self: start; }
@media (min-width: 861px) { .day { grid-template-columns: minmax(0, 2fr) minmax(0, 4fr) minmax(0, 5fr); } }

.split { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 861px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.plain-list { margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.plain-list li { position: relative; padding: var(--space-2) 0 var(--space-2) var(--space-6); }
ol.plain-list { list-style: decimal; padding-left: 1.3em; }
ol.plain-list li { padding-left: var(--space-2); }
ol.plain-list li::marker { font-variant-numeric: normal; }   /* "1." not "1 .": the body's tabular digits are wide (14 Oct 2026) */
.plain-list li svg { position: absolute; left: 0; top: 0.58em; width: 18px; height: 18px; }

/* Check-up page */
.checkup { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6) clamp(var(--space-6), 5vw, var(--space-8)); align-items: start; }
@media (min-width: 961px) { .checkup { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.form { --gap: var(--space-5); }
.field label { display: block; font-weight: 600; margin-bottom: var(--space-2); }
.field .hint { display: block; font-size: var(--fs-small); color: var(--ink-soft); margin-top: var(--space-2); }
.field input, .field textarea { width: 100%; min-height: 54px; padding: var(--space-4) var(--space-4); border: 1.5px solid var(--ink); border-radius: var(--r-input); background: var(--card); color: var(--ink); font: 400 var(--step-0)/1.4 var(--font-text); }
.field textarea { min-height: 112px; resize: none; field-sizing: content; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--r-input); box-shadow: 0 0 0 7px var(--lime); }
.field .error { display: none; margin-top: var(--space-2); font-size: var(--fs-small); font-weight: 600; color: var(--error); }
.field.is-bad input { border-color: var(--error); }
.field.is-bad .error { display: block; }
.form__status { font-size: var(--fs-small); font-weight: 600; }
.stack > .form__status:empty { margin-top: 0; }
.handoff { --gap: var(--space-3); padding: var(--space-4); border: 1.5px solid var(--ink); border-radius: var(--r-input); background: var(--card); }
.handoff label { font-weight: 600; }
.handoff textarea { width: 100%; padding: var(--space-3) var(--space-4); border: 1px solid var(--ash); border-radius: var(--r-input); background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.45 var(--font-text); resize: none; field-sizing: content; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover { background: var(--card); }
.choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices legend { font-weight: 600; margin-bottom: var(--space-2); padding: 0; }
.choices label { display: flex; align-items: center; gap: var(--space-3); min-height: 48px; padding: var(--space-3) var(--space-4); border: 1.5px solid var(--ash); border-radius: var(--r-input); background: var(--card); margin-top: var(--space-2); cursor: pointer; font-weight: 500; }
.choices label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.choices input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }
.choices input:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.offer__cta { margin-top: var(--space-4); max-width: 100%; white-space: normal; text-align: center; }   /* wraps only when it has no room, at very big text (14 Oct 2026) */

.report { background: var(--card); border-radius: var(--r-card); padding: clamp(var(--space-5), 3.4vw, var(--space-7)); border: 1px solid var(--ash); }
.report__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2) var(--space-5); padding-bottom: var(--space-4); border-bottom: 1.5px solid var(--ink); }
.report__top h2 { font-size: var(--fs-h3); letter-spacing: -0.015em; line-height: 1.12; }
.report ul { list-style: none; margin: 0; padding: 0; }
.report li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: var(--space-4); align-items: start; padding-block: var(--space-4); border-bottom: 1px solid var(--ash); }
.report li strong { display: block; font-weight: 600; }
.report li .why { display: block; margin-top: var(--space-1); font-size: var(--fs-small); color: var(--ink-soft); }
.verdict { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.verdict svg { width: 17px; height: 17px; }
.verdict--yes { background: var(--lime); }
.verdict--no { background: var(--ink); color: var(--paper); }
.report__fix { margin-top: var(--space-5); background: var(--tone); box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: var(--r-screen); padding: var(--space-4) var(--space-5); }
.report__fix strong { display: block; font: 600 var(--step-1)/1.2 var(--font-display); margin-bottom: var(--space-1); }

/* The sample report: verdicts draw in one by one, then the "Fix this first" block is highlighted */
.verdict path { stroke-dasharray: 32; stroke-dashoffset: 0; }
.report__fix { position: relative; isolation: isolate; }
.js [data-reveal="report"] .verdict { transform: scale(0.6); opacity: 0; transition: transform 0.5s var(--ease-out), opacity 0.3s ease; transition-delay: calc(var(--i, 0) * 170ms); }
.js [data-reveal="report"] .verdict path { stroke-dashoffset: 32; transition: stroke-dashoffset 0.45s var(--ease-out); transition-delay: calc(var(--i, 0) * 170ms + 200ms); }
.js [data-reveal="report"].is-in .verdict { transform: none; opacity: 1; }
.js [data-reveal="report"].is-in .verdict path { stroke-dashoffset: 0; }
.js [data-reveal="report"] .report__fix { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ash); transition: box-shadow 0.3s ease 1.15s; }
.js [data-reveal="report"] .report__fix::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--lime); transform: scaleX(0); transform-origin: left center; transition: transform 0.75s var(--ease-out) 1.15s; }
.js [data-reveal="report"].is-in .report__fix { box-shadow: inset 0 0 0 0 transparent; }
.js [data-reveal="report"].is-in .report__fix::before { transform: none; }

/* About */
.about { display: grid; grid-template-columns: 1fr; gap: var(--space-6) clamp(var(--space-6), 5vw, var(--space-9)); align-items: start; }
.about__text { --gap: var(--space-5); font-size: var(--fs-lead); line-height: 1.5; }
.rules { list-style: none; margin: 0; padding: 0; counter-reset: none; border-top: 1.5px solid var(--ink); }
.rules li { padding-block: var(--space-5); border-bottom: 1px solid var(--ash); }
.rules strong { display: block; font: 600 var(--fs-h3)/1.15 var(--font-display); letter-spacing: -0.008em; margin-bottom: var(--space-2); }
.rules span { color: var(--ink-soft); }
@media (min-width: 961px) { .about { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }

.prose { --gap: var(--space-4); max-width: 50ch; }   /* about 65 real characters a line (11 Oct 2026, was 64ch, about 85) */
/* Measure (Jack's rule 8, 11 Oct 2026): running text stops near 65 real characters however wide its column gets,
   mostly on tablets where the columns stack (50ch is about 65 characters: this font's ch is wider than an average letter). */
.psum__year, .pb__care, .pb__small, .offer__body, .offer__then, .after1__intro, .note p, .about__text, .rules span,
.form .small, .report__cost p, .plain-list, .case__facts li > span:last-child { max-width: 50ch; }
.rules span { display: block; }
/* The two report lines that carry a full-width divider keep it: the text stops at 50ch, the rule does not. */
.report__for, .report__short { padding-right: max(0px, 100% - 50ch); }
.prose h2 { font-size: var(--fs-h3); letter-spacing: -0.015em; line-height: 1.12; margin-top: var(--space-6); }

/* Page-to-page continuity */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.18s ease both vt-out; }
::view-transition-new(root) { animation: 0.32s var(--ease-out) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal] * { transform: none !important; opacity: 1 !important; clip-path: none !important; stroke-dashoffset: 0 !important; }
  .js [data-reveal] .report__fix::before { transform: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
@media (max-width: 600px) { .step { margin-left: 0; } }
.rules-prose { border-top: 1.5px solid var(--ink); padding-top: var(--space-4); }
.rules-prose h2 { font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -0.008em; margin-bottom: var(--space-3); }
.rules-prose p { color: var(--ink-soft); max-width: 52ch; }
.hero__pic { container-type: inline-size; }
.hero__caption { margin-top: 0; }   /* the caption size (17px, 11 Oct 2026; was 13px) */
/* the replay button sits at the start of the caption's line wherever the stage shows it (440 px and wider) */
@media (prefers-reduced-motion: no-preference) {
  @container (min-width: 440px) { .js .hero__caption { min-height: 44px; padding: var(--space-5) 0 0 var(--space-8); } }
}

/* Web address form, 13 Oct 2026: one edge only. Wide: the field is the bordered pill and the button inside it is a soft tone pill.
   Phones: no outer box; the field has its own border and the button sits under it as a plain outline. */
.siteform .siteform__row .btn { background: var(--tone); color: var(--ink); box-shadow: none; }
.siteform .siteform__row .btn:hover { background: var(--lime); }
@media (max-width: 600px) {
  .siteform__row { padding: 0; border: 0; background: transparent; gap: var(--space-3); }
  .siteform input { border: 1.5px solid var(--ink); border-radius: var(--r-input); background: var(--card); }
  .siteform .siteform__row .btn { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: var(--r-card); }
  .siteform__row:focus-within { outline: none; animation: none; }
  .siteform input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; animation: focus-in 0.18s var(--ease-out); }
}
.siteform.is-bad input { border-color: var(--error); }

/* Footer on phones: the two link lists side by side, so the footer is about one screen, not two (13 Oct 2026) */
@media (max-width: 600px) {
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-4); }
  .footer__top > :first-child { grid-column: 1 / -1; }
  .footer ul { gap: 0; }
}

/* Very big text (a phone set to about 150% or more): the footer lists go to one column, so the phone number fits
   the screen (14 Oct 2026). Measured in em, so it follows the text size. The home number board does the same (css/motion.css). */
.footer > .wrap { container-type: inline-size; }
@container (max-width: 15em) { .footer__top { grid-template-columns: minmax(0, 1fr); } }

/* Words for mouse and keyboard only, such as "or use the arrow keys" (13 Oct 2026). */
@media (hover: none) { .hover-only { display: none; } }

/* ---------- Two stages: the free preview, then the 7-day build (16 Oct 2026, home and How it works) ---------- */
.stages { list-style: none; margin: clamp(var(--space-5), 3vw, var(--space-6)) 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--space-3); max-width: 60rem; }
@media (min-width: 601px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stage { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-4); row-gap: var(--space-1); align-items: baseline; padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--r-input); background: var(--card); }
.stage__n { grid-row: 1 / span 3; align-self: start; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font: 600 var(--fs-label)/1 var(--font-text); }
.stage__time { font-size: var(--fs-small); color: var(--ink-soft); }
.stage__name { font: 500 var(--step-2)/1.1 var(--font-display); letter-spacing: -0.01em; }
.stage__text { margin-top: var(--space-1); font-size: var(--fs-small); color: var(--ink-soft); text-wrap: pretty; }
