/* Third Shift Support
   Day sections are paper on steel. Night appears only where the agent is working.
   Amber (sodium) marks "answering" and the buttons that start a demo. Nothing else. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 500 900;
  font-stretch: 62% 100%;
  font-style: normal;
  font-display: swap;
}
/* Digits 0-9 in body text come from Archivo, so prices don't show the body face's slashed zero.
   A 7 KB digits-only file at weights 400-700, so the figures match regular and bold body text. */
@font-face {
  font-family: "Body Digits";
  src: url("/assets/fonts/archivo-digits.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/assets/fonts/atkinson-next-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Core palette */
  --night: #0F1B2E;
  --panel: #1B2A42;
  --sodium: #F5A83B;
  --steel: #E9EDF0;
  --ink: #121C28;
  --slate: #3F4B5A;
  /* Support values */
  --paper: #FFFFFF;
  --moon: #E8ECF1;
  --haze: #A9B6C6;
  --rule: #6E7A88;      /* input borders, 3:1 or better on paper and steel */
  --hairline: #C3CBD3;  /* decorative dividers only */
  --highlight: #FCE3B8; /* the cited line on the spec sheet */
  --error: #A3261B;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Body Digits", "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 16px;
  --max: 1200px;
  --section: clamp(64px, 8vw + 24px, 128px);
  --header-h: 64px;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--steel);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.1875rem; /* 19px */
  line-height: 1.55;
  overflow-x: hidden;
}

@media (min-width: 1024px) {
  body { font-size: 1.25rem; } /* 20px */
}

h1, h2, h3 {
  font-family: var(--display);
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 1.5rem + 5.4vw, 5.25rem);
  font-weight: 850;
  font-stretch: 72%;
  line-height: 0.95;
  letter-spacing: -0.005em;
}

h2 {
  font-size: clamp(2.125rem, 1.35rem + 3.2vw, 3.5rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1;
  max-width: 22ch;
}

h3 {
  font-size: 1.375rem;
  font-weight: 700;
  font-stretch: 85%;
  line-height: 1.15;
}

p { margin: 0 0 1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }

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

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

figure { margin: 0; }

figcaption {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--slate);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.night :focus-visible { outline-color: var(--sodium); }

/* Launch switches on <html>: delete "no-phone" once [PHONE] is filled in,
   and "no-agent" once the live agent embed is set. */
.no-phone [data-needs-phone],
.no-agent [data-needs-agent] { display: none !important; }

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

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 16px;
  border-radius: 4px;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1280px) { :root { --gutter: 40px; } }

.section { padding-block: var(--section); }

.night {
  background: var(--night);
  color: var(--moon);
}

.section-lede {
  margin-top: 20px;
  font-size: 1.1875em;
  color: var(--slate);
  max-width: 52ch;
}
.night .section-lede { color: var(--haze); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: var(--display);
  font-size: 1.1875rem;
  font-weight: 750;
  font-stretch: 88%;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--sodium);
  color: var(--night);
}
.btn-primary:hover { background: #FFBA57; }
.btn-secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-secondary:hover { background: var(--paper); }
.night .btn-secondary,
.btn-on-night {
  border-color: var(--moon);
  color: var(--moon);
}
.night .btn-secondary:hover,
.btn-on-night:hover { background: var(--panel); }
.btn-block { display: flex; width: 100%; }
.btn-small { min-height: 48px; padding: 0 16px; font-size: 1.0625rem; }
.btn[aria-disabled="true"] { opacity: 0.7; cursor: progress; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--steel);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
  color: var(--ink);
  min-height: 48px;
}
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name {
  font-family: var(--display);
  font-weight: 850;
  font-stretch: 75%;
  font-size: 1.25rem;
  line-height: 0.95;
}
@media (max-width: 419px) {
  .brand-name span { display: block; }
}
.nav { display: none; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
}
.nav a:hover { text-decoration: underline; }
.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 48px;
  min-height: 48px;
  padding: 0 8px;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-call svg { width: 22px; height: 22px; }
.header-call-text { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; margin-right: 8px; }
}
@media (min-width: 1180px) {
  .header-call-text { display: inline; }
  .header-call { margin-right: 8px; }
}

/* ---------- Hero ---------- */

.hero { padding-block: 40px 72px; }
.hero-grid {
  display: grid;
  gap: 48px;
}
.hero h1 { max-width: 13ch; }
.hero .lede {
  margin-top: 24px;
  font-size: 1.125em;
  color: var(--slate);
  max-width: 46ch;
}
.form-quick { margin-top: 28px; max-width: 30rem; }
.reassure {
  margin-top: 24px;
  display: grid;
  gap: 6px;
  font-weight: 700;
}
.reassure li {
  position: relative;
  padding-left: 30px;
}
.reassure li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.35em;
  width: 16px; height: 9px;
  border-left: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(-45deg);
}
@media (min-width: 960px) {
  .hero { padding-block: 64px 96px; }
  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: 56px;
  }
  .chat-figure { margin-top: 8px; }
}

/* Example conversation */

.chat {
  background: var(--night);
  color: var(--moon);
  border-radius: 12px;
  overflow: hidden;
}
.chat-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--panel);
  font-size: 1rem;
}
.chat-title { font-weight: 700; margin-right: auto; }
.chat-status { display: inline-flex; align-items: center; gap: 8px; color: var(--sodium); font-weight: 700; }
.chat-status .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--sodium);
}
.chat-clock {
  font-family: var(--display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--haze);
}
.chat-log {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 16px 22px;
  font-size: 1.0625rem;
  line-height: 1.45;
}
.msg {
  position: relative;
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 12px;
}
.msg-customer {
  align-self: flex-end;
  background: var(--moon);
  color: var(--ink);
  border-bottom-right-radius: 4px;
}
.msg-agent {
  align-self: flex-start;
  background: var(--panel);
  color: var(--moon);
  border-bottom-left-radius: 4px;
}
.source-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 10px;
  padding: 4px 10px;
  border: 1px solid var(--haze);
  border-radius: 4px;
  font-size: 0.9375rem;
  color: var(--moon);
}
.source-chip svg { width: 14px; height: 14px; flex: none; }
.handoff {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 88%;
  font-variant-numeric: tabular-nums;
  color: var(--sodium);
}
.handoff::before, .handoff::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--panel);
}
@media (min-width: 1024px) {
  .chat-log { font-size: 1.125rem; padding: 24px 20px 26px; }
}

/* The one orchestrated moment: the chat plays once on load (site.js). */
.js .chat[data-chat] .msg,
.js .chat[data-chat] .handoff { opacity: 0; }
.js .chat[data-chat] .is-in { opacity: 1; transition: opacity 0.25s ease-out; }
.js .chat[data-chat].is-done .msg,
.js .chat[data-chat].is-done .handoff { opacity: 1; }
.msg-agent.is-typing { color: transparent; }
.msg-agent.is-typing .source-chip { visibility: hidden; }
.msg-agent.is-typing::after {
  content: "";
  position: absolute;
  left: 18px; top: 20px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--haze);
  box-shadow: 14px 0 var(--haze), 28px 0 var(--haze);
  animation: typing 0.9s infinite alternate;
}
@keyframes typing { from { opacity: 0.35; } to { opacity: 1; } }

/* ---------- Shift board (the signature moment) ---------- */

.board-band { padding-block: var(--section); }
.board-title {
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  font-stretch: 85%;
  color: var(--haze);
  max-width: none;
}
.board-sentence {
  margin: 16px 0 0;
  font-family: var(--display);
  font-size: clamp(1.875rem, 1.2rem + 3vw, 3.25rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1.05;
  max-width: 30ch;
  min-height: 5.25em; /* holds the longest sentence so the board doesn't jump when it changes */
  font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) {
  .board-sentence { min-height: 4.2em; }
}
.board { margin-top: 40px; }
.board-grid {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  grid-template-rows: auto auto auto 2.75rem;
  column-gap: 12px;
  row-gap: 10px;
}
.board-scale {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  height: 2.25rem;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 85%;
  font-size: 0.9375rem;
  color: var(--haze);
  font-variant-numeric: tabular-nums;
}
.board-scale::after {
  /* hour ticks, like a time clock dial laid flat */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 8px;
  background: repeating-linear-gradient(to right, var(--haze) 0 1px, transparent 1px calc(100% / 24));
  border-right: 1px solid var(--haze);
}
.board-scale span {
  position: absolute;
  top: 0;
  left: calc(var(--at) / 6 * 100%);
  transform: translateX(-50%);
  white-space: nowrap;
}
.board-scale span:first-child { transform: none; }
.board-scale span:last-child { transform: translateX(-100%); }
.board-label {
  grid-column: 1;
  align-self: center;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 80%;
  font-size: 1.125rem;
  line-height: 1.05;
}
.board-label-us { color: var(--sodium); }
.track {
  grid-column: 2;
  display: flex;
  min-height: 72px;
  border-radius: 4px;
  overflow: hidden;
}
.track-desk { grid-row: 2; }
.track-us { grid-row: 3; }
.board-label-desk { grid-row: 2; }
.board-label-us { grid-row: 3; }
.seg.is-current { box-shadow: inset 0 0 0 3px var(--moon); }
.seg-team.is-current { box-shadow: inset 0 0 0 3px var(--ink); }
.seg {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 10px;
  font-size: 0.9375rem;
  line-height: 1.2;
}
.seg b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 85%;
  font-size: 0.875rem;
  opacity: 0.85;
}
.seg + .seg { border-left: 2px solid var(--night); }
/* Text sits on a solid chip above the Now line, so the line never cuts through a label. */
.seg-text {
  position: relative;
  z-index: 2;
  width: fit-content;
  margin: -2px -4px;
  padding: 2px 4px;
  border-radius: 2px;
}
.seg-team, .seg-team .seg-text { background: var(--paper); color: var(--ink); }
.seg-voicemail, .seg-voicemail .seg-text { background: var(--panel); color: var(--moon); }
.seg-nobody .seg-text, .seg-closed .seg-text { background: #0B1524; }
.seg-us .seg-text { background: var(--sodium); }
.seg-nobody {
  background: repeating-linear-gradient(135deg, #0B1524 0 8px, #15243A 8px 16px);
  color: var(--haze);
  box-shadow: inset 0 0 0 1px var(--panel);
}
.seg-closed {
  display: none;
  background: repeating-linear-gradient(135deg, #0B1524 0 8px, #15243A 8px 16px);
  color: var(--haze);
  box-shadow: inset 0 0 0 1px var(--panel);
}
.board.is-weekend .seg-team,
.board.is-weekend .seg-voicemail,
.board.is-weekend .seg-nobody { display: none; }
.board.is-weekend .seg-closed { display: flex; }
.seg-us {
  background: var(--sodium);
  color: var(--night);
  font-weight: 700;
}
.now-layer {
  grid-column: 2;
  grid-row: 2 / 5;
  position: relative;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.now {
  position: absolute;
  inset: 0;
  transform: translateX(calc(var(--pos, 0) * 100%));
}
.now.is-moving { transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.now-line {
  position: absolute;
  left: -2px; top: 0;
  bottom: 2.75rem;
  width: 4px;
  background: var(--moon);
  box-shadow: 0 0 0 2px var(--night);
}
.now-label {
  position: absolute;
  left: 0; bottom: 0;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--moon);
  color: var(--night);
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 85%;
  font-size: 1rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.now[data-align="start"] .now-label { transform: translateX(-2px); }
.now[data-align="end"] .now-label { transform: translateX(calc(-100% + 2px)); }
.board-foot { margin-top: 28px; color: var(--haze); }

@media (max-width: 639px) {
  .board-scale span:nth-child(even) { display: none; }
  .seg { padding: 8px 7px; font-size: 0.875rem; }
  .seg b { font-size: 0.8125rem; }
}
@media (min-width: 768px) {
  .board-grid { grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: 20px; }
  .board-label { font-size: 1.375rem; }
  .track { min-height: 84px; }
  .seg { padding: 10px 16px; font-size: 1.0625rem; }
  .seg b { font-size: 0.9375rem; }
}

/* ---------- What it answers ---------- */

.chips {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips li {
  padding: 10px 16px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--ink);
  font-size: 1.0625rem;
  line-height: 1.35;
}
.answers-grid {
  margin-top: 56px;
  display: grid;
  gap: 48px;
}
.answers-lede { font-weight: 700; font-size: 1.125em; }
.sources {
  margin-top: 24px;
  display: grid;
  gap: 28px;
}
.sources li { border-top: 4px solid var(--ink); padding-top: 14px; }
.sources p { margin-top: 8px; color: var(--slate); }
.answers-close {
  margin-top: 36px;
  padding-left: 18px;
  border-left: 4px solid var(--sodium);
  font-weight: 700;
  font-size: 1.0625em;
}
@media (min-width: 760px) {
  .sources { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1024px) {
  .answers-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
}

/* Spec sheet and report: paper objects with square corners */

.spec-sheet, .report {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 20px;
}
.spec-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--ink);
}
.spec-part {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 80%;
  font-size: 1.375rem;
}
.spec-page { font-size: 1rem; color: var(--slate); }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.spec-table th, .spec-table td {
  padding: 10px 6px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
}
.spec-table th { font-weight: 400; color: var(--slate); width: 48%; }
.spec-table td {
  font-family: var(--display);
  font-weight: 650;
  font-stretch: 90%;
  font-variant-numeric: tabular-nums;
}
.spec-table .spec-hit th,
.spec-table .spec-hit td { background: var(--highlight); color: var(--ink); }
.spec-table .spec-hit th { font-weight: 700; }

/* ---------- Try it live ---------- */

.live { background: var(--night); color: var(--moon); }
.live-grid { display: grid; gap: 32px; }
.live-agent {
  min-height: 320px;
  border: 1px solid var(--panel);
  border-radius: 12px;
  background: var(--panel);
  display: flex;
  align-items: center;
}
.live-fallback { padding: 28px 24px; }
.live-fallback p { color: var(--moon); }
.live-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.live-agent.has-agent .live-fallback { display: none; }
@media (min-width: 960px) {
  .live-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
  .live-fallback { padding: 40px; }
}

/* ---------- Compare ---------- */

.compare-wrap { margin-top: 40px; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.0625rem;
  line-height: 1.4;
}
.compare-table th, .compare-table td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--hairline);
}
.compare-table thead th {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 80%;
  font-size: 1.375rem;
  line-height: 1.1;
  vertical-align: bottom;
  border-bottom: 3px solid var(--ink);
}
.compare-table tbody th {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 88%;
  font-size: 1.125rem;
  width: 18%;
}
.compare-table td { color: var(--slate); width: 27%; }
.compare-table .us {
  background: var(--night);
  color: var(--moon);
  font-weight: 700;
  border-bottom-color: var(--panel);
}
.compare-table thead th.us {
  background: var(--sodium);
  color: var(--night);
  border-bottom-color: var(--sodium);
}

@media (max-width: 759px) {
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr { display: block; }
  .compare-table tr {
    display: flex;
    flex-direction: column;
    padding-block: 20px;
    border-top: 3px solid var(--ink);
  }
  .compare-table th, .compare-table td { display: block; width: auto; border: 0; padding: 0; }
  .compare-table tbody th { order: 0; width: auto; font-size: 1.375rem; margin-bottom: 10px; }
  .compare-table td { width: auto; }
  .compare-table td.us { order: 1; padding: 14px 16px; border-radius: 4px; margin-bottom: 12px; }
  .compare-table td:not(.us) { order: 2; padding: 6px 0; }
  .compare-table td::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    color: var(--ink);
  }
  .compare-table td.us::before { color: var(--sodium); }
}

/* ---------- How it works ---------- */

.how-grid { display: grid; gap: 48px; }
.steps {
  margin-top: 36px;
  counter-reset: step;
  display: grid;
  gap: 28px;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  column-gap: 16px;
}
.steps li::before {
  content: counter(step);
  grid-row: 1 / 3;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 62%;
  font-size: 3.5rem;
  line-height: 0.85;
  color: var(--ink);
}
.steps h3 { font-size: 1.375rem; }
.steps p { margin-top: 6px; color: var(--slate); }
.report-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--ink);
}
.report-title {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 80%;
  font-size: 1.375rem;
}
.report-tag {
  padding: 2px 10px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9375rem;
}
.report-period { margin: 10px 0 4px; font-size: 1rem; color: var(--slate); }
.report-rows { margin: 0; font-size: 1rem; }
.report-rows div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
}
.report-rows dt { color: var(--slate); }
.report-rows dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 90%;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.report-rows .report-total dt { color: var(--ink); font-weight: 700; }
.report-rows .report-total dd { font-size: 1.375rem; }
.report-rows .report-multiple { border-bottom: 0; }
.report-rows .report-multiple dd { font-size: 2rem; font-weight: 850; font-stretch: 75%; }
@media (min-width: 960px) {
  .how-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
}

/* ---------- 10x calculator ---------- */

.noscript-note { margin-top: 16px; font-weight: 700; }
.calc-grid {
  margin-top: 40px;
  display: grid;
  gap: 24px;
}
.calc-inputs {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 8px 20px 20px;
}
.calc-row { padding-block: 16px; border-bottom: 1px solid var(--hairline); }
.calc-row > label { display: block; font-weight: 700; line-height: 1.3; }
.calc-row .hint { display: block; font-weight: 400; color: var(--slate); font-size: 1rem; margin-top: 2px; }
.calc-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.calc-controls input[type="range"] { flex: 1 1 auto; min-width: 0; }
.num { position: relative; flex: none; width: 8.25rem; }
.num input {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 2px solid var(--rule);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 90%;
  font-size: 1.1875rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.num-prefix input { padding-left: 26px; }
.num-suffix input { padding-right: 46px; }
.num-prefix::before, .num-suffix::after {
  content: attr(data-unit);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--slate);
  pointer-events: none;
}
.num-prefix::before { left: 12px; }
.num-suffix::after { right: 12px; }
.num input:focus { border-color: var(--ink); }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 48px;
  background: transparent;
  cursor: pointer;
  --fill: 50%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--ink) 0 var(--fill), var(--hairline) var(--fill) 100%);
}
input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--ink) 0 var(--fill), var(--hairline) var(--fill) 100%);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px; height: 30px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--paper);
  border: 4px solid var(--ink);
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 4px solid var(--ink);
}
input[type="range"]:focus-visible { outline-offset: 0; }

.calc-toggle { padding-top: 16px; }
.check {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  font-weight: 700;
  cursor: pointer;
}
.check input {
  width: 28px; height: 28px;
  margin: 0;
  flex: none;
  accent-color: var(--ink);
}
.calc-toggle .calc-row { border-bottom: 0; padding-bottom: 0; }

.readout {
  padding: 24px 20px;
  border-radius: 4px;
  align-self: start;
}
.readout-rows { margin: 0; }
.readout-rows div {
  padding: 12px 0;
  border-bottom: 1px solid var(--panel);
}
.readout-rows dt { color: var(--haze); font-size: 1rem; }
.readout-rows dd {
  margin: 2px 0 0;
  font-family: var(--display);
  font-weight: 750;
  font-stretch: 85%;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
}
.readout-rows .readout-total { border-bottom: 0; }
.readout-rows .readout-total dt { color: var(--moon); font-weight: 700; }
.readout-rows .readout-total dd { font-size: clamp(2.5rem, 2rem + 2vw, 3.25rem); font-weight: 850; font-stretch: 75%; line-height: 1; }
.multiples { margin-top: 12px; display: grid; gap: 8px; }
.multiple {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0;
  padding: 12px 14px;
  background: var(--panel);
  border-radius: 4px;
}
.multiple .plan { margin-right: auto; font-size: 1rem; }
.multiple .x {
  font-family: var(--display);
  font-weight: 850;
  font-stretch: 80%;
  font-size: 1.75rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.multiple .pass {
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--sodium);
  color: var(--night);
  font-weight: 700;
  font-size: 0.9375rem;
}
.multiple .pass[hidden] { display: none; }
.verdict {
  margin: 20px 0;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.4;
}
.footnote { margin-top: 20px; font-size: 1rem; color: var(--slate); max-width: 72ch; }
@media (min-width: 960px) {
  .calc-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; }
  .calc-inputs { padding: 8px 32px 28px; }
  .readout { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; }
}

/* ---------- Pricing ---------- */

.tiers {
  margin-top: 40px;
  display: grid;
  gap: 20px;
}
.tier {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-top: 4px solid var(--ink);
}
.tier h3 { font-size: 1.625rem; font-stretch: 80%; font-weight: 800; }
.tier-founding {
  background: var(--night);
  color: var(--moon);
  border: 0;
  border-top: 4px solid var(--sodium);
  border-radius: 0 0 4px 4px;
}
.spots {
  order: -1;
  width: fit-content;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--sodium);
  color: var(--night);
  font-weight: 700;
  font-size: 1rem;
}
.price { margin: 18px 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price-main {
  font-family: var(--display);
  font-weight: 850;
  font-stretch: 75%;
  font-size: 3.5rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-unit { font-weight: 700; color: var(--slate); }
.night .price-unit { color: var(--haze); }
.price-setup { margin: 6px 0 0; font-weight: 700; color: var(--slate); }
.price-then { margin-top: 12px; font-weight: 700; }
.tier-terms { color: var(--haze); }
.tier-for { margin-top: 16px; }
.tier-list { margin: 16px 0 0; display: grid; gap: 8px; }
.tier-list li { position: relative; padding-left: 26px; line-height: 1.4; }
.tier-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.3em;
  width: 13px; height: 7px;
  border-left: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(-45deg);
}
/* Buttons sit on one line across all three tiers. */
.tier .btn { margin-top: auto; }
.tier > :nth-last-child(2) { margin-bottom: 28px; }
.pricing-notes { margin-top: 28px; display: grid; gap: 4px; }
.pricing-notes p { margin: 0; font-size: 1.0625rem; color: var(--slate); }
.pricing-notes p:first-child { color: var(--ink); font-weight: 700; }
.guarantee {
  margin-top: 36px;
  padding: 24px;
  border: 3px solid var(--ink);
  background: var(--paper);
}
.guarantee h3 { font-size: 1.625rem; font-stretch: 80%; font-weight: 800; }
.guarantee p { margin-top: 8px; font-size: 1.125em; font-weight: 700; max-width: 52ch; }
@media (min-width: 960px) {
  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
  .tier { padding: 32px 28px; }
  .guarantee { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 28px 32px; }
  .guarantee p { margin-top: 0; }
}

/* Proof slot: ready for real results only. Markup is commented out in index.html. */
.proof { margin-top: 48px; display: grid; gap: 24px; }
.proof-logos { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.proof-quote blockquote { margin: 0; font-size: 1.375rem; font-weight: 700; }
.proof-metric strong { font-family: var(--display); font-size: 3rem; font-stretch: 75%; display: block; }

/* ---------- Local and founder ---------- */

.local-grid { display: grid; gap: 32px; }
.founder-photo img {
  width: 100%;
  max-width: 360px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.founder-story { margin-top: 24px; font-size: 1.0625em; }
.service-area { margin-top: 20px; font-weight: 700; }
.founder-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.founder-contact { margin-top: 16px; color: var(--slate); font-variant-numeric: tabular-nums; }
@media (min-width: 860px) {
  /* Two columns only once the photo is back (add "has-photo" in index.html). */
  .local-grid.has-photo { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; }
}

/* ---------- FAQ ---------- */

.faq-wrap { display: grid; gap: 36px; }
.faq-list { border-bottom: 2px solid var(--ink); }
.faq-list details { border-top: 2px solid var(--ink); }
.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 16px 56px 16px 0;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 88%;
  font-size: 1.3125rem;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 12px; top: 50%;
  width: 20px; height: 3px;
  background: var(--ink);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: none; }
.faq-list details p { padding: 0 56px 24px 0; color: var(--slate); }
@media (min-width: 960px) {
  .faq-wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
}

/* ---------- Forms ---------- */

.form .field { margin-bottom: 18px; }
.form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  line-height: 1.3;
}
.form .optional { font-weight: 400; color: var(--slate); }
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 2px solid var(--rule);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1.1875rem;
}
.form textarea { min-height: 120px; resize: vertical; }
.form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 15px) 50%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); }
.form [aria-invalid="true"] { border-color: var(--error); border-width: 3px; }
.error {
  margin: 6px 0 0;
  color: var(--error);
  font-weight: 700;
  font-size: 1rem;
}
.form-status { margin: 12px 0 0; font-weight: 700; }
.form-status.is-error { color: var(--error); }
.form-note { font-size: 1rem; color: var(--slate); }
.calc-attached {
  padding: 12px 16px;
  border-left: 4px solid var(--sodium);
  background: var(--steel);
  font-weight: 700;
  font-size: 1rem;
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }

/* ---------- Final call to action ---------- */

.final-grid { display: grid; gap: 36px; }
.direct { margin-top: 24px; font-weight: 700; }
.direct a { display: inline-flex; align-items: center; min-height: 48px; overflow-wrap: anywhere; }
.form-full {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-top: 4px solid var(--ink);
  padding: 24px 20px;
}
@media (min-width: 640px) {
  .field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .form-full { padding: 32px; }
}
@media (min-width: 1024px) {
  .final-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
}

/* ---------- Footer ---------- */

.site-footer { padding-block: 56px 40px; font-size: 1.0625rem; }
.footer-inner { display: grid; gap: 28px; }
.footer-brand {
  font-family: var(--display);
  font-weight: 850;
  font-stretch: 75%;
  font-size: 1.75rem;
  margin-bottom: 8px;
}
.site-footer p { color: var(--haze); }
.footer-links { display: grid; gap: 4px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 48px; min-width: 48px; }
.copyright { margin: 0; font-size: 1rem; }
@media (min-width: 860px) {
  .footer-inner { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); }
  .copyright { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--panel); }
}

/* ---------- Mobile bottom bar ---------- */

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--night);
  box-shadow: 0 -4px 16px rgba(15, 27, 46, 0.25);
  visibility: hidden;
  transform: translateY(110%);
  transition: transform 0.2s ease-out, visibility 0s linear 0.2s;
}
.mobile-bar.is-visible {
  visibility: visible;
  transform: none;
  transition: transform 0.2s ease-out;
}
.no-phone .mobile-bar { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 767px) {
  .site-footer { padding-bottom: 104px; }
}
@media (min-width: 768px) {
  .mobile-bar { display: none; }
}

/* ---------- Simple pages (thanks, privacy, 404) ---------- */

.page { padding-block: 56px var(--section); }
.page h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.25rem); max-width: 16ch; }
.page .lede { margin-top: 20px; font-size: 1.125em; color: var(--slate); max-width: 52ch; }
.timeline { margin-top: 40px; display: grid; gap: 24px; counter-reset: step; max-width: 44rem; }
.timeline li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  column-gap: 16px;
}
.timeline li::before {
  content: counter(step);
  grid-row: 1 / 3;
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 62%;
  font-size: 3.5rem;
  line-height: 0.85;
}
.timeline p { margin-top: 6px; color: var(--slate); }
.page-grid { display: grid; gap: 40px; margin-top: 56px; }
@media (min-width: 960px) {
  .page-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
}
.page .h3-like { font-size: 1.5rem; font-stretch: 85%; font-weight: 750; line-height: 1.15; max-width: none; }
.form-title { font-size: 1.625rem; font-stretch: 80%; font-weight: 800; line-height: 1.1; max-width: none; margin-bottom: 8px; }
.details-done:focus { outline: none; }
.contact-block { margin-top: 32px; }
.contact-block > p:first-child { font-weight: 700; }
.prose { max-width: 44rem; margin-top: 32px; }
.prose h2 { font-size: 1.75rem; font-stretch: 85%; margin-top: 40px; margin-bottom: 12px; max-width: none; }
.prose ul { list-style: disc; padding-left: 1.25em; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }
.prose .dated { color: var(--slate); }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .chat[data-chat] .msg,
  .js .chat[data-chat] .handoff { opacity: 1; }
  .msg-agent.is-typing { color: inherit; }
  .msg-agent.is-typing::after { display: none; }
  .msg-agent.is-typing .source-chip { visibility: visible; }
}
