/* ---------- Tokens ---------- */
:root {
  --navy: #0F1B2D;
  --navy-deep: #0A1422;
  --white: #F5F6F4;
  --paper: #FFFFFF;
  --slate: #5B6676;
  --brass: #C8963E;
  --brass-deep: #8A6424; /* brass tone that passes contrast as text on light */
  --mist: #E3E6EA;
  --fog: #A9B3C1;        /* secondary text on navy */
  --line-dark: rgba(169, 179, 193, 0.22);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale: mobile values, raised with clamp() */
  --t-small: 0.875rem;
  --t-body: 1.0625rem;
  --t-lede: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  --t-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --t-h2: clamp(2.125rem, 1.6rem + 2.4vw, 3.5rem);
  --t-h1: clamp(2.75rem, 1.9rem + 4.2vw, 5.25rem);
  --t-figure: clamp(3.25rem, 2.4rem + 3.6vw, 5.5rem);

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --header-h: 4.25rem;
  --radius: 6px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
  font-optical-sizing: auto;
}
h1 { font-size: var(--t-h1); letter-spacing: -0.025em; line-height: 1.02; }
h2 { font-size: var(--t-h2); letter-spacing: -0.02em; }
h3 { font-size: var(--t-h3); line-height: 1.2; letter-spacing: -0.005em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }

.container { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .site-header :focus-visible, .section-navy :focus-visible, .site-footer :focus-visible {
  outline-color: var(--brass);
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--brass); color: var(--navy); padding: 0.75rem 1rem;
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

section[id] { scroll-margin-top: var(--header-h); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0.875rem 1.625rem;
  font: 600 1rem/1.2 var(--sans); letter-spacing: 0.005em;
  text-decoration: none; text-align: center;
  border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; touch-action: manipulation;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.btn-primary { background: var(--brass); color: var(--navy); }
.btn-primary:hover { background: #D6A651; }
.btn-primary:active { background: #B88833; }
.btn-ghost-dark { color: var(--white); border-color: rgba(245, 246, 244, 0.38); }
.btn-ghost-dark:hover { border-color: var(--white); background: rgba(245, 246, 244, 0.06); }
.btn-outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-small { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  font-variation-settings: "opsz" 36;
}
/* The one brass detail: the dot over the i */
.wm-i { position: relative; }
.wm-i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.06em;
  width: 0.15em;
  height: 0.15em;
  margin-left: -0.075em;
  border-radius: 50%;
  background: var(--brass);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--line-dark);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.nav-desktop { display: none; }
.bar-actions { display: flex; align-items: center; gap: 0.5rem; }
.menu-toggle {
  min-height: 2.75rem; min-width: 2.75rem; padding: 0.5rem 0.75rem;
  background: transparent; color: var(--white);
  border: 1px solid rgba(245, 246, 244, 0.3); border-radius: var(--radius);
  font: 500 0.9375rem/1 var(--sans); cursor: pointer;
}
.menu-toggle[aria-expanded="true"] { border-color: var(--white); }

.nav-mobile { background: var(--navy); border-top: 1px solid var(--line-dark); }
.nav-mobile .container { display: flex; flex-direction: column; padding-block: 0.5rem 1.5rem; }
.nav-mobile a:not(.btn) {
  color: var(--white); text-decoration: none;
  font-family: var(--serif); font-size: 1.5rem;
  padding: 0.875rem 0; border-bottom: 1px solid var(--line-dark);
}
.nav-mobile .btn { margin-top: 1.5rem; }

@media (max-width: 359px) { .bar-cta { display: none; } }
@media (max-width: 1099px) {
  .wordmark { font-size: 1.375rem; }
  .bar-cta { padding-inline: 0.75rem; font-size: 0.875rem; }
  .menu-toggle { padding-inline: 0.625rem; }
}

@media (min-width: 1100px) {
  .nav-desktop { display: flex; gap: 1.75rem; }
  .nav-desktop a {
    color: var(--fog); text-decoration: none; font-size: 0.9375rem; font-weight: 500;
    padding-block: 0.5rem; transition: color 180ms ease;
  }
  .nav-desktop a:hover { color: var(--white); }
  .menu-toggle, .nav-mobile { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(4rem, 3rem + 6vw, 8rem);
}
.hero-grid { display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
.hero h1 { max-width: 13ch; }
.lede { margin-top: 1.5rem; font-size: var(--t-lede); line-height: 1.6; color: var(--fog); max-width: 34rem; }
.hero .actions { margin-top: 2.25rem; }
.demo-line { margin-top: 1.25rem; display: grid; gap: 0.375rem; color: var(--fog); font-size: 0.9375rem; }
.demo-number a { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; }
.demo-number a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.copy-number {
  min-height: 1.5rem; margin-left: 0.5rem; padding: 0.125rem 0.25rem;
  background: none; border: 0; border-radius: 2px; cursor: pointer;
  font: inherit; color: var(--fog); text-decoration: underline; text-underline-offset: 0.2em;
}
.copy-number:hover { color: var(--white); }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

/* Phone */
.phone {
  margin: 0;
  justify-self: center;
  width: min(100%, 22rem);
  padding: 0.625rem;
  border-radius: 2.75rem;
  background: #1A2840;
  box-shadow: inset 0 0 0 1px rgba(169, 179, 193, 0.18);
}
.screen {
  border-radius: 2.25rem;
  background: var(--navy-deep);
  padding: 2.25rem 1rem 1.25rem;
  min-height: 34rem;
}
.lock-date { text-align: center; color: var(--fog); font-size: 0.9375rem; font-weight: 500; }
.lock-clock {
  position: relative;
  display: grid; justify-items: center;
  font-family: var(--serif); font-weight: 400;
  font-size: 5.25rem; line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: lining-nums tabular-nums;
  margin: 0.25rem 0 1.75rem;
  font-variation-settings: "opsz" 72;
}
.lock-clock span { grid-area: 1 / 1; }
.clock-a { opacity: 0; }

.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.note {
  position: relative;
  display: grid; gap: 0.125rem;
  padding: 0.8125rem 0.9375rem 0.875rem;
  border-radius: 1rem;
  background: rgba(245, 246, 244, 0.07);
  font-size: 0.875rem; line-height: 1.4;
  color: var(--fog);
}
.note strong { color: var(--white); font-weight: 600; font-size: 0.9375rem; padding-right: 4.5rem; }
.note-time { position: absolute; top: 0.875rem; right: 0.9375rem; font-size: 0.75rem; color: var(--fog); }
.note-key { background: rgba(200, 150, 62, 0.14); box-shadow: inset 0 0 0 1px rgba(200, 150, 62, 0.45); }
.note-key strong { color: #E3BF7C; }

/* The one orchestrated moment: notifications arrive in order, once,
   when the phone first comes into view (main.js adds .is-playing) */
@media (prefers-reduced-motion: no-preference) {
  .js .phone .note { opacity: 0; }
  .js .phone .clock-a { opacity: 1; }
  .js .phone .clock-b { opacity: 0; }

  .js .phone.is-playing .note { animation: arrive 600ms var(--ease-out) forwards; }
  .js .phone.is-playing .note:nth-child(1) { animation-delay: 300ms; }
  .js .phone.is-playing .note:nth-child(2) { animation-delay: 1300ms; }
  .js .phone.is-playing .note:nth-child(3) { animation-delay: 2500ms; }
  .js .phone.is-playing .note:nth-child(4) { animation-delay: 3400ms; }
  .js .phone.is-playing .clock-a { animation: clock-out 400ms ease 2400ms forwards; }
  .js .phone.is-playing .clock-b { animation: clock-in 400ms ease 2500ms forwards; }
}
@keyframes arrive {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes clock-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes clock-in { from { opacity: 0; } to { opacity: 1; } }
.hero h1 span { display: block; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-quiet { background: var(--paper); border-block: 1px solid var(--mist); }
.section-intro { margin-top: 1.25rem; font-size: var(--t-lede); color: var(--slate); max-width: 36rem; }
.section h2 { max-width: 20ch; }

/* Problem: figures */
.stats { margin: clamp(3rem, 6vw, 4.5rem) 0 0; display: grid; gap: 2.75rem; }
.stat { margin: 0; display: grid; gap: 0.5rem; align-content: start; }
.stat dt {
  font-family: var(--serif); font-size: var(--t-figure); line-height: 0.95;
  letter-spacing: -0.03em; font-variant-numeric: lining-nums;
  font-variation-settings: "opsz" 72;
}
.stat dd { margin: 0; font-size: 1.125rem; max-width: 22rem; }
.stat .source { font-size: var(--t-small); color: var(--slate); }
.stat .source a { color: inherit; text-decoration: none; }
.stat .source a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; row-gap: 3.5rem; }
}
@media (min-width: 1100px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2.5rem; }
}

/* Line illustrations: thin navy strokes, one brass accent */
.ill { fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ill * { vector-effect: non-scaling-stroke; }
.ill .ac { stroke: var(--brass); }
.ill .ac-fill { fill: var(--brass); stroke: var(--brass); }
.ill .ac-fill-soft { fill: rgba(200, 150, 62, 0.35); }

/* What we set up: each item with a small product sketch */
.services { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; }
.service {
  display: grid; gap: 1.75rem;
  padding-block: 2.5rem;
  border-top: 1px solid var(--mist);
}
.service:last-child { border-bottom: 1px solid var(--mist); }
.service-text { display: grid; gap: 0.625rem; align-content: center; }
.service-text p { color: var(--slate); max-width: 34rem; }
@media (min-width: 840px) {
  .service { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; padding-block: 3.5rem; }
  .service:nth-child(even) .vig { order: 2; }
  .services .vig { --u: clamp(1rem, 0.37rem + 1.2vw, 1.45rem); padding-inline: 1.5rem; }
}

.vig {
  --u: 1rem;
  display: grid; place-items: center;
  min-height: calc(16 * var(--u)); padding: calc(2.5 * var(--u)) calc(1.5 * var(--u));
  background: var(--white); border-radius: var(--radius);
  font-size: calc(0.875 * var(--u)); line-height: 1.4; color: var(--navy);
}
.vig p { margin: 0; }
.v-ico { width: calc(1 * var(--u)); height: calc(1 * var(--u)); flex: none; }

.v-card { width: min(100%, calc(18.5 * var(--u))); background: var(--paper); border: 1px solid var(--navy); border-radius: calc(0.75 * var(--u)); padding: calc(1 * var(--u)) calc(1.125 * var(--u)); }
.v-meta { display: flex; align-items: center; gap: calc(0.5 * var(--u)); font-size: calc(0.8125 * var(--u)); color: var(--slate); }
.v-time { margin-left: auto; font-variant-numeric: tabular-nums; }
.v-title { display: block; font-weight: 600; font-size: calc(0.9375 * var(--u)); }
.v-call .v-title { margin-top: calc(0.875 * var(--u)); font-family: var(--serif); font-weight: 400; font-size: calc(1.375 * var(--u)); }
.v-sub { display: block; font-size: calc(0.8125 * var(--u)); color: var(--slate); }
.v-status { display: flex; align-items: center; gap: calc(0.5 * var(--u)); margin-top: calc(1 * var(--u)); padding-top: calc(0.75 * var(--u)); border-top: 1px solid var(--mist); font-weight: 600; }

.v-thread { width: min(100%, calc(18.5 * var(--u))); display: grid; gap: calc(0.5 * var(--u)); }
.v-sys { justify-self: center; font-size: calc(0.75 * var(--u)); color: var(--slate); margin-bottom: calc(0.25 * var(--u)); }
.v-bubble { max-width: 85%; padding: calc(0.625 * var(--u)) calc(0.875 * var(--u)); border-radius: calc(1 * var(--u)); }
.v-out { justify-self: end; background: var(--paper); border: 1px solid var(--navy); border-bottom-right-radius: calc(0.25 * var(--u)); }
.v-in { justify-self: start; background: var(--mist); border-bottom-left-radius: calc(0.25 * var(--u)); }
.v-delivered { justify-self: end; display: flex; align-items: center; gap: calc(0.25 * var(--u)); font-size: calc(0.75 * var(--u)); color: var(--slate); }
.v-reminder {
  justify-self: center; display: flex; align-items: center; gap: calc(0.375 * var(--u));
  margin-block: calc(0.25 * var(--u)); padding: calc(0.25 * var(--u)) calc(0.75 * var(--u));
  font-size: calc(0.75 * var(--u)); color: var(--slate);
  border: 1px dashed #9AA3AF; border-radius: 999px;
}
.v-reminder .v-ico { width: calc(0.875 * var(--u)); height: calc(0.875 * var(--u)); }

.v-phone {
  position: relative; width: calc(12.5 * var(--u));
  padding: calc(2.25 * var(--u)) calc(1.125 * var(--u)) calc(1.5 * var(--u));
  background: var(--paper); border: 1.5px solid var(--navy); border-radius: calc(1.75 * var(--u));
  text-align: center;
}
.v-phone::before {
  content: ""; position: absolute; top: calc(0.75 * var(--u)); left: 50%; width: calc(2.75 * var(--u)); height: calc(0.375 * var(--u));
  margin-left: -1.375rem; border: 1px solid var(--navy); border-radius: 999px;
}
.v-q { font-family: var(--serif); font-size: calc(1.0625 * var(--u)); line-height: 1.3; }
.v-stars { display: flex; justify-content: center; gap: calc(0.25 * var(--u)); margin: calc(1 * var(--u)) 0 calc(1.25 * var(--u)); }
.v-star { width: calc(1.25 * var(--u)); height: calc(1.25 * var(--u)); }
.v-btn { padding: calc(0.5 * var(--u)); border: 1px solid var(--navy); border-radius: var(--radius); font-size: calc(0.8125 * var(--u)); font-weight: 600; }

.v-leads { padding: calc(0.375 * var(--u)) calc(1.125 * var(--u)); width: min(100%, calc(19.5 * var(--u))); }
.v-list-head { padding-block: calc(0.5 * var(--u)); font-size: calc(0.75 * var(--u)); font-weight: 600; color: var(--slate); }
.v-lead { display: flex; align-items: center; justify-content: space-between; gap: calc(1 * var(--u)); padding-block: calc(0.75 * var(--u)); border-top: 1px solid var(--mist); }
.v-tag { flex: none; padding: calc(0.1875 * var(--u)) calc(0.625 * var(--u)); border-radius: 999px; font-size: calc(0.75 * var(--u)); font-weight: 600; }
.v-new { border: 1px solid var(--navy); }
.v-booked { background: var(--brass); color: var(--navy); border: 1px solid var(--brass); }
.v-follow { border: 1px dashed var(--slate); color: var(--slate); }

/* How it works: a real sequence */
.steps { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; display: grid; gap: 2.5rem; counter-reset: none; }
.steps li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; row-gap: 0.5rem; }
.step-num {
  grid-row: span 2;
  font-family: var(--serif); font-size: 2.75rem; line-height: 0.9; color: var(--slate);
  font-variant-numeric: lining-nums;
}
.steps p { color: var(--slate); max-width: 26rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; column-gap: 3rem; row-gap: 0; }
  .steps li { grid-row: span 3; grid-template-columns: 1fr; grid-template-rows: subgrid; row-gap: 0.5rem; padding-top: 1.75rem; border-top: 1px solid var(--navy); }
  .steps h3 { align-self: last baseline; }
  .step-num { grid-row: auto; margin-bottom: 1.25rem; font-size: 3.5rem; }
}

/* What happens when a customer calls: one job, six steps.
   Narrow screens: a swipeable strip. Wide screens: one row with a brass dot that travels once. */
#customer-call { container-type: inline-size; }
.tl { --num: 2.5rem; --icon: 2.25rem; --gap: 1.75rem; --rail: calc(var(--icon) + 1rem + var(--num) / 2 - 0.5px); position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); }
.timeline {
  list-style: none;
  display: flex; gap: var(--gap);
  margin: 0 calc(-1 * var(--gutter)); padding: 0.25rem var(--gutter) 0.5rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.timeline::-webkit-scrollbar { display: none; }
.timeline.is-draggable { cursor: grab; }
.timeline.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.tl-step { position: relative; flex: 0 0 78%; scroll-snap-align: start; display: grid; align-content: start; }
.tl-step:not(:last-child)::before {
  content: ""; position: absolute; left: calc(var(--num) / 2); top: var(--rail);
  width: calc(100% + var(--gap)); height: 1px; background: var(--mist);
}
.tl-icon { width: var(--icon); height: var(--icon); margin-bottom: 1rem; }
.tl-num {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: var(--num); height: var(--num); border-radius: 50%;
  background: var(--navy); color: var(--white); border: 1px solid var(--navy);
  font-family: var(--serif); font-size: 1.25rem; line-height: 1;
  font-variant-numeric: lining-nums;
}
.tl-time { margin-top: 1rem; font-size: 0.875rem; font-weight: 600; color: var(--slate); font-variant-numeric: tabular-nums; }
.tl-text { margin-top: 0.375rem; font-size: 1.0625rem; max-width: 22rem; }
.tl-track { display: none; }

.tl-dots { display: flex; justify-content: center; gap: 0.25rem; margin-top: 1.5rem; }
.tl-dots button {
  display: grid; place-items: center;
  width: 1.75rem; height: 1.75rem; padding: 0;
  background: transparent; border: 0; border-radius: 50%; cursor: pointer;
}
.tl-dots button::before {
  content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%;
  border: 1px solid var(--slate); transition: background-color 180ms ease;
}
.tl-dots button[aria-current="step"]::before { background: var(--navy); border-color: var(--navy); }

@media (min-width: 1280px) {
  .tl {
    --gap: 1.25rem;
    width: min(100cqw - 2 * var(--gutter), 100rem);
    margin-left: calc((100% - min(100cqw - 2 * var(--gutter), 100rem)) / 2);
  }
  .timeline {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 0; padding: 0; overflow: visible;
  }
  .tl-text { font-size: 1.125rem; max-width: none; }
  .tl-step::before { content: none !important; }
  .tl-dots { display: none; }
  .tl-track {
    display: block; position: absolute;
    left: calc(var(--num) / 2); right: calc((100% - 5 * var(--gap)) / 6 - var(--num) / 2);
    top: var(--rail); height: 1px; background: var(--mist);
  }
  .tl-fill { position: absolute; inset: 0; background: var(--navy); transform-origin: left; }
  .tl-runner { position: absolute; inset: 0; }
  .tl-dot {
    position: absolute; left: 0; top: 50%;
    width: 0.75rem; height: 0.75rem; margin: -0.375rem 0 0 -0.375rem;
    border-radius: 50%; background: var(--brass); opacity: 0;
  }
}

/* The travelling dot: plays once (main.js adds .is-playing), about 4.5 seconds */
@media (min-width: 1280px) and (prefers-reduced-motion: no-preference) {
  .js .tl-num { background: var(--white); color: var(--navy); }
  .js .tl-icon { opacity: 0.35; }
  .js .tl-text { color: var(--slate); }
  .js .tl-fill { transform: scaleX(0); }

  .js .tl.is-playing .tl-num { animation: tl-num-on 300ms ease forwards; }
  .js .tl.is-playing .tl-icon { animation: tl-icon-on 300ms ease forwards; }
  .js .tl.is-playing .tl-text { animation: tl-text-on 300ms ease forwards; }
  .js .tl.is-playing .tl-num,
  .js .tl.is-playing .tl-icon,
  .js .tl.is-playing .tl-text { animation-delay: calc(300ms + var(--i) * 840ms); }

  .js .tl.is-playing .tl-fill { animation: tl-fill 4200ms linear 300ms forwards; }
  .js .tl.is-playing .tl-runner { animation: tl-run 4200ms linear 300ms forwards; }
  .js .tl.is-playing .tl-dot { animation: tl-dot 4500ms linear forwards; }
}
@keyframes tl-num-on { to { background: var(--navy); color: var(--white); } }
@keyframes tl-icon-on { to { opacity: 1; } }
@keyframes tl-text-on { to { color: var(--navy); } }
@keyframes tl-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tl-run { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes tl-dot { 0% { opacity: 0; } 8% { opacity: 1; } 95% { opacity: 1; } 100% { opacity: 0; } }

/* Calculator */
.calc-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) {
  .calc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; align-items: start; }
}
.calc { display: grid; gap: 1.75rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-weight: 600; }
.field input {
  width: 100%; min-height: 3.5rem;
  padding: 0.75rem 1rem;
  font: 500 1.25rem/1.2 var(--sans); color: var(--navy);
  font-variant-numeric: tabular-nums;
  background: var(--white);
  border: 1px solid #B9C0C9; border-radius: var(--radius);
  -moz-appearance: textfield; appearance: textfield;
}
.field input::-webkit-outer-spin-button,
.field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field input:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.money { position: relative; }
.money span { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-size: 1.25rem; font-weight: 500; color: var(--slate); }
.money input { padding-left: 2rem; }
.hint { font-size: var(--t-small); color: var(--slate); }

.result { padding-top: 1.75rem; border-top: 1px solid var(--navy); }
.result-label { font-weight: 600; }
.result-value {
  display: block; margin-top: 0.25rem;
  font-family: var(--serif); font-size: clamp(3.5rem, 2.4rem + 5vw, 6rem);
  line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: lining-nums tabular-nums;
  font-variation-settings: "opsz" 72;
  overflow-wrap: anywhere;
}
.result-note { margin-top: 0.75rem; font-size: var(--t-small); color: var(--slate); max-width: 28rem; }
.calc .btn { justify-self: start; }

/* Why PrimePulse: prose rows */
.reasons { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; max-width: 48rem; }
.reasons li {
  padding-block: 1.5rem; border-top: 1px solid var(--mist);
  font-size: var(--t-lede); line-height: 1.55; color: var(--slate);
}
.reasons li:last-child { border-bottom: 1px solid var(--mist); }
.reasons strong {
  font-family: var(--serif); font-weight: 500; color: var(--navy);
  font-size: 1.15em; letter-spacing: -0.01em;
}
.reasons a { color: var(--navy); font-weight: 600; text-underline-offset: 0.2em; white-space: nowrap; }

/* Who you'll work with */
.team-grid { display: grid; gap: 2.5rem; }
@media (min-width: 840px) {
  .team-grid { grid-template-columns: 280px minmax(0, 1fr); gap: clamp(3rem, 6vw, 5rem); align-items: center; }
}
.founder-photo { display: block; width: 100%; max-width: 280px; height: auto; border-radius: 10px; background: var(--mist); }
.founder-name { margin-top: 1rem; font-weight: 600; }
.founder-bio { margin-top: 1rem; font-size: var(--t-lede); color: var(--slate); max-width: 38rem; }
.founder-link { margin-top: 1.25rem; font-size: 0.9375rem; }
.founder-link a { color: var(--navy); font-weight: 600; text-underline-offset: 0.2em; }

/* What you get: one package */
.package { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; }
.package li {
  display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: 1.25rem; row-gap: 0.375rem;
  padding-block: 1.5rem; border-top: 1px solid var(--mist);
}
.package li:last-child { border-bottom: 1px solid var(--mist); }
.pkg-ico { width: 2rem; height: 2rem; grid-row: span 2; }
.package h3 { font-size: var(--t-h3); padding-top: 0.125rem; }
.package p { color: var(--slate); max-width: 38rem; }
@media (min-width: 840px) {
  .package li { grid-template-columns: 2.25rem minmax(0, 4fr) minmax(0, 7fr); column-gap: 2rem; align-items: baseline; padding-block: 1.75rem; }
  .pkg-ico { grid-row: auto; align-self: start; }
}
.package-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.package-cta p { font-weight: 600; }

/* Every lead, tracked */
.tracked-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
  .tracked-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3.5rem; align-items: center; }
}
.points { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; max-width: 32rem; }
.points li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.75rem; }
.pt-ico { width: 1.25rem; height: 1.25rem; margin-top: 0.2em; }

.board-stage { background: var(--white); border-radius: var(--radius); padding: clamp(1rem, 3vw, 2rem); }
.board { background: var(--paper); border: 1px solid var(--navy); border-radius: 0.75rem; font-size: 0.8125rem; line-height: 1.35; color: var(--navy); }
.board p { margin: 0; }
.board-bar { display: flex; justify-content: space-between; align-items: baseline; padding: 0.75rem 1rem; border-bottom: 1px solid var(--mist); font-weight: 600; font-size: 0.875rem; }
.board-cols { display: grid; }
.b-col { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.75rem; padding: 0.75rem 1rem; }
.b-col + .b-col { border-top: 1px solid var(--mist); }
.b-head { display: flex; justify-content: space-between; gap: 0.5rem; font-weight: 600; font-size: 0.75rem; padding-top: 0.5rem; }
.b-count { color: var(--slate); font-weight: 500; font-variant-numeric: tabular-nums; }
.b-cards { display: grid; gap: 0.5rem; align-content: start; }
.b-card { padding: 0.5rem 0.625rem; border: 1px solid var(--navy); border-radius: 0.5rem; background: var(--paper); }
.b-card.is-booked { box-shadow: inset 3px 0 0 var(--brass); }
.b-title { display: block; font-weight: 600; }
.b-sub { display: block; font-size: 0.75rem; color: var(--slate); font-weight: 400; }
.b-review { display: flex; align-items: center; gap: 0.25rem; margin-top: 0.375rem; font-size: 0.75rem; color: var(--slate); }
.b-ico { width: 0.875rem; height: 0.875rem; flex: none; }
@media (min-width: 640px) {
  .board-cols { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .b-col { display: flex; flex-direction: column; gap: 0.625rem; min-height: 14rem; padding: 0.75rem 0.5rem; }
  .b-col + .b-col { border-top: 0; border-left: 1px solid var(--mist); }
  .b-head { align-items: flex-start; min-height: 2.1em; padding: 0 0.125rem; }
}

/* PrimePulse vs. a receptionist */
.vs-table-wrap { display: none; }
.vs-stack { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1rem; }
.vs-card { background: var(--paper); border: 1px solid var(--mist); border-radius: var(--radius); padding: 1.5rem 1.25rem 0.75rem; }
.vs-card.is-highlight { border-top: 2px solid var(--brass); }
.vs-card h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.vs-card dl { margin: 0; }
.vs-card dl > div { display: grid; gap: 0.125rem; padding-block: 0.75rem; border-top: 1px solid var(--mist); }
.vs-card dt { font-size: 0.875rem; color: var(--slate); }
.vs-card dd { margin: 0; font-weight: 500; }
.vs-card.is-highlight dd { font-weight: 600; }
.fn-ref { color: inherit; text-decoration: none; padding-left: 0.1em; }
.fine-print { margin-top: 1.5rem; font-size: var(--t-small); color: var(--slate); max-width: 48rem; }

@media (min-width: 900px) {
  .vs-stack { display: none; }
  .vs-table-wrap { display: block; margin-top: clamp(2.5rem, 5vw, 4rem); }
  .vs-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
  .vs-table col:first-child { width: 28%; }
  .vs-table .col-highlight { background: var(--paper); }
  .vs-table th, .vs-table td { padding: 1rem 1.5rem; text-align: left; vertical-align: top; }
  .vs-table thead th {
    font-family: var(--serif); font-size: 1.625rem; font-weight: 400; line-height: 1.15;
    padding-top: 1.5rem; padding-bottom: 1.25rem;
    border-top: 2px solid transparent; border-bottom: 1px solid var(--navy);
  }
  .vs-table thead th.is-highlight { border-top-color: var(--brass); }
  .vs-table tbody th { font-weight: 400; color: var(--slate); padding-left: 0; }
  .vs-table tbody tr > * { border-bottom: 1px solid var(--mist); }
  .vs-table tbody td:last-child { font-weight: 600; }
}

/* Guarantee */
.section-navy { background: var(--navy); color: var(--white); }
.guarantee h2 { font-size: clamp(2.5rem, 1.6rem + 4.4vw, 5rem); max-width: 16ch; line-height: 1.04; }
.guarantee-body { margin-top: 2rem; font-size: var(--t-lede); color: var(--fog); max-width: 38rem; }
.guarantee .container::before {
  content: ""; display: block; width: 3rem; height: 2px; background: var(--brass);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* FAQ */
.faq-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; } }
.faq details { border-top: 1px solid var(--mist); }
.faq details:last-child { border-bottom: 1px solid var(--mist); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.375rem 0; min-height: 3rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); }
.faq summary::after {
  content: ""; flex: none; width: 0.875rem; height: 0.875rem;
  background:
    linear-gradient(var(--navy), var(--navy)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 1.5px 100% no-repeat;
  transition: transform 200ms ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.75rem 0; color: var(--slate); max-width: 40rem; }

/* Final CTA */
.final-founding { margin-top: 1.25rem; font-weight: 600; max-width: 36rem; }
.final .actions { margin-top: 2.25rem; gap: 1.25rem 1.75rem; }
.final-phone { color: var(--slate); }
.final-phone a { color: var(--navy); font-weight: 600; text-underline-offset: 0.2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--fog); padding-block: 3.5rem; font-size: 0.9375rem; }
.footer-grid { display: grid; gap: 1.25rem; }
.footer-grid .wordmark { justify-self: start; font-size: 1.75rem; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.footer-contact a { color: var(--white); text-decoration: none; display: inline-block; padding-block: 0.375rem; }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.copyright { padding-top: 1.5rem; margin-top: 0.75rem; border-top: 1px solid var(--line-dark); font-size: var(--t-small); }
@media (min-width: 840px) {
  .footer-grid { grid-template-columns: 1fr auto; align-items: center; row-gap: 1rem; }
  .footer-area { grid-column: 1; }
  .footer-contact { grid-column: 2; grid-row: 1 / span 2; text-align: right; }
  .copyright { grid-column: 1 / -1; }
}

[hidden] { display: none !important; }
