/* Botler marketing site — SPEC §47, §49–55.
 *
 * Hand-written, no framework. Token NAMES and values are copied from
 * `src/styles/tokens.css` rather than importing it, because this site is
 * static and ships independently of the Vue bundle (see the build note in
 * scripts/build-site.mjs).
 *
 * THE RULE ABOUT RED (§50, and the one this file got wrong before): --accent
 * appears on the primary button, the brand mark, the current nav item and the
 * focus ring. Nowhere else. It is not a bullet colour, not a link colour and
 * not a hover colour — a page with nineteen red dots on it has taught the
 * reader that red means nothing, so the one place it has to mean something
 * cannot get their attention.
 *
 * The other rule is that the robot carries the page. Photographs are large,
 * cropped to fill, and never sit inside a grey box inside a bordered card.
 */

:root {
  --bg: #ffffff;
  --surface: #f7f7f8;
  --surface-strong: #f1f1f3;
  --line: #e6e6e9;
  --line-strong: #c9cace;
  --ink: #0d0d0f;
  --dim: #5c5f66;
  --accent: #E5251B;
  --accent-ink: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 6px rgba(13, 13, 15, 0.07);
  --shadow-md: 0 14px 34px rgba(13, 13, 15, 0.10);
  --maxw: 1120px;
  --measure: 68ch;
  --pad: 24px;
  --font: -apple-system, "SF Pro Text", Inter, "Helvetica Neue", Arial, sans-serif;
  --dur: 220ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  color-scheme: light;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
  margin: 0 0 12px;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 3.2vw + 1.1rem, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.6vw + 1rem, 2rem); }
h3 { font-size: 1.14rem; }

p { margin: 0 0 14px; color: var(--ink); }

ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dt, dd { margin: 0; }

button { font: inherit; }

/* Numerals in prices, durations and rates line up in a column. */
.num { font-variant-numeric: tabular-nums; }

::selection {
  background: rgba(229, 37, 27, 0.15);
  color: var(--ink);
}

/* --- accessibility ------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 1000;
}

.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* --- layout shell ---------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px var(--pad);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-right: auto;
  min-height: 44px;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--accent);
  display: inline-block;
  flex: none;
}

.site-nav {
  display: flex;
  gap: 2px 16px;
  font-size: 0.9rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--dim);
  padding: 0 2px;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 transparent;
  transition: color var(--dur) var(--ease);
}

.site-nav a:hover { color: var(--ink); }

.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--accent);
}

.header-signin {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--dim);
  font-size: 0.9rem;
  white-space: nowrap;
}

.header-signin:hover { color: var(--ink); }
.header-book { flex: none; }

/* /app and /demo are reachable from every page: the demo sits in the nav, the
 * app in the right-hand pair. The TestFlight entry only exists when
 * site/links.json actually carries a URL. */
.site-nav .nav-demo,
.site-nav .nav-beta { color: var(--dim); }
.site-nav .nav-demo:hover,
.site-nav .nav-beta:hover { color: var(--ink); }
.site-nav .nav-beta { font-size: 0.82rem; }

/* The mobile menu. A <details> so it opens with no JavaScript at all. */
.nav-menu { display: none; }

.nav-menu > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}

.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary svg { width: 18px; height: 18px; }
.nav-menu[open] > summary { border-color: var(--ink); }

.nav-menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 6px var(--pad) 12px;
  display: flex;
  flex-direction: column;
}

.nav-menu-panel a {
  display: flex;
  align-items: center;
  min-height: 52px;
  color: var(--ink);
  font-size: 1.02rem;
  border-bottom: 1px solid var(--line);
}

.nav-menu-panel a:last-child { border-bottom: 0; }
.nav-menu-panel a[aria-current="page"] {
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--accent);
  padding-left: 12px;
}

main { display: block; }

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 88px;
  background: var(--surface);
}

.site-footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px var(--pad) 16px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.footer-brand p {
  flex-basis: 100%;
  color: var(--dim);
  font-size: 0.9rem;
  font-weight: 400;
  margin: 6px 0 0;
}

.footer-nav { display: flex; flex-direction: column; }

.footer-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--dim);
  font-size: 0.94rem;
}

.footer-nav a:hover { color: var(--ink); }

.footer-fine {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) 32px;
  color: var(--dim);
  font-size: 0.82rem;
}

/* --- buttons and links ------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover { box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover { border-color: var(--ink); }

.btn-large {
  min-height: 54px;
  padding: 0 28px;
  font-size: 1.02rem;
}

.btn-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: inset 0 -1px 0 var(--line-strong);
  transition: box-shadow var(--dur) var(--ease);
}

.text-link:hover { box-shadow: inset 0 -1px 0 var(--ink); }

/* Inside running prose a link is emphasis, not a button: it keeps the hairline
 * but drops the extra weight, so a sentence with four of them still reads as a
 * sentence. */
.lede .text-link,
.faq-item p .text-link,
.hero-sub .text-link { font-weight: inherit; }

.arrow {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform var(--dur) var(--ease);
}

.text-link:hover .arrow,
.task-row:hover .arrow { transform: translateX(3px); }

/* --- home hero ---------------------------------------------------------------- */

.hero {
  padding: 40px 0 24px;
  overflow: clip;
}

.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  gap: 0;
}

.hero-title {
  font-size: clamp(2.75rem, 6.4vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 18px;
}

.hero-sub {
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.25rem);
  color: var(--dim);
  max-width: 34ch;
  margin: 0 0 28px;
}

.hero-photo { position: relative; }

.hero-img {
  width: 100%;
  height: auto;
  /* The renders sit on a light studio ground, so shown as-is they are a grey
   * rectangle pasted onto a white page — the thing the brief calls a box.
   * Lifting the white point until that ground reaches paper white and then
   * multiplying it into the page dissolves the frame while KEEPING the contact
   * shadow under the feet, which is what makes the robot read as standing on
   * the page. The 4% edge fade takes the last of the rectangle away. No panel,
   * no border, no padding. */
  filter: brightness(1.085);
  mix-blend-mode: multiply;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-composite: intersect;
}

.hero-claim {
  margin: 22px 0 0;
  font-size: 1.05rem;
  color: var(--ink);
  max-width: 40ch;
  font-weight: 600;
  line-height: 1.45;
}

@media (prefers-reduced-motion: no-preference) {
  /* The page's one authored moment: the robot settles onto the ground once. */
  .hero-photo { animation: hero-settle 600ms var(--ease-out-expo) both; }
}

@keyframes hero-settle {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 900px) {
  .hero { padding: 56px 0 40px; }
  .hero-inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 40px;
    align-items: start;
  }
  .hero-title { grid-column: 1; grid-row: 1; }
  .hero-sub { grid-column: 1; grid-row: 2; }
  .hero-actions { grid-column: 1; grid-row: 3; }
  .hero-photo {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
    /* Allowed past the container edge, never past the viewport. */
    margin-right: calc(-1 * clamp(0px, (100vw - var(--maxw)) / 2 - 12px, 88px));
    margin-block: -24px;
  }
}

/* --- page heroes ---------------------------------------------------------------- */

.page-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px var(--pad) 8px;
}

.page-hero h1 { margin-bottom: 12px; }

.page-hero .hero-sub {
  margin: 0 0 20px;
  max-width: 58ch;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* --- sections ---------------------------------------------------------------- */

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px var(--pad);
}

.section-narrow > *,
.section-close > * { max-width: var(--measure); }

.section-close { padding-top: 64px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.section-head h2 { margin: 0; }

.section-more { margin: 28px 0 0; }
.section-more .text-link,
.section-head .text-link { min-height: 44px; }

.lede {
  font-size: 1.06rem;
  color: var(--dim);
  max-width: var(--measure);
}

.fine-print {
  color: var(--dim);
  font-size: 0.85rem;
  max-width: 74ch;
  margin-top: 20px;
}

/* A full-bleed band of surface, not a rounded card pretending to be one. */
.band {
  background: var(--surface);
  border-block: 1px solid var(--line);
  margin-top: 32px;
}

.band-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px var(--pad);
}

.figure-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}

.figure-value {
  font-size: clamp(1.35rem, 1.4vw + 0.9rem, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 6px;
}

.figure-label {
  margin: 0;
  color: var(--dim);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* --- how-it-works steps ------------------------------------------------------ */

.steps {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps li { max-width: 42ch; }

.step-n {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--dim); margin: 0; }
.steps-detailed p { max-width: 40ch; }

/* --- robot cards -------------------------------------------------------------- */

.robot-grid {
  display: grid;
  gap: 36px 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.robot-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.robot-card-photo {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}

.robot-card-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 420ms var(--ease);
}

.robot-card:hover .robot-card-photo img { transform: scale(1.03); }

.robot-card h3 { margin: 0; font-size: 1.3rem; }
.robot-card h3 a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  box-shadow: inset 0 -1px 0 transparent;
}
.robot-card h3 a:hover { box-shadow: inset 0 -1px 0 var(--ink); }

.robot-card-role {
  color: var(--dim);
  font-size: 0.92rem;
  margin: 0 0 12px;
  /* Two lines whether the manufacturer plus tagline needs them or not, so the
   * price, the arrival time and the Book button line up across a row instead
   * of stepping down wherever a name happens to be long. */
  min-height: 3.2em;
}

.robot-card-price {
  margin: 0 0 2px;
  font-weight: 600;
}

.robot-card-arrival {
  color: var(--dim);
  font-size: 0.92rem;
  margin: 0 0 16px;
}

.robot-card > .btn { margin-top: auto; }
.robot-card > .robot-card-photo { align-self: stretch; }

/* --- task list ------------------------------------------------------------------ */

.task-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  border-top: 1px solid var(--line);
}

.task-list-lg { grid-template-columns: 1fr; }

.task-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 18px;
  min-height: 76px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease);
}

.task-row-name {
  grid-column: 1;
  font-weight: 600;
  font-size: 1.1rem;
}

.task-row-blurb {
  grid-column: 1;
  grid-row: 2;
  color: var(--dim);
  font-size: 0.94rem;
}

.task-row .arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 20px;
  height: 20px;
  color: var(--line-strong);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.task-row:hover .arrow { color: var(--ink); }

.task-row-robots {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  gap: 6px;
}

.task-list-lg .task-row { grid-template-columns: minmax(0, 1fr) auto auto; }
.task-list-lg .task-row-robots { grid-column: 2; }
.task-list-lg .task-row .arrow { grid-column: 3; }

.thumb {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  flex: none;
}

/* A whole humanoid inside a 64px square is a smudge. The crop zooms to head
 * and shoulders, which is the part that tells one robot from another. */
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2.4);
  transform-origin: 50% 22%;
  filter: brightness(1.085);
  mix-blend-mode: multiply;
}

/* --- robot detail ---------------------------------------------------------------- */

.robot-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px var(--pad) 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 48px;
  align-items: center;
}

.robot-hero-photo { min-width: 0; }

.robot-hero-img {
  width: 100%;
  max-width: none;
  height: auto;
  filter: brightness(1.085);
  mix-blend-mode: multiply;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-composite: intersect;
}

.robot-hero-body h1 { margin-bottom: 4px; }

.robot-hero-meta {
  color: var(--dim);
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.tagline {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 14px;
  max-width: 30ch;
}

.robot-hero-claim {
  font-weight: 600;
  font-size: 1.02rem;
  max-width: 46ch;
  margin: 18px 0 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.robot-hero-body .fine-print { margin-top: 16px; }

.two-col {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* A list marker that is a drawn rule, not an accent-coloured dot. */
.plain-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  max-width: 62ch;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 14px;
  height: 1.5px;
  background: var(--line-strong);
}

.plain-list-limits li { color: var(--dim); }

.disclosure {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.disclosure > summary,
.faq-item > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 56px;
  cursor: pointer;
  font-weight: 600;
}

.disclosure > summary::-webkit-details-marker,
.faq-item > summary::-webkit-details-marker { display: none; }

.disclosure > summary::after,
.faq-item > summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
}

.disclosure[open] > summary::after,
.faq-item[open] > summary::after {
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat;
}

.disclosure > .plain-list { padding-bottom: 16px; }

/* --- timeline ---------------------------------------------------------------------- */

.timeline {
  position: relative;
  margin-left: 6px;
  padding-left: 28px;
  max-width: 60ch;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 22px;
  width: 1px;
  background: var(--line);
}

.timeline li { position: relative; padding-bottom: 22px; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--line-strong);
}

.timeline h3 { font-size: 1.02rem; margin: 0 0 2px; }
.timeline p { color: var(--dim); margin: 0; }

/* --- app screenshots ---------------------------------------------------------------- */

.phones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  max-width: 620px;
  margin-top: 28px;
}

.phone { margin: 0; }

.phone img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(13, 13, 15, 0.13);
}

.phone figcaption {
  margin-top: 14px;
  color: var(--dim);
  font-size: 0.9rem;
}

/* --- safety --------------------------------------------------------------------------- */

.pillar-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 28px;
}

.pillar-icon {
  width: 28px;
  height: 28px;
  color: var(--ink);
  margin-bottom: 16px;
}

.pillar h3 { margin-bottom: 8px; max-width: 20ch; }
.pillar p { color: var(--dim); margin: 0; font-size: 0.95rem; }

.stop-feature {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px var(--pad);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 48px;
  align-items: center;
}

.stop-img {
  width: 100%;
  height: auto;
  filter: brightness(1.085);
  mix-blend-mode: multiply;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-composite: intersect;
}

.stop-feature-body p { color: var(--dim); max-width: 52ch; }
.stop-feature-body .lede { color: var(--dim); }

/* --- pricing ----------------------------------------------------------------------------- */

.worked-example {
  max-width: 480px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px 28px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.worked-example h3 { margin-bottom: 16px; }

.quote-lines > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.quote-lines dt { color: var(--dim); }
.quote-lines dd { font-weight: 600; }

.quote-lines .quote-total {
  border-bottom: 0;
  padding-top: 14px;
  font-size: 1.15rem;
}

.quote-lines .quote-total dt { color: var(--ink); font-weight: 700; }
.quote-lines .quote-total dd { font-weight: 700; }

.worked-example-note {
  color: var(--dim);
  font-size: 0.9rem;
  margin: 16px 0 20px;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.rate-table th[scope="col"] {
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--dim);
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
}

.rate-table th[scope="col"]:last-child { width: 46%; }

.rate-table tbody tr { border-bottom: 1px solid var(--line); }

.rate-table th[scope="row"] {
  text-align: left;
  font-weight: 400;
  padding: 18px 16px 18px 0;
  vertical-align: middle;
}

.rate-table td {
  padding: 18px 0;
  vertical-align: middle;
}

.rate-model { display: block; font-weight: 700; font-size: 1.05rem; }
.rate-manufacturer { display: block; color: var(--dim); font-size: 0.88rem; }

.rate-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rate-price { font-weight: 700; white-space: nowrap; }

/* --- service areas ---------------------------------------------------------------------- */

.area-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.area h2, .area h3 { font-size: 1.2rem; margin-bottom: 8px; }
/* The ranges lead and the suburb examples follow, because the ranges are the
   coverage and the suburbs are illustrations of it. */
.area-postcodes { color: var(--dim); font-size: 0.88rem; margin: 0 0 6px; font-variant-numeric: tabular-nums; }
.area-suburbs { margin: 0; }

/* --- the on-page service-area check ------------------------------------------------------- */

.area-check { max-width: 520px; margin-top: 24px; }

.area-check label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.area-check-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.area-check input {
  flex: 1 1 200px;
  min-width: 0;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font: inherit;
  color: var(--ink);
}

.area-check input::placeholder { color: var(--dim); }
.area-check input:hover { border-color: var(--ink); }
.area-check .btn { flex: none; }

.area-result {
  margin: 16px 0 0;
  min-height: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.area-result:empty { margin: 0; }
.area-result.is-hint,
.area-result.is-no { color: var(--dim); }
.area-result.is-yes { color: var(--ink); font-weight: 600; }

/* --- the waitlist ----------------------------------------------------------------------
 *
 * The same controls as the area check above it, one notch quieter: a rule and a
 * heading instead of a card, and a ghost button rather than a second red one in
 * the same eyeline. Red is the "Check my area" button in this section (§50) and
 * a page cannot have two primary actions competing for the same glance.
 */

.waitlist-block {
  max-width: 520px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.waitlist-block h3 { margin-bottom: 6px; }

.waitlist-block > p {
  margin: 0 0 4px;
  color: var(--dim);
  max-width: 46ch;
}

.waitlist { max-width: 520px; margin-top: 16px; }

.waitlist label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.waitlist-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.waitlist-row input {
  flex: 1 1 200px;
  min-width: 0;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font: inherit;
  color: var(--ink);
}

.waitlist-row input::placeholder { color: var(--dim); }
.waitlist-row input:hover { border-color: var(--ink); }
.waitlist-row .btn { flex: none; }
.waitlist-row .btn[disabled] { opacity: 0.55; cursor: default; transform: none; }

/* Off-screen rather than display:none — a bot reading the DOM fills what it can
   see in the markup, and a hidden field it skips is a hidden field that catches
   nothing. `aria-hidden` and tabindex keep it away from people. */
.waitlist-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist-result {
  margin: 14px 0 0;
  min-height: 0;
}

.waitlist-result:empty { margin: 0; }
.waitlist-result.is-no { color: var(--dim); }
.waitlist-result.is-yes { color: var(--ink); font-weight: 600; }

.waitlist-fine {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 0.88rem;
}

@media (max-width: 560px) {
  /* Stacking the row turns the main axis vertical, which makes the inputs'
     `flex: 1 1 200px` a 200px HEIGHT rather than a 200px width — three fields
     the size of a text area. The basis has to go back to auto whenever the
     direction changes. */
  .waitlist-row { flex-direction: column; }
  .waitlist-row input { flex: 0 0 auto; width: 100%; }
  .waitlist-row .btn { width: 100%; }
}

/* --- faq ------------------------------------------------------------------------------- */

.faq-list {
  max-width: 74ch;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.faq-item > summary { font-size: 1.06rem; padding: 10px 0; }
.faq-item > summary > span { max-width: 52ch; }
.faq-item > p { color: var(--dim); margin: 0 0 18px; max-width: 66ch; }

/* --- responsive ---------------------------------------------------------------------- */

@media (min-width: 900px) {
  .robot-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); padding: 48px var(--pad) 32px; }
  .stop-feature { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); padding: 48px var(--pad); }
}

/* The bar carries eight or nine destinations plus two actions. Below this it
 * stops fitting honestly, so it becomes one 44px menu button rather than two
 * wrapped rows of 30px links. */
@media (max-width: 1199px) {
  .site-nav,
  .header-signin { display: none; }
  .nav-menu { display: block; }
}

@media (max-width: 899px) {
  .site-header-inner { gap: 12px; }
  .figure-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .robot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .pillar-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .site-footer-inner { grid-template-columns: 1fr 1fr; }
  .task-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --pad: 18px; }
  .hero { padding: 24px 0 16px; }
  .hero-title { margin-bottom: 14px; }
  .hero-sub { margin-bottom: 20px; max-width: 40ch; }
  .hero-photo { margin: 4px -10px 18px; }
  .hero-actions .cta-row { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .page-hero { padding: 36px var(--pad) 4px; }
  .section { padding: 40px var(--pad); }
  .band-inner { padding: 36px var(--pad); }
  .robot-grid { grid-template-columns: 1fr; gap: 40px; }
  .robot-card-photo img { aspect-ratio: 5 / 4; }
  .area-list { grid-template-columns: 1fr; }
  .pillar-row { grid-template-columns: 1fr; gap: 30px; }
  .site-footer-inner { grid-template-columns: 1fr; padding: 40px var(--pad) 12px; }
  .phones { gap: 18px; }
  .task-list-lg .task-row { grid-template-columns: minmax(0, 1fr) auto; }
  .task-list-lg .task-row-robots { grid-row: 3; grid-column: 1 / 3; margin-top: 10px; }
  .task-list-lg .task-row .arrow { grid-row: 1 / 3; grid-column: 2; }
  .thumb { width: 48px; height: 48px; }
}

@media (max-width: 640px) {
  .figure-row { grid-template-columns: 1fr; gap: 22px; }
  .rate-table,
  .rate-table tbody,
  .rate-table tr,
  .rate-table th,
  .rate-table td { display: block; width: auto; }
  .rate-table thead { display: none; }
  .rate-table tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .rate-table th[scope="row"],
  .rate-table td { padding: 0; border-bottom: 0; }
  .rate-cell { margin-top: 12px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .worked-example { padding: 22px 20px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .robot-card-photo img, .task-row, .arrow, .text-link { transition: none; }
  .btn:hover { transform: none; }
  .robot-card:hover .robot-card-photo img { transform: none; }
}
