/* WashProof marketing site. Tokens mirror the app (KTS-Washlist frontend/tailwind.config.ts); see ../DESIGN.md. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #F3F2EE;
  --surface: #FFFFFF;
  --row-alt: #FAFAF8;
  --border: #C8C8C2;
  --line: #DDDCD4;
  --ink: #1A1A1A;
  --sub: #55554F;
  --label: #6B6B6B;
  --accent: #1B4FD8;
  --accent-hover: #1743B8;
  --accent-light: #EBF0FF;
  --accent-bright: #8FB3FF;
  --green: #22C55E; --green-soft: #D1FAE5; --green-ink: #065F46; --green-wash: #F6FEF9;
  --yellow-soft: #FEF3C7; --yellow-ink: #92400E;
  --neutral-soft: #F3F4F6; --neutral-ink: #4B5563;
  --on-dark: #F4F4F8;
  --on-dark-dim: #B9B9C2;

  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1312px;
  --radius: 12px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(20, 20, 23, .05), 0 14px 32px -12px rgba(20, 20, 23, .16);
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  word-spacing: .03em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.025em; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 10px;
  font: 600 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; font-size: 15px; padding: 0 16px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 18px; border-radius: 12px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px rgba(20, 20, 23, .45); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-white { background: #fff; color: var(--accent); }
.btn-white:hover { background: var(--accent-light); }
.btn-white:focus-visible { outline-color: #fff; }

/* Header ---------------------------------------------------------------- */
.nav { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.brand b, .brand-word b, .app-brand b { color: var(--accent); font-weight: 800; }
.mark { width: 28px; height: 28px; }
.mark rect { fill: var(--accent); }
.mark path { fill: none; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.site-header nav { margin-left: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--sub); text-decoration: none; }
.nav-links a:hover { color: var(--ink); text-decoration: underline; }

/* Hero ------------------------------------------------------------------ */
.hero { padding: clamp(28px, 5vw, 56px) 0 clamp(56px, 7vw, 96px); }
.hero h1 { font-size: clamp(40px, 6.2vw, 88px); letter-spacing: -.035em; line-height: .98; }
.hero h1 span { color: var(--accent); }
.hero-row { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; margin-top: clamp(20px, 2.4vw, 28px); }
.lede { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; color: var(--sub); max-width: 58ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.hint { font-size: 14px; color: var(--sub); }

/* Three rooms on one record line */
.rooms {
  --stop: 14px;
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(36px, 4.4vw, 56px);
  padding-top: 36px;
}
.rooms::before {
  content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px;
  background: var(--accent);
  transform-origin: left center;
}
.room { position: relative; display: flex; flex-direction: column; min-width: 0; }
.room-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; margin-bottom: 12px; }
.room-name strong { font-weight: 700; }
.room-time { color: var(--sub); font-size: 14px; }
.room .stop { position: absolute; top: -37px; left: 0; }
.stop {
  display: inline-block; width: var(--stop, 14px); height: var(--stop, 14px); border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--bg);
}

.screen {
  flex: 1;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  font-size: 13px; line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

/* App replica atoms */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.5; white-space: nowrap;
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
}
.pill-green { background: var(--green-soft); color: var(--green-ink); }
.pill-yellow { background: var(--yellow-soft); color: var(--yellow-ink); }
.pill-blue { background: var(--accent-light); color: var(--accent); }
.pill-grey { background: var(--neutral-soft); color: var(--neutral-ink); }
.lbl { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--label); }
.mini-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px;
  border: 1px solid var(--ink); border-radius: 6px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: #fff;
}
.mini-btn .ic { font-size: 13px; }
.mini-btn-ink { background: var(--ink); color: #fff; }
.mini-btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.muted-sm { font-size: 11.5px; color: var(--sub); }

.k-head { display: flex; flex-direction: column; gap: 1px; background: var(--ink); color: #fff; padding: 10px 14px; }
.k-eyebrow { font-size: 9px; font-weight: 600; letter-spacing: .2em; color: rgba(255, 255, 255, .62); }
.k-co { font-size: 13.5px; font-weight: 700; }
.k-body { padding: 12px 14px 14px; display: grid; gap: 9px; }
.k-title { font-size: 16px; font-weight: 700; }
.q-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1.5px solid var(--accent); border-radius: 10px; padding: 9px 11px; background: #fff;
}
.q-row b { font-size: 14px; }
.q-row small { display: block; font-size: 11px; color: var(--sub); margin-top: 2px; }
.q-progress { border-color: var(--green); background: var(--green-wash); }
.mini-dash { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--row-alt); }
.mini-dash > svg { width: 100%; height: auto; border-radius: 6px; display: block; }
.mini-dash b { display: block; font-size: 17px; letter-spacing: -.01em; }
.ok { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--green-ink); }
.ok .ic { stroke-width: 3; }

.o-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.o-top b { font-size: 14.5px; }
.tabs { display: flex; gap: 6px; }
.tab { font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--border); background: #fff; white-space: nowrap; }
.tab-on { background: var(--accent); border-color: var(--accent); color: #fff; }

.h-list { padding: 12px 14px; display: grid; gap: 10px; }
.h-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; font-size: 12.5px; color: var(--sub); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.h-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.h-list time { font-weight: 700; color: var(--ink); }
.h-new { background: var(--accent-light); margin: 0 -8px; padding: 6px 8px; border-radius: 8px; }
.h-list .h-new { padding-bottom: 6px; }
.h-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px 14px; border-top: 1px solid var(--line); }
.p-body { padding: 12px 14px 14px; display: grid; gap: 6px; }
.p-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.p-head b { font-size: 14px; }
.p-body small { font-size: 11.5px; color: var(--sub); }
.p-ev { display: grid; gap: 10px; margin-top: 4px; }
.p-ev > svg { width: 100%; max-height: 120px; border-radius: 8px; display: block; }
.p-dl { display: flex; flex-wrap: wrap; gap: 6px; }

.sample-note { margin-top: 18px; font-size: 13px; color: var(--label); }

/* Hero sequence: plays once from first paint, only when motion is allowed.
   Every element's resting state is its final state; site.js steps the pills. */
@media (prefers-reduced-motion: no-preference) {
  .rooms::before { animation: line-run 2.6s var(--ease-out) both; }
  .rooms .room { animation: room-in .9s var(--ease-out) both; }
  .rooms .room[data-step="2"] { animation-delay: .7s; }
  .rooms .room[data-step="3"] { animation-delay: 1.4s; }
  .rooms [data-reveal] { animation: reveal .6s var(--ease-out) 2.1s both; }
  .rooms .h-new { animation: reveal .6s var(--ease-out) 1.5s both; }
}
@keyframes line-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes room-in { from { opacity: 0; transform: translateY(14px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes reveal { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* Sections -------------------------------------------------------------- */
section { scroll-margin-top: 8px; }
.section-head { position: relative; display: grid; row-gap: 16px; margin-bottom: clamp(36px, 4vw, 56px); }

/* The hero's record line continues down the page as a rail through the three rooms. */
.railed { --rail-x: 0px; --rail-pad: clamp(36px, 5vw, 72px); --rail-color: var(--accent); padding: 0 !important; }
.railed > .wrap { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.railed > .wrap::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 2px;
  left: calc(var(--gutter) + 6px); background: var(--rail-color);
}
.railed > .wrap > * { margin-left: var(--rail-pad); }
.station {
  position: absolute; top: calc(.53em - 7px); left: calc(-1 * var(--rail-pad));
  width: 14px; height: 14px; border-radius: 50%; background: var(--rail-color);
  box-shadow: 0 0 0 5px var(--accent-light);
  font-size: clamp(32px, 4.1vw, 56px);
}
.bay { --rail-color: var(--accent-bright); }
.bay .station { box-shadow: 0 0 0 5px rgba(143, 179, 255, .25); }
h2 { font-size: clamp(32px, 4.1vw, 56px); max-width: 20ch; }
.section-lede { font-size: clamp(17px, 1.4vw, 19px); color: var(--sub); max-width: 60ch; }

.points { display: grid; gap: 28px; }
.points li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; }
.points .ic { font-size: 22px; color: var(--accent); margin-top: 2px; }
.points h3 { font-size: 19px; letter-spacing: -.015em; margin-bottom: 6px; line-height: 1.25; }
.points p { color: var(--sub); font-size: 16px; max-width: 60ch; }

/* Pain */
.pain { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.pain-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 72px; align-items: start; }
.pain h2 { font-size: clamp(32px, 3.9vw, 52px); }
.pain-list { display: grid; gap: 32px; }
.pain-quote p { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.pain-quote figcaption { margin-top: 12px; color: var(--sub); max-width: 52ch; }
.pain-item { padding-top: 24px; border-top: 1px solid var(--border); }
.pain-item h3 { font-size: 21px; letter-spacing: -.015em; margin-bottom: 6px; }
.pain-item p { color: var(--sub); max-width: 56ch; }
.pain-turn { padding-top: 24px; border-top: 2px solid var(--accent); font-size: 21px; line-height: 1.35; font-weight: 700; letter-spacing: -.015em; color: var(--accent); }

/* Wash bay: the one ink band, like the kiosk header */
.bay { background: var(--ink); color: var(--on-dark); }
.bay .section-lede, .bay .points p { color: var(--on-dark-dim); }
.bay .points .ic { color: var(--accent-bright); }
.bay ::selection { background: var(--accent-bright); color: var(--ink); }
.bay :focus-visible { outline-color: var(--accent-bright); }
.bay-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 64px; align-items: start; }

.tablet { margin: 0; }
.tablet-glass {
  aspect-ratio: 1024 / 600;
  border: 14px solid #0B0B0D; border-radius: 26px; background: var(--bg); overflow: hidden;
  box-shadow: 0 0 0 1px #3A3A40, 0 40px 80px -30px rgba(0, 0, 0, .8);
  color: var(--ink); font-size: 13px; line-height: 1.35; font-variant-numeric: tabular-nums;
  display: flex; flex-direction: column;
}
.tablet figcaption { margin-top: 16px; font-size: 14px; color: var(--on-dark-dim); max-width: 62ch; }
.k-head-lg { flex-direction: row; align-items: center; justify-content: space-between; padding: 10px 16px; }
.k-head-lg > span:first-child { display: flex; flex-direction: column; }
.k-btns { display: flex; gap: 8px; }
.k-btn { font-size: 11.5px; font-weight: 600; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 6px; }
.kc { flex: 1; padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.kc-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.kc-title b { font-size: 18px; white-space: nowrap; }
.kc-title small { font-size: 12px; color: var(--sub); }
.kc-title .pill { margin-left: auto; align-self: center; }
.kc-grid { flex: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: 12px; min-height: 0; }
.kc-panel { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.kc-photo { width: 100%; height: auto; border-radius: 8px; display: block; }
.kc-reading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kc-reading b { font-size: 20px; letter-spacing: -.01em; }
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; font-size: 11.5px; font-weight: 600; }
.seg > span { padding: 5px 10px; }
.seg .seg-on { background: var(--accent); color: #fff; }
.kc-checks { justify-content: space-between; }
.kc-check { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; }
.kc-check .lbl { color: var(--ink); display: flex; gap: 6px; align-items: center; }
.req { font-style: normal; font-size: 9.5px; letter-spacing: .04em; text-transform: none; background: var(--accent-light); color: var(--accent); padding: 1px 6px; border-radius: 999px; }
.toggle { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; font-size: 11.5px; font-weight: 600; }
.toggle > span { padding: 6px 10px; color: var(--sub); white-space: nowrap; }
.toggle .on { background: var(--green-soft); color: var(--green-ink); }
.kc-fluids { display: flex; gap: 24px; font-size: 13px; font-weight: 600; }
.kc-fluids > span { display: flex; flex-direction: column; gap: 2px; }
.kc-submit { display: flex; align-items: center; justify-content: center; min-height: 36px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; }

/* Office */

.app { margin: 0; }
.app figcaption, .cust-shot figcaption { margin-top: 14px; font-size: 14px; color: var(--label); }
.app-frame {
  display: grid; grid-template-columns: 188px minmax(0, 1fr);
  background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
  font-size: 13px; line-height: 1.35; font-variant-numeric: tabular-nums;
}
.app-side { background: var(--row-alt); border-right: 1px solid var(--line); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; }
.app-brand { font-size: 15px; font-weight: 800; letter-spacing: -.02em; padding: 0 8px 14px; }
.app-nav { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 10px; border-radius: 8px; color: var(--sub); font-size: 13px; }
.app-nav .ic { font-size: 16px; }
.app-nav-on { background: var(--accent-light); color: var(--accent); font-weight: 600; }
.app-main { min-width: 0; }
.app-bar { height: 50px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 13px; }
.app-bar span { color: var(--label); }
.app-content { padding: 16px 18px 18px; display: grid; gap: 14px; }
.app-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rq { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.rq-th, .rq-tr { display: grid; grid-template-columns: .7fr 1.5fr 1fr .7fr .8fr 1fr; gap: 8px; align-items: center; padding: 9px 12px; }
.rq-th { background: var(--accent-light); color: var(--accent); font-size: 11px; font-weight: 700; border-bottom: 1px solid var(--border); }
.rq-tr { border-bottom: 1px solid var(--line); font-size: 12.5px; }
.rq-tr:last-child { border-bottom: 0; }
.rq-tr .pill { justify-self: start; }
.rq-hl { background: #FFFBEB; }

.lifecycle { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); }
.lc-step {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: clamp(20px, 2.3vw, 30px); font-weight: 800; letter-spacing: -.02em;
  padding: 8px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--border);
}
.lc-lock { background: var(--ink); border-color: var(--ink); color: #fff; }
.lc-arrow { display: inline-flex; font-size: 22px; color: var(--accent); }
.ruled { display: grid; gap: 28px; }
.ruled li { padding-top: 18px; border-top: 2px solid var(--ink); }
.ruled h3 { font-size: 19px; letter-spacing: -.015em; line-height: 1.25; margin-bottom: 8px; }
.ruled p { color: var(--sub); font-size: 16px; max-width: 60ch; }
.ruled-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }

/* Customers */
.customers { background: var(--surface); border-bottom: 1px solid var(--line); }
.cust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
.cust-shot { margin: 0; }
.screen-lg { font-size: 13.5px; }
.form { padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.input { display: flex; align-items: center; min-height: 34px; padding: 0 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; }
.seg-lg > span { padding: 7px 12px; }
.input-empty { color: var(--label); }
.tick { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.box { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; background: var(--accent); color: #fff; }
.box .ic { font-size: 12px; stroke-width: 3; }
.submit-row { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 4px; }
.p-body-lg { gap: 8px; }
.p-photo { width: 100%; height: auto; border-radius: 8px; display: block; margin-top: 4px; }
.p-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.cust-points { align-self: center; }

/* Equipment + steps */
.equipment { padding: clamp(72px, 9vw, 128px) 0; }
.equipment h2 { margin-bottom: clamp(32px, 4vw, 48px); }
.spec { border-top: 2px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px 32px; padding: 18px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.spec dt { font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.spec dd { color: var(--sub); font-size: 17px; max-width: 62ch; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(56px, 7vw, 96px); position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: var(--accent); }
.steps li { position: relative; counter-increment: step; display: grid; align-content: start; gap: 8px; padding-top: 56px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 17px; box-shadow: 0 0 0 6px var(--bg);
}
.steps b { font-size: 22px; letter-spacing: -.02em; }
.steps span { color: var(--sub); max-width: 40ch; }

/* FAQ */
.faq { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 72px; align-items: start; }
.faq-list { border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); }
summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-size: 19px; font-weight: 700; letter-spacing: -.01em; min-height: 44px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-right: 6px;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease-out);
}
details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
summary:hover { color: var(--accent); }
details p { padding: 0 0 22px; color: var(--sub); max-width: 64ch; }

/* Closing field: the one full brand-blue surface */
.close { background: var(--accent); color: #fff; padding: clamp(72px, 9vw, 128px) 0; }
.close-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 72px; align-items: end; }
.close h2 { font-size: clamp(38px, 5.4vw, 76px); letter-spacing: -.035em; max-width: none; }
.nowrap-lg { white-space: nowrap; }
.close p { font-size: 19px; color: #E3EAFF; max-width: 46ch; }
.close-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.close-mail { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; min-height: 44px; }
.close-mail:focus-visible { outline-color: #fff; }
.close ::selection { background: #fff; color: var(--accent); }

/* Footer */
.site-footer { padding: 40px 0 48px; }
.foot { display: grid; grid-template-columns: 1fr auto; gap: 12px 32px; align-items: center; }
.foot-brand { color: var(--sub); font-size: 15px; }
.brand-word { font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-right: 8px; }
.foot-links a { font-weight: 600; display: inline-flex; min-height: 44px; align-items: center; }
.foot-note { grid-column: 1 / -1; font-size: 13px; color: var(--label); }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .bay-grid { grid-template-columns: minmax(0, 1fr); }
  .cust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cust-points { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .site-header nav { display: none; }
  .nav { justify-content: space-between; min-height: 64px; }

  .rooms { grid-template-columns: 1fr; gap: 28px; padding-top: 0; padding-left: 30px; }
  .rooms::before { left: 6px; right: auto; top: 8px; bottom: 0; width: 2px; height: auto; transform-origin: center top; }
  .room .stop { top: 4px; left: -30px; }
  @media (prefers-reduced-motion: no-preference) { .rooms::before { animation-name: line-run-y; } }
  @keyframes line-run-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }

  .railed { --rail-pad: 28px; }
  .pain-grid, .faq-grid, .close-grid { grid-template-columns: 1fr; }
  .ruled-cols { grid-template-columns: 1fr; }
  .spec > div { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; padding-left: 60px; }
  .steps::before { left: 19px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps li { padding-top: 6px; }
  .steps li::before { left: -60px; }

  .app-frame { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .rq-th, .rq-tr { grid-template-columns: 1.4fr .9fr 1fr; }
  .rq-th > :is(:nth-child(1), :nth-child(4), :nth-child(5)), .rq-tr > :is(:nth-child(1), :nth-child(4), :nth-child(5)) { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .btn-lg { width: 100%; }
  .hero-cta { width: 100%; flex-direction: column; align-items: stretch; }
  .hint { text-align: center; }
  .cust-grid, .cust-points { grid-template-columns: 1fr; }
  .nowrap-lg { white-space: normal; }
  .tablet-glass { aspect-ratio: auto; border-width: 10px; border-radius: 20px; }
  .kc-grid { grid-template-columns: minmax(0, 1fr); }
  .k-btns { display: none; }
  .app-tools { flex-direction: column; align-items: flex-start; }
  .lc-step { font-size: 18px; padding: 6px 14px; }
  .foot { grid-template-columns: 1fr; }
  .close-cta .btn { width: 100%; }
}

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

/* 404 page */
.missing { min-height: 70vh; }
.missing .lede { margin-top: 20px; }
.missing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.missing-app { font-weight: 600; display: inline-flex; min-height: 44px; align-items: center; }

@media (max-width: 400px) {
  /* The hero's own button is on screen; the header keeps just the wordmark. */
  .site-header .btn { display: none; }
}
