/* Outside Logic — marketing site.
   One stylesheet, no framework. Tokens come from the brand guide (sessions/outside-logic-brand):
   paper ground, white panels, one hairline, ink and navy for weight, tan and sage as the only accents.
   Two colours are derived for contrast only: --tan-dark and --sage-dark, because tan and sage do not
   reach 4.5:1 as small text on paper. --muted is for large or decorative text only (3.2:1 on paper). */

:root {
  --paper: #F4F1EA;
  --sheet: #FFFFFF;
  --sheet-2: #F1EEE7;
  --rule: #D1CFC9;
  --ink: #0F1A2B;
  --navy: #1C2E4A;
  --navy-line: #2C4160;
  --text: #4B5768;
  --muted: #7C8797;
  --on-ink: #F5F5F5;
  --on-ink-muted: #BDC4D4;
  --tan: #B49A82;
  --sage: #6E9A7E;
  --tan-dark: #7A5F44;
  --sage-dark: #3F6B4F;

  --font: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-label: "Montserrat", "Segoe UI", system-ui, sans-serif;
  /* the brand guide's display face, for the big headlines only; money is never set in it */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;

  --wrap: 1200px;
  --wrap-wide: 1320px;
  --gutter: clamp(20px, 4vw, 40px);
  /* 25 September: tightened (Michael: "a lot of dead space in between sections"); was clamp(84px, 10vw, 136px) */
  --section: clamp(56px, 5.6vw, 80px);

  --r-s: 6px;
  --r: 10px;
  --r-l: 14px;

  --shadow-window: 0 1px 2px rgba(15, 26, 43, .06), 0 18px 40px -16px rgba(15, 26, 43, .20), 0 60px 110px -40px rgba(15, 26, 43, .30);
  --shadow-card: 0 1px 2px rgba(15, 26, 43, .05), 0 10px 28px -14px rgba(15, 26, 43, .18);
  --shadow-float: 0 2px 4px rgba(15, 26, 43, .06), 0 24px 48px -18px rgba(15, 26, 43, .32);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ─── base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
/* the hidden attribute always wins over a component's own display (a .btn is inline-flex, a panel is grid, …) */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font); font-weight: 600; text-wrap: balance; }
strong, b { font-weight: 600; color: var(--ink); }
::selection { background: rgba(180, 154, 130, .35); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 3px; }
.on-ink :focus-visible { outline-color: var(--tan); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-s);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* numbers that stack or that a customer is asked to accept: always the sans, always tabular */
.num, .money { font-family: var(--font); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ─── layout ───────────────────────────────────────────── */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: calc(var(--wrap-wide) + var(--gutter) * 2); }
.wrap--narrow { max-width: calc(820px + var(--gutter) * 2); }

.section { padding: var(--section) 0; position: relative; }
.section--white { background: var(--sheet); }
.section--sand { background: var(--sheet-2); }
.section--tight { padding: calc(var(--section) * .66) 0; }
.section--rule { border-top: 1px solid var(--rule); }

/* ─── type ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-label); font-size: 12px; font-weight: 600; line-height: 1.3;
  letter-spacing: .18em; text-transform: uppercase; color: var(--sage-dark);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--tan); border-radius: 2px; flex: none; }
.eyebrow--plain::before { display: none; }

/* Display headlines in Cormorant Garamond: it sits small on its body, so it is set larger than a sans would
   be, with near-zero tracking. Smaller headings (h3, h4) stay in Barlow. */
.display, .h1, .h2 { font-family: var(--font-display); font-weight: 600; font-feature-settings: "lnum" 1, "kern" 1; }
.display { font-size: clamp(50px, 7vw, 104px); line-height: .98; letter-spacing: -0.012em; }
.h1 { font-size: clamp(44px, 5.4vw, 80px); line-height: 1.0; letter-spacing: -0.01em; }
.h2 { font-size: clamp(38px, 4.3vw, 62px); line-height: 1.03; letter-spacing: -0.008em; }
.h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.18; letter-spacing: -0.015em; }
.h4 { font-size: 20px; line-height: 1.3; letter-spacing: -0.008em; }
.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.6; color: var(--text); }
.small { font-size: 15px; line-height: 1.55; }
.fine { font-size: 14px; line-height: 1.55; color: var(--text); }
.muted { color: var(--text); }

.section-head { max-width: 780px; margin-bottom: clamp(32px, 3.8vw, 52px); }
.section-head .h2 + .lead, .section-head .h1 + .lead { margin-top: 26px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.section-head--split .lead { margin-top: 0 !important; }
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; gap: 20px; align-items: start; } }

/* ─── buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 8px; border: 1px solid transparent;
  font-family: var(--font); font-size: 16.5px; font-weight: 600; line-height: 1; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 1px 2px rgba(15, 26, 43, .2), inset 0 1px 0 rgba(255, 255, 255, .06); }
.btn--primary:hover { background: var(--ink); }
.btn--secondary { background: var(--sheet); color: var(--ink); border-color: var(--rule); }
.btn--secondary:hover { border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--outline-light { background: transparent; color: var(--on-ink); border-color: var(--navy-line); }
.btn--outline-light:hover { border-color: var(--on-ink-muted); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15.5px; }
.btn .play {
  width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff;
  display: inline-grid; place-items: center; margin-left: -6px;
}
.btn .play svg { width: 8px; height: 8px; margin-left: 1px; }
.btn .dur { font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 3px;
  transition: border-color .2s, gap .2s var(--ease);
}
.link:hover { border-color: var(--ink); gap: 12px; }
.on-ink .link { color: var(--on-ink); border-color: var(--navy-line); }
.on-ink .link:hover { border-color: var(--on-ink); }

/* ─── brand lock-up ────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__word {
  font-family: var(--font-label); font-size: 15px; font-weight: 300; letter-spacing: .16em;
  text-transform: uppercase; white-space: nowrap; line-height: 1;
}
.brand__word b { font-weight: 700; color: var(--tan); }
.on-ink .brand { color: var(--on-ink); }
.tagline {
  font-family: var(--font-label); font-size: 11px; font-weight: 400; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); margin-top: 12px;
}
.on-ink .tagline { color: var(--on-ink-muted); }

/* ─── header ───────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, background-color .25s;
}
.hdr.is-stuck { border-bottom-color: var(--rule); background: rgba(244, 241, 234, .94); }
.hdr__bar { display: flex; align-items: center; gap: 40px; height: 76px; }
.nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.nav a {
  position: relative; text-decoration: none; color: var(--ink); font-size: 16px; font-weight: 500;
  padding: 8px 0; opacity: .78; transition: opacity .2s;
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--tan); border-radius: 2px;
}
.nav__cta { display: none; }
.hdr__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--rule);
  background: var(--sheet); color: var(--ink); cursor: pointer; place-items: center;
}

@media (max-width: 1080px) {
  .hdr__bar { height: 68px; gap: 16px; }
  .nav-toggle { display: grid; }
  .hdr__actions { margin-left: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 22px; box-shadow: 0 24px 40px -24px rgba(15, 26, 43, .25);
    display: none; margin: 0;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 0; font-size: 18px; opacity: 1; border-bottom: 1px solid var(--rule); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--tan-dark); }
  .nav .nav__cta { display: flex; margin-top: 18px; border: 0; padding: 0 24px; font-size: 16.5px; color: #fff; }
}
@media (max-width: 520px) {
  .hdr__actions .btn { display: none; }
  .brand__word { font-size: 14px; letter-spacing: .14em; }
}

/* ─── hero ─────────────────────────────────────────────── */
.hero { position: relative; padding-top: clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::after {
  /* the white band the window sits into */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: var(--sheet); z-index: 0;
}
.hero__copy { position: relative; z-index: 1; text-align: center; max-width: calc(900px + var(--gutter) * 2); }
.hero__copy .eyebrow { justify-content: center; }
.hero__copy .lead { max-width: 720px; margin: 26px auto 0; }
.hero__copy .actions { justify-content: center; margin-top: 36px; }
.hero__note { margin-top: 20px; font-size: 14.5px; color: var(--text); }
.hero__note::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); margin-right: 10px; vertical-align: 2px; }
.hero__frame { position: relative; }
.hero__stage { position: relative; z-index: 1; margin-top: clamp(52px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); }

/* app window — the configurator in a plain frame; no invented address bar */
.window {
  position: relative; margin: 0; background: var(--sheet); border-radius: var(--r-l);
  border: 1px solid rgba(15, 26, 43, .10); box-shadow: var(--shadow-window); overflow: hidden;
}
.window__bar {
  display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px;
  background: var(--sheet-2); border-bottom: 1px solid var(--rule);
}
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule); display: block; }
.window__bar span {
  margin: 0 auto; transform: translateX(-24px);
  font-family: var(--font-label); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text);
}
.window img { width: 100%; }
.window--flat { box-shadow: var(--shadow-card); }

/* floating cards over the hero window: real figures from the captured job */
.float {
  position: absolute; z-index: 2; background: var(--sheet); border: 1px solid rgba(15, 26, 43, .08);
  border-radius: 12px; box-shadow: var(--shadow-float); padding: 18px 20px;
}
.float .label { display: block; margin-bottom: 8px; }
.float--price { left: -32px; bottom: 14%; min-width: 280px; }
.float--price .money { display: block; font-size: 36px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.float--price small { display: block; margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: var(--text); max-width: 250px; }
.float--sheet { right: -32px; top: -26px; width: 236px; padding: 12px; }
.float--sheet img { border-radius: 6px; border: 1px solid var(--rule); }
.float--sheet p { padding: 12px 6px 4px; font-size: 14px; line-height: 1.4; color: var(--text); }
.float--sheet p strong { display: block; font-size: 15.5px; }

.label {
  font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sage-dark);
}
.on-ink .label { color: var(--tan); }

@media (max-width: 1400px) {
  .float--price { left: 16px; bottom: 16px; }
  .float--sheet { right: 16px; top: 16px; }
}
@media (max-width: 760px) {
  .float { display: none; }
  .hero::after { height: 22%; }
}

/* ─── outputs strip (under the hero) ───────────────────── */
.strip { background: var(--sheet); border-bottom: 1px solid var(--rule); }
.strip__list { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.strip__list li { display: flex; align-items: center; gap: 14px; padding: 26px 22px; border-left: 1px solid var(--rule); color: var(--ink); font-weight: 500; font-size: 16px; line-height: 1.3; }
.strip__list li:first-child { border-left: 0; padding-left: 0; }
.strip__list svg { width: 26px; height: 26px; flex: none; color: var(--tan-dark); }
.strip__list small { display: block; font-weight: 400; font-size: 14px; color: var(--text); }
@media (max-width: 1080px) {
  .strip__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip__list li:nth-child(4) { border-left: 0; padding-left: 0; }
  .strip__list li:nth-child(n+4) { border-top: 1px solid var(--rule); }
}
@media (max-width: 640px) {
  .strip__list { grid-template-columns: 1fr; }
  .strip__list li { border-left: 0; padding: 18px 0; border-top: 1px solid var(--rule); }
  .strip__list li:first-child { border-top: 0; }
}

/* ─── one model hub ────────────────────────────────────── */
.hub { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.hub__col { display: grid; gap: 28px; }
/* who each side is for: the customer (left), the crew (right) */
.hub__label { margin: 0 0 -14px 4px; font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-dark); }
.hub__model { margin: 0; position: relative; }
.hub__model img { border-radius: var(--r-l); box-shadow: var(--shadow-window); border: 1px solid rgba(15, 26, 43, .08); }
.hub__model figcaption { margin-top: 16px; text-align: center; font-size: 14.5px; color: var(--text); }
.hub__model figcaption b { font-weight: 600; color: var(--ink); }
.out {
  display: block; position: relative; text-decoration: none; background: var(--sheet); border: 1px solid var(--rule);
  border-radius: var(--r-l); padding: 12px 12px 20px; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.out:hover { border-color: #B9B6AF; box-shadow: var(--shadow-card); transform: translateY(-2px); }
.out__img { aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--sheet-2); border: 1px solid var(--rule); }
.out__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.out h3 { font-size: 18px; margin: 16px 8px 4px; letter-spacing: -.005em; }
.out p { margin: 0 8px; font-size: 15px; line-height: 1.5; color: var(--text); }
/* sage connectors from each card to the model */
.hub__col--l .out::after, .hub__col--r .out::after {
  content: ""; position: absolute; top: 50%; width: 28px; height: 1px; background: var(--sage);
}
.hub__col--l .out::after { right: -29px; }
.hub__col--r .out::after { left: -29px; }
.hub__col--l .out::before, .hub__col--r .out::before {
  content: ""; position: absolute; top: calc(50% - 3px); width: 7px; height: 7px; border-radius: 50%;
  background: var(--sheet); border: 1.5px solid var(--sage); z-index: 1;
}
.hub__col--l .out::before { right: -4px; }
.hub__col--r .out::before { left: -4px; }
@media (max-width: 1000px) {
  .hub { grid-template-columns: 1fr 1fr; }
  .hub__model { grid-column: 1 / -1; order: -1; max-width: 760px; margin: 0 auto 8px; }
  .hub__col--l .out::after, .hub__col--r .out::after, .hub__col--l .out::before, .hub__col--r .out::before { display: none; }
}
@media (max-width: 600px) { .hub { grid-template-columns: 1fr; } }

/* ─── feature rows ─────────────────────────────────────── */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 7vw, 100px); }
.feature--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature--flip .feature__copy { order: 2; }
.feature__copy .h2 { margin-bottom: 20px; }
.feature__copy .lead { margin-bottom: 28px; }
.feature__media { position: relative; }
/* beside something much taller (the estimate): the copy starts at the top and stays in view as it scrolls,
   instead of floating in the middle of empty space */
.feature--tall { align-items: start; }
.feature--tall .feature__copy { position: sticky; top: 120px; }
@media (max-width: 900px) {
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .feature__copy { order: 0; }
  .feature--tall .feature__copy { position: static; }
}

.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink); font-size: 16.5px; line-height: 1.5; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(110, 154, 126, .16);
}
.ticks li::after {
  content: ""; position: absolute; left: 7px; top: 8px; width: 8px; height: 5px;
  border-left: 1.8px solid var(--sage-dark); border-bottom: 1.8px solid var(--sage-dark); transform: rotate(-45deg);
}
.ticks li .sub { display: block; color: var(--text); font-size: 15px; margin-top: 2px; }
.ticks li .badge { margin-left: 8px; }
.on-ink .ticks li { color: var(--on-ink); }
.on-ink .ticks li::before { background: rgba(110, 154, 126, .22); }
.on-ink .ticks li::after { border-color: #9CC3A9; }

.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 999px;
  font-family: var(--font-label); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); background: var(--sheet-2); border: 1px solid var(--rule); white-space: nowrap; vertical-align: middle;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tan); }
.on-ink .badge { color: var(--on-ink-muted); background: rgba(255, 255, 255, .04); border-color: var(--navy-line); }

/* panels lifted out of the app: price, packages — side by side, the second dropped, nothing covered */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.panels > * { background: var(--sheet); border-radius: var(--r-l); border: 1px solid rgba(15, 26, 43, .08); overflow: hidden; box-shadow: var(--shadow-card); }
.panels > :nth-child(2) { margin-top: 64px; box-shadow: var(--shadow-float); }
@media (max-width: 520px) { .panels { grid-template-columns: 1fr; } .panels > :nth-child(2) { margin-top: 0; } }
.stage-tint {
  background: linear-gradient(180deg, var(--sheet-2), rgba(241, 238, 231, 0));
  border-radius: 22px; padding: clamp(24px, 4vw, 48px);
}
.caption { margin-top: 18px; font-size: 14px; line-height: 1.5; color: var(--text); }
.caption b { color: var(--ink); font-weight: 600; }

/* ─── ink band ─────────────────────────────────────────── */
.section--ink { background: var(--ink); color: var(--on-ink-muted); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--on-ink); }
.section--ink .lead { color: var(--on-ink-muted); }
.section--ink .eyebrow { color: #9CC3A9; }
.section--ink .fine { color: var(--on-ink-muted); }

.build { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
/* light since 25 September (Michael: white backgrounds feel softer): white cards on the sand band */
.build__card {
  background: var(--sheet); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-card);
}
.build__media { padding: 26px 26px 0; }
.build__media .doc { border-radius: 10px 10px 0 0; }
.build__body { padding: 28px 30px 32px; border-top: 1px solid var(--rule); margin-top: auto; }
.build__body h3 { font-size: 22px; letter-spacing: -.01em; margin-bottom: 10px; }
.build__body p { font-size: 16px; line-height: 1.6; }
.build__body .fine { margin-top: 14px; font-size: 13.5px; opacity: .92; }
.build__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500;
  color: var(--ink); background: var(--sheet-2); border: 1px solid var(--rule);
}
.doc { display: block; background: #fff; border: 1px solid var(--rule); box-shadow: 0 12px 28px -18px rgba(15, 26, 43, .3); }
.sheets { position: relative; aspect-ratio: 1.545 / 1; }
.sheets img { position: absolute; width: 78%; border-radius: 4px; background: #fff; box-shadow: 0 12px 28px -16px rgba(15, 26, 43, .32); border: 1px solid rgba(15, 26, 43, .12); }
.sheets img:nth-child(1) { right: 0; top: 0; width: 70%; opacity: .92; }
.sheets img:nth-child(2) { right: 11%; top: 9%; width: 70%; opacity: .96; }
.sheets img:nth-child(3) { left: 0; bottom: 0; }
/* the crew's three: list, schematics, drawings. Equal image boxes, so the text below starts on one
   line; each picture is anchored at its top and runs out of the bottom edge like a sheet. */
.build--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.build--3 .build__media { padding: 22px 22px 0; aspect-ratio: 1.75 / 1; overflow: hidden; }
.build--3 .build__body { margin-top: 0; flex: 1; padding: 24px 26px 28px; }
.build--3 .build__body h3 { font-size: 21px; }
@media (max-width: 900px) { .build, .build--3 { grid-template-columns: 1fr; } }

/* ─── video ────────────────────────────────────────────── */
.video { position: relative; margin: 0; border-radius: var(--r-l); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-window); aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.video__cover {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: clamp(18px, 3vw, 32px); border: 0; margin: 0; width: 100%; cursor: pointer; text-align: left;
  background: linear-gradient(0deg, rgba(15, 26, 43, .72) 0%, rgba(15, 26, 43, .08) 45%, rgba(15, 26, 43, 0) 70%);
  color: #fff; font: inherit;
}
.video__cover[hidden] { display: none; }
.video__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(64px, 8vw, 92px); height: clamp(64px, 8vw, 92px); border-radius: 50%;
  background: rgba(255, 255, 255, .95); display: grid; place-items: center; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5);
  transition: transform .25s var(--ease);
}
.video__cover:hover .video__play { transform: translate(-50%, -50%) scale(1.06); }
.video__play svg { width: 26%; height: 26%; margin-left: 6%; color: var(--ink); }
.video__meta { font-size: 15px; line-height: 1.4; }
.video__meta b { display: block; font-size: clamp(17px, 1.8vw, 21px); color: #fff; font-weight: 600; }
.video__dur { font-variant-numeric: tabular-nums; font-weight: 600; background: rgba(15, 26, 43, .7); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.video-note { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; font-size: 14px; color: var(--text); }
.video-note span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--tan); margin-right: 9px; vertical-align: 3px; }

/* ─── photos ───────────────────────────────────────────── */
.photos { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; }
.photo { margin: 0; position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--sheet-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo:hover img { transform: scale(1.025); }
.photo figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px; width: max-content; max-width: calc(100% - 24px);
  background: rgba(15, 26, 43, .78); color: #fff; font-size: 13.5px; line-height: 1.35; padding: 7px 11px; border-radius: 7px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.photos .photo { aspect-ratio: 4 / 5; }
.photos .photo:first-child { aspect-ratio: auto; }
@media (max-width: 900px) {
  .photos { grid-template-columns: 1fr 1fr; }
  .photos .photo:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
}
@media (max-width: 520px) { .photos { grid-template-columns: 1fr; } .photos .photo { aspect-ratio: 4 / 3; } }

.gallery { columns: 3 320px; column-gap: 16px; }
.gallery .photo { break-inside: avoid; margin-bottom: 16px; display: block; }
.gallery .photo img { height: auto; }

/* ─── steps ────────────────────────────────────────────── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { padding: 30px 28px 0 0; border-top: 1px solid var(--rule); position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: .14em; color: var(--tan-dark);
  margin-bottom: 18px; font-variant-numeric: tabular-nums;
}
.steps li::after { content: ""; position: absolute; left: 0; top: -2px; width: 44px; height: 3px; background: var(--tan); border-radius: 2px; }
.steps h3 { font-size: 20px; letter-spacing: -.01em; margin-bottom: 8px; }
.steps p { font-size: 15.5px; line-height: 1.55; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 36px 0; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 28px; } .steps li { padding-right: 0; } }

/* ─── faq ──────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid__head { position: sticky; top: 110px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid__head { position: static; } }
.qa { border-top: 1px solid var(--rule); }
.qa:last-child { border-bottom: 1px solid var(--rule); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: clamp(18px, 1.6vw, 20.5px); font-weight: 600; color: var(--ink); letter-spacing: -.008em; line-height: 1.35;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--rule);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 11px 1.6px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.6px 11px no-repeat;
  transition: transform .25s var(--ease), background-color .25s;
}
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--sheet-2); }
.qa summary:hover::after { border-color: var(--ink); }
.qa__a { padding: 0 54px 26px 0; display: grid; gap: 14px; }
.qa__a p { font-size: 16.5px; line-height: 1.65; }
@media (max-width: 560px) { .qa__a { padding-right: 0; } }

/* ─── cta band ─────────────────────────────────────────── */
.cta { position: relative; overflow: hidden; }
.cta__inner { position: relative; z-index: 1; display: grid; gap: 36px; }
.cta__inner > div:first-child { max-width: 780px; }
.cta.on-ink .h1 { color: var(--on-ink); }
.cta .lead { margin-top: 20px; max-width: 620px; }
/* the closing band is light since 25 September; the mark is a faint watermark on it (stronger on ink) */
.cta__mark { position: absolute; right: -90px; top: 50%; width: 600px; height: 600px; transform: translateY(-50%); opacity: .07; z-index: 0; pointer-events: none; }
.on-ink .cta__mark { opacity: .16; }
@media (max-width: 1100px) { .cta__mark { right: -260px; opacity: .05; } .on-ink .cta__mark { opacity: .1; } }

/* ─── footer ───────────────────────────────────────────── */
.ftr { background: #0B1422; color: var(--on-ink-muted); padding: 72px 0 36px; font-size: 15.5px; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--navy-line); }
.ftr h4 { font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink); margin-bottom: 18px; }
.ftr ul { list-style: none; display: grid; gap: 10px; }
.ftr a { text-decoration: none; color: var(--on-ink-muted); transition: color .2s; }
.ftr a:hover { color: #fff; }
.ftr__about { max-width: 320px; margin-top: 22px; font-size: 15px; line-height: 1.6; }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 28px; font-size: 13.5px; color: #9AA3B5; }
@media (max-width: 860px) { .ftr__top { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }

/* ─── page head (inner pages) ──────────────────────────── */
.page-head { padding: clamp(48px, 6vw, 80px) 0 clamp(36px, 4vw, 52px); }
.page-head .h1 { max-width: 900px; }
.page-head .lead { max-width: 720px; margin-top: 24px; }
.page-head--center { text-align: center; }
.page-head--center .h1, .page-head--center .lead { margin-left: auto; margin-right: auto; }
.page-head--center .eyebrow { justify-content: center; }

.jump { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 34px; }
.jump__set { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.jump__group { margin-right: 4px; font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-dark); }
.jump a {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--sheet);
  border: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; transition: border-color .2s;
}
.jump a:hover { border-color: var(--ink); }
.jump a span { font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--tan-dark); }

/* ─── tour (how it works) ──────────────────────────────── */
.tour { display: grid; gap: clamp(64px, 7vw, 100px); }
.tour__step { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 5.5vw, 88px); align-items: center; }
.tour__step:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.tour__step:nth-child(even) .tour__copy { order: 2; }
.tour__num { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-dark); }
.tour__num b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; letter-spacing: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.tour__copy .h3 { margin-bottom: 16px; }
.tour__copy p + p { margin-top: 14px; }
.tour__copy .ticks { margin-top: 22px; }
@media (max-width: 900px) {
  .tour__step, .tour__step:nth-child(even) { grid-template-columns: 1fr; }
  .tour__step:nth-child(even) .tour__copy { order: 0; }
}
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.pair--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .pair--3 { grid-template-columns: 1fr; } }
/* what you get: the schematics, a large framing view beside the railing view and the notes */
.schem { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.schem figure { margin: 0; }
.schem figcaption { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--text); }
.schem figcaption b { color: var(--ink); font-weight: 600; }
.schem__side { display: grid; gap: 30px; }
@media (max-width: 900px) { .schem { grid-template-columns: 1fr; } }
.panel-shot { background: var(--sheet); border-radius: var(--r-l); border: 1px solid rgba(15, 26, 43, .08); box-shadow: var(--shadow-card); overflow: hidden; }

/* ─── what you get ─────────────────────────────────────── */
.doc-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 44px; }
.doc-head .h2 { margin-top: 0; }
@media (max-width: 900px) { .doc-head { grid-template-columns: 1fr; } }
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); margin-top: 40px; }
.facts li { padding: 22px 24px 0 0; font-size: 15.5px; line-height: 1.55; }
.facts li b { display: block; font-size: 16.5px; margin-bottom: 6px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } .facts li { padding: 18px 0 0; } }

.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.shot { margin: 0; }
.shot a { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--rule); background: var(--sheet); transition: border-color .2s, box-shadow .2s; }
.shot a:hover { border-color: #B9B6AF; box-shadow: var(--shadow-card); }
.shot figcaption { margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--text); }
.shot figcaption b { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .shots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .shots { grid-template-columns: 1fr; } }

.sheet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sheet-card { margin: 0; }
.sheet-card a { display: block; background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 8px; transition: border-color .2s, box-shadow .2s, transform .25s var(--ease); }
.sheet-card a:hover { border-color: #B9B6AF; box-shadow: var(--shadow-card); transform: translateY(-2px); }
.sheet-card img { aspect-ratio: 1.545 / 1; object-fit: cover; object-position: top; width: 100%; }
.sheet-card figcaption { display: flex; gap: 12px; align-items: baseline; margin-top: 12px; font-size: 15px; line-height: 1.4; color: var(--ink); }
.sheet-card figcaption span { flex: none; font-family: var(--font-label); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; color: var(--tan-dark); min-width: 34px; }
@media (max-width: 900px) { .sheet-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sheet-grid { grid-template-columns: 1fr; } }

.index { width: 100%; border-collapse: collapse; font-size: 15px; }
.index th { font-family: var(--font-label); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text); text-align: left; padding: 0 16px 10px 0; border-bottom: 1.5px solid var(--ink); }
.index td { padding: 11px 16px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink); }
.index td:first-child { font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--tan-dark); width: 64px; }
.index td:last-child { color: var(--text); }
.index tr.group td { padding-top: 22px; font-family: var(--font-label); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-dark); border-bottom: 1px solid var(--rule); }

.note-card { background: var(--sheet); border: 1px solid var(--rule); border-left: 3px solid var(--tan); border-radius: 0 var(--r) var(--r) 0; padding: 20px 24px; font-size: 15.5px; line-height: 1.6; }
.note-card b { display: block; margin-bottom: 4px; }

/* ─── lightbox (site.js) ───────────────────────────────── */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(96vw, 1800px); max-height: 94vh; }
.lightbox::backdrop { background: rgba(11, 20, 34, .88); }
.lightbox img { max-width: min(96vw, 1800px); max-height: 86vh; width: auto; border-radius: 6px; background: #fff; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #fff; padding: 12px 2px 0; font-size: 15px; }
.lightbox__close { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; padding: 9px 14px; font: 600 14.5px var(--font); cursor: pointer; }
.lightbox__close:hover { background: rgba(255, 255, 255, .2); }

/* ─── pilot + form ─────────────────────────────────────── */
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.term { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-l); padding: 28px 28px 30px; }
.term h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -.01em; }
.term p { font-size: 15.5px; line-height: 1.6; }
@media (max-width: 900px) { .terms { grid-template-columns: 1fr; } }

.form-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (max-width: 960px) { .form-wrap { grid-template-columns: 1fr; } }
.form { background: var(--sheet); border: 1px solid var(--rule); border-radius: 18px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-card); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.form__full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--text); margin-left: 6px; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 8px; border: 1px solid #C4C1BA; background: #fff;
  font: 400 16.5px/1.4 var(--font); color: var(--ink); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 112px; resize: vertical; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
.field input::placeholder, .field textarea::placeholder { color: #8A93A2; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9EA3AC; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(28, 46, 74, .16); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.form__foot .fine { flex: 1 1 260px; }
.form__foot a { color: var(--ink); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* what the request is for: a live demo, or pilot access */
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 26px; padding: 0; border: 0; min-width: 0; }
.choice legend { grid-column: 1 / -1; padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.choice label { position: relative; display: grid; gap: 3px; padding: 15px 16px 16px 46px; border: 1px solid var(--rule); border-radius: 12px; background: var(--sheet); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.choice label:hover { border-color: #9EA3AC; }
.choice input { position: absolute; left: 17px; top: 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.choice b { font-size: 16px; font-weight: 600; color: var(--ink); }
.choice span { font-size: 14px; line-height: 1.45; color: var(--text); }
.choice label:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #F8F7F3; }
.choice input:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
@media (max-width: 560px) { .choice { grid-template-columns: 1fr; } }

.aside-list { list-style: none; display: grid; gap: 18px; margin-top: 30px; }
.aside-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; font-size: 16px; line-height: 1.55; }
.aside-list svg { width: 22px; height: 22px; color: var(--tan-dark); margin-top: 2px; }

/* ─── prose (privacy) ──────────────────────────────────── */
.prose { max-width: 720px; }
.prose h2 { font-size: 24px; letter-spacing: -.012em; margin: 48px 0 12px; }
.prose p { margin-bottom: 14px; }
.prose a { color: var(--ink); }

/* ─── reveal on scroll (only when JS has marked the page) ─ */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ─── utilities ────────────────────────────────────────── */
.center { text-align: center; }
.mt-s { margin-top: 16px; } .mt { margin-top: 28px; } .mt-l { margin-top: 48px; } .mt-xl { margin-top: clamp(44px, 5vw, 64px); }
.more { margin-top: clamp(40px, 5vw, 56px); display: flex; justify-content: center; }
.hr { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* headline halves: one per line where there is room, running on where there is not */
.h-line { display: block; }
@media (max-width: 640px) { .h-line { display: inline; } }

/* two-column page sections: a sticky head beside the material */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split__head { position: sticky; top: 110px; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; }
@media (max-width: 960px) { .split, .split--even { grid-template-columns: 1fr; } .split__head { position: static; } }
.panels > a { display: block; }

/* centred labels that wrap on phones read better without the leading rule */
@media (max-width: 640px) {
  .hero__copy .eyebrow::before, .section-head--center .eyebrow::before, .page-head--center .eyebrow::before { display: none; }
}

/* ─── interactive estimate (rendered from the app's own Estimate panel) ─── */
.est { background: var(--sheet); border: 1px solid rgba(15, 26, 43, .10); border-radius: 18px; box-shadow: var(--shadow-window); overflow: hidden; text-align: left; }
.est__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 20px 22px 16px; border-bottom: 1px solid var(--rule); }
.est__title { font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.est__tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; background: var(--sheet-2); border: 1px solid var(--rule); }
.est__tabs button, .brandx__tabs button, .brandx__seg button {
  font: 600 14px/1 var(--font); color: var(--text); background: transparent; border: 0; border-radius: 7px; padding: 9px 13px; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s;
}
.est__tabs button:hover, .brandx__tabs button:hover { color: var(--ink); }
.est__tabs button[aria-selected="true"], .brandx__tabs button[aria-selected="true"] { background: var(--sheet); color: var(--ink); box-shadow: 0 1px 2px rgba(15, 26, 43, .12), 0 0 0 1px rgba(15, 26, 43, .06); }
.est__total { display: grid; gap: 4px; padding: 18px 22px 16px; background: linear-gradient(180deg, rgba(241, 238, 231, .55), rgba(241, 238, 231, 0)); }
.est__label { font-family: var(--font-label); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.est__label--gap { margin-top: 20px; }
.est__big { font-size: clamp(34px, 3.4vw, 42px); font-weight: 600; color: var(--ink); letter-spacing: -.02em; line-height: 1.05; }
.est__sub { font-size: 14.5px; color: var(--text); }
.est__panel { padding: 6px 22px 18px; }
.est__panel > .est__label:first-child { margin: 8px 0 8px; }
.est__trade { border-top: 1px solid var(--rule); }
.est__trade:last-child { border-bottom: 1px solid var(--rule); }
.est__trade summary {
  list-style: none; display: grid; grid-template-columns: 1fr auto 26px; align-items: center; gap: 12px;
  padding: 13px 2px; cursor: pointer; font-size: 15.5px; color: var(--ink);
}
.est__trade summary::-webkit-details-marker { display: none; }
.est__trade summary:hover .est__name { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.est__name { font-weight: 500; }
.est__val { font-weight: 600; }
.est__chev { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--rule); position: relative; transition: transform .25s var(--ease), background-color .2s; }
.est__chev::before { content: ""; position: absolute; left: 9px; top: 8px; width: 6px; height: 6px; border-right: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: rotate(45deg); }
.est__trade[open] .est__chev { transform: rotate(180deg); background: var(--sheet-2); }
.est__lines { list-style: none; margin: -2px 0 12px; padding: 4px 0 4px 14px; border-left: 2px solid var(--tan); }
.est__lines li, .est__ladder li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14.5px; line-height: 1.45; padding: 6px 0; color: var(--text); }
.est__lines li .money { color: var(--ink); white-space: nowrap; }
/* inside a trade: the takeoff (quantity × item, counted from the model), then the priced lines */
.est__sub-h { margin: 2px 0 6px 16px; font-family: var(--font-label); font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-dark); }
.est__count { list-style: none; margin: 0 0 14px; padding: 2px 0 2px 14px; border-left: 2px solid var(--rule); }
.est__count li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; font-size: 13.5px; line-height: 1.4; padding: 3.5px 0; color: var(--ink); }
.est__qty { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.est__qty::after { content: "\00a0\00d7"; font-weight: 400; color: var(--muted); }
.est__count small { display: block; margin-top: 1px; font-size: 12.5px; line-height: 1.35; color: var(--text); }
.est__cat { margin: 0 0 8px 16px; font-size: 13.5px; font-style: italic; color: var(--text); }
.est__ladder { list-style: none; }
.est__ladder li { border-top: 1px solid var(--rule); padding: 10px 0; }
.est__ladder li .money { white-space: nowrap; color: var(--ink); }
.est__ladder li.is-base { color: var(--ink); }
.est__ladder li.is-sum { color: var(--ink); font-weight: 600; }
.est__pending { font-style: italic; color: var(--text); white-space: nowrap; }
.est__assume { list-style: none; display: grid; gap: 8px; margin-top: 10px; }
.est__assume li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink); }
/* product status colours: these chips are the app's own states, shown as the app shows them */
.est__st { font-family: var(--font-label); font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; white-space: nowrap; }
.est__st--confirmed { color: #2F6B4F; background: #E4F0EA; }
.est__st--verify_on_site { color: #3C5A8A; background: #E3E9F3; }
.est__st--assumed { color: #6E5210; background: #F6EDD6; }
.est__pkgs { list-style: none; display: grid; gap: 10px; }
.est__pkgs li { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 12px; }
.est__pkgs li.is-selected { background: var(--sheet-2); border-color: var(--ink); box-shadow: inset 3px 0 0 var(--sage); }
.est__pkgs b { display: block; font-size: 15.5px; color: var(--ink); }
.est__pkgs li > div:first-child span { display: block; font-size: 13.5px; line-height: 1.4; color: var(--text); margin-top: 2px; }
.est__pkgprice { text-align: right; flex: none; }
.est__pkgprice .money { display: block; font-size: 19px; font-weight: 600; color: var(--ink); }
.est__pkgprice small { font-size: 12.5px; color: var(--text); }
.est__foot { padding: 14px 22px 18px; font-size: 13px; line-height: 1.5; color: var(--text); border-top: 1px solid var(--rule); background: var(--sheet-2); }
@media (max-width: 520px) {
  .est__head, .est__total, .est__panel, .est__foot { padding-left: 16px; padding-right: 16px; }
  .est__tabs { width: 100%; } .est__tabs button { flex: 1; padding: 9px 6px; }
}

/* ─── builder branding: before / after on the app's own screens ─── */
.brandx { background: var(--sheet); border: 1px solid rgba(15, 26, 43, .10); border-radius: 18px; box-shadow: var(--shadow-window); overflow: hidden; }
.brandx__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--rule); background: var(--sheet-2); }
.brandx__seg, .brandx__tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; background: var(--sheet); border: 1px solid var(--rule); }
.brandx__seg button[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: 0 1px 2px rgba(15, 26, 43, .25); }
.brandx__tabs button[aria-selected="true"] { background: var(--sheet-2); }
.brandx__view { position: relative; margin: 0; aspect-ratio: 16 / 10; background: var(--sheet-2); }
.brandx__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: opacity .35s var(--ease); }
.brandx[data-state="on"] .brandx__view .is-off { opacity: 0; }
.brandx[data-state="off"] .brandx__view .is-on { opacity: 0; }
.brandx__note { padding: 12px 16px 14px; font-size: 13px; line-height: 1.5; color: var(--text); border-top: 1px solid var(--rule); }
@media (max-width: 560px) { .brandx__bar { flex-direction: column; align-items: stretch; } .brandx__seg, .brandx__tabs { width: 100%; } .brandx__seg button, .brandx__tabs button { flex: 1; } }

.brand-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .brand-grid { grid-template-columns: 1fr; } }
.how-list { list-style: none; counter-reset: how; display: grid; gap: 22px; }
.how-list li { position: relative; padding-left: 50px; font-size: 16px; line-height: 1.55; }
.how-list li::before { counter-increment: how; content: counter(how); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 14px/1 var(--font); }
.how-list b { display: block; font-size: 17px; margin-bottom: 2px; }
.dialog-shot { margin-top: 28px; max-width: 360px; border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); box-shadow: var(--shadow-card); }

/* ─── requests ─── */
.asks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ask { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-l); padding: 26px 26px 28px; }
.ask svg { width: 30px; height: 30px; color: var(--tan-dark); margin-bottom: 18px; }
.ask h3 { font-size: 20px; letter-spacing: -.01em; margin-bottom: 8px; }
.ask p { font-size: 15.5px; line-height: 1.6; }
@media (max-width: 900px) { .asks { grid-template-columns: 1fr; } }

/* live demo prompt under the videos */
.try { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 28px; padding: 22px 26px; border-radius: var(--r-l); background: var(--sheet); border: 1px solid var(--rule); box-shadow: var(--shadow-card); }
.try > div { flex: 1 1 380px; font-size: 16px; line-height: 1.55; }
.try b { color: var(--ink); }
.hero__note a { color: var(--ink); text-underline-offset: 3px; }

/* ═══ premium pass, 25 September ══════════════════════════════════════════════════════════════════ */

/* header over the home hero: transparent at the top of the page, the paper bar once it scrolls */
.hdr--over:not(.is-stuck) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* The home hero is the product itself (Michael, 25 September: a finished-deck photograph is gorgeous but
   "not a reflection of what we do"), on white (the same evening: "websites are a bit softer with the white
   background"; it had been dark for an hour). The app's own screens in a window: one model through its four
   jobs, one per line of the headline. While the tour runs, the line for the screen showing is ink and the
   others step back to --muted (3.6:1 on white, fine for type this size) (site.js, "hero tour"); without the
   script the headline reads whole on the first screen. */
.hero--tour {
  margin-top: -76px; padding: calc(76px + clamp(36px, 6vh, 72px)) 0 clamp(44px, 6vh, 64px);
  overflow: hidden; border-bottom: 1px solid var(--rule);
  background: radial-gradient(52% 66% at 74% 50%, rgba(241, 238, 231, .95) 0%, rgba(241, 238, 231, 0) 72%), var(--sheet);
}
.hero--tour::after { display: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 8fr); gap: clamp(36px, 4.4vw, 72px); align-items: center; }
.hero__title { color: var(--ink); font-size: clamp(54px, 6.1vw, 92px); line-height: .96; letter-spacing: -.015em; }
.hero__title .h-line { display: block; transition: color .6s var(--ease); }
.hero--tour.is-touring .hero__title .h-line { color: var(--muted); }
.hero--tour.is-touring .hero__title .h-line.is-on { color: var(--ink); }
.hero--tour .lead { max-width: 29em; margin-top: 28px; }
.hero--tour .actions { margin-top: 36px; gap: 18px 28px; }
.eyebrow--light { color: #CFE2D5; }

/* the window: whole screens at 16:10, stacked; the new one fades in over the last */
.window--htour { box-shadow: 0 1px 2px rgba(15, 26, 43, .06), 0 24px 48px -20px rgba(15, 26, 43, .22), 0 70px 120px -50px rgba(15, 26, 43, .30); }
.htour__frames { position: relative; aspect-ratio: 16 / 10; background: #E9E5DC; overflow: hidden; }
.htour__frame { position: absolute; inset: 0; visibility: hidden; }
.htour__frame.is-on, .htour__frame.was-on { visibility: visible; }
.htour__frame.is-on { z-index: 2; }
.htour__frame.was-on { z-index: 1; }
.htour__frame.is-entering { animation: htour-in .75s var(--ease) both; }
.htour__frame picture, .htour__frame img { display: block; width: 100%; height: 100%; }
.htour__frame img { object-fit: cover; object-position: top left; }
@keyframes htour-in { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }

/* the four steps under it: a tan bar fills while a step shows, and the tour moves on when it is full */
.htour__nav { display: flex; align-items: flex-start; gap: 20px; margin-top: 24px; }
.htour__tabs { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.htour__tab {
  position: relative; display: block; padding: 16px 0 0; border: 0; background: none; font: inherit; color: var(--text);
  text-align: left; cursor: pointer;
}
.htour__track { position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: rgba(15, 26, 43, .12); overflow: hidden; }
.htour__fill { position: absolute; inset: 0; background: var(--tan); transform: scaleX(0); transform-origin: left center; }
.htour__tab[aria-selected="true"] .htour__fill { transform: none; }
.hero--tour[data-state="playing"] .htour__tab[aria-selected="true"] .htour__fill { animation: htour-fill 6s linear both; }
.hero--tour[data-state="playing"][data-hold] .htour__tab[aria-selected="true"] .htour__fill { animation-play-state: paused; }
@keyframes htour-fill { from { transform: scaleX(0); } to { transform: none; } }
.htour__tab b { display: block; font-family: var(--font-label); font-size: 11.5px; font-weight: 600; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; color: var(--text); transition: color .3s; }
.htour__tab:hover b, .htour__tab[aria-selected="true"] b { color: var(--ink); }
.htour__n { margin-right: 10px; color: var(--tan-dark); }
.htour__cap { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.4; color: var(--text); text-wrap: balance; }
.htour__toggle {
  flex: none; width: 36px; height: 36px; margin-top: 8px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--rule); background: var(--sheet); color: var(--ink); cursor: pointer; transition: border-color .2s;
}
.htour__toggle[hidden] { display: none; }
.htour__toggle:hover { border-color: var(--ink); }
.htour__toggle .i-play, .hero--tour:not([data-state="playing"]) .htour__toggle .i-pause { display: none; }
.hero--tour:not([data-state="playing"]) .htour__toggle .i-play { display: block; }

/* a quiet entrance, the words then the window: CSS only, so it runs from the first paint with or without the script */
.hero__words > * { animation: hero-rise .9s var(--ease) both; }
.hero__words > :nth-child(2) { animation-delay: .06s; }
.hero__words > :nth-child(3) { animation-delay: .14s; }
.hero__words > :nth-child(4) { animation-delay: .2s; }
.htour { animation: hero-rise 1.1s var(--ease) .12s both; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) { .hero--tour { margin-top: -68px; padding-top: calc(68px + 40px); } }
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__words { max-width: 640px; }
  /* stacked: the glow goes behind the window, not the words */
  .hero--tour { background: radial-gradient(90% 34% at 50% 80%, rgba(241, 238, 231, .95) 0%, rgba(241, 238, 231, 0) 72%), var(--sheet); }
}
@media (max-width: 700px) {
  .hero__title { font-size: clamp(46px, 13vw, 60px); }
  .htour__frames { aspect-ratio: 1 / 1; }
  .htour__nav { gap: 12px; margin-top: 18px; }
  .htour__tabs { gap: 10px; }
  .htour__tab { padding-top: 12px; }
  .htour__tab b { font-size: 10.5px; letter-spacing: .12em; }
  .htour__n { display: block; margin: 0 0 2px; }
  .htour__cap { display: none; }
  .htour__toggle { margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .htour__frame.is-entering, .hero__words > *, .htour { animation: none; }
  .hero__title .h-line { transition: none; }
}

.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--light svg { transition: transform .2s var(--ease); }
.btn--light:hover svg { transform: translateX(3px); }
.link--light { color: #fff; border-color: rgba(255, 255, 255, .42); }
.link--light:hover { border-color: #fff; }
.link .dur { font-weight: 500; opacity: .75; font-variant-numeric: tabular-nums; }

/* the lead feature: the product at its largest, copy above on its own line */
.feature--lead { grid-template-columns: 1fr; gap: 36px; }
.feature--lead .feature__copy { max-width: 760px; }
.feature--lead + .feature { margin-top: clamp(64px, 7vw, 100px); }

/* a tight crop of a document, framed like paper on the table */
.closeup { margin: 0; border-radius: var(--r-l); overflow: hidden; background: #fff; border: 1px solid rgba(15, 26, 43, .08); box-shadow: var(--shadow-window); }

/* why we built it: the founder's note beside real work */
.founder__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(44px, 7vw, 104px); align-items: center; }
.founder__photos { position: relative; padding-bottom: 12%; }
.founder__photo { margin: 0; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-window); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__photo--main { width: 86%; aspect-ratio: 4 / 3; }
.founder__photo--side { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4; border: 6px solid var(--sheet); }
.founder__quote { margin: 0; }
.founder__quote p { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(25px, 2.35vw, 34px); line-height: 1.28; color: var(--ink); text-wrap: pretty; }
.founder__quote p::before { content: "\201C"; }
.founder__quote p::after { content: "\201D"; }
.founder__sig { display: grid; gap: 2px; margin-top: 28px; padding-left: 18px; border-left: 2px solid var(--tan); }
.founder__sig b { font-size: 17px; }
.founder__sig span { font-size: 15px; color: var(--text); }
@media (max-width: 900px) { .founder__grid { grid-template-columns: 1fr; } .founder__photos { max-width: 620px; } }

/* the closing band: one button, one quiet link */
.cta .actions { gap: 18px 28px; }

/* ═══ waitlist, 26 September: one landing page (pages/waitlist.html, "layout": "bare") ═══════════════════════
   Michael: "i need a single landing page just to onboard a waitlist with a way to track it". Sign-up first (three
   fields in one bar), the demo under it, the one-model hub, one closing button; the tracker is
   pages/waitlist-admin.html. */
.hdr--bare { position: static; background: var(--sheet); border-bottom: 1px solid var(--rule); }
.hdr--bare .hdr__bar { height: 72px; }
.ftr-bare { padding: 26px 0 34px; border-top: 1px solid var(--rule); background: var(--sheet); font-size: 14px; color: var(--text); }
.ftr-bare a { color: var(--ink); text-underline-offset: 3px; }
.page-waitlist { background: var(--sheet); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wl-error { margin-top: 16px; padding: 10px 12px; border-radius: 8px; background: #F6E3E3; color: #7A2424; font-size: 14.5px; }

/* SIGN UP, 27 September (Michael: the centred version was "an absolute brutal design for a join the waiting list
   design"). One screen on desktop: the words and the sign-up card left, the product large on the right with the live
   price floating on it and the demo one click away (a player over the page). Then four cards, one per verb of the
   headline, and a short close. Under 960px it stacks: words, card, product, cards. */
.wl3-hero { padding: clamp(28px, 3.6vw, 64px) 0 clamp(56px, 6vw, 96px); overflow: hidden; background: radial-gradient(55% 70% at 80% 45%, rgba(241, 238, 231, .95) 0%, rgba(241, 238, 231, 0) 70%), var(--sheet); }
.wl3-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 84px); align-items: center; }
.wl3-title { margin-top: 14px; font-size: clamp(44px, 4.5vw, 70px); line-height: .98; }
.wl3-title .h-line { display: block; }
.wl3-sub { max-width: 30em; margin-top: 16px; font-size: clamp(16.5px, 1.25vw, 18.5px); }
.wl3-card { max-width: 540px; margin-top: 24px; padding: 22px 24px 20px; background: #fff; border: 1px solid rgba(15, 26, 43, .12); border-radius: 18px; box-shadow: var(--shadow-window); }
.wl3-card__title { margin: 0 0 12px; font: 600 26px/1.1 var(--font-display); letter-spacing: -.005em; color: var(--ink); }
.wl3-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wl3-field { display: block; margin: 0; min-width: 0; }
.wl3-field--full { grid-column: 1 / -1; }
.wl3-field input, .wl3-field select {
  display: block; width: 100%; height: 50px; padding: 0 16px; border: 1px solid #C4C1BA; border-radius: 10px; background: #fff;
  font: 400 16.5px/1.3 var(--font); color: var(--ink); appearance: none; -webkit-appearance: none; transition: border-color .2s, box-shadow .2s;
}
.wl3-field input::placeholder { color: #7C8797; }
.wl3-field select { padding-right: 38px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.wl3-field select:invalid { color: #7C8797; }
.wl3-field select option { color: var(--ink); }
.wl3-field input:hover, .wl3-field select:hover { border-color: #9EA3AC; }
.wl3-field input:focus, .wl3-field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(28, 46, 74, .16); }
.wl3-field [aria-invalid="true"] { border-color: #C0504D; box-shadow: 0 0 0 3px rgba(192, 80, 77, .14); }
.wl3-card .wl-error { margin: 12px 0 0; }
.wl3-submit { width: 100%; margin-top: 12px; justify-content: center; }
.wl3-card .btn--lg { min-height: 54px; }
.wl3-fine { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--text); }
.wl3-fine a { color: var(--ink); text-underline-offset: 3px; }

.wl3-product { position: relative; }
.wl3-shot { position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.wl3-window { display: block; transition: transform .35s var(--ease); box-shadow: 0 1px 2px rgba(15, 26, 43, .06), 0 24px 48px -20px rgba(15, 26, 43, .22), 0 70px 120px -50px rgba(15, 26, 43, .30); }
.wl3-window .window__bar { display: flex; }
.wl3-window img { display: block; width: 100%; }
.wl3-shot:hover .wl3-window { transform: translateY(-3px); }
.wl3-shot:focus-visible { outline: none; }
.wl3-shot:focus-visible .wl3-window { outline: 3px solid var(--navy); outline-offset: 4px; }
.wl3-play {
  position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 20px 9px 9px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .5); transition: transform .25s var(--ease);
}
.wl3-shot:hover .wl3-play { transform: translate(-50%, -50%) scale(1.05); }
.wl3-play__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; }
.wl3-play__icon svg { width: 14px; height: 14px; margin-left: 2px; }
.wl3-play .dur { font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.wl3-price { left: -36px; bottom: -30px; min-width: 0; margin: 0; pointer-events: none; }
.wl3-price small { max-width: 230px; }

.wl3-steps { padding: clamp(64px, 7vw, 104px) 0; background: var(--sheet-2); border-top: 1px solid var(--rule); }
.wl3-steps__title { max-width: 16em; margin: 0 auto clamp(32px, 4vw, 52px); text-align: center; }
.wl3-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.wl3-c { padding: 10px 10px 20px; background: #fff; border: 1px solid var(--rule); border-radius: 16px; box-shadow: var(--shadow-card); }
.wl3-c__img { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--sheet-2); border: 1px solid var(--rule); }
.wl3-c__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.wl3-c__img--left img { object-position: left top; }
/* the header and footer line up with the wider sign-up layout */
.page-waitlist .hdr--bare .wrap, .page-waitlist .ftr-bare .wrap { max-width: calc(var(--wrap-wide) + var(--gutter) * 2); }
.wl3-c__k { margin: 16px 8px 0; font: 600 11px/1.3 var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--sage-dark); }
.wl3-c h3 { margin: 6px 8px 4px; font-size: 18px; letter-spacing: -.005em; }
.wl3-c p:not(.wl3-c__k) { margin: 0 8px; font-size: 14.5px; line-height: 1.5; color: var(--text); text-wrap: pretty; }

/* the demo player, over the page */
.wl3-player { width: min(1100px, 94vw); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.wl3-player::backdrop { background: rgba(10, 16, 28, .84); }
.wl3-player__box { position: relative; }
.wl3-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; background: #000; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6); }
.wl3-player__x { position: absolute; top: -52px; right: 0; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.wl3-player__x:hover { background: rgba(255, 255, 255, .28); }

@media (max-width: 1099px) {
  .wl3-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
  .wl3-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .wl3-copy { max-width: 620px; }
  .wl3-card { max-width: none; }
  .wl3-price { left: 14px; bottom: -22px; }
}
@media (max-width: 699px) {
  .wl3-hero { padding-top: 20px; }
  .wl3-title { font-size: clamp(38px, 10.6vw, 50px); }
  .wl3-sub { margin-top: 12px; font-size: 16px; line-height: 1.5; }
  .wl3-card { margin-top: 20px; padding: 16px 16px 14px; border-radius: 16px; }
  .wl3-card__title { font-size: 23px; margin-bottom: 10px; }
  /* phones: name | company, email, phone | decks a year, state or province */
  .wl3-fields { gap: 8px; }
  .wl3-fields > :nth-child(3), .wl3-fields > :nth-child(6) { grid-column: 1 / -1; }
  .wl3-field input, .wl3-field select { height: 48px; padding: 0 13px; font-size: 16px; }
  .wl3-field select { padding-right: 32px; background-position: calc(100% - 17px) 21px, calc(100% - 12px) 21px; }
  .wl3-play { font-size: 15px; padding: 7px 16px 7px 7px; }
  .wl3-play__icon { width: 36px; height: 36px; }
  .wl3-price { padding: 12px 14px; }
  .wl3-price .money { font-size: 26px; }
  .wl3-price small { display: none; }
  .wl3-steps__title { font-size: 34px; }
  /* phones: each card is a row, the picture beside the words */
  .wl3-cards { grid-template-columns: 1fr; gap: 12px; }
  .wl3-c { display: grid; grid-template-columns: 116px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 10px; }
  .wl3-c__img { grid-row: 1 / span 3; aspect-ratio: 1 / 1; }
  .wl3-c__k { margin: 0; }
  .wl3-c h3 { margin: 4px 0 2px; font-size: 16.5px; }
  .wl3-c p:not(.wl3-c__k) { margin: 0; font-size: 14px; }
  .wl3-player__x { top: -50px; }
}

/* SIGN UP (Michael: "give me the absolute cleanest layout that prioritizes getting customers to sign up"). One centred
   column: the words, one bar with three fields and the button, then the demo under it. Wide screens: the fields sit
   in a single bar split by hairlines; under 900px they stack as plain boxes. */
.wlx-hero { padding: clamp(44px, 6vw, 84px) 0 clamp(56px, 6vw, 92px); text-align: center; background: radial-gradient(70% 60% at 50% 0%, rgba(241, 238, 231, .95) 0%, rgba(241, 238, 231, 0) 72%), var(--sheet); }
.wlx-hero__inner { max-width: calc(1040px + var(--gutter) * 2); }
.wlx-eyebrow { justify-content: center; }
.wlx-title { margin-top: 18px; font-size: clamp(44px, 6.6vw, 94px); line-height: .98; }
.wlx-title .h-line { display: block; }
.wlx-sub { max-width: 36em; margin: 22px auto 0; }
.wlx-form { max-width: 920px; margin: 36px auto 0; }
.wlx-row {
  display: flex; align-items: stretch; padding: 7px; background: #fff; border: 1px solid rgba(15, 26, 43, .14);
  border-radius: 16px; box-shadow: var(--shadow-window); text-align: left;
}
.wlx-field { position: relative; display: block; margin: 0; min-width: 0; }
.wlx-row .wlx-field { flex: 1 1 0; }
.wlx-row .wlx-field--email { flex-grow: 1.35; }
.wlx-row .wlx-field + .wlx-field::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px; background: var(--rule); }
.wlx-field input, .wlx-field select, .wlx-field textarea {
  display: block; width: 100%; height: 54px; padding: 0 18px; border: 0; border-radius: 10px; background: transparent;
  font: 400 16.5px/1.3 var(--font); color: var(--ink); appearance: none; -webkit-appearance: none; transition: background .2s, box-shadow .2s;
}
.wlx-field input::placeholder, .wlx-field textarea::placeholder { color: #7C8797; }
.wlx-field input:focus, .wlx-field select:focus, .wlx-field textarea:focus { outline: none; background: var(--sheet-2); box-shadow: inset 0 0 0 2px rgba(28, 46, 74, .45); }
.wlx-field [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #C0504D; }
.wlx-field select {
  padding-right: 40px; color: var(--ink);
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 25px, calc(100% - 15px) 25px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.wlx-field textarea { height: auto; min-height: 80px; padding: 14px 18px; line-height: 1.45; resize: vertical; }
.wlx-submit { flex: none; height: 54px; margin-left: 7px; padding: 0 26px; border-radius: 11px; white-space: nowrap; }
.wlx-form .wl-error { display: inline-block; margin-top: 14px; }
.wlx-form .wl-error[hidden] { display: none; }
.wlx-fine { max-width: 48em; margin: 16px auto 0; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.wlx-fine a { color: var(--ink); text-underline-offset: 3px; }

/* the optional details (on the thank-you page) */
.wlx-more { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--rule); }
.wlx-more__title { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.wlx-more__title .opt { margin-left: 6px; font-weight: 400; font-size: 14px; color: var(--text); }
.wlx-more__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.wlx-more__full { grid-column: 1 / -1; }
.wlx-more__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.wlx-more__msg { margin: 0; font-size: 14.5px; color: var(--sage-dark); }
.wlx-more__msg.is-error { color: #7A2424; }
/* boxed fields: the details step everywhere, and the sign-up fields under 900px */
.wlx-more .wlx-field input, .wlx-more .wlx-field select, .wlx-more .wlx-field textarea { height: 50px; border: 1px solid #C4C1BA; background: #fff; }
.wlx-more .wlx-field textarea { height: auto; min-height: 80px; }
.wlx-more .wlx-field select { background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; }

/* the intake questionnaire (the thank-you page's optional step): six questions answered with pills, a decking brand's
   lines appearing under "most popular" once it is picked, a box for "Other" */
.wlj__card.wli { max-width: 680px; }
.wli .wlx-more__title { font-size: 20px; line-height: 1.3; }
.wli-lead { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--text); }
.wli-q { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--rule); }
.wli-head + .wli-q { margin-top: 18px; }
/* the number stays beside the question when a long one wraps on a phone */
.wli-q__h { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; margin: 0 0 12px; font-size: 16.5px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.wli-q__n { display: grid; place-items: center; width: 26px; height: 26px; margin-top: -1px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wli-q__t { padding-top: 1px; }
.wli-q__h small { margin-left: 4px; font-size: 14px; font-weight: 400; color: var(--text); white-space: nowrap; }
.wli-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.wli-opt { position: relative; display: block; }
.wli-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.wli-opt span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 17px; border: 1px solid #C4C1BA; border-radius: 999px;
  background: #fff; font-size: 15.5px; font-weight: 500; line-height: 1.2; color: var(--ink); user-select: none;
  transition: background .15s, border-color .15s, color .15s;
}
/* a tick grows in front of a picked answer */
.wli-opt span::before {
  content: ""; width: 0; height: 10px; margin: -3px 0 0; border: solid currentColor; border-width: 0 2px 2px 0; opacity: 0;
  transform: rotate(45deg); transition: width .15s var(--ease), margin .15s var(--ease), opacity .15s;
}
.wli-opt:hover span { border-color: var(--ink); }
.wli-opt input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.wli-opt input:checked + span::before { width: 5px; margin: -3px 10px 0 1px; opacity: 1; }
.wli-opt input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.wli-opt input:disabled { cursor: default; }
.wli-opt input:disabled + span { opacity: .6; }
.wli-opt input:disabled:checked + span { opacity: 1; }
.wli-other { margin-top: 10px; }
.wli-empty { margin: 0; padding: 14px 16px; border: 1px dashed #C4C1BA; border-radius: 12px; font-size: 15px; line-height: 1.45; color: var(--text); }
.wli-brands { display: grid; gap: 10px; }
.wli-brand { padding: 14px 16px 16px; border-radius: 12px; background: var(--sheet-2); animation: wli-in .25s var(--ease); }
.wli-brand__name { margin: 0 0 10px; font: 600 11.5px/1.3 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--sage-dark); }
.wli-brand .wli-opt span { min-height: 40px; padding: 0 15px; font-size: 15px; }
@keyframes wli-in { from { opacity: 0; transform: translateY(-4px); } }
.wli-town { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--rule); }
.wli-town__l { display: block; margin-bottom: 10px; font-size: 16.5px; font-weight: 600; color: var(--ink); }
.wli .wlx-more__actions { margin-top: 20px; }
/* the emailed link's page (intake.html): the headline asks the question, so the card starts at question 1 */
.wli--plain > .wli-q:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.wlj__card.wli-note { max-width: 620px; margin: 36px auto 0; padding: 22px 24px; text-align: left; background: #fff; border: 1px solid rgba(15, 26, 43, .12); border-radius: 16px; font-size: 16px; line-height: 1.55; color: var(--text); }
.wli-note p { margin: 0; }
.wli-note b { color: var(--ink); }
.wli-note a { color: var(--ink); text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .wli-brand { animation: none; } .wli-opt span, .wli-opt span::before { transition: none; } }
@media (max-width: 559px) {
  .wli-q__h { font-size: 16px; }
  .wli-opt span { padding: 0 15px; font-size: 15px; }
}

/* the thank-you page (pages/joined.html, outsidelogic.ca/joined): the tick, their place in line, the optional
   details, what happens next, the demo, a link to pass on */
.page-joined { background: var(--sheet); }
.wlj { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 7vw, 104px); text-align: center; background: radial-gradient(70% 50% at 50% 0%, rgba(241, 238, 231, .95) 0%, rgba(241, 238, 231, 0) 72%), var(--sheet); }
.wlj__inner { max-width: calc(760px + var(--gutter) * 2); }
.wlj__tick { position: relative; display: block; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 10px rgba(110, 154, 126, .14); }
.wlj__tick::after { content: ""; position: absolute; left: 24px; top: 15px; width: 13px; height: 26px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.wlj__title { margin-top: 16px; font-size: clamp(40px, 5.6vw, 76px); line-height: 1; }
.wlj__sub { max-width: 34em; margin: 18px auto 0; }
.wlj__card.wlx-more { max-width: 620px; margin: 36px auto 0; padding: clamp(20px, 3vw, 28px); text-align: left; background: #fff; border: 1px solid rgba(15, 26, 43, .12); border-radius: 16px; box-shadow: var(--shadow-window); }
.wlj__next { max-width: 620px; margin: 56px auto 0; text-align: left; }
.wlj__h { margin: 0 0 18px; text-align: center; font: 600 12px/1.3 var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--sage-dark); }
.wlj__steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.wlj__steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 18px; background: #fff; border: 1px solid var(--rule); border-radius: 12px; font-size: 16px; line-height: 1.5; color: var(--text); }
.wlj__steps b { color: var(--ink); }
.wlj__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; }
.wlj__watch { margin-top: 56px; }
.wlj__watch .wlx-video { margin-top: 0; }
.wlj__share { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; max-width: 620px; margin: 48px auto 0; padding: 18px 22px; border: 1px dashed #C4C1BA; border-radius: 14px; font-size: 15.5px; line-height: 1.5; color: var(--text); }
.wlj__share p { margin: 0; }
.wlj__url { font-weight: 600; color: var(--ink); white-space: nowrap; }
@media (max-width: 759px) {
  .wlj__title { font-size: clamp(36px, 10.4vw, 48px); }
  .wlj__steps li { font-size: 15px; padding: 14px 14px; }
  .wlj__share .btn { width: 100%; justify-content: center; }
}

/* the demo right under the sign-up: the workspace poster, one play button */
.wlx-video { max-width: 1040px; margin: clamp(44px, 5.5vw, 72px) auto 0; }
.wlx-video__cover { align-items: center; justify-content: center; background: linear-gradient(0deg, rgba(15, 26, 43, .30) 0%, rgba(15, 26, 43, .06) 60%); }
.wlx-play { display: inline-flex; align-items: center; gap: 12px; padding: 9px 20px 9px 9px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 600; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .55); transition: transform .25s var(--ease); }
.wlx-video__cover:hover .wlx-play { transform: scale(1.04); }
.wlx-play__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; }
.wlx-play__icon svg { width: 14px; height: 14px; margin-left: 2px; }
.wlx-play .dur { font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.wlx-note { margin: 16px auto 0; font-size: 14px; color: var(--text); }

/* the hub's play button (phones and tablets: a bar under the model; wide screens: a pill on it) */
.whub__play { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; background: var(--ink); color: #fff; font-size: 15.5px; font-weight: 600; text-decoration: none; }
.whub__play-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--ink); }
.whub__play-icon svg { width: 12px; height: 12px; margin-left: 2px; }
.whub__play .dur { margin-left: auto; font-weight: 500; color: #BDC4D4; font-variant-numeric: tabular-nums; }

/* ONE MODEL (Michael: "show the configurator then all the features that it has scattered around the perimeter",
   then "something more like this" = the home page's hub, "and maybe a link to the product video", then "a better
   mobile version formated just for mobile"). Three groups of cards around the model:
   - 1180px and up: the groups dissolve (display: contents) into one ring, placed by data-slot: five design cards
     across the top, the customer's price and proposal down the left, the crew's takeoff and drawings down the right,
     packages / customer link / schematics along the bottom; site.js draws the connectors while --hub-lines is 1.
   - under 1180px (phones and tablets): the model, then each group as a labelled row you swipe (scroll-snap), with
     dots (site.js, [data-rail]); cards are 80% of the row on phones, 40% on tablets. */
.whub-sec { padding: var(--section) 0; background: var(--sheet-2); border-top: 1px solid var(--rule); }
.whub { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.whub__group { min-width: 0; }
.whub__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.whub__lines path { fill: none; stroke: var(--sage); stroke-width: 1.25; }
.whub__lines circle { fill: var(--sheet); stroke: var(--sage); stroke-width: 1.5; }
.whub .out, .whub__model { position: relative; z-index: 1; }
.whub .out { padding: 10px 10px 16px; box-shadow: var(--shadow-card); }
.whub .out:hover { transform: none; border-color: var(--rule); }
.whub .out .out__tag { display: none; margin: 14px 6px 0; font-family: var(--font-label); font-size: 10px; font-weight: 600; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-dark); }
.whub .out h3 { margin: 14px 6px 3px; font-size: 16.5px; }
.whub .out p:not(.out__tag) { margin: 0 6px; font-size: 14px; line-height: 1.45; text-wrap: pretty; }
.whub__model { margin: 0; border-radius: var(--r-l); overflow: hidden; background: var(--sheet); border: 1px solid rgba(15, 26, 43, .08); box-shadow: var(--shadow-window); }
.whub__model img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.whub__cap { margin: 0; padding: 12px 16px; font-size: 14px; line-height: 1.45; color: var(--text); }
.whub__cap b { color: var(--ink); }
.whub__glabel { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-dark); }
.whub__glabel::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--sage); background: var(--sheet); flex: none; }
.whub__rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.whub__dots { display: none; }

@media (min-width: 1180px) {
  .whub { --hub-lines: 1; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; }
  .whub__group, .whub__rail { display: contents; }
  .whub__glabel { display: none; }
  .whub .out .out__tag { display: block; }
  .whub .out h3 { margin-top: 5px; }
  .whub__model { grid-column: 2 / 5; grid-row: 2 / 4; }
  .whub__model img { height: 100%; aspect-ratio: auto; }
  .whub__cap { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 250px); padding: 9px 13px; border-radius: 9px; background: rgba(255, 255, 255, .93); font-size: 13.5px; box-shadow: var(--shadow-card); }
  .whub__play { position: absolute; right: 16px; bottom: 16px; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 999px; font-size: 14.5px; box-shadow: var(--shadow-float); transition: transform .25s var(--ease); }
  .whub__play:hover { transform: translateY(-1px); }
  .whub__play-icon { width: 34px; height: 34px; }
  .whub__play .dur { margin-left: 4px; }
  [data-slot^="t"] { grid-row: 1; margin-bottom: 34px; }
  [data-slot="t1"] { grid-column: 1; } [data-slot="t2"] { grid-column: 2; } [data-slot="t3"] { grid-column: 3; }
  [data-slot="t4"] { grid-column: 4; } [data-slot="t5"] { grid-column: 5; }
  [data-slot="l1"] { grid-column: 1; grid-row: 2; } [data-slot="l2"] { grid-column: 1; grid-row: 3; }
  [data-slot="r1"] { grid-column: 5; grid-row: 2; } [data-slot="r2"] { grid-column: 5; grid-row: 3; }
  [data-slot^="b"] { grid-row: 4; margin-top: 34px; }
  [data-slot="b1"] { grid-column: 2; } [data-slot="b2"] { grid-column: 3; } [data-slot="b3"] { grid-column: 4; }
}

/* phones and tablets: the design is the section, not a shrunken desktop — each group is a row you swipe */
@media (max-width: 1179px) {
  .whub__model { width: 100%; max-width: 820px; justify-self: center; }
  .whub__rail {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 40%; gap: 16px;
    margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 16px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .whub__rail::-webkit-scrollbar { display: none; }
  .whub__rail > .out { scroll-snap-align: start; }
  .whub__dots { display: flex; justify-content: center; gap: 7px; margin-top: 2px; }
  .whub__dots i { width: 6px; height: 6px; border-radius: 50%; background: #C9C5BC; transition: background .2s, width .2s var(--ease); }
  .whub__dots i.is-on { width: 18px; border-radius: 3px; background: var(--ink); }
}
@media (max-width: 759px) {
  .whub { gap: 30px; }
  .whub__model { border-radius: 14px; }
  .whub__glabel { margin-bottom: 12px; }
  .whub__rail { grid-auto-columns: 80%; gap: 12px; }
  .whub .out h3 { font-size: 17px; }
  .whub .out p:not(.out__tag) { font-size: 14.5px; }
}


/* one more way in */
.wlx-close { padding: clamp(64px, 7vw, 104px) 0; text-align: center; background: var(--sheet); border-top: 1px solid var(--rule); }
.wlx-close__inner { max-width: calc(720px + var(--gutter) * 2); }
.wlx-close .lead { max-width: 30em; margin: 16px auto 28px; }

/* a floating Join button once the form has scrolled away: full width on phones, a pill bottom-right on wider screens */
.wl-bar {
  position: fixed; right: 24px; bottom: 24px; z-index: 40; transform: translateY(calc(100% + 36px)); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s .35s;
}
.wl-bar[hidden] { display: none; }
.wl-bar.is-on { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.wl-bar .btn { box-shadow: var(--shadow-float); }

@media (max-width: 899px) {
  .wlx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; background: none; border: 0; box-shadow: none; }
  .wlx-row .wlx-field + .wlx-field::before { display: none; }
  .wlx-row .wlx-field--email, .wlx-submit { grid-column: 1 / -1; }
  .wlx-row .wlx-field input { border: 1px solid #C4C1BA; background: #fff; box-shadow: var(--shadow-card); }
  .wlx-submit { width: 100%; margin: 4px 0 0; justify-content: center; }
}
@media (max-width: 759px) {
  .wlx-hero { padding-top: 32px; }
  .wlx-eyebrow { font-size: 11px; letter-spacing: .14em; }
  .wlx-title { font-size: clamp(40px, 11.4vw, 52px); }
  .wlx-sub { font-size: 17px; }
  .wlx-form { margin-top: 28px; }
  .wlx-video { margin-top: 40px; border-radius: 12px; }
  .wlx-play { font-size: 15px; padding: 7px 16px 7px 7px; }
  .wlx-play__icon { width: 36px; height: 36px; }
  .whub-sec .h2, .wlx-close .h2 { font-size: 34px; }
  .whub-sec .lead { font-size: 16.5px; }
  .wl-bar { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .wl-bar .btn { width: 100%; justify-content: center; }
  .page-waitlist .ftr-bare { padding-bottom: 96px; }
}
@media (max-width: 559px) {
  .wlx-row { grid-template-columns: 1fr; }
  .wlx-more__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .hdr--bare .hdr__bar { height: 64px; } }

/* ═══ waitlist tracker, a small CRM (pages/waitlist-admin.html, "layout": "app"): private, key-gated ═══════════════
   Michael: "give me a better crm layout as well for the waitlist tracker. needs to look more professional". An app
   screen, not a web page: its own top bar, Barlow throughout, white panels on a warm grey, one status colour per stage
   (always with its name), a sortable list, and the person in a panel on the right. */
.page-crm {
  --crm-bg: #F4F3EF; --crm-line: #E4E2DC; --crm-line-2: #EEEDE8; --crm-head: #FAFAF7; --crm-hover: #FAF9F5;
  --st-new: #2F4F7F; --st-new-bg: #E7EDF6; --st-contacted: #7A5F44; --st-contacted-bg: #F4ECE2;
  --st-demo: #5B45A0; --st-demo-bg: #EEEAF8; --st-invited: #226B6B; --st-invited-bg: #E1F0EF;
  --st-onboarded: #3F6B4F; --st-onboarded-bg: #E4F0E7; --st-not-a-fit: #5E6673; --st-not-a-fit-bg: #EDEEF0;
  background: var(--crm-bg); color: var(--ink);
}
.crm { min-height: 100vh; }
.crm-brand { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.crm-brand svg { width: 26px; height: 26px; flex: none; }
.crm-brand__word { font: 300 13px/1 var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.crm-brand__word b { font-weight: 700; color: var(--tan-dark); }

/* sign in */
.crm-gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.crm-gate__card { width: min(420px, 100%); padding: 32px; background: #fff; border: 1px solid var(--crm-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(15, 26, 43, .05), 0 24px 48px -28px rgba(15, 26, 43, .28); }
.crm-gate__title { margin: 26px 0 4px; font: 600 24px/1.2 var(--font); letter-spacing: -.01em; }
.crm-gate__sub { margin: 0 0 22px; font-size: 15px; color: var(--text); }
.crm-label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; }
.crm-input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid #C9C6BF; border-radius: 10px; font: 400 16px var(--font); color: var(--ink); background: #fff; }
.crm-input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(28, 46, 74, .16); }
.crm-gate__go { width: 100%; margin-top: 14px; justify-content: center; }
.crm-gate__msg { min-height: 1.4em; margin: 12px 0 0; font-size: 14.5px; color: #9A3030; }

/* the bar along the top */
.crm-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; padding: 0 24px; background: #fff; border-bottom: 1px solid var(--crm-line); }
.crm-top__left, .crm-top__right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.crm-top__sep { width: 1px; height: 22px; background: var(--crm-line); }
.crm-top__title { margin: 0; font: 600 17px/1 var(--font); }
.crm-top__sync { margin-right: 4px; font-size: 13.5px; color: var(--text); white-space: nowrap; }
.crm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--crm-line); border-radius: 9px; background: #fff; color: var(--ink); font: 600 14px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s; }
.crm-btn:hover { border-color: #BDB9B0; background: var(--crm-hover); }
.crm-btn--quiet { border-color: transparent; background: none; color: var(--text); }
.crm-btn--dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.crm-btn--dark:hover { background: var(--ink); border-color: var(--ink); }
.crm-btn.is-off { color: #9AA1AC; cursor: default; background: #fff; border-color: var(--crm-line); }

.crm-body { max-width: 1440px; margin: 0 auto; padding: 24px 24px 56px; }

/* the numbers */
.crm-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wla-kpi { display: grid; gap: 6px; align-content: start; padding: 18px 20px; background: #fff; border: 1px solid var(--crm-line); border-radius: 12px; }
.wla-kpi__label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.wla-kpi__n { font-size: 34px; font-weight: 600; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.wla-kpi__sub { font-size: 13px; line-height: 1.4; color: var(--text); }
.crm-delta { font-weight: 600; color: var(--text); }
.crm-delta.is-up { color: var(--st-onboarded); }
.crm-delta.is-down { color: #9A3030; }

/* the panels */
.crm-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.crm-panel { padding: 18px 20px 16px; background: #fff; border: 1px solid var(--crm-line); border-radius: 12px; min-width: 0; }
.crm-panel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 12px; }
.crm-panel__head h2 { margin: 0; font: 600 15.5px/1.3 var(--font); }
.crm-panel__meta { font-size: 13px; color: var(--text); }
.crm-panel--chart { display: flex; flex-direction: column; }
.wla-chart { position: relative; flex: 1 1 auto; min-height: 190px; }
.wla-chart svg { position: absolute; inset: 0; display: block; overflow: visible; }
.wla-bar { fill: var(--navy); }
.wla-hit { fill: transparent; }
.wla-col.is-hover .wla-bar { fill: var(--ink); }
.wla-col.is-hover .wla-hit { fill: rgba(15, 26, 43, .04); }
.wla-base { stroke: var(--crm-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.wla-grid { stroke: var(--crm-line-2); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.wla-axis { font: 400 12px var(--font); fill: var(--text); }
.wla-tip { position: fixed; z-index: 70; pointer-events: none; padding: 6px 10px; border-radius: 7px; background: var(--ink); color: #fff; font: 500 13px var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; }
.crm-bars { display: grid; gap: 4px; }
.crm-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 6px; gap: 6px 10px; align-items: center; width: 100%; padding: 7px 8px; border: 0; border-radius: 8px; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.crm-bar:hover, .crm-bar.is-on { background: var(--crm-hover); }
.crm-bar.is-on { box-shadow: inset 0 0 0 1px var(--crm-line); }
.crm-bar__label { min-width: 0; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-bar__n { font-size: 14px; font-weight: 600; }
.crm-bar__track { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--crm-line-2); overflow: hidden; }
.crm-bar__fill { display: block; height: 100%; border-radius: 3px; background: var(--sage); }
.crm-bar--new .crm-bar__fill { background: var(--st-new); }
.crm-bar--contacted .crm-bar__fill { background: #B08A5E; }
.crm-bar--demo .crm-bar__fill { background: #7C66C2; }
.crm-bar--invited .crm-bar__fill { background: #3A9191; }
.crm-bar--onboarded .crm-bar__fill { background: #5E9A72; }
.crm-bar--not-a-fit .crm-bar__fill { background: #A3A9B3; }
.crm-none { margin: 6px 8px; font-size: 14px; color: var(--text); }

/* status: a pill with its name, in the stage's colour */
.crm-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.crm-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.crm-pill--new, .crm-status--new { color: var(--st-new); background: var(--st-new-bg); }
.crm-pill--contacted, .crm-status--contacted { color: var(--st-contacted); background: var(--st-contacted-bg); }
.crm-pill--demo, .crm-status--demo { color: var(--st-demo); background: var(--st-demo-bg); }
.crm-pill--invited, .crm-status--invited { color: var(--st-invited); background: var(--st-invited-bg); }
.crm-pill--onboarded, .crm-status--onboarded { color: var(--st-onboarded); background: var(--st-onboarded-bg); }
.crm-pill--not-a-fit, .crm-status--not-a-fit { color: var(--st-not-a-fit); background: var(--st-not-a-fit-bg); }
.crm-status { position: relative; display: inline-flex; align-items: center; border-radius: 999px; }
.crm-status::before { content: ""; position: absolute; left: 10px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: currentColor; pointer-events: none; }
.crm-status::after { content: ""; position: absolute; right: 11px; top: 50%; width: 5px; height: 5px; margin-top: -4px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); pointer-events: none; }
.wla-status { height: 30px; padding: 0 28px 0 23px; border: 0; border-radius: 999px; background: transparent; color: inherit; font: 600 13px var(--font); appearance: none; -webkit-appearance: none; cursor: pointer; }
.wla-status:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* the list */
.crm-list { margin-top: 16px; padding: 0; overflow: hidden; }
.crm-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--crm-line); }
.crm-tabs { display: flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 10px; background: var(--crm-bg); }
.wla-chip { padding: 7px 12px; border: 0; border-radius: 8px; background: none; color: var(--text); font: 600 13.5px var(--font); cursor: pointer; }
.wla-chip span { margin-left: 3px; font-weight: 500; color: #8A919C; }
.wla-chip:hover { color: var(--ink); }
.wla-chip[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15, 26, 43, .10), 0 0 0 1px var(--crm-line); }
.wla-chip[aria-pressed="true"] span { color: var(--text); }
.crm-search { position: relative; flex: 0 1 320px; }
.crm-search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: #8A919C; }
.crm-search input { width: 100%; height: 38px; padding: 0 12px 0 36px; border: 1px solid var(--crm-line); border-radius: 9px; background: #fff; font: 400 14.5px var(--font); color: var(--ink); }
.crm-search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(28, 46, 74, .12); }
.crm-tablewrap { overflow-x: auto; }
.crm-table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 14.5px; }
.crm-table th { position: sticky; top: 0; padding: 0 12px; height: 40px; background: var(--crm-head); border-bottom: 1px solid var(--crm-line); text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.crm-table th button { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; }
.crm-table th button:hover { color: var(--ink); }
.crm-table th[aria-sort="ascending"] button::after, .crm-table th[aria-sort="descending"] button::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; }
.crm-table th[aria-sort="ascending"] button::after { border-bottom: 5px solid currentColor; }
.crm-table th[aria-sort="descending"] button::after { border-top: 5px solid currentColor; }
.crm-table th[aria-sort="ascending"], .crm-table th[aria-sort="descending"] { color: var(--ink); }
.crm-table td { padding: 12px; border-bottom: 1px solid var(--crm-line-2); vertical-align: middle; color: var(--ink); }
.crm-table tbody tr { cursor: pointer; transition: background .12s; }
.crm-table tbody tr:hover { background: var(--crm-hover); }
.crm-table tbody tr:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
.crm-table tbody tr.is-open { background: #F2F0EA; box-shadow: inset 3px 0 0 var(--tan); }
.crm-table td small { display: block; margin-top: 2px; font-size: 13px; color: var(--text); }
.crm-table td a { color: var(--ink); text-decoration: none; }
.crm-table td a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crm-c-num { width: 48px; color: var(--text); }
td.crm-c-num { font-weight: 600; color: var(--text) !important; }
.crm-c-when { white-space: nowrap; color: var(--text) !important; }
.crm-c-go { width: 36px; color: #A3A9B3; }
.crm-c-go svg { display: block; width: 18px; height: 18px; }
.crm-who { display: flex; align-items: center; gap: 12px; min-width: 200px; }
.crm-who b { display: block; font-weight: 600; }
.crm-avatar { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #E9E4DA; color: var(--tan-dark); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.crm-avatar--lg { width: 48px; height: 48px; font-size: 16px; }
.crm-src { display: inline-block; max-width: 180px; padding: 3px 9px; border-radius: 6px; background: var(--crm-bg); font-size: 13px; font-weight: 500; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
.crm-dim { color: #9AA1AC; }
.crm-has-notes { color: var(--tan-dark) !important; font-weight: 600; }
.crm-kit { color: var(--sage-dark) !important; }
.crm-d__sec .crm-none { margin: 0; }
.crm-empty { padding: 36px 16px !important; text-align: center; color: var(--text) !important; cursor: default; }
.crm-count { margin: 0; padding: 12px 16px; font-size: 13.5px; color: var(--text); }

/* the person, on the right */
.crm-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(15, 26, 43, .16); }
.crm-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(460px, 100vw); overflow-y: auto; overscroll-behavior: contain;
  padding: 22px 24px 28px; background: #fff; border-left: 1px solid var(--crm-line); box-shadow: -24px 0 48px -24px rgba(15, 26, 43, .28);
  animation: crm-in .22s var(--ease);
}
.crm-drawer:focus { outline: none; }
@keyframes crm-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .crm-drawer { animation: none; } }
.crm-d__head { display: flex; align-items: center; gap: 14px; }
.crm-d__who { flex: 1 1 auto; min-width: 0; }
.crm-d__who h2 { margin: 0; font: 600 21px/1.2 var(--font); letter-spacing: -.01em; }
.crm-d__who p { margin: 3px 0 0; font-size: 14.5px; color: var(--text); }
.crm-d__x { flex: none; width: 36px; height: 36px; border: 1px solid transparent; border-radius: 9px; background: none; color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
.crm-d__x:hover { border-color: var(--crm-line); color: var(--ink); }
.crm-d__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.crm-d__sec { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--crm-line-2); }
.crm-d__sec h3 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.crm-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.crm-steps li { position: relative; }
.crm-steps li + li::before { content: ""; position: absolute; top: 11px; right: 50%; width: 100%; height: 2px; background: var(--crm-line); }
.crm-steps li:has(.is-done) + li::before, .crm-steps li:has(.is-done) + li:has(.is-now)::before { background: var(--st-onboarded); }
.crm-step { position: relative; display: grid; justify-items: center; gap: 8px; width: 100%; padding: 0 2px; border: 0; background: none; font: 600 12.5px/1.25 var(--font); color: var(--text); text-align: center; cursor: pointer; }
.crm-step__dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid #CFCBC3; transition: border-color .15s, background .15s; }
.crm-step:hover .crm-step__dot { border-color: var(--ink); }
.crm-step.is-done .crm-step__dot { background: var(--st-onboarded); border-color: var(--st-onboarded); }
.crm-step.is-done .crm-step__dot::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.crm-step.is-now { color: var(--ink); }
.crm-step.is-now .crm-step__dot { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(28, 46, 74, .14); background: var(--navy); }
.crm-fit { margin-top: 16px; padding: 7px 12px; border: 1px dashed #C9C6BF; border-radius: 8px; background: none; font: 600 13px var(--font); color: var(--text); cursor: pointer; }
.crm-fit:hover { border-color: var(--st-not-a-fit); color: var(--ink); }
.crm-fit.is-on { border-style: solid; background: var(--st-not-a-fit-bg); border-color: transparent; color: var(--st-not-a-fit); }
.crm-dl { display: grid; gap: 10px; margin: 0; }
.crm-dl > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; font-size: 14.5px; }
.crm-dl dt { color: var(--text); }
.crm-dl dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.crm-dl dd small { display: block; margin-top: 1px; font-size: 13px; color: var(--text); }
.crm-dl a { color: var(--ink); text-underline-offset: 3px; }
.crm-quote { margin: 0; padding: 12px 14px; border-left: 3px solid var(--tan); border-radius: 0 8px 8px 0; background: var(--crm-bg); font-size: 15px; line-height: 1.5; color: var(--ink); }
.crm-saved { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--st-onboarded); }
.crm-notes { display: block; width: 100%; min-height: 140px; padding: 12px 14px; border: 1px solid #D6D3CC; border-radius: 10px; font: 400 15px/1.5 var(--font); color: var(--ink); resize: vertical; }
.crm-notes:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(28, 46, 74, .12); }
.crm-d__foot { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--crm-line-2); }
.crm-remove { padding: 0; border: 0; background: none; font: 600 14px var(--font); color: #9A3030; cursor: pointer; }
.crm-remove:hover { text-decoration: underline; text-underline-offset: 3px; }

/* what they build with: the questionnaire across everyone, five small bar lists, and the send button */
.wla-kit { margin-top: 16px; }
.wla-kit .crm-panel__head { align-items: center; }
.wla-kit__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.wla-kit .crm-btn:disabled { background: #fff; border-color: var(--crm-line); color: #9AA1AC; cursor: default; }
.wla-kit__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 18px; }
.wla-kit__grid > .crm-none { grid-column: 1 / -1; margin: 4px 0 6px; }
.wla-kit__q h3 { margin: 4px 8px 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.wla-kit__q .crm-none { margin: 4px 8px; }
.wla-kit__more { margin: 2px 8px 0; font-size: 12.5px; color: var(--text); }
.crm-bar--kit .crm-bar__fill { background: var(--navy); }
.wla-own { margin-left: 4px; font-size: 11.5px; font-weight: 500; color: var(--tan-dark); }
.wla-kitchip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid var(--navy); border-radius: 999px; background: var(--navy); color: #fff; font: 600 13.5px/1 var(--font); cursor: pointer; }
.wla-kitchip[hidden] { display: none; }
.wla-q-state { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14.5px; color: var(--ink); }
.wla-q-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #C9C6BE; }
.wla-q-dot.is-sent { background: var(--tan); }
.wla-q-dot.is-done { background: var(--sage); }
.wla-q-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; }
.wla-q-actions .crm-btn:disabled { opacity: .6; cursor: default; }

@media (max-width: 1179px) {
  .crm-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .crm-panel--chart { grid-column: 1 / -1; }
  .wla-kit__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
  .wla-kit__grid { grid-template-columns: 1fr; }
  .wla-kit .crm-panel__head .crm-btn { width: 100%; }
}
@media (max-width: 899px) {
  .crm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .crm-top__sync { display: none; }
}
/* phones: the list becomes cards; the person fills the screen */
@media (max-width: 759px) {
  .crm-top { height: auto; min-height: 58px; padding: 10px 14px; flex-wrap: wrap; }
  .crm-top__sep, .crm-top__left .crm-brand__word { display: none; }
  .crm-top__right { gap: 6px; }
  .crm-btn { height: 34px; padding: 0 11px; font-size: 13.5px; }
  .crm-body { padding: 14px 14px 40px; }
  .crm-grid { grid-template-columns: 1fr; }
  .wla-kpi { padding: 14px 16px; }
  .wla-kpi__n { font-size: 28px; }
  .crm-toolbar { padding: 12px; }
  .crm-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .wla-chip { white-space: nowrap; }
  .crm-search { flex: 1 1 100%; }
  .crm-table { min-width: 0; }
  .crm-table thead { display: none; }
  .crm-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px 12px; border-bottom: 1px solid var(--crm-line-2); }
  .crm-table td { display: block; padding: 0; border: 0; }
  .crm-table td.crm-c-num, .crm-table td.crm-c-contact, .crm-table td.crm-c-src, .crm-table td.crm-c-go { display: none; }
  .crm-table td.crm-c-builds { grid-column: 1; font-size: 13.5px; color: var(--text); }
  .crm-table td.crm-c-when { grid-column: 2; grid-row: 2; text-align: right; font-size: 13px; }
  .crm-table td.crm-empty { grid-column: 1 / -1; }
  .crm-drawer { width: 100vw; border-left: 0; padding: 16px 16px 28px; }
  .crm-dl > div { grid-template-columns: 110px minmax(0, 1fr); }
}
