/* ListRider site, "Fill and Stop": clinical-clean. The hero image is the product's own job, a posting form
   filling itself and stopping at the button you click. Light paper, navy for "filled", coral for "yours"
   (the outline ListRider draws around a site's Publish button, and the rider in the logo). */
:root {
  --paper: #ffffff;
  --field: #f2f4f8;
  --line: #dde2ea;
  --ink: #0f1a2e;
  --ink-2: #1b2a4a;
  --slate: #4d5870;
  --navy: #1b2a4a;
  --coral: #e85a3c;
  --coral-deep: #c2412a;
  --red: #b4372b;

  --display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.33rem;
  --step-2: 1.77rem;
  --step-3: clamp(2rem, 3.4vw, 2.6rem);
  --step-4: clamp(2.6rem, 6.4vw, 4.9rem);

  --wrap: 1180px;
  --r: 18px;
  --shadow: 0 30px 60px -36px rgba(15, 26, 46, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: min(var(--wrap), 100%); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; padding: 10px 14px; background: var(--paper); color: var(--ink); font-weight: 700; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.label { font: 500 var(--step--1)/1.3 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--slate); margin: 0; }

/* ── Header ─────────────────────────────────────────── */
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 20px/1 var(--display); color: var(--navy); text-decoration: none; letter-spacing: -0.035em; }
.brand .r { color: var(--coral-deep); }
.brand img { width: 28px; height: 28px; }
.head-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.head-links a:not(.btn) { color: var(--slate); text-decoration: none; }
.head-links a:not(.btn):hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px;
  font: 700 15px/1 var(--body); text-decoration: none; background: var(--ink); color: var(--paper); border: 0; cursor: pointer;
  transition: background 160ms var(--ease), transform 160ms var(--ease);
}
.btn:hover { background: var(--ink-2); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { background: var(--field); color: var(--ink); }
.btn[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }
/* Phone-only and computer-only copies (after .btn so it wins). The extension installs on a computer,
   so phones get a different action. */
.m-only { display: none; }

/* ── Hero ───────────────────────────────────────────── */
.hero { padding-block: clamp(32px, 6vw, 80px) clamp(40px, 6vw, 72px); overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: var(--step-4); line-height: 0.96; font-weight: 700; margin-top: 20px; }
.yours { position: relative; display: inline-block; padding: 0 0.12em; }
.yours::after { content: ""; position: absolute; inset: 0.06em -0.04em -0.02em; border: 3px dashed var(--coral); border-radius: 12px; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--slate); max-width: 31em; margin: 28px 0 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.note { margin: 18px 0 0; font-size: var(--step--1); color: var(--slate); }

/* The hero form: complete in the markup; site.js replays it filling when motion is allowed. */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.form-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; background: var(--field); border-bottom: 1px solid var(--line); }
.form-top .label { font-size: 12px; }
.progress { font: 500 12px/1 var(--mono); color: var(--navy); }
.form-body { padding: 22px 22px 24px; display: grid; gap: 16px; }
.row { display: grid; gap: 6px; }
.row .k { font: 700 13px/1.2 var(--body); color: var(--slate); }
.input {
  min-height: 42px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px;
  font: 400 15px/1.4 var(--body); color: var(--ink); background: var(--paper);
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.input.done { border-color: color-mix(in srgb, var(--navy) 55%, var(--line)); background: color-mix(in srgb, var(--navy) 5%, var(--paper)); }
.input.area { min-height: 84px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.photos { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
.photos i { aspect-ratio: 1; border-radius: 4px; background: linear-gradient(160deg, #dde3ee 0 48%, #9fb0cc 48% 68%, #2c3f66 68%); transition: opacity 200ms; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px 22px; }
.form-foot .hint { font: 500 12px/1.4 var(--mono); color: var(--slate); }
.publish {
  font: 700 14px/1 var(--body); padding: 12px 20px; border-radius: 8px; background: var(--ink); color: var(--paper);
  outline: 3px dashed transparent; outline-offset: 5px; transition: outline-color 400ms var(--ease);
}
.form.ready .publish { outline-color: var(--coral); }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--navy); }
/* Before site.js starts the replay, hold the form empty so it doesn't flash filled first. */
.motion .form:not(.playing) [data-t] { color: transparent; border-color: var(--line); background: var(--paper); }
.motion .form:not(.playing) .photos i { opacity: 0; }

/* ── Sections ───────────────────────────────────────── */
.section { padding-block: clamp(80px, 11vw, 144px); }
.section + .section { padding-top: 0; }
.sec-head { max-width: 36em; display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: var(--step-3); line-height: 1.05; }
.sec-head p { margin: 0; color: var(--slate); }

.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(40px, 7vw, 112px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 20px; padding: 32px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); font: 500 14px/1.9 var(--mono); color: var(--slate); grid-row: span 3; }
.steps h3 { font-size: var(--step-2); line-height: 1.1; margin-bottom: 10px; }
.steps p { margin: 0; color: var(--slate); max-width: 34em; }
.steps li:last-child h3 span { box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--coral) 70%, transparent); }
.steps .shot-m { display: none; }
.shot { position: sticky; top: 32px; }
.shot figure { margin: 0; position: relative; aspect-ratio: 438 / 726; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--field); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 320ms var(--ease); }
.shot img.on { opacity: 1; }
.shot figcaption { font: 500 12px/1.4 var(--mono); color: var(--slate); margin-top: 12px; }

.route { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.route ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; font: 600 var(--step-1)/1.25 var(--display); letter-spacing: -0.02em; }
.route .soon ul { font-family: var(--body); font-weight: 400; font-size: var(--step-0); color: var(--slate); letter-spacing: 0; }
.arrow { align-self: center; font: 500 28px/1 var(--mono); color: var(--navy); padding-top: 24px; }

.rules { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; }
.box { width: 24px; height: 24px; border-radius: 6px; background: var(--navy); display: grid; place-items: center; margin-top: 3px; }
.box svg { width: 14px; height: 14px; }
.checks li:last-child .box { background: var(--paper); outline: 2.5px dashed var(--coral); outline-offset: 1px; }
.checks h3 { font-size: var(--step-1); line-height: 1.2; margin-bottom: 4px; }
.checks p { margin: 0; color: var(--slate); }
.rules figure { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 420px; justify-self: end; }

.status { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); }
.status h3 { font-size: var(--step-2); margin-bottom: 12px; }
.status p { margin: 0; color: var(--slate); max-width: 30em; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.chip { font: 500 13px/1 var(--mono); padding: 8px 10px; border-radius: 999px; background: var(--field); color: var(--ink); }
.chip::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; background: var(--slate); }
.chip.live::before { background: var(--navy); }
.chip.renew::before { background: var(--coral); }
.chip.down::before { background: var(--red); }

.beta { background: var(--field); border-top: 1px solid var(--line); padding-block: clamp(80px, 10vw, 128px); }
.beta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.beta h2 { font-size: var(--step-4); line-height: 0.95; font-weight: 700; }
.beta p { margin: 18px 0 0; color: var(--slate); max-width: 32em; }

/* ── Footer ─────────────────────────────────────────── */
.site-foot { font-size: 14px; color: var(--slate); padding-block: 36px 48px; border-top: 1px solid var(--line); }
.beta + .site-foot { border-top: 0; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-foot nav { display: flex; gap: 20px; }
.site-foot a { color: var(--slate); }
.fine { flex-basis: 100%; font-size: 13px; margin: 0; }

/* ── Legal pages ────────────────────────────────────── */
.doc { padding-block: 24px 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; font-weight: 700; }
.doc .meta { font: 500 13px/1.4 var(--mono); color: var(--slate); margin: 14px 0 36px; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; letter-spacing: -0.015em; }
.doc h3 { font-size: 18px; margin: 24px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { color: #24304a; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 700; background: var(--field); }
.doc .callout { background: var(--field); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 10px; padding: 16px 18px; }

/* ── Phone and tablet ───────────────────────────────── */
/* The phone gets its own layout: the form leads (it's the product) with the headline under it, steps carry their
   own screenshots instead of a sticky frame, and the install action becomes "copy the link for your computer". */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero .copy { order: 2; }
  .how, .rules, .status { grid-template-columns: minmax(0, 1fr); }
  .shot { display: none; }
  .steps .shot-m { display: block; grid-column: 2; margin-top: 20px; max-width: min(300px, 100%); border-radius: 14px; border: 1px solid var(--line); }
  .route { grid-template-columns: 1fr 1fr; }
  .arrow { display: none; }
  .rules figure { justify-self: start; max-width: 340px; }
  .beta .wrap { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .head-links { gap: 0; }
  .head-links a:not(.btn) { display: none; }
  .d-only { display: none !important; }
  .m-only { display: inline-flex; }
  p.m-only { display: block; }
  .hero { padding-top: 8px; }
  .form-body { padding: 16px; gap: 12px; }
  .form .area { min-height: 64px; }
  .photos { gap: 3px; }
  .form-foot { padding: 12px 16px 18px; }
  .form-foot .hint { display: none; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); padding: 26px 0; }
  .route { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .actions .btn { flex: 1 1 100%; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border-bottom: 0; padding: 4px 0; }
  .doc td:first-child { font-weight: 700; color: var(--ink); }
  .doc tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
