/* WalkMeasure — presentation site. Plain CSS. Fonts are self-hosted (assets/fonts),
   so the site makes no requests to anyone else. */

/* ---------- Fonts (SIL Open Font License, see assets/fonts/README.md) ---------- */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(fonts/bricolage-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(fonts/bricolage-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(fonts/instrument-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(fonts/instrument-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ----------
   Three colours do the work: paper, ink and the app's green (its accent colour,
   the middle of the icon's gradient). Green is kept to
   large type, fills and marks; small text stays ink so it reads well. The yellow is the
   dotted walk from the app icon, used only for the walked path and stickers. */

:root {
  --paper: #f4eee3;
  --paper-2: #ebe3d4;
  --card: #fbf8f2;
  --ink: #181611;
  --muted: #59544a;
  --line: rgba(24, 22, 17, .16);
  --green: #2e7d32;
  --green-band: #2e7d32;
  --green-soft: #c9dcc0;
  --on-green: #fbf8f2;
  --yellow: #f2c230;
  --on-yellow: #181611;
  --display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 28px;
  /* The site is light only, also when the visitor's system is dark. */
  color-scheme: only light;
}


/* ---------- Base ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--green); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.band :focus-visible, .site-footer :focus-visible, #start :focus-visible { outline-color: var(--yellow); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Type ---------- */

.display, h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 88%;
  line-height: .94;
  letter-spacing: -.018em;
}
h1 { font-size: clamp(39px, 8vw, 129px); }
h2 { font-size: clamp(44px, 7.4vw, 112px); }
h3 { font-family: var(--display); font-weight: 700; font-stretch: 85%; font-size: clamp(22px, 2vw, 28px); line-height: 1.05; }

.label {
  display: block;
  font: 600 12px/1.2 var(--text);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--muted); max-width: 34em; }

.green { color: var(--green); }

/* A section heading: a small label in the left column, the title across the rest. */
.head {
  display: grid; grid-template-columns: 1fr; gap: 0 32px; margin-bottom: clamp(40px, 6vw, 80px);
}
.head .lead { margin-top: 24px; }
@media (min-width: 900px) {
  .head { grid-template-columns: 3fr 9fr; }
  .head .label { padding-top: .6em; }
  .head > :not(.label) { grid-column: 2; }
}

section { padding: clamp(72px, 11vw, 160px) 0; position: relative; }

/* ---------- Buttons and pills ---------- */

.pill, .btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1.5px solid var(--ink);
  font: 600 15px/1 var(--text); text-decoration: none; white-space: nowrap;
  color: var(--ink); background: transparent; cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s;
}
.pill:hover, .btn:hover { background: var(--ink); color: var(--paper); }

.btn-primary { background: var(--ink); color: var(--paper); padding-right: 6px; }
.btn-primary:hover { background: var(--green); border-color: var(--green); color: var(--on-green); }
.btn-primary .arrow {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--green); color: var(--on-green); transition: transform .25s;
}
.btn-primary:hover .arrow { background: var(--paper); color: var(--green); transform: rotate(45deg); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-light { border-color: var(--on-green); color: var(--on-green); }
.btn-light:hover { background: var(--on-green); color: var(--green-band); }

/* Dimension labels, drawn like the side lengths on the app's plan. */
.sticker {
  display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 8px;
  background: var(--card); color: var(--ink); border: 1.5px solid var(--ink);
  font: 600 clamp(13px, 1vw, 15px)/1.1 var(--text); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.sticker.yellow { background: var(--yellow); color: var(--on-yellow); border-color: var(--on-yellow); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 72px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font: 800 23px/1 var(--display); font-stretch: 90%; letter-spacing: -.02em;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: 15px;
}
.nav a:not(.btn):hover { color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; }
.nav .btn { min-height: 40px; margin-left: 4px; }
.nav .btn .arrow { width: 30px; height: 30px; }

.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1.5px solid var(--line); }
/* Both halves get the same box and type, also inside the phone menu where links are
   larger; with line-height 1 the capitals sit in the middle of the circle. */
.lang a, .lang span, .nav .lang a:not(.btn) {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 32px; min-height: 0; padding: 0; border-radius: 999px;
  font: 600 14px/1 var(--text); letter-spacing: .02em; text-decoration: none; background: none;
}
.lang span[aria-current] { background: var(--ink); color: var(--paper); }

.menu-toggle {
  display: none; margin-left: auto; min-height: 44px; padding: 0 18px; gap: 8px; align-items: center;
  border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font: 600 15px/1 var(--text); cursor: pointer;
}
.menu-toggle svg { width: 18px; height: 18px; }

@media (min-width: 1100px) {
  .nav-links { display: flex; gap: 0; margin-right: 12px; }
  .nav-end { display: flex; align-items: center; gap: 8px; }
}
@media (max-width: 1099.98px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px var(--gutter) 24px; background: var(--paper); box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
  }
  .nav.open { display: flex; }
  .nav-links { display: flex; flex-direction: column; gap: 6px; }
  .nav a:not(.btn) { min-height: 52px; font-size: 18px; padding: 0 20px; }
  .nav-end { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
  .nav-static { display: flex; position: static; flex-direction: row; padding: 0; background: none; box-shadow: none; }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(24px, 4vw, 48px); }
.hero-title { text-align: center; position: relative; }
.hero h1 { color: var(--green); }
.hero h1 span { display: block; }
.hero .stickers { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.hero .stickers li { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--green); }

.hero-intro {
  display: grid; gap: 24px; align-items: end; margin-top: clamp(32px, 5vw, 56px);
}
.hero-intro .lead { margin: 0; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) {
  .hero-intro { grid-template-columns: 7fr 5fr; }
  .hero-intro .actions { justify-content: flex-end; }
}

/* The plot: an outline walked corner to corner, with the phones laid on it. */
/* The stage takes its height from the phones, so none of them is cut off. */
.hero-stage { position: relative; max-width: 820px; margin: clamp(40px, 6vw, 72px) auto 0; padding: 0 0 clamp(32px, 5vw, 64px); }
.hero-stage .plot { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plot .edge { fill: none; stroke: var(--ink); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.plot .walk { fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 0.1 14; vector-effect: non-scaling-stroke; }
.plot-corner {
  position: absolute; width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper); border: 4px solid var(--ink); transform: translate(-50%, -50%);
}
.plot-corner b { position: absolute; font: 800 18px/1 var(--display); font-stretch: 80%; }
.plot-corner.nw b { right: 100%; bottom: 100%; margin: 0 4px 4px 0; }
.plot-corner.ne b { left: 100%; bottom: 100%; margin: 0 0 4px 4px; }
.plot-corner.se b { left: 100%; top: 100%; margin: 4px 0 0 4px; }
.plot-corner.sw b { right: 100%; top: 100%; margin: 4px 4px 0 0; }
.hero .phones { position: relative; display: flex; justify-content: center; align-items: flex-start; padding: 0 8%; }
.shot {
  margin: 0; border-radius: clamp(22px, 3vw, 40px); overflow: hidden; background: var(--card);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .04), 0 30px 60px -20px rgba(24, 22, 17, .35);
  border: 1.5px solid var(--line);
}
.hero .shot { width: clamp(150px, 12.5vw, 165px); position: relative; border-radius: clamp(18px, 1.6vw, 22px); }
.hero .shot-side { display: none; }
@media (min-width: 720px) {
  .hero .shot-side { display: block; margin-top: 9%; }
  .hero .shot-left { transform: rotate(-7deg) translateX(18%); }
  .hero .shot-right { transform: rotate(6deg) translateX(-18%); }
  .hero .shot-main { z-index: 2; }
}
.hero .facts { list-style: none; position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.hero .facts li { position: absolute; pointer-events: auto; }
.hero .facts li:nth-child(1) { left: 4%; top: 30%; }
.hero .facts li:nth-child(2) { right: 5%; top: 22%; }
.hero .facts li:nth-child(3) { left: 9%; top: 62%; }
.hero .facts li:nth-child(4) { right: 8%; top: 56%; }
@media (max-width: 719.98px) {
  /* On phones the labels line up under the screenshot instead of over it. */
  .hero .facts { position: relative; inset: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
  .hero .facts li { position: static; }
  .hero-stage { padding: 24px 0 40px; }
  .plot-corner b { display: none; }
}

/* The plot pops in each time it scrolls into view: the outline draws, the corners
   pop, the phones zoom in with a little overshoot, then the labels land.
   Uses the separate scale/translate properties so the phones keep their tilt. */
@media (prefers-reduced-motion: no-preference) {
  :root:not(.no-js) .pop .plot { clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(.5, 0, .2, 1) .1s; }
  :root:not(.no-js) .pop .plot-corner { scale: 0; transition: scale .45s cubic-bezier(.34, 1.56, .64, 1); }
  :root:not(.no-js) .pop .shot {
    opacity: 0; scale: .7; translate: 0 48px;
    transition: opacity .45s ease, scale .8s cubic-bezier(.34, 1.56, .64, 1), translate .8s cubic-bezier(.34, 1.56, .64, 1);
  }
  :root:not(.no-js) .pop .facts li { opacity: 0; scale: .5; transition: opacity .3s ease, scale .5s cubic-bezier(.34, 1.56, .64, 1); }

  :root:not(.no-js) .pop.popped .plot { clip-path: inset(0); }
  :root:not(.no-js) .pop.popped .plot-corner { scale: 1; }
  :root:not(.no-js) .pop.popped .shot { opacity: 1; scale: 1; translate: 0 0; }
  :root:not(.no-js) .pop.popped .facts li { opacity: 1; scale: 1; }

  .pop.popped .plot-corner:nth-of-type(1) { transition-delay: .25s; }
  .pop.popped .plot-corner:nth-of-type(2) { transition-delay: .4s; }
  .pop.popped .plot-corner:nth-of-type(3) { transition-delay: .55s; }
  .pop.popped .plot-corner:nth-of-type(4) { transition-delay: .7s; }
  .pop.popped .shot-main { transition-delay: 0s; }
  .pop.popped .shot-left { transition-delay: .12s; }
  .pop.popped .shot-right { transition-delay: .22s; }
  .pop.popped .facts li:nth-child(1) { transition-delay: .6s; }
  .pop.popped .facts li:nth-child(2) { transition-delay: .7s; }
  .pop.popped .facts li:nth-child(3) { transition-delay: .8s; }
  .pop.popped .facts li:nth-child(4) { transition-delay: .9s; }
}

/* ---------- Statement (problem) ---------- */

.statement {
  text-transform: none;
  font-family: var(--display); font-weight: 700; font-stretch: 92%;
  font-size: clamp(32px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -.015em;
  max-width: 17em; margin: 0;
}
.statement em { font-style: normal; color: var(--green); }

.costs { list-style: none; display: grid; gap: 0 32px; margin-top: clamp(56px, 8vw, 104px); counter-reset: cost; }
.costs li { border-top: 1.5px solid var(--ink); padding: 20px 0 32px; counter-increment: cost; }
.costs li::before {
  content: "0" counter(cost); display: block; margin-bottom: 24px;
  font: 800 15px/1 var(--display); color: var(--green);
}
.costs h3 { margin-bottom: 12px; }
.costs p { color: var(--muted); margin: 0; max-width: 28em; }
@media (min-width: 900px) { .costs { grid-template-columns: repeat(3, 1fr); } }

.promise {
  margin: clamp(48px, 7vw, 88px) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  font: 600 clamp(20px, 2vw, 26px)/1.3 var(--text);
}
.promise .sticker { font-size: 15px; }

/* ---------- Who it's for: stops along a walked line ---------- */

.route-wrap { position: relative; }
.route { --gap: clamp(28px, 6vw, 72px); position: relative; list-style: none; counter-reset: corner; display: grid; gap: var(--gap); }
.route-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route-line .dots { fill: none; stroke: var(--yellow); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0.5 13; vector-effect: non-scaling-stroke; }
.route li { --title: clamp(30px, 5.2vw, 76px); position: relative; max-width: 560px; }
.route h3 {
  font-weight: 800; font-stretch: 88%; letter-spacing: -.03em; color: var(--green);
  font-size: var(--title); line-height: .94;
}
.route-toggle {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; width: 100%;
  padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit;
  text-align: left; cursor: pointer;
}
.route .plus {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font: 700 22px/1 var(--text); letter-spacing: 0;
  margin-top: calc(var(--title) * .52 - 18px); /* level with the first line and its corner letter */
  transition: transform .25s, background-color .2s;
}
.route-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.route-more > div { overflow: hidden; min-height: 0; }
.route p { margin: 0; padding-top: 14px; max-width: 26em; font-size: 18px; transition: opacity .3s; }
.route li.open .route-more { grid-template-rows: 1fr; }
.route li.open .plus { transform: rotate(45deg); background: var(--green); color: var(--on-green); }
@media (hover: hover) and (pointer: fine) {
  /* With a mouse the space stays put and the sentence fades in, so nothing jumps. */
  .route-more { grid-template-rows: 1fr; }
  .route p { opacity: 0; }
  .route li:hover p, .route li:focus-within p, .route li.open p { opacity: 1; }
  .route .plus { display: none; }
  .route-toggle { cursor: default; }
}
.no-js .route-more { grid-template-rows: 1fr; }
.no-js .route p { opacity: 1; }
.no-js .route .plus { display: none; }
.route li::before {
  counter-increment: corner; content: counter(corner, upper-alpha);
  position: absolute; left: -44px; top: calc(var(--title) * .52 - 15px); width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font: 800 14px/1 var(--display); z-index: 1;
  background: var(--paper); border: 4px solid var(--ink);
}
@media (min-width: 900px) {
  .route li:nth-child(1) { margin-left: 46%; }
  .route li:nth-child(2) { margin-left: 8%; }
  .route li:nth-child(3) { margin-left: 52%; }
  .route li:nth-child(4) { margin-left: 18%; }
  /* On wide screens each corner circle sits at the top-left of its title, which is
     exactly where the tape measure turns (site.js routes it through the circles). */
  .route li::before { top: -15px; }
}
@media (max-width: 899.98px) {
  /* Room between the titles, so each reads as its own stop on the tape. */
  .route { padding-left: 40px; --gap: 100px; }
  .route-line { display: none; }
  .route li::before { left: -40px; }
  .route-wrap.taped .route-line { display: block; }
  .route-wrap.taped .route li::after { display: none; }
  /* Without JavaScript: one dotted leg from each corner to the next, so the walk stops at the last corner. */
  .route li:not(:last-child)::after {
    content: ""; position: absolute; left: -28px; top: calc(var(--title) * .52);
    height: calc(100% + var(--gap)); border-left: 6px dotted var(--yellow);
  }
}

/* The tape measure (drawn by site.js): a yellow band with graduations every 8px and a
   number every tenth, unwound from a case that follows the scroll. */
.route-wrap.taped .route-line .dots { display: none; }
.tape-edge { fill: none; stroke: #c99a12; stroke-width: 20; stroke-linejoin: round; }
.tape-band { fill: none; stroke: var(--yellow); stroke-width: 17; stroke-linejoin: round; }
.tape-ticks line { stroke: var(--ink); stroke-width: 1.2; }
.tape-ticks text { font: 700 7.5px/1 var(--text); fill: var(--ink); letter-spacing: 0; }
.tape-case { transition: opacity .3s; }
.tape-case.parked { opacity: 0; }
.tape-case rect { fill: var(--ink); }
.tape-case .reel { fill: var(--yellow); }
.tape-case .hub { fill: var(--ink); }
.tape-case .spoke { stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }

/* ---------- How it works ---------- */

.how { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .how { grid-template-columns: 5fr 7fr; gap: 64px; } .how-text { position: sticky; top: 110px; } }
.how h2 { font-size: clamp(44px, 6vw, 92px); margin-bottom: 40px; }

.demo-stage {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--paper-2); border: 1.5px solid var(--line);
}
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.demo-progress { position: absolute; left: 20px; right: 20px; bottom: 16px; height: 4px; border-radius: 4px; background: rgba(24, 22, 17, .14); overflow: hidden; }
.demo-progress span { display: block; height: 100%; width: 0; background: var(--ink); }
.demo.playing .demo-progress span { animation: progress 5s linear forwards; }
@keyframes progress { to { width: 100%; } }

.slide-caption { list-style: none; counter-reset: step; }
.slide-caption p {
  display: grid; grid-template-columns: 48px 1fr; gap: 2px 12px; margin: 0; padding: 16px 0;
  border-top: 1.5px solid var(--line); color: var(--muted); transition: color .3s;
}
.slide-caption p:last-child { border-bottom: 1.5px solid var(--line); }
.slide-caption strong { font: 700 20px/1.2 var(--display); font-stretch: 88%; grid-column: 2; }
.slide-caption .num { grid-row: 1 / span 2; grid-column: 1; font: 800 32px/1 var(--display); }
.slide-caption span:not(.num) { grid-column: 2; font-size: 16px; }
.slide-caption p.active { color: var(--ink); }
.slide-caption p.active .num { color: var(--green); }

.demo-controls { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.demo-controls > button, .demo-dots button { cursor: pointer; }
.demo-controls > button {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink); transition: background-color .2s, color .2s;
}
.demo-controls > button:hover { background: var(--ink); color: var(--paper); }
.demo-controls svg { width: 20px; height: 20px; }
.demo-dots { display: flex; gap: 4px; margin: 0 auto; }
.demo-dots button { width: 28px; height: 44px; border: 0; background: none; padding: 0; position: relative; }
.demo-dots button::after { content: ""; position: absolute; left: 4px; right: 4px; top: 20px; height: 4px; border-radius: 4px; background: var(--line); }
.demo-dots button[aria-current="true"]::after { background: var(--ink); }
.demo-pause .icon-play { display: none; }
.demo-pause[aria-pressed="true"] .icon-play { display: block; }
.demo-pause[aria-pressed="true"] .icon-pause { display: none; }
/* The demo pieces sit in two columns: captions with the text, stage and controls to the right. */
.demo { display: grid; gap: 24px; }
@media (max-width: 999.98px) {
  /* On phones the controls stay right under the picture, the steps follow. */
  .demo-controls { order: 1; margin-top: 0; }
  .slide-caption { order: 2; }
}
@media (min-width: 1000px) {
  .demo { grid-template-columns: 5fr 7fr; grid-template-areas: "steps stage" "steps controls"; gap: 0 64px; align-items: start; }
  .demo-stage { grid-area: stage; }
  .slide-caption { grid-area: steps; }
  .demo-controls { grid-area: controls; }
}

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video video, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Trust: the green band ---------- */

.band {
  background: var(--green-band); color: var(--on-green);
  border-radius: clamp(28px, 5vw, 64px); margin: 0 clamp(8px, 1.2vw, 16px);
}
.band .label, .band .lead { color: var(--on-green); }
.band a:hover { color: var(--yellow); }
.notes { list-style: none; display: grid; gap: 24px; }
.note {
  background: var(--card); color: var(--ink); border-radius: 22px; padding: 32px 28px 36px;
}
.note:hover { transform: translateY(-4px); }
.note .sticker { margin-bottom: 28px; font-size: 13px; }
.note h3 { margin-bottom: 12px; font-size: clamp(24px, 2.2vw, 32px); }
.note p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .notes { grid-template-columns: repeat(3, 1fr); } }
.band .fineprint { margin: clamp(40px, 6vw, 64px) 0 0; max-width: 46em; font-size: 15px; color: var(--on-green); }

/* ---------- Features: an index, not a card grid ---------- */

.index { list-style: none; display: grid; gap: 0 48px; counter-reset: feat; }
.index li {
  display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; align-items: baseline;
  padding: 24px 0; border-top: 1.5px solid var(--line); counter-increment: feat;
}
.index li::before { content: counter(feat, decimal-leading-zero); font: 800 15px/1 var(--display); color: var(--green); grid-row: 1 / span 2; }
.index h3 { font-weight: 800; font-stretch: 88%; letter-spacing: -.02em; font-size: clamp(28px, 2.8vw, 40px); }
.index p { grid-column: 2; margin: 0; color: var(--muted); }
@media (min-width: 900px) { .index { grid-template-columns: 1fr 1fr; } }

/* ---------- Floor plans ---------- */

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 5fr 7fr; gap: 72px; } }
.split h2 { font-size: clamp(44px, 5.6vw, 88px); margin-bottom: 28px; }
.dash { list-style: none; margin-top: 28px; }
.dash li { padding: 12px 0 12px 32px; border-top: 1.5px solid var(--line); position: relative; line-height: 26px; }
.dash li::before { content: ""; position: absolute; left: 0; top: 25px; width: 18px; height: 3px; border-radius: 3px; background: var(--green); }
.doc {
  border-radius: 20px; background: #fff; padding: clamp(8px, 1.5vw, 16px);
  transform: rotate(-1.5deg); box-shadow: 0 30px 60px -30px rgba(24, 22, 17, .45); border: 1.5px solid var(--line);
}

/* ---------- Screens ---------- */

.screens { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px clamp(24px, 3vw, 48px); }
.screens figure { margin: 0; }
/* The screenshots stay small; the caption is what people read. */
.screens .shot { max-width: 220px; }
.screens li:nth-child(even) { margin-top: 40px; }
.screens figcaption { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; }
.screens figcaption strong { font: 800 clamp(28px, 2.6vw, 38px)/1 var(--display); font-stretch: 88%; letter-spacing: -.02em; }
.screens figcaption span { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.35; color: var(--muted); font-weight: 500; }
@media (max-width: 899.98px) {
  .screens { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .screens .shot { max-width: 160px; }
  .screens li:nth-child(even) { margin-top: 32px; }
  .screens figcaption { padding-top: 16px; gap: 6px; }
  .screens figcaption strong { font-size: 26px; }
  .screens figcaption span { font-size: 16px; }
}

/* ---------- Pricing ---------- */

.pricing { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 960px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); padding: 32px 28px; border: 1.5px solid var(--ink); }
.plan-pro { background: var(--card); border-color: var(--line); }
.plan-best { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan-best .plan-note, .plan-best li { color: color-mix(in srgb, var(--paper) 82%, transparent); }
.plan h3 { font-size: 22px; font-stretch: 85%; }
.plan .price { font: 800 clamp(56px, 5.4vw, 76px)/1 var(--display); font-stretch: 75%; margin: 20px 0 8px; }
.plan .price span { display: inline-block; font: 500 16px/1 var(--text); color: var(--muted); margin-left: 4px; }
.plan-best .price span { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.plan-note { color: var(--muted); min-height: 3em; }
.plan ul { list-style: none; margin-top: 16px; border-top: 1.5px solid var(--line); }
.plan-best ul { border-color: color-mix(in srgb, var(--paper) 20%, transparent); }
/* The plus is drawn, not typed, and centred on the capitals of the first line
   (the middle of the 24px line, which is where the text reads). */
.plan li { --mark: var(--green); padding: 10px 0 10px 26px; position: relative; font-size: 16px; line-height: 24px; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: calc(10px + 12px - 6px); width: 12px; height: 12px;
  background:
    linear-gradient(var(--mark), var(--mark)) center / 100% 2.5px no-repeat,
    linear-gradient(var(--mark), var(--mark)) center / 2.5px 100% no-repeat;
}
.plan-best li { --mark: var(--yellow); }
.plan-tag { position: absolute; top: -16px; right: 24px; }
.pricing-note { margin: 32px 0 0; color: var(--muted); font-size: 15px; max-width: 50em; }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: 5fr 7fr; gap: 72px; } .faq-aside { position: sticky; top: 110px; align-self: start; } }
.faq-aside h2 { margin-bottom: 28px; }
.faq-aside p { color: var(--muted); max-width: 22em; }
.faq-aside a { color: var(--ink); font-weight: 600; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 24px; background: var(--card); transition: background-color .2s; }
.faq details[open] { background: var(--paper-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 16px 14px 24px; font-weight: 600; font-size: 17px; border-radius: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font: 700 22px/1 var(--text); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--green); color: var(--on-green); }
.faq summary:hover::after { background: var(--green); color: var(--on-green); }
.faq details p { margin: 0 24px 20px; padding: 16px 20px; border-radius: 4px 20px 20px 20px; background: var(--card); color: var(--ink); }
.faq details p a { color: var(--ink); font-weight: 600; text-decoration-color: var(--green); text-decoration-thickness: 2px; }

/* ---------- Start (launch call) and footer, one green block ---------- */

#start { padding: 0; }
.finale {
  background: var(--green-band); color: var(--on-green);
  border-radius: clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px) 0 0;
  margin: 0 clamp(8px, 1.2vw, 16px); padding: clamp(72px, 10vw, 140px) 0 0; overflow: hidden;
}
.finale h2 { font-size: clamp(52px, 9.6vw, 152px); max-width: 9em; }
.finale .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 36px; }
.finale .cta-row p { margin: 0; font-size: 19px; max-width: 26em; }
.finale .btn-primary { background: var(--on-green); color: var(--green-band); border-color: var(--on-green); }
.finale .btn-primary .arrow { background: var(--yellow); color: var(--on-yellow); }
.finale .btn-primary:hover { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
.finale .btn-primary:hover .arrow { background: var(--ink); color: var(--yellow); }
.finale a { color: var(--on-green); }
.finale a:hover { color: var(--yellow); }

.site-footer { background: var(--green-band); color: var(--on-green); margin: 0 clamp(8px, 1.2vw, 16px); overflow: hidden; }
.footer-grid {
  display: grid; gap: 32px; padding: clamp(56px, 8vw, 96px) 0 40px;
  border-bottom: 1.5px solid color-mix(in srgb, var(--on-green) 24%, transparent);
}
@media (min-width: 900px) { .footer-grid { grid-template-columns: 6fr 3fr 3fr; } }
.footer-grid .label { color: var(--on-green); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-links a { color: var(--on-green); text-decoration: none; font-weight: 500; font-size: 18px; }
.footer-links a:hover { color: var(--yellow); text-decoration: underline; }
.footer-mail { font: 700 clamp(22px, 2.4vw, 32px)/1.1 var(--display); font-stretch: 88%; color: var(--on-green); word-break: break-word; }
.disclaimer { margin: 0; padding: 24px 0; font-size: 14px; color: var(--on-green); max-width: 60em; }
/* A tape measure along the bottom edge: short ticks, longer ones every fifth and tenth. */
.ruler {
  display: block; height: 44px; margin-top: 8px;
  background:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--on-green) 55%, transparent) 0 2px, transparent 2px 100px) 0 100% / 100% 40px no-repeat,
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--on-green) 40%, transparent) 0 2px, transparent 2px 50px) 0 100% / 100% 26px no-repeat,
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--on-green) 28%, transparent) 0 1.5px, transparent 1.5px 10px) 0 100% / 100% 14px no-repeat;
}

/* ---------- Legal pages ---------- */

.legal { display: grid; gap: 32px; padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(72px, 10vw, 140px); }
@media (min-width: 1000px) { .legal { grid-template-columns: 5fr 7fr; gap: 72px; } .legal-head { position: sticky; top: 110px; align-self: start; } }
.legal h1 { font-size: clamp(56px, 8vw, 124px); color: var(--green); }
.legal-head p { margin-top: 20px; color: var(--muted); }
.legal-body { max-width: 44em; }
.legal-body h2 { font-size: clamp(28px, 3vw, 40px); margin: 48px 0 16px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body ul { list-style: none; }
.legal-body li { padding: 14px 0; border-top: 1.5px solid var(--line); }
.legal-body a { color: var(--ink); font-weight: 600; text-decoration-color: var(--green); text-decoration-thickness: 2px; }

.not-found { text-align: center; padding: clamp(72px, 12vw, 160px) var(--gutter); }
.not-found h1 { color: var(--green); font-size: clamp(56px, 10vw, 150px); }
.not-found p { margin: 20px auto 0; max-width: 30em; }
.not-found .actions { justify-content: center; margin-top: 32px; }

/* ---------- Scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.visible, .no-js .reveal { opacity: 1; transform: none; }

/* The walked lines draw themselves once they come into view. */
.draw { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s cubic-bezier(.4, .1, .2, 1) .2s; }
.draw.down { clip-path: inset(0 0 100% 0); }
.drawn .draw, .drawn.draw, .no-js .draw { clip-path: inset(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .draw, .draw.down { clip-path: none; }
  .note:hover { transform: none; }
}

@media print {
  .site-header, .demo-controls, .ruler { display: none; }
  .band, .finale, .site-footer { background: none; color: #000; }
}
