:root {
  --ink: #121A2B;
  --sheet: #EEF1F4;
  --paper: #FFFFFF;
  --tape: #FFC61A;
  --red: #C8321F;
  --denim: #2C4A7A;
  --rule: #C9D1DB;
  --muted: #4A566B;

  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --text: "Atkinson Hyperlegible", "Segoe UI", Verdana, sans-serif;

  --gutter: clamp(1rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--sheet);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--denim);
  outline-offset: 3px;
  border-radius: 2px;
}

[hidden] { display: none !important; }

.wrap {
  width: min(1120px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5rem);
  font-weight: 850;
  font-stretch: 112%;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 800;
  font-stretch: 104%;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 750;
  font-stretch: 100%;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1rem; max-width: 62ch; }

/* tape-measure strip: the one piece of chrome borrowed from the trades */
.tape {
  height: 22px;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 12px) bottom / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 60px) bottom / 100% 17px no-repeat,
    var(--tape);
}

.top {
  width: min(1120px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0;
}

.top nav { display: flex; gap: 1.5rem; margin-left: auto; }
.top nav a { text-decoration: none; font-size: 1rem; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.mark {
  font-family: var(--display);
  font-weight: 850;
  font-stretch: 112%;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.mark span { font-weight: 400; font-stretch: 100%; }

.btn {
  display: inline-block;
  background: var(--tape);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 750;
  font-stretch: 100%;
  font-size: 1.05rem;
  padding: 0.85rem 1.4rem;
  border: 2px solid var(--ink);
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.15s;
}
.btn:hover { background: #FFD84D; }
.btn-small { padding: 0.5rem 0.9rem; font-size: 0.95rem; }

.textlink {
  font-weight: 700;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin: 1.75rem 0 0.75rem;
}

.fine { color: var(--muted); font-size: 0.95rem; }

/* ---------- scroll story: pinned phone + the seven fixes ---------- */
.story {
  width: min(1120px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 5vw, 4rem);
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(3rem, 8vh, 5rem);
}

.lede { font-size: 1.35rem; line-height: 1.5; margin-top: 1.5rem; max-width: 34ch; }

.fixes-head {
  grid-column: 1;
  grid-row: 2;
  padding: 3rem 0 1.5rem;
  border-top: 2px solid var(--ink);
}
.fixes-head .intro { margin-top: 1.1rem; color: var(--muted); }

.steps-scroll {
  grid-column: 1;
  grid-row: 3;
  list-style: none;
  margin: 0;
  padding: 0 0 8vh;
}

.step {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 62vh;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  transition: border-color 0.3s;
}
.step.on { border-top-color: var(--ink); }

.step .n {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: #9b3a2e;
  color: #fff;
  font: 700 1rem var(--display);
  align-self: center;
  transition: background-color 0.3s;
}
.step.on .n { background: var(--red); animation: bump 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.3); }
@keyframes bump { 40% { transform: scale(1.35); } }

.step p { margin: 0; }

/* the strike-through draws itself left to right as each step is reached */
.step .was {
  display: inline;
  color: var(--red);
  font-size: 1.15rem;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 55% / 100% 2px;
  transition: background-size 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js .step .was { background-size: 0 2px; }
.js .step.on .was, .js .step.done .was { background-size: 100% 2px; }

.step .now {
  font-family: var(--display);
  font-weight: 750;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.15;
  margin-top: 0.5rem;
  letter-spacing: -0.01em;
  color: var(--muted);
  transition: color 0.3s;
}
.step.on .now { color: var(--ink); }

.step-end { min-height: 50vh; border-bottom: 1px solid var(--rule); }
.step-end h3 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; font-stretch: 104%; margin-bottom: 0.75rem; }
.step-end p { color: var(--muted); }
.step-end .actions { margin-bottom: 0; }

/* ---------- onboarding form page ---------- */
.wrap-narrow { width: min(720px, 100% - var(--gutter) * 2); margin-inline: auto; padding: clamp(2rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem); }
.form-title { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
.formpage .lede { max-width: 46ch; }
.formpage .fine { margin-bottom: 2rem; }

fieldset { border: 0; border-top: 2px solid var(--ink); margin: 0 0 2.25rem; padding: 1rem 0 0; min-width: 0; }
legend {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 104%;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  padding: 0 0.75rem 0 0;
  float: left;
  width: 100%;
  margin-bottom: 1rem;
}
legend + * { clear: both; }

.field { margin-bottom: 1.25rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.need { font-weight: 400; color: var(--muted); font-size: 0.95rem; }
.hint { display: block; color: var(--muted); font-size: 0.95rem; margin-bottom: 0.4rem; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 0.65rem 0.8rem;
  min-height: 2.9rem;
}
textarea { resize: vertical; line-height: 1.5; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--denim); outline-offset: 2px; }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: var(--red); }

.check { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1rem; }
.check input { width: 1.3rem; height: 1.3rem; margin-top: 0.25rem; accent-color: var(--ink); flex: none; }
.check label { font-weight: 400; margin: 0; }

.privacy { color: var(--muted); font-size: 0.95rem; }
.btn-quiet { background: var(--paper); cursor: pointer; }
.btn-quiet:hover { background: var(--sheet); }
button.btn { cursor: pointer; font-family: var(--display); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; color: inherit; }

.review:focus { outline: none; }
.review h2 { margin-bottom: 1rem; }
.review pre {
  white-space: pre-wrap;
  word-break: break-word;
  font: inherit;
  font-size: 1rem;
  line-height: 1.55;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 1rem 1.1rem;
  margin: 1.25rem 0;
  max-height: 22rem;
  overflow: auto;
}

@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }

/* ---------- sample site section ---------- */
.sample {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-top: 2px solid var(--ink);
}
.sample-copy h2 { margin-bottom: 1.2rem; }

.preview { border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; background: var(--paper); --k: 0.5; }
.preview-bar { display: flex; align-items: center; gap: 6px; padding: 0.55rem 0.8rem; background: #E3E8EE; border-bottom: 2px solid var(--ink); font-size: 0.85rem; color: var(--muted); }
.preview-bar i { width: 10px; height: 10px; border-radius: 50%; background: #9aa5b5; display: block; }
.preview-bar span { margin-left: 0.6rem; background: var(--paper); border-radius: 12px; padding: 0.1rem 0.8rem; }
.preview-view { position: relative; width: 100%; height: calc(800px * var(--k)); overflow: hidden; }
.preview iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; border: 0; transform: scale(var(--k)); transform-origin: 0 0; background: var(--paper); }

@media (max-width: 860px) { .sample { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .preview { display: none; } }

/* ---------- sections below the story ---------- */
.band-dark {
  background: var(--denim);
  color: var(--paper);
  border-block: 2px solid var(--ink);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.price { margin-top: 1.25rem; font-size: 1.15rem; }
.price span {
  font-family: var(--display);
  font-weight: 850;
  font-stretch: 118%;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
}

.spec { margin: 0; border-top: 2px solid var(--ink); }
.spec > div {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 0.25rem 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
.spec dt { font-family: var(--display); font-weight: 750; font-size: 1.1rem; }
.spec dd { margin: 0; }

.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}
.steps li { border-top: 3px solid var(--tape); padding-top: 1rem; }
.steps .n {
  display: block;
  font-family: var(--display);
  font-weight: 850;
  font-stretch: 118%;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--tape);
  margin-bottom: 0.6rem;
}
.steps h3 { margin-bottom: 0.4rem; }
.steps p { color: #D5DBE5; margin: 0; font-size: 1rem; }

.who { color: var(--muted); margin-top: 1.25rem; }

.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); padding: 0.25rem 0; }
.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.85rem 2rem 0.85rem 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 0.55rem;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 0.9rem; margin: 0; }

.ask {
  background: var(--tape);
  border-top: 2px solid var(--ink);
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.ask p { margin-top: 1rem; }
.ask .btn { background: var(--ink); color: var(--paper); }
.ask .btn:hover { background: #26324d; }
.mail { font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 2px; overflow-wrap: anywhere; }

.foot {
  width: min(1120px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 2rem 0 2.5rem;
}
.foot p { margin: 0; color: var(--muted); font-size: 0.95rem; max-width: none; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .top nav { display: none; }
  .top { justify-content: space-between; }

  /* block layout so the pinned phone can travel the whole story */
  .story { display: block; }
  .hero-copy { padding-bottom: 1.5rem; }

  .step { min-height: 55vh; }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .spec > div { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .step.on .n { animation: none; }
  .btn, .step, .step .now, .step .was, .step .n { transition: none; }
}
