/* Shared visual system for the public pages.
   Palette from docs/03-brand.md: navy #16202E, orange #F26A21.
   Orange on white is about 3:1, so small text and links on light
   surfaces use #C2410C (about 5.2:1). Orange on navy is about 5.4:1.
   Button labels are navy on orange, about 5.4:1. */

:root {
  --ink: #16202E;
  --body: #39424a;
  --mut: #5e6a72;
  --faint: #5c6770;
  --ground: #f3f0ea;
  --band: #ffffff;
  --card: #ffffff;
  --line: #e3ddd4;
  --accent: #F26A21;
  --link: #C2410C;
  --soft: #f7f4ef;
  --ok: #1b6b45;
  --ok-bg: #e5f4ec;
  --danger: #9d1c14;
  --navy: #16202E;
  --hero-text: #f7fafb;
  --hero-muted: #d5dee6;
  color-scheme: light;
  --header-h: 84px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f3f6f8;
    --body: #c9d2d8;
    --mut: #b4bec6;
    --faint: #9aa6ae;
    --ground: #0e1216;
    --band: #161c22;
    --card: #1b2229;
    --line: #2d3740;
    --link: #F26A21;
    --soft: #12181d;
    --ok: #8fd0ae;
    --ok-bg: #173028;
    --danger: #ffb4a8;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --ink: #f3f6f8;
  --body: #c9d2d8;
  --mut: #b4bec6;
  --faint: #9aa6ae;
  --ground: #0e1216;
  --band: #161c22;
  --card: #1b2229;
  --line: #2d3740;
  --link: #F26A21;
  --soft: #12181d;
  --ok: #8fd0ae;
  --ok-bg: #173028;
  --danger: #ffb4a8;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--body);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; }
::selection { background: var(--accent); color: var(--navy); }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 40;
  background: var(--accent);
  color: var(--navy);
  font-family: Archivo, sans-serif;
  font-weight: 800;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 4px;
}
.skip:focus { top: 12px; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 22px; }
body.narrow .wrap { max-width: 680px; }
body.doc .wrap { max-width: 760px; }

h1, h2, h3 {
  font-family: Archivo, "IBM Plex Sans", sans-serif;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-weight: 800;
  letter-spacing: -0.042em;
  line-height: 0.94;
}
h2 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
p { margin: 0 0 14px; }
strong { color: var(--ink); font-weight: 600; }
a { color: var(--link); overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }

.lab {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mut);
  font-weight: 600;
}

header {
  background: var(--navy);
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav, header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding-top: 10px;
  padding-bottom: 10px;
}
header > .wrap { width: 100%; }
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  text-decoration: none;
}
.brand span { color: var(--accent); }
.brand img,
footer .logo {
  display: block;
  width: 64px;
  height: 64px;
  max-width: none;
}
footer .logo {
  width: 96px;
  height: 96px;
  margin: 0 0 12px;
}
.nav .r, header .r {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}
.nav .r a {
  text-decoration: none;
  color: var(--hero-muted);
  font-weight: 600;
}
.nav .r a.ph, header a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-family: Archivo, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}
/* Home nav is the light bar, so the white-field logo and the links read on white. Form pages keep the navy bar. */
body.home header {
  background: #fff;
}
body.home .nav .r a,
body.home .nav .r a.ph,
body.home header a[href^="tel:"] {
  color: var(--navy);
}
.nav .r a.cta, .btn, button {
  background: var(--accent);
  color: var(--navy);
  font-family: Archivo, sans-serif;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  border-radius: 4px;
  line-height: 1.15;
  cursor: pointer;
}
.nav .r a.cta { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; font-size: 0.95rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.08rem;
  padding: 16px 22px;
  min-height: 52px;
}
.btn.sm { font-size: 0.98rem; padding: 12px 16px; min-height: 48px; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
button {
  width: 100%;
  padding: 16px 18px;
  font-size: 1.08rem;
  min-height: 54px;
}
button:hover, .btn:hover, .nav .r a.cta:hover { background: #de5712; }
.btn.ghost:hover { background: rgba(22, 32, 46, 0.06); }
button[disabled] { opacity: 0.62; cursor: default; }

:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
}
.btn:focus-visible, button:focus-visible, .nav .r a.cta:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #fff;
}
.hero :focus-visible, .mast :focus-visible, .closer :focus-visible, .tier.pick :focus-visible, .bar :focus-visible, header :focus-visible {
  outline-color: #fff;
}

/* Home */
.hero, .mast {
  background: var(--navy);
  color: var(--hero-muted);
}
.hero { padding: 48px 0 42px; }
.mast { padding: 36px 0 32px; }
.hero .lab {
  font-family: Archivo, sans-serif;
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--accent);
  line-height: 1.25;
}
.mast .lab { color: var(--accent); }
.hero h1, .mast h1 {
  color: var(--hero-text);
  font-size: clamp(2.5rem, 5.1vw, 3.55rem);
  margin: 12px 0 16px;
}
.mast h1 { font-size: clamp(2.15rem, 4.6vw, 3rem); line-height: 1.02; margin-top: 10px; }
.hero .sub, .mast .sub, .mast .dek {
  color: var(--hero-muted);
  font-size: 1.12rem;
  line-height: 1.55;
  max-width: 44rem;
  margin: 0 0 26px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .reassure {
  margin: 12px 0 0;
  max-width: 36rem;
  color: var(--hero-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.hero .btn { font-size: 1.12rem; padding: 18px 22px; min-height: 56px; }
.hero .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
}
.hero .btn.ghost:hover { background: rgba(255, 255, 255, 0.08); }
.demo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin: 0 0 8px;
  color: var(--accent);
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: clamp(2.15rem, 6.2vw, 3.35rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-decoration: none;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 2px;
}
.demo-note {
  margin-top: 22px;
  max-width: 42rem;
  color: var(--hero-muted);
  font-size: 1rem;
}
.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 22px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.98rem;
  color: var(--hero-muted);
}
.proof b {
  display: block;
  color: #fff;
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 1.02rem;
  margin-bottom: 2px;
}

.home section { padding: 64px 0; border-top: 0; }
.home section.alt { background: var(--band); }
.home section.hero { padding: 52px 0 44px; }
.home section.closer { background: var(--navy); padding: 72px 0 28px; }
.home h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.home h2::after, .narrow h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  background: var(--accent);
  margin-top: 12px;
}
.dek { color: var(--mut); font-size: 1.05rem; margin: 10px 0 22px; max-width: 42rem; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 8px; }
.card, .tier, details, form, .what {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.card { padding: 24px 22px 22px; border-top: 4px solid var(--navy); }
.two .card:nth-child(2) { border-top-color: var(--accent); }
.card .n, .what .n {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--link);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.card h3 { font-size: 1.28rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.card p, .tier .ds { font-size: 1rem; color: var(--mut); margin: 0; }

ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
ol.steps li {
  counter-increment: s;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px 20px 18px 62px;
  position: relative;
}
ol.steps li::before {
  content: counter(s);
  position: absolute;
  left: 16px;
  top: 18px;
  font-family: Archivo, sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  background: var(--accent);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
ol.steps b { display: block; font-family: Archivo, sans-serif; font-size: 1.08rem; color: var(--ink); margin-bottom: 4px; }
ol.steps span { font-size: 1rem; color: var(--body); }

#pricing, #how, #faq, #booking, #main { scroll-margin-top: 100px; }
.setup {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 8px solid var(--accent);
  border-radius: 4px;
  padding: 20px 22px;
  margin-bottom: 16px;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.setup .n {
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--accent);
  background: var(--navy);
  padding: 10px 12px 12px;
  border-radius: 4px;
}
.setup p { margin: 0; flex: 1; min-width: 220px; font-size: 1rem; color: var(--body); }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: stretch; }
.tier { padding: 22px; display: flex; flex-direction: column; }
.tier .btn { width: 100%; margin-top: auto; white-space: normal; }
.tier.pick {
  background: var(--navy);
  border: 2px solid var(--accent);
  color: var(--hero-muted);
  position: relative;
  padding-top: 28px;
}
.badge {
  position: absolute;
  top: -12px;
  left: 18px;
  background: var(--accent);
  color: var(--navy);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}
.tier .hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.tier .nm { flex: 1 1 8rem; min-width: 0; font-family: Archivo, sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.tier .pr {
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 2.35rem;
  color: var(--link);
  letter-spacing: -0.04em;
  line-height: 0.9;
  white-space: nowrap;
}
.tier .pr small { font-size: 0.95rem; font-weight: 700; color: var(--mut); }
.tier ul { margin: 14px 0 18px; padding-left: 18px; font-size: 0.98rem; flex: 1; color: var(--body); }
.tier li { margin-bottom: 6px; }
.tier.pick .nm, .tier.pick li { color: var(--hero-text); }
.tier.pick .ds, .tier.pick .pr small { color: var(--hero-muted); }
.tier.pick .pr { color: var(--accent); font-size: 2.7rem; }
.tier.pick .btn.ghost { color: #fff; border-color: #fff; }
.fine { font-size: 0.98rem; color: var(--mut); }
.two + .fine { margin-top: 16px; }
#pricing .cta-row { margin-top: 16px; }
#pricing .fine { margin-top: 16px; }

.soon {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  background: var(--accent);
  padding: 4px 8px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 8px;
}
.panel {
  background: var(--navy);
  border-radius: 4px;
  border-top: 4px solid var(--accent);
  padding: 32px 28px;
}
.panel h2, .final h2 { color: #fff; }
.panel h2::after, .final h2::after { background: var(--accent); }
.panel .dek { color: var(--hero-muted); }
.panel .cl { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 16px; margin-top: 16px; }
.panel .cl:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.panel .q { font-family: Archivo, sans-serif; font-weight: 800; color: #fff; font-size: 1.08rem; display: block; margin-bottom: 6px; letter-spacing: -0.02em; }
.panel .src { font-family: "IBM Plex Mono", monospace; font-size: 0.82rem; color: var(--hero-muted); display: block; margin-top: 8px; }
.panel p { color: var(--hero-muted); font-size: 1rem; margin: 0; }

#faq .stack { margin-top: 8px; }
details { margin-bottom: 10px; padding: 14px 18px; }
summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.05rem; padding: 12px 4px; min-height: 48px; }
details p { margin: 10px 0 0; color: var(--body); font-size: 1rem; }

.closer {
  background: var(--navy);
  padding: 72px 0 28px;
}
.final { background: transparent; border-radius: 0; padding: 0; text-align: left; }
.final h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.final p { color: var(--hero-muted); font-size: 1.08rem; max-width: 36rem; margin: 0 0 22px; }
.final .fine, .final .fine a { color: var(--hero-muted); }
.final .fine { font-size: 1rem; margin: 16px 0 0; }
.final .fine a { color: var(--accent); font-weight: 700; }

footer { padding: 28px 0 40px; color: var(--faint); font-size: 0.9rem; line-height: 1.7; }
footer a { color: var(--mut); }
footer strong { color: var(--ink); }
footer .social { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 8px; }
footer .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-weight: 600;
}
.closer footer, .closer footer a, .closer footer strong { color: var(--hero-muted); }
.closer footer a { text-decoration: underline; text-underline-offset: 2px; }
.home footer { padding-bottom: 48px; }

.bar { display: none; }

/* Scan and thank-you */
main { padding: 28px 0 12px; }
.what { padding: 22px; margin-bottom: 18px; }
.what h2 { font-size: 1.2rem; margin-bottom: 12px; }
.what ul { margin: 0; padding-left: 20px; }
.what li { margin-bottom: 8px; }
form { padding: 22px; }
form h2 { font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.narrow form h2::after, .narrow #done h2::after { content: none; display: none; }
form .why { color: var(--mut); font-size: 0.98rem; margin: 0 0 16px; }
label { display: block; margin-bottom: 14px; font-size: 0.95rem; font-weight: 600; color: var(--ink); }
input, select {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  background: var(--soft);
  color: var(--ink);
  font-weight: 400;
}
input:focus, select:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
label.sms-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--body);
  margin: 4px 0 16px;
}
label.sms-consent input {
  width: 1.5rem;
  height: 1.5rem;
  min-height: 0;
  margin: 3px 0 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--accent);
}
/* "I don't have a website". The whole row is the tap target, at least 44px tall. */
label.no-site {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  min-height: 44px;
  margin: -6px 0 14px;
  padding: 4px 0;
  font-weight: 400;
  cursor: pointer;
}
label.no-site input {
  width: 1.5rem;
  height: 1.5rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--accent);
  cursor: pointer;
}
label.no-site input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
input:disabled { opacity: 0.55; cursor: not-allowed; }
.note { font-size: 0.95rem; color: var(--mut); text-align: left; margin: 14px 0 0; line-height: 1.55; }
/* Honeypot. Off screen and clipped, and aria-hidden takes it out of the accessibility tree. */
.hp {
  position: absolute;
  left: -10000px;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}
.hp label,
.hp input {
  display: block;
  width: 1px;
  height: 1px;
  min-height: 0;
  max-height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1px;
  line-height: 1;
  overflow: hidden;
}
.err { display: none; font-size: 0.95rem; color: var(--danger); margin: 12px 0 0; line-height: 1.5; }
#done { display: none; background: var(--ok-bg); border: 1px solid var(--ok); border-radius: 4px; padding: 24px; }
#done h2 { color: var(--ok); font-size: 1.45rem; letter-spacing: -0.02em; text-transform: none; margin-bottom: 8px; }
#done p { margin: 0 0 10px; }
#done p:last-child { margin-bottom: 0; }
#done a.plans { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.trust { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.98rem; color: var(--mut); }
.trust strong { color: var(--ink); }
.narrow footer { padding-bottom: 36px; }

/* Legal pages */
body.doc { padding: 0 0 56px; }
.doc .page {
  width: min(760px, calc(100% - 32px));
  margin: 28px auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.doc .page .brand {
  display: block;
  background: var(--navy);
  color: #fff;
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  padding: 16px 28px;
  margin: 0;
  border-bottom: 3px solid var(--accent);
}
.doc .page .brand a { display: inline-flex; align-items: center; color: #fff; text-decoration: none; }
.doc .page .brand span { color: var(--accent); }
.doc .page > h1,
.doc .page > .meta,
.doc .page > h2,
.doc .page > p,
.doc .page > ul { margin-left: 28px; margin-right: 28px; }
.doc h1 {
  font-size: clamp(2rem, 4vw, 2.55rem);
  line-height: 1.05;
  margin-top: 26px;
  margin-bottom: 8px;
}
.doc .meta { color: var(--mut); font-size: 0.95rem; margin-bottom: 22px; }
.doc h2 { font-size: 1.28rem; margin: 28px 0 10px; }
.doc h3 { font-size: 1.05rem; margin: 22px 0 6px; color: var(--ink); }
.doc p, .doc li { margin-bottom: 10px; }
.doc ul { padding-left: 18px; }
.doc strong { color: var(--ink); }
.doc .sub { color: var(--mut); margin-bottom: 28px; }
.doc .box {
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  padding: 16px 18px;
  margin: 16px 0;
}
.doc .box p:first-child { margin-top: 0; }
.doc .box p:last-child { margin-bottom: 0; }
.doc .quote { font-style: italic; color: var(--ink); }
.doc code { background: var(--soft); padding: 2px 6px; border-radius: 4px; font-size: 0.92em; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { background: var(--soft); font-weight: 600; color: var(--ink); }
.doc footer { border-top: 1px solid var(--line); margin-top: 36px; padding: 22px 0 8px; }

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .brand img { width: 48px; height: 48px; }
  footer .logo { width: 72px; height: 72px; }
  .nav .r a.ph, .nav .r a.pr { display: none; }
  .home section { padding: 48px 0; }
  .home section.hero { padding: 18px 0 8px; }
  .home section.closer { padding: 48px 0 16px; }
  .hero .lab { font-size: 1.05rem; line-height: 1.2; }
  .hero h1 { font-size: clamp(2.15rem, 9.4vw, 2.7rem); margin-bottom: 10px; }
  .hero .sub { font-size: 1.05rem; line-height: 1.45; margin-bottom: 14px; }
  .hero .demo-note { margin-top: 8px; }
  .hero .reassure { margin-top: 10px; }
  .demo { font-size: clamp(1.85rem, 8.2vw, 2.35rem); }
  .closer { padding-top: 0; }
  .proof { grid-template-columns: 1fr; gap: 12px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn, .setup .btn { width: 100%; }
  .hero .btn.ghost { width: 100%; }
  .setup { align-items: stretch; }
  .closer { padding-top: 48px; }
  .panel { padding: 24px 18px; }
  .doc .page > h1,
  .doc .page > .meta,
  .doc .page > h2,
  .doc .page > p,
  .doc .page > ul,
  .doc .page > .box,
  .doc .page > table { margin-left: 18px; margin-right: 18px; }
  .doc ul, .doc .page > ul { margin-left: 36px; }
  .doc table { display: block; overflow-x: auto; }
  /* Bar height is the 3px rule, 10px padding, and a 48px control, plus the home-indicator inset. */
  html {
    scroll-padding-bottom: calc(71px + env(safe-area-inset-bottom));
  }
  body.home {
    padding-bottom: calc(71px + env(safe-area-inset-bottom));
  }
  .bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    background: var(--navy);
    border-top: 3px solid var(--accent);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    gap: 12px;
    align-items: center;
  }
  .bar .btn { flex: 1; text-align: center; padding: 13px 12px; min-height: 48px; font-size: 1rem; }
  .bar .call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 48px;
    padding: 8px 4px;
    color: #fff;
    text-decoration: none;
    font-family: Archivo, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }
  .narrow footer { padding-bottom: 108px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .wrap, .mast .wrap { animation: rise 0.45s ease both; }
  .btn, button, .demo, .nav .r a.cta {
    transition: background-color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
  }
  .btn:hover, button:hover, .demo:hover, .nav .r a.cta:hover { transform: translateY(-2px); }
  button[disabled]:hover { transform: none; }
}
/* Industry picker, step strip, options, clips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
button.chip {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  min-height: 44px;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 800;
}
button.chip:hover { background: var(--soft); transform: none; }
button.chip[aria-pressed="true"],
button.chip[aria-pressed="true"]:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
html.js .industry { display: none; }
html.js .industry.is-on { display: block; }
.industry {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 8px solid var(--accent);
  border-radius: 4px;
  padding: 20px 20px 16px;
  margin-bottom: 12px;
}
.industry h3 { font-size: 1.45rem; letter-spacing: -0.03em; margin-bottom: 8px; }
.industry .blurb { margin: 0; color: var(--body); }
.snippet { display: grid; gap: 10px; margin-top: 14px; }
.snippet p { margin: 0; padding: 12px 14px; border-radius: 4px; background: var(--soft); color: var(--body); }
.snippet b { font-family: Archivo, sans-serif; font-weight: 800; color: var(--ink); }
.snippet .sally-line { background: var(--navy); color: var(--hero-muted); }
.snippet .sally-line b { color: var(--accent); }
.industry .fine { margin-top: 12px; }
.industry .fine a { display: inline-flex; align-items: center; min-height: 44px; }
ol.strip, .bad {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
ol.strip li, .bad .card { min-height: 100%; }
ol.strip li {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 4px;
  padding: 16px 16px 18px;
}
ol.strip b { display: block; font-family: Archivo, sans-serif; color: var(--ink); font-size: 1.2rem; margin-bottom: 6px; }
ol.strip span { color: var(--body); font-size: 1rem; }
.fourth {
  background: var(--navy);
  color: var(--hero-muted);
  border-radius: 4px;
  border-top: 4px solid var(--accent);
  padding: 22px 20px;
  margin: 4px 0 20px;
}
.fourth .n {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.fourth h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2rem); letter-spacing: -0.03em; margin-bottom: 8px; }
.fourth p { margin: 0; color: var(--hero-muted); }
section.hear { background: var(--navy); color: var(--hero-muted); }
section.hear h2 { color: #fff; }
section.hear .dek { color: var(--hero-muted); }
section.hear .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
}
section.hear .btn.ghost:hover { background: rgba(255, 255, 255, 0.08); }
.clips { margin-top: 18px; }
.clips audio { width: min(100%, 520px); margin: 8px 0 12px; }
.clip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
#built, #steps, #options, #hear { scroll-margin-top: 100px; }
@media (min-width: 800px) {
  ol.strip, .bad { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  html.js .industry.is-on { animation: rise 0.35s ease both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
