/* So You Want to Start. Phone first. The look is docs/specs/look.md (red and black, Bricolage Grotesque).
   Fonts are our own files in /fonts; nothing is loaded from other hosts. */

/* Fonts. Both are SIL Open Font License, latin subset; the licence texts sit beside the files in /fonts. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/BricolageGrotesque-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/Caveat-700-latin.woff2") format("woff2");
}

:root {
  /* Colour (docs/specs/look.md, Colours). Contrast pairs are checked in tests/unit/contrast.test.mjs. */
  --bg: #ffffff; /* page */
  --surface: #f2f2f2;
  --card: #ffffff;
  --inset: #f2f2f2;
  --line: #e0e0e0;
  --field: #8a8a8a; /* field line */
  --text: #0f0f0f;
  --muted: #606060;
  --accent: #ff0000; /* primary buttons only */
  --accent-hover: #e60000;
  --on-accent: #ffffff;
  --mark: #ffe14d; /* the highlighter band */
  --black: #0f0f0f;
  --on-black: #ffffff;
  --muted-on-black: #aaaaaa;
  --line-on-black: #3d3d3d;
  --ok: #1e8e5a;
  --error: #b3261e;
  --error-bg: #fbedeb;
  --focus: #0f0f0f;

  /* Space (8px base) */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s6: 1.5rem;
  --s8: 2rem;
  --s12: 3rem;
  --s16: 4rem;

  --font: "Bricolage Grotesque", system-ui, sans-serif;
  --hand: "Caveat", "Bricolage Grotesque", system-ui, sans-serif;
  --radius: 0.75rem;
  /* the highlighter band, as em from the top of the span's content area: 14% to 90% of the line (measured on the font) */
  --mark-top: 0.208em;
  --mark-bot: 1.029em;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.5L8.3 14.3L15.5 5.7'/%3E%3C/svg%3E");
  --tick-s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5L6.8 11.7L12.5 4.8'/%3E%3C/svg%3E");
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 62 52' fill='none' stroke='%230F0F0F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 45C13 48.5 24 48 32 43.5C42 38 47.5 28 48.5 8'/%3E%3Cpath d='M48.5 8L40.5 17.5'/%3E%3Cpath d='M48.5 8L55.5 18.5'/%3E%3C/svg%3E");
  --tap: 2.75rem; /* 44px */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
}

main {
  flex: 1 0 auto;
}

/* The playbook page: the content is at least one screen tall (the header bar's share taken off), so the footer never rises
   into view while the build folds its drawings away. */
.page-playbook main {
  min-height: calc(100vh - var(--s2) * 2 - var(--tap));
  min-height: calc(100dvh - var(--s2) * 2 - var(--tap));
  /* --pb-hold is set by the build sequence while it runs (see holdFooter in build-sequence.js); 0 otherwise */
  min-height: max(calc(100dvh - var(--s2) * 2 - var(--tap)), var(--pb-hold, 0px));
}

/* No tap highlight: the browser's see-through blue would be drawn over the chosen (black) answer row. Keyboard focus rings are separate. */
a,
button,
label,
.opt,
.btn {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

strong,
b {
  font-weight: 700;
}
button,
input,
textarea {
  font-family: var(--font);
}
a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--text);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
h1:focus,
main:focus {
  outline: none;
}

.skip {
  position: absolute;
  left: var(--s4);
  top: -4rem;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  padding: var(--s3) var(--s4);
  border-radius: var(--radius);
  z-index: 10;
}
.skip:focus {
  top: var(--s2);
}

.container {
  width: 100%;
  max-width: 68rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container.narrow {
  max-width: 42rem;
}

/* ---------- header and footer ---------- */
.site-header {
  padding-block: var(--s2);
  background: var(--black);
  text-align: left; /* below 900 px the name lines up with the page's text */
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--on-black);
  text-decoration: none;
}
.brand:hover {
  color: var(--on-black);
}

.site-footer {
  margin-top: var(--s16);
  padding-block: var(--s8);
  background: var(--black);
  color: var(--on-black);
  font-size: 1rem;
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-list li {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}
.footer-list a {
  color: var(--on-black);
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  min-width: var(--tap);
  justify-content: center;
}

/* ---------- type ---------- */
h1,
h2 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s4);
}
h1 {
  font-size: clamp(2.125rem, 1.4rem + 3.6vw, 3.5rem);
  line-height: 1.08;
}
h2 {
  font-size: 30px;
}
p {
  margin: 0 0 var(--s4);
}
.eyebrow {
  margin-bottom: var(--s3);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text);
}
.lede {
  font-size: 18px;
  line-height: 1.55;
}

/* the highlighter: a flat band from 14% to 90% of the line, 0.08em past the words on each side.
   The padding on the right is not given back, so the next word starts a normal word space after the band's edge. */
.nb {
  white-space: nowrap;
}
.mark {
  padding-inline: 0.08em;
  margin-left: -0.08em;
  color: var(--text);
  background: linear-gradient(to bottom, transparent var(--mark-top), var(--mark) var(--mark-top), var(--mark) var(--mark-bot), transparent var(--mark-bot));
}
.fine {
  font-size: 1rem;
  color: var(--muted);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  letter-spacing: -0.025em;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}
.btn-primary:active {
  transform: translateY(1px);
}
.btn-secondary {
  min-height: 44px;
  background: transparent;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
}
.btn-secondary:hover {
  color: var(--text);
  text-decoration: underline;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- offer page ---------- */
.hero {
  padding-block: var(--s8) var(--s12);
}
.hero .btn {
  width: 100%;
}
.section {
  padding-block: var(--s12);
}
.section-tint {
  background: var(--surface);
}

.numbered {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s6);
}
.numbered > li {
  counter-increment: step;
  position: relative;
  padding-left: 3.25rem;
}
.numbered > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 2.25rem;
  text-align: center;
}

/* What arrives: plain accent numerals in a grid, so it does not read as the same list as How it works */
.deliverables {
  list-style: none;
  counter-reset: item;
  margin: var(--s6) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s6);
}
.deliverables > li {
  counter-increment: item;
  padding-top: var(--s4);
  border-top: 3px solid var(--text);
}
.deliverables > li::before {
  content: counter(item);
  display: block;
  margin-bottom: var(--s2);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}

.cards {
  display: grid;
  gap: var(--s4);
  margin-top: var(--s6);
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: var(--s6);
}
.card p {
  margin: 0;
}
.card .card-label {
  margin-bottom: var(--s2);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
}
.sample-link {
  margin: var(--s6) 0 0;
}
.sample-link a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-weight: 700;
}

.ticks {
  list-style: none;
  margin: 0 0 var(--s6);
  padding: 0;
  display: grid;
  gap: var(--s3);
}
.ticks li {
  position: relative;
  padding-left: 2rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.45rem;
  width: 0.6rem;
  height: 1.05rem;
  border-right: 3px solid var(--text);
  border-bottom: 3px solid var(--text);
  transform: rotate(40deg) scale(0.8);
  transform-origin: center;
}

.faq {
  margin: 0;
}
.faq dt {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  margin-top: var(--s6);
  padding-top: var(--s6);
  border-top: 1px solid var(--line);
}
.faq dt:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.faq dd {
  margin: var(--s2) 0 0;
}

.closing {
  padding-bottom: var(--s8);
}
.closing .btn {
  width: 100%;
}

/* ---------- plain text pages ---------- */
.prose {
  padding-block: var(--s8);
}
.prose h1 {
  font-size: clamp(2rem, 1.3rem + 3vw, 3rem);
  line-height: 1.08;
}
.prose h2 {
  margin-top: var(--s8);
  font-size: 1.5rem;
}
/* Thanks page: the receipt line sits 24 px below step 3, so it does not read as part of the list */
.page-thanks .prose > div[data-full]:not([hidden]) + p {
  margin-top: 24px;
}

/* ---------- questionnaire ---------- */
.questionnaire {
  padding-block: var(--s6) var(--s8);
}
.notice {
  padding: var(--s4);
  background: var(--surface);
  border-radius: var(--radius);
}
.progress-label {
  margin: 0 0 var(--s2);
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
}
.progress {
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: var(--s6);
}
.progress-fill {
  height: 100%;
  background: var(--text);
  border-radius: 999px;
  transition: width 200ms ease-out;
}
.intro {
  padding: var(--s3) var(--s4);
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 1rem;
}
.q-title {
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: var(--s3);
}
.prompt {
  font-size: 1.125rem;
  color: var(--text);
}
.hint {
  margin-bottom: var(--s3);
  font-size: 1rem;
  color: var(--muted);
}
.options {
  border: 0;
  margin: var(--s4) 0 var(--s4);
  padding: 0;
  min-width: 0;
  display: grid;
  gap: var(--s3);
}
.opt {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: 3.5rem;
  padding: var(--s3) var(--s4);
  background: var(--card);
  color: var(--text);
  border: 1.5px solid var(--field);
  border-radius: 12px;
  cursor: pointer;
  line-height: 1.35;
}
.opt:hover {
  border-color: var(--text);
}
.opt input {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  accent-color: var(--on-black); /* ticked "pick any" rows sit on the black row */
}
/* a chosen answer is a black block: black fill, white words, white ring with a black tick */
.opt:has(input:checked) {
  border-color: var(--black);
  background: var(--black);
  color: var(--on-black);
}
.opt input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid var(--field);
  border-radius: 50%;
  background: transparent;
}
.opt input[type="radio"]:checked {
  background: var(--on-black);
  border-color: var(--on-black);
}
.opt input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--black);
  -webkit-mask: var(--tick-s) center / 14px 14px no-repeat;
  mask: var(--tick-s) center / 14px 14px no-repeat;
}
.opt:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.followup {
  margin: var(--s2) 0 var(--s2) var(--s4);
  padding-left: var(--s3);
  border-left: 3px solid var(--line);
}
.followup textarea.field {
  margin-bottom: 0;
}
.followup[hidden] {
  display: none;
}

.field {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: var(--s3) var(--s4);
  font: inherit;
  color: var(--text);
  background: var(--card);
  border: 1.5px solid var(--field);
  border-radius: 12px;
}
.field:focus,
.field:focus-visible {
  outline: none;
  border-color: var(--text);
  box-shadow: inset 0 0 0 0.5px var(--text), 0 0 0 3px rgba(15, 15, 15, 0.18);
}
textarea.field {
  resize: vertical;
  line-height: 1.5;
  margin-bottom: var(--s4);
}
.row {
  margin-bottom: var(--s6);
}
.row label {
  display: block;
  margin-bottom: var(--s2);
  font-weight: 700;
}
.error {
  margin: 0 0 var(--s4);
  padding: var(--s3) var(--s4);
  border-left: 5px solid var(--error);
  background: var(--error-bg);
  color: var(--error);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.error[hidden],
.status[hidden] {
  display: none;
}
.row .error {
  margin: var(--s2) 0 0;
}
.status {
  margin: 0 0 var(--s4);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: var(--s3);
  margin-top: var(--s6);
}
.nav .btn-secondary {
  flex: 0 0 auto;
  min-width: 6rem;
}
.nav .btn-primary {
  flex: 1 1 auto;
}
.nav-stack {
  flex-direction: column;
}
.nav-stack .btn {
  width: 100%;
}
/* Last screen on a phone: the long button goes on top, full width, Back under it */
.nav-wide {
  flex-direction: column-reverse;
}
.nav-wide .btn,
.nav-wide .btn-secondary {
  width: 100%;
}

/* Honeypot: off-screen, not display:none, so bots still see it. Hidden from people and screen readers. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- offer page version 3: first screen (docs/specs/offer-page-v3-design.md) ---------- */
.hero-v3 {
  padding-block: 20px var(--s8); /* at least 20 px under the black header bar */
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s4);
}
.hero-text .eyebrow {
  margin-bottom: 10px;
}
.hero-text h1 {
  margin-bottom: var(--s3);
  font-size: 36px;
  text-wrap: balance; /* follow-up 1: the last line never holds one word alone */
}
.hero-text .lede {
  line-height: 1.55;
}
.hero-text .lede,
.hero-cta p:last-child {
  margin-bottom: 0;
}
/* The pen note (docs/specs/look.md, The pen note): the line under the Start button, one place only. The arrow is the
   direction's drawing; its tip stops 8 to 10 px below the button. */
.hero-cta .fine {
  position: relative;
  display: block;
  width: fit-content;
  margin-top: 50.5px; /* with the 12 px under the button: the arrow tip stops 9 px below it */
  font-family: var(--hand);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
  transform: rotate(-2deg);
  transform-origin: left center;
}
.hero-cta .fine::after {
  content: "";
  position: absolute;
  left: 120px;
  bottom: calc(100% - 4px);
  width: 56px;
  height: 47px;
  background: var(--arrow) no-repeat 0 0 / 56px 47px;
}
.hero-cta > p {
  margin-bottom: var(--s3);
}

.handoff {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  margin-top: 12px; /* follow-up 5: with the 16 px grid gap, 28 px under the "Works with" row on phones */
  padding: 18px;
  background: var(--black);
  border: 1px solid var(--black);
  border-radius: 16px;
  color: var(--on-black);
  font-size: 15px;
  line-height: 1.4;
}
.handoff p,
.handoff ul {
  margin: 0;
}
.handoff-label {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-on-black);
}
.handoff-list,
.handoff-pills {
  list-style: none;
  padding: 0;
}
.handoff-list {
  margin-top: 4px;
}
.handoff-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
}
.handoff-rule {
  height: 0;
  margin: 12px 0;
  border: 0;
  border-top: 1px solid var(--line-on-black);
}
.handoff-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.handoff-pills li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 999px;
  background: var(--on-black);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

/* The mark: a small drawn tick (2 px stroke, round ends, no ring), in the white of the black card. Resting look (no
   JavaScript, reduced motion): the tick is there. With JavaScript and motion allowed the ticks start out of sight, then pop in once
   when the card is half in view, on the same timings as before. */
.hmark {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
}
.hmark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--on-black);
  -webkit-mask: var(--tick) center / 100% 100% no-repeat;
  mask: var(--tick) center / 100% 100% no-repeat;
  transform: scale(1);
}
.hm-motion .hmark::after {
  transform: scale(0);
}
.hm-motion .handoff.is-playing li:nth-child(1) .hmark::after { animation: hm-check 0.2s ease-out 0.9s forwards; }
.hm-motion .handoff.is-playing li:nth-child(2) .hmark::after { animation: hm-check 0.2s ease-out 1.6s forwards; }
.hm-motion .handoff.is-playing li:nth-child(3) .hmark::after { animation: hm-check 0.2s ease-out 2.3s forwards; }
.hm-motion .handoff.is-playing li:nth-child(4) .hmark::after { animation: hm-check 0.2s ease-out 3s forwards; }
.hm-motion .handoff.is-playing li:nth-child(5) .hmark::after { animation: hm-check 0.2s ease-out 3.7s forwards; }
.hm-motion .handoff.is-playing .handoff-pills li:nth-child(1) { animation: hm-pulse 0.25s ease-in-out 3.9s; }
.hm-motion .handoff.is-playing .handoff-pills li:nth-child(2) { animation: hm-pulse 0.25s ease-in-out 4.02s; }
.hm-motion .handoff.is-playing .handoff-pills li:nth-child(3) { animation: hm-pulse 0.25s ease-in-out 4.14s; }
@keyframes hm-check {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
@keyframes hm-pulse {
  50% {
    transform: scale(1.06);
  }
}

/* Logo row */
.works-with {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 20px;
  margin: var(--s4) 0 0;
  font-size: 14px;
  line-height: 1.3;
}
.works-label {
  flex: 0 0 100%; /* "Works with" on a line of its own above the logos */
  color: var(--muted);
}
.works-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 5px; /* clear space of a quarter of the logo's height above and below */
  white-space: nowrap;
  color: var(--text);
}
/* Follow-up 2. --logo-box is the file's box; --logo-pad is the empty margin the file carries on each side,
   given back with a negative margin so the painted artwork, not the empty box, sets the row's size.
   Painted height / box (tools/logo-bbox.mjs): chatgpt 0.496, claude 0.996, gemini 0.916. */
.works-item img {
  display: block;
  flex: none;
  width: var(--logo-box);
  height: var(--logo-box);
  margin: calc(var(--logo-pad) * -1);
}
.works-item[data-logo="chatgpt"] { --logo-box: 40.3px; --logo-pad: 10.15px; }
.works-item[data-logo="claude"] { --logo-box: 20.1px; --logo-pad: 0px; }
.works-item[data-logo="gemini"] { --logo-box: 21.8px; --logo-pad: 0.9px; }

/* How it works */
.how-line {
  margin: 0 0 var(--s6);
  font-size: 18px;
  line-height: 1.5;
}
.demo-stage-col {
  margin-bottom: var(--s8);
}

/* Questions: one closed row per question */
.faq {
  border-bottom: 1px solid var(--line);
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 3.5rem;
  padding-block: var(--s3);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.2rem;
  border: solid var(--text);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 150ms ease-out;
}
.faq details[open] > summary::after {
  transform: rotate(-135deg);
}
.faq details > p {
  margin: 0 0 var(--s4);
}

.footer-legal {
  max-width: 36rem;
  margin: var(--s2) auto 0;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
  color: var(--muted-on-black);
}

/* ---------- wider screens ---------- */
@media (min-width: 48rem) {
  .container {
    padding-inline: 2rem;
  }
  .hero {
    padding-block: var(--s12) var(--s16);
  }
  .hero .btn,
  .closing .btn {
    width: auto;
    min-width: 18rem;
  }
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero,
  .closing {
    text-align: center;
  }
  .hero .lede {
    max-width: 36rem;
    margin-inline: auto;
  }
  .deliverables {
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--s12);
    row-gap: var(--s8);
  }
  .footer-list {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: var(--s4);
  }
  .footer-list li + li::before {
    content: "\00b7";
    margin-right: var(--s4);
    color: var(--muted-on-black);
  }
  .nav-wide {
    flex-direction: row;
  }
  .nav-wide .btn,
  .nav-wide .btn-secondary {
    width: auto;
  }
  .site-footer {
    text-align: center;
  }
  .section {
    padding-block: var(--s16);
  }
  .questionnaire {
    padding-block: var(--s12);
  }
  .nav-stack {
    flex-direction: row;
  }
  .nav-stack .btn {
    width: auto;
  }
  .nav .btn-primary {
    flex: 0 1 auto;
    min-width: 14rem;
  }
  .nav {
    justify-content: space-between;
  }
}

@media (min-width: 48rem) {
  .hero-v3 {
    text-align: left;
    padding-block: var(--s6) var(--s12);
  }
  .hero-v3 .lede {
    max-width: none;
    margin-inline: 0;
  }
  .hero-v3 .btn {
    min-width: 0;
  }
  .footer-legal {
    max-width: 44rem;
  }
}
@media (min-width: 56.25rem) {
  .hero-cta .fine {
    font-size: 26px;
  }
  h2 {
    font-size: 44px;
  }
  .q-title {
    font-size: 36px;
  }
  .hero-text h1 {
    font-size: 56px; /* 60 does not give four lines at 1280 x 800; 56 does, with the logos on the first screen */
  }
  .site-header {
    text-align: center; /* from 900 px the name stays where it was */
  }
  .hero-v3 {
    padding-block: var(--s8) var(--s12);
  }
  .works-item {
    font-size: 16px;
    padding-block: 3px; /* the quarter-height clear space for a 24 px logo is 6 px */
  }
  .works-item[data-logo="chatgpt"] { --logo-box: 48px; --logo-pad: 12.1px; }
  .works-item[data-logo="claude"] { --logo-box: 24.1px; --logo-pad: 0px; }
  .works-item[data-logo="gemini"] { --logo-box: 26.2px; --logo-pad: 1.1px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
    grid-template-rows: 1fr auto auto 1fr;
    column-gap: var(--s12);
    row-gap: 0;
  }
  .hero-text {
    grid-column: 1;
    grid-row: 2;
    padding-bottom: var(--s6);
  }
  .hero-cta {
    grid-column: 1;
    grid-row: 3;
  }
  .handoff {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
    justify-self: center;
    margin-top: 0;
    max-width: 480px; /* follow-up 3: the card holds its own on wide screens */
    font-size: 17px;
  }
  .handoff-list li {
    min-height: 40px;
  }
  .hmark {
    width: 22px;
    height: 22px;
  }
  .handoff-pills li {
    height: 40px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
