/* Say It With Me landing, round 6. "The conversation": a real person with the board at the top, the
   four steps, then a real ask-and-answer. One spacing scale for the whole page:
   8, 16, 24, 40, 64 and 96 px (--s1 to --s6). Sections are --sec apart: 40 px on a phone, 64 px on a
   desktop. Blocks inside a section are at least 16 px apart. */
@font-face { font-family: Nunito; src: url(/welcome/brand/Nunito.ttf) format("truetype"); font-weight: 200 1000; font-display: swap; }

:root {
  --ground: #FFFFFF; --tone: #F4F1EA; --tone-2: #E9E4D8;
  --ink: #193E42; --muted: #3A5659; --btn: #193E42; --btn-ink: #FAF7F0;
  --teal: #007F83; --coral: #D04C39; --sun: #B17B00; --sun-fill: #FFD052;
  --me: #E1F0EF; --you: #FBE7E2; --focus: #B17B00;
  --field: #193E42; --field-ink: #FAF7F0; --app: #FAF7F0; --pick: #006569;
  --yes: #176631; --yes-bg: #d9f2e0; --no: #b3261e; --no-bg: #fde3e1;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px;
  --sec: var(--s4);
  --wrap: 1240px;
  --gut: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #101517; --tone: #1A2224; --tone-2: #243033;
    --ink: #FAF7F0; --muted: #C9D6D5; --btn: #FAF7F0; --btn-ink: #101517;
    --teal: #53C9C5; --coral: #FF806A; --sun: #FFD052;
    --me: #16393A; --you: #47271F; --focus: #FFD052;
    --field: #193E42; --app: #121A1B; --pick: #53C9C5;
    --yes: #8fe0a8; --yes-bg: #183a24; --no: #ffb4ab; --no-bg: #4a1e1a;
    color-scheme: dark;
  }
}
@media (prefers-contrast: more) { :root { --muted: var(--ink); } .bubble, .atile, .said, .screen, .xshot { outline: 2px solid var(--ink); } }
@media (min-width: 1024px) and (min-height: 501px) { :root { --sec: var(--s5); } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.0625rem/1.55 Nunito, system-ui, -apple-system, "Segoe UI", sans-serif; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 900; letter-spacing: -0.025em; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--sun-fill); color: #193E42; padding: 12px 16px; border-radius: 8px; font-weight: 800; z-index: 9; }
.skip:focus { top: 8px; }

/* Sections: one gap between every pair, from the scale. */
main > section + section { margin-top: var(--sec); }
.foot { margin-top: var(--sec); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; min-width: 48px; padding: 12px 24px; border-radius: 6px; border: 0; font-family: inherit; font-weight: 800; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .16s ease-out; }
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--btn); color: var(--btn-ink); }
.btn-small { min-height: 48px; padding: 10px 18px; }
@media (hover: hover) { .btn-ink:hover { background: var(--teal); color: var(--btn-ink); } }
.link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 800; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* header */
.bar { display: flex; align-items: center; gap: var(--s3); min-height: 76px; }
.brand { display: inline-flex; align-items: center; min-height: 48px; }
.brand img { width: 196px; height: auto; }
.bar nav { display: flex; gap: 4px; margin-left: auto; }
.bar nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; text-decoration: none; font-weight: 700; }
.bar nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* hero: words on the left, a real person with the board on the right */
.hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s4) var(--s5); align-items: center; padding-top: var(--s3); }
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); max-width: 18ch; }
.lede { margin-top: var(--s3); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); font-weight: 600; max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-top: var(--s3); }
.facts { margin-top: var(--s2); color: var(--muted); font-size: 1rem; max-width: 44ch; }
.hero-photo { margin: 0; position: relative; }
.hero-photo .photo { width: 100%; object-fit: cover; border-radius: 28px; }
.hero-photo figcaption { margin-top: var(--s1); color: var(--muted); font-size: .9375rem; }

/* tour: four steps, each number centred on its own card, joined by one line */
.tour { --gap: var(--s3); }
.tour-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s3); }
.track { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4) var(--gap); }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card .num { position: relative; z-index: 1; align-self: center; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--sun-fill); color: #193E42; border: 5px solid var(--ground); font-weight: 900; font-size: 1.375rem; }
/* the line: from the centre of this number to the centre of the next one */
.card:not(:last-child)::before { content: ""; position: absolute; left: 50%; top: 24px; width: calc(100% + var(--gap)); height: 6px; border-radius: 3px; background: var(--teal); }
.card h3 { margin-top: var(--s2); font-size: 1.375rem; }
.screen { margin: var(--s2) 0 0; background: var(--app); border: 2px solid var(--tone-2); border-radius: 22px; height: 300px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 4px; }
.screen img { width: 100%; height: 100%; object-fit: contain; }
.screen picture { min-height: 0; flex: 1; display: block; }
.screen-night { background: #10141C; }
.screen-stack { justify-content: flex-start; gap: 6px; }
.screen-stack picture.sign { flex: none; }
.screen-stack picture.sign img { height: auto; max-width: 230px; margin: 0 auto; border: 2px solid #6C7F80; border-radius: 14px; }
.card p { margin-top: var(--s2); max-width: 32ch; }
.roles { margin: var(--s2) 0 0; display: grid; gap: var(--s1); }
.roles div { display: flex; gap: 10px; align-items: baseline; border-radius: 14px; padding: 8px 12px; }
.roles div:first-child { background: var(--me); }
.roles div:last-child { background: var(--you); }
.roles dt { flex: none; width: 2.8em; font-weight: 900; }
.roles dd { margin: 0; font-size: 1rem; }

/* carousel controls (shared by the tour on phones and the extras row) */
.tour-nav { display: none; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2); margin-top: var(--s3); }
.steps-arrow { flex: none; width: 56px; height: 56px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 3px solid var(--btn); background: var(--ground); color: var(--btn); cursor: pointer; touch-action: manipulation; }
.steps-arrow svg { fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.steps-next { background: var(--btn); color: var(--btn-ink); }
.steps-arrow:disabled { opacity: .4; cursor: default; }
.steps-where { display: flex; flex-direction: column; align-items: center; gap: var(--s1); min-width: 0; }
.steps-count { font-weight: 900; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.steps-dots { display: flex; gap: 8px; }
.steps-dots span { display: block; width: 10px; height: 10px; border-radius: 5px; background: var(--muted); opacity: .45; }
.steps-dots span[data-on] { width: 26px; background: var(--teal); opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .steps-dots span { transition: width .2s cubic-bezier(.23,1,.32,1), background-color .2s ease; }
  .steps-arrow { transition: transform .16s cubic-bezier(.23,1,.32,1); }
  .steps-arrow:active:not(:disabled) { transform: scale(.94); }
}

/* ask and answer: what really happens, left to right */
.ask-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s3); }
.ask-head p, .extras-head p { color: var(--muted); font-weight: 600; }
.asks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s4); margin-top: var(--s3); }
.flow { list-style: none; margin: 0; padding: var(--s3); display: grid; grid-template-columns: minmax(0, 1.15fr) auto minmax(0, .8fr); gap: var(--s2); align-items: start; background: var(--tone); border-radius: 24px; }
.fl { display: flex; flex-direction: column; gap: var(--s1); align-items: flex-start; min-width: 0; }
.who-tag { font-weight: 800; font-size: .9375rem; color: var(--muted); }
.bubble { padding: 12px 16px; border-radius: 6px 20px 20px 20px; background: var(--you); font-weight: 800; font-size: 1.125rem; line-height: 1.3; }
.tiles { display: flex; flex-wrap: wrap; gap: var(--s1); }
.atile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 84px; min-height: 92px; padding: 8px 4px; background: var(--app); border: 2px solid #6C7F80; border-radius: 14px; font-weight: 900; font-size: 1.125rem; line-height: 1.1; text-align: center; }
.atile img { width: 40px; height: 40px; }
@media (prefers-color-scheme: dark) { .atile:not(.yn) img { filter: invert(1) hue-rotate(180deg); } }
.atile.on { border-color: var(--pick); box-shadow: 0 0 0 3px var(--pick); }
.atile.yn { flex-direction: row; gap: 6px; width: auto; min-height: 60px; padding: 8px 14px; font-size: 1.25rem; }
.atile.yes { background: var(--yes-bg); color: var(--yes); border-color: transparent; }
.atile.no { background: var(--no-bg); color: var(--no); border-color: transparent; }
.atile.yes.on { border-color: var(--pick); }
.said { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: #10141C; color: #FFFFFF; font-weight: 900; font-size: 1.375rem; line-height: 1.1; }
.spk { flex: none; width: 24px; height: 24px; background: url(/icons/cue-1f50a.png) center / contain no-repeat; filter: invert(1); }
.ask-foot { margin-top: var(--s2); color: var(--muted); font-size: 1rem; }

/* extras: a carousel at every width. Whole cards only: 3 on a desktop, 2 on a tablet; on a phone
   one card and a peek of the next. A spacer lets the last card snap to the start. */
.extras { position: relative; container-type: inline-size; --g: var(--s3); --per: 3; --card: calc((100cqi + var(--g)) / var(--per) - var(--g)); }
.extras-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s3); padding-right: 300px; min-height: 56px; }
.xtrack { list-style: none; margin: var(--s3) 0 0; padding: 4px 0 8px; display: flex; gap: var(--g); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.xtrack::-webkit-scrollbar { display: none; }
.xtrack::after { content: ""; flex: 0 0 calc(100cqi - var(--card) - var(--g) + 2px); }
.xcard { flex: 0 0 var(--card); display: flex; flex-direction: column; scroll-snap-align: start; scroll-snap-stop: always; }
.extras.is-ready .tour-nav { display: flex; position: absolute; right: var(--gut); top: 0; margin: 0; gap: var(--s2); }
.extras .steps-where { flex-direction: row; gap: 14px; }
.xshot { display: flex; flex-direction: column; gap: var(--s1); align-items: flex-start; background: var(--app); border: 2px solid var(--tone-2); border-radius: 22px; padding: 16px; }
.xk { font-weight: 700; font-size: .9375rem; color: var(--muted); }
.xtile { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; min-height: 56px; background: var(--ground); border: 2px solid var(--ink); border-radius: 14px; font-weight: 900; font-size: 1.1875rem; line-height: 1.2; }
.xtile img, .xtile svg { width: 40px; height: 40px; flex: none; }
.xdraft { border-style: dashed; }
.xbig { font-weight: 900; font-size: 1.125rem; line-height: 1.25; }
.xprompt { padding: 8px 12px; border-radius: 12px; background: var(--tone); font-weight: 700; font-size: 1rem; }
.xrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 1rem; line-height: 1.35; }
.xchip { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--tone); font-weight: 800; font-size: .9375rem; }
.xai { background: var(--you); }
.xplay { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--btn); position: relative; }
.xplay::after { content: ""; position: absolute; left: 17px; top: 13px; border-left: 14px solid var(--btn-ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.xbtn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 6px; background: var(--btn); color: var(--btn-ink); font-weight: 800; font-size: .9375rem; }
.xbtn-q { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.xok { display: flex; gap: 8px; align-items: flex-start; margin-top: auto; padding-top: var(--s1); border-top: 1px solid var(--tone-2); align-self: stretch; font-weight: 700; font-size: .9375rem; line-height: 1.4; }
.xtick { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--teal); position: relative; }
.xtick::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid var(--ground); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.xtag { align-self: flex-start; margin-top: var(--s2); padding: 3px 12px; border-radius: 999px; background: var(--me); font-weight: 800; font-size: .9375rem; }
.xtag[data-soon] { background: var(--sun-fill); color: #193E42; }
.xcard h3 { margin-top: var(--s1); font-size: 1.3125rem; }
.xcard > p:last-child { margin-top: var(--s1); max-width: 40ch; }

/* Free vs Cloud */
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: var(--s2) var(--s5); align-items: start; }
.plans-head p { margin-top: var(--s2); max-width: 36ch; font-weight: 600; }
.pt-scroll { max-width: 100%; overflow-x: auto; }
.pt { width: 100%; border-collapse: collapse; line-height: 1.35; }
.pt th, .pt td { padding: 6px 12px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--tone-2); }
.pt thead th { padding-top: 0; font-size: 1.25rem; font-weight: 900; border-bottom: 3px solid var(--ink); vertical-align: bottom; white-space: nowrap; }
.pt thead th span { display: inline; margin-left: 8px; font-size: .9375rem; font-weight: 700; color: var(--muted); }
.pt td { width: 8.6em; }
.pt td:last-child { width: 12.4em; }
.pt tbody th { padding-left: 0; font-weight: 700; font-size: 1rem; }
.pt thead th:first-child { padding-left: 0; }
.pt-yes { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.pt-yes::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.8 10.4l2.7 2.7 5.7-6' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.pt-soon { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--sun-fill); color: #193E42; font-weight: 800; font-size: .9375rem; }
.pt-no { color: var(--muted); font-weight: 800; }
.plans-foot { grid-column: 2; color: var(--muted); font-weight: 600; font-size: .9375rem; }

/* trust band */
.trust { background: var(--field); color: var(--field-ink); padding-block: var(--sec); }
.trust h2 { max-width: none; }
.trust-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s3) var(--s5); margin-top: var(--s3); }
.note { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.4; font-weight: 700; max-width: 28ch; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s4); }
.promises b { display: block; font-size: 1.1875rem; font-weight: 900; color: var(--sun-fill); }
.more { display: flex; flex-wrap: wrap; gap: 0 var(--s3); margin-top: var(--s3); font-weight: 800; }
.more a { display: inline-flex; align-items: center; min-height: 48px; text-underline-offset: 4px; }

/* final + footer */
.final { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s3) var(--s4); }
.final h2 { font-size: clamp(1.75rem, 3.4vw, 2.8rem); }
.final p { margin-top: var(--s1); color: var(--muted); font-weight: 600; }
.foot { padding-bottom: var(--s4); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 var(--s3); padding-top: var(--s2); border-top: 6px solid var(--tone); }
.foot nav a { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 48px; font-weight: 800; text-underline-offset: 4px; }
.credit { margin-top: var(--s1); color: var(--muted); font-size: .9375rem; max-width: 120ch; }

/* ---------- widths ---------- */
/* Tablet and small laptop (600 to 1023 px): the steps are a 2 x 2 grid. Numbers 1-2 and 3-4 are
   joined on their own row. */
@media (max-width: 1023px) {
  .bar nav { display: none; }
  .bar .btn-small { margin-left: auto; }
  .track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card:nth-child(2n)::before { display: none; }
  .screen { height: 320px; }
  .asks { grid-template-columns: 1fr; }
  .extras { --per: 2; }
  .plans { grid-template-columns: 1fr; }
  .plans-foot { grid-column: 1; }
  .trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; gap: var(--s3); }
  .hero-photo .photo { aspect-ratio: 16 / 10; }
}

/* Phones and short landscape: the steps are a real carousel. One whole card in view and about
   14% of the next card peeks. The gap equals the side padding, so the card before is fully off
   screen; a spacer after the last card lets it snap to the start like the others. */
@media (max-width: 599px), (max-height: 500px) and (orientation: landscape) {
  .tour { container-type: inline-size; --gap: var(--gut); --card: calc(100cqi / 1.14); }
  .track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding: 0 var(--gut) 4px; scroll-padding-inline: var(--gut); }
  .track::-webkit-scrollbar { display: none; }
  .track::after { content: ""; flex: 0 0 calc(100cqi - var(--card) - 1px); }
  .card { flex: 0 0 var(--card); scroll-snap-align: start; scroll-snap-stop: always; }
  .card:nth-child(2n)::before { display: block; }
  .card:last-child::before { display: none; }
  .card[data-current] .num { box-shadow: 0 0 0 3px var(--teal); }
  .is-ready .tour-nav { display: flex; }
  .extras { --g: var(--gut); --card: calc(100cqi / 1.14); }
  .extras-head { padding-right: 0; min-height: 0; }
  .xtrack { margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 8px; scroll-padding-inline: var(--gut); }
  .xtrack::after { flex-basis: calc(100cqi - var(--card) - var(--g) + 2px); }
  .extras.is-ready .tour-nav { position: static; margin-top: var(--s3); justify-content: space-between; }
  .extras .steps-where { flex-direction: column; gap: var(--s1); }
}
@media (max-width: 599px) {
  .bar { min-height: 64px; gap: var(--s2); }
  .brand img { width: 158px; }
  .hero { padding-top: var(--s2); }
  .hero-photo .photo { border-radius: 22px; }
  .screen { height: 260px; }
  .flow { grid-template-columns: minmax(0, 1fr) auto; padding: var(--s2); border-radius: 20px; }
  .fl-you { grid-column: 1 / -1; }
  .atile { width: 76px; min-height: 84px; font-size: 1.0625rem; }
  .atile.yn { padding: 8px 10px; font-size: 1.125rem; }
  .said { font-size: 1.25rem; padding: 10px 14px; }
  .pt { font-size: 1rem; }
  .pt th, .pt td { padding: 7px 6px; }
  .pt td, .pt td:last-child { width: auto; white-space: nowrap; }
  /* FM-191 follow-up: at 200% text on a phone the no-wrap table was wider than the page (138 px of sideways scroll). The table now scrolls inside its own box; the page does not. */
  .pt-yes { gap: 4px; font-size: .9375rem; }
  .pt-yes::before { flex: none; }
  .pt thead th { font-size: 1.125rem; white-space: normal; }
  .pt thead th span { display: block; margin-left: 0; font-size: .875rem; }
  .pt-soon { font-size: .875rem; padding: 2px 8px; }
  .promises { grid-template-columns: 1fr; gap: var(--s2); }
  .final { grid-template-columns: 1fr; }
}

/* Phone landscape (about 390 px tall): each card puts its screen beside its words, so a card and
   its arrows fit on one screen. */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: var(--s3); padding-top: var(--s2); }
  .hero h1 { font-size: 2.2rem; }
  .hero-photo .photo { aspect-ratio: 3 / 2; }
  .lede { margin-top: var(--s2); }
  .card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: var(--s3); align-content: start; }
  .card .num { grid-column: 1; justify-self: center; width: 42px; height: 42px; font-size: 1.125rem; border-width: 4px; }
  .card:not(:last-child)::before { top: 18px; left: 25%; width: calc(100% + var(--gap)); }
  .card .screen { grid-column: 1; grid-row: 2 / span 3; height: 190px; margin-top: var(--s1); }
  .card h3, .card p, .card .roles { grid-column: 2; }
  .card h3 { grid-row: 1 / span 2; align-self: end; margin-top: 0; font-size: 1.25rem; }
  .card p { margin-top: var(--s1); font-size: .9375rem; line-height: 1.45; max-width: none; }
  .roles { margin-top: var(--s1); gap: 4px; align-self: start; }
  .roles div { padding: 5px 10px; }
  .roles dd { font-size: .9375rem; }
  .tour-nav { margin-top: var(--s2); }
  .asks { grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr)); gap: var(--s2); }
  .flow { grid-template-columns: minmax(0, 1fr) auto; padding: var(--s2); }
  .fl-you { grid-column: 1 / -1; }
  .atile { width: 72px; min-height: 76px; font-size: 1rem; }
  .atile img { width: 32px; height: 32px; }
  .said { font-size: 1.125rem; padding: 10px 12px; }
  .xcard { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: var(--s3); align-content: start; }
  .xshot { grid-column: 1; grid-row: 1 / span 3; padding: 12px 16px; }
  .xtag { grid-column: 2; margin-top: 0; justify-self: start; }
  .xcard h3, .xcard > p:last-child { grid-column: 2; }
  .xcard h3 { font-size: 1.25rem; }
  .xcard > p:last-child { font-size: .9375rem; line-height: 1.45; }
  .extras .steps-dots { display: none; }
  .plans { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: var(--s3); }
  .plans-foot { grid-column: 2; }
  .pt th, .pt td { padding: 4px 8px; }
  .pt td, .pt td:last-child { width: 7em; }
  .trust-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s3) var(--s4); }
  .note { font-size: 1.125rem; }
  .promises { gap: var(--s2) var(--s3); }
}

/* Hero device: a real app screen in a plain phone frame, set over the corner of the photo. It is
   labelled as added in the caption, so nobody reads it as part of the photo. */
.hero-photo .photo { aspect-ratio: 3 / 2; object-position: 30% 50%; }
.device { position: absolute; right: -12px; bottom: 44px; width: 31%; max-width: 200px; padding: 6px; background: #193E42; border-radius: 24px; box-shadow: 0 12px 32px rgba(16, 21, 23, .28); }
.device img { width: 100%; aspect-ratio: 1080 / 1300; object-fit: cover; object-position: top; border-radius: 18px; }
@media (max-width: 1023px) { .device { right: 12px; } }
@media (max-width: 599px) { .device { width: 34%; bottom: 40px; border-radius: 18px; padding: 4px; } .device img { border-radius: 14px; } }

/* Round 6 length budget: the "They / You" lines moved into the ask-and-answer section, so the step
   cards are shorter. */
@media (min-width: 900px) and (min-height: 501px) { .hero { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.foot { margin-top: var(--s4); }
@media (min-width: 1024px) and (min-height: 501px) { .screen { height: 260px; } }
@media (min-width: 600px) and (min-height: 501px) { .flow { grid-template-columns: minmax(0, 1.3fr) auto minmax(0, .7fr); } }
.trust { margin-top: var(--s4) !important; }
.trust + .final { margin-top: var(--s4); }
@media (min-width: 1024px) and (min-height: 501px) { .plans { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); } }
@media (min-width: 600px) { .xshot { flex: 1; } }
.said { white-space: nowrap; }
.ph { position: relative; }
.device { bottom: 24px; }
@media (max-width: 599px) {
  .device { right: 8px; bottom: 8px; width: 30%; }
  .screen { height: 230px; }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s2); }
  .promises b { font-size: 1.0625rem; line-height: 1.3; margin-bottom: 4px; }
  .promises li { font-size: 1rem; }
}
@media (max-width: 599px) { .hero-photo .photo { aspect-ratio: 16 / 10; } }
/* Phone landscape: the arrows sit beside the heading, so a card and its arrows fit one screen. */
@media (max-height: 500px) and (orientation: landscape) {
  .tour { position: relative; }
  .tour h2, .extras-head { padding-right: 240px; min-height: 56px; }
  .tour.is-ready .tour-nav, .extras.is-ready .tour-nav { display: flex; position: absolute; top: 0; right: var(--gut); margin: 0; gap: var(--s2); }
  .tour .steps-dots, .extras .steps-dots { display: none; }
  .card { grid-template-rows: auto auto auto 1fr; }
  .card .num { grid-row: 1; }
  .card .screen { grid-row: 2 / span 3; }
  .card h3 { grid-row: 2; align-self: start; margin-top: var(--s1); }
  .card p { grid-row: 3; }
  .pt td, .pt td:last-child { width: 5.6em; }
  .pt thead th span { display: block; margin-left: 0; }
}
.foot { padding-bottom: var(--s3); }
.trust { padding-block: var(--s5); }
@media (max-width: 1023px), (max-height: 500px) { .trust { padding-block: var(--s4); } }
@media (min-width: 1024px) and (min-height: 501px) { .trust { padding-block: var(--s5) 56px; } .screen { height: 240px; } }
@media (max-height: 500px) and (orientation: landscape) {
  .trust-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); }
  .note { font-size: 1.0625rem; }
  .plans-foot { grid-column: 1 / -1; }
}
@media (max-height: 500px) and (orientation: landscape) { .hero { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); } .facts { max-width: none; } }
@media (max-height: 500px) and (orientation: landscape) {
  .trust h2 { font-size: 1.625rem; }
  .promises li { font-size: .9375rem; line-height: 1.45; }
  .promises { gap: var(--s2) var(--s3); }
  .tour h2, .extras-head { min-height: 48px; }
}
.credit { margin-top: var(--s2); }
@media (max-width: 599px) { .lede, .actions { margin-top: var(--s2); } }
@media (max-height: 500px) and (orientation: landscape) {
  .card:not(:last-child)::before { left: calc((100% - var(--s3)) / 4); }
  .card .screen { margin-top: var(--s2); }
}
@media (min-width: 600px) and (min-height: 501px) { .flow { grid-template-columns: minmax(0, 1fr) auto auto; } }
/* The ask rows wrap instead of squeezing: the question takes the free width, the tiles and the
   spoken word keep their size, and a narrow row puts them on the next line. */
.flow { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s2); }
.fl-you { flex: 1 1 180px; }
.fl-they, .fl-app { flex: none; max-width: 100%; }
.flow { min-width: 0; }
@media (max-width: 599px) { .fl-you { flex-basis: 100%; } .fl-app { margin-left: auto; } }
@media (max-height: 500px) and (orientation: landscape) {
  .tour h2, .extras-head { padding-right: 0; max-width: calc(100% - 250px); }
  .fl-you { flex-basis: 100%; }
}
/* Ask rows from 600 px: one line each, left to right. Two rows side by side only from 1200 px,
   where both fit without wrapping. */
@media (min-width: 600px) and (min-height: 501px) {
  .asks { grid-template-columns: 1fr; }
  .flow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--s3); }
}
@media (min-width: 1200px) and (min-height: 501px) {
  .asks { grid-template-columns: 1fr 1fr; }
  .flow { gap: var(--s2); }
  .atile { width: 72px; min-height: 80px; font-size: 1.0625rem; }
  .atile img { width: 32px; height: 32px; }
  .atile.yn { min-height: 56px; padding: 8px 12px; font-size: 1.1875rem; }
  .said { font-size: 1.25rem; padding: 10px 14px; }
}
@media (max-width: 599px) {
  .atile.yn { padding: 8px; gap: 4px; font-size: 1.0625rem; min-height: 56px; }
  .said { gap: 6px; padding: 10px 12px; font-size: 1.125rem; }
  .spk { width: 20px; height: 20px; }
}

/* Fix round 1 (round 6). Step words sit centred under their centred number, and on a tablet the
   screen box is no wider than its picture, so no small screen floats in a wide empty card. */
.card h3, .card p { text-align: center; }
.card p { margin-inline: auto; }
@media (min-width: 600px) and (max-width: 1023px) and (min-height: 501px) {
  .screen { width: min(100%, 300px); align-self: center; }
}
/* Phones: more room between sections (56 px). */
@media (max-width: 599px) { :root { --sec: 56px; } }
@media (max-width: 599px) { .screen { height: 210px; } .note { font-size: 1.125rem; } }
/* Fix round 1: a real photo of a man using a tablet with two helpers; no added screen. */
.hero-photo .photo { object-position: 55% 60%; }
/* Round 6 fix 1: the Cloud price sits on its own line under "Cloud", in a column that fits it. */
.pt thead th { white-space: normal; }
.pt thead th span { display: block; margin-left: 0; }
.pt td:last-child { width: 11em; }
@media (max-width: 599px) { .pt td:last-child { width: 6.2em; } }
@media (max-height: 500px) and (orientation: landscape) { .pt td:last-child { width: 8.6em; } .pt td { width: 5em; } }
@media (min-width: 1024px) and (min-height: 501px) { .pt td:last-child { width: 15em; } .facts { max-width: 60ch; } }
@media (max-height: 500px) and (orientation: landscape) { .facts { max-width: none; } .plans-foot { font-size: .875rem; } }
@media (min-width: 1024px) and (min-height: 501px) { .lede { max-width: 48ch; } }
@media (max-height: 500px) and (orientation: landscape) { .plans { grid-template-columns: minmax(0, 1fr) minmax(0, 2.8fr); } .pt tbody th { font-size: .9375rem; } }
@media (min-width: 1024px) and (min-height: 501px) { .trust { padding-block: 48px; } }
@media (min-width: 1024px) and (min-height: 501px) { .hero h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); } }
/* Fix round 1, WebKit iPhone landscape (343 px tall): the extras heading, its arrows and one card
   fit on one screen. */
@media (max-height: 500px) and (orientation: landscape) {
  .xtrack { margin-top: var(--s2); }
  .xshot { gap: 6px; padding: 10px 14px; }
  .xtile { min-height: 48px; padding: 6px 12px 6px 8px; font-size: 1.0625rem; }
  .xtile img, .xtile svg { width: 32px; height: 32px; }
  .xok { padding-top: 6px; }
  .xbig { font-size: 1rem; }
}
/* Fix round 2: the Cloud price breaks only between its two halves (2 lines at most on a phone). */
.pt .nw { display: inline; white-space: nowrap; margin: 0; font-size: inherit; color: inherit; }
@media (max-width: 599px) { .pt td:last-child { width: 7.2em; } .pt td { width: 4.6em; } }
/* Fix round 2: the real "Tap what you want" screen is set into the tablet in the photo (one image,
   made by tools/composite.mjs). The crop keeps the whole screen in view at every width. */
.hero-photo .photo { object-position: 45% 50%; }
@media (min-width: 1024px) and (min-height: 501px) { .trust { padding-block: 40px; } }
.hero-photo picture { display: block; }
.hero-photo .photo { aspect-ratio: 3 / 2; object-position: 50% 50%; }
@media (max-width: 599px) { .hero-photo .photo { aspect-ratio: 16 / 10; } }

/* Release: the app's own picture files are PNGs on white, so they sit on a white rounded tile
   (as in the app) instead of being inverted in dark mode. */
.atile:not(.yn) img, .xtile img { background: #fff; border-radius: 8px; }
@media (prefers-color-scheme: dark) { .atile:not(.yn) img { filter: none; } }
.spk { background-color: #fff; border-radius: 50%; filter: none; background-size: 80%; }

/* Release: "Support this project". Small and quiet, inside the footer: a column at the right on a
   wide screen, under the footer links on a phone. It must not compete with "Open the board". */
.foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: var(--s3) var(--s5); align-items: start; padding-top: var(--s2); border-top: 6px solid var(--tone); }
.foot nav { border-top: 0; padding-top: 0; }
.support h2 { font-size: 1.125rem; letter-spacing: 0; line-height: 1.3; }
.support p { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.support .btn { margin-top: var(--s2); }
.btn-quiet { background: transparent; color: var(--ink); border: 2px solid var(--ink); min-height: 48px; padding: 10px 20px; font-size: 1rem; }
@media (hover: hover) { .btn-quiet:hover { background: var(--tone); } }
@media (max-width: 899px) and (min-height: 501px) { .foot { grid-template-columns: 1fr; gap: var(--s3); } }
@media (max-width: 599px) { .credit { font-size: .875rem; } .screen { height: 196px; } }
.foot { border-top: 0; padding-top: calc(6px + var(--s2)); background: linear-gradient(var(--tone), var(--tone)) center top / calc(100% - 2 * var(--gut)) 6px no-repeat; }
/* Wide screens (from 1800 px): a wider column, so the page does not float small in the middle. */
@media (min-width: 1800px) and (min-height: 501px) { :root { --wrap: 1400px; } }

/* VDP 2026-10-19: row labels in the plan table stay within 2 lines on a phone. */
@media (max-width: 599px) { .pt tbody th { font-size: .9375rem; line-height: 1.3; } .pt td { width: 4.2em; } .pt td:last-child { width: 6.6em; } .pt th, .pt td { padding-inline: 4px; } }
/* On a phone the price is a line above the table, so the plan columns stay narrow and the row labels have room. */
.plans-price { display: none; }
@media (max-width: 599px) {
  .plans-price { display: block; margin-top: var(--s1); font-weight: 800; max-width: none; }
  .pt thead th > span { display: none; }
  .pt td, .pt td:last-child { width: 4.6em; }
}

/* Long words (an email address) wrap instead of widening the page at 200% text. */
main p, main li, main td, main th, main dd { overflow-wrap: anywhere; }
.single-link a { display: inline-flex; align-items: center; min-height: 48px; }

/* who it helps */
.helps-list { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2) var(--s4); }
.helps-list li { position: relative; padding-left: 32px; font-weight: 700; font-size: 1.125rem; }
.helps-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); }
.helps-note { margin-top: var(--s3); max-width: 70ch; font-weight: 600; }
.helps-aac { margin-top: var(--s2); max-width: 70ch; font-size: .9375rem; color: var(--muted); }
@media (max-width: 699px) { .helps-list { grid-template-columns: 1fr; } }
/* FM-345 sweep (195 px wide, 200% text): footer links shrink and wrap instead of pushing the page sideways. */
.foot nav a { flex-shrink: 1; overflow-wrap: anywhere; }
