/* Ingester landing. Tokens and sizes from design/ingester-landing/README.md.
   Everything inside .frame is laid out in key-frame pixels (1440×900, or 390×844 in
   .mode-phone); story.js scales the frame to fit the viewport and moves things. */

:root {
  --cobalt: #1949c5;
  --cobalt-deep: #0a2f94;
  --mist: #d1def9;
  --step-dim: #5d83d4;
  --pink: #ff9da9;
  --pink-tint: #ffd8dc;
  --po-highlight: #ffced3;
  --paper: #f9f5ec;
  --po-paper: #f3eee1;
  --ink: #131a29;
  --ink-soft: #4d5566;
  --rule: #dad7d0;
  --po-rule: #bcb7a9;
  --flag: #de3e2d;
  --flag-text: #ac1c0f;
  --stamp: #d33c33;
  --shadow: 0 30px 60px rgba(10, 20, 80, 0.4);
  --font-display: 'K2D', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
  --font-mono: 'Red Hat Mono', ui-monospace, monospace;
  --font-po: Arial, Helvetica, sans-serif;  /* the customer's PO looks like ordinary ERP output */
}

html { background: var(--cobalt); }
body {
  margin: 0;
  background: var(--cobalt);
  color: var(--paper);
  font-family: var(--font-body);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ol { margin: 0; }
ol { padding: 0; list-style: none; }
a:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

/* K2D is for display text only: the wordmark, headlines and step titles. */
.lockup, .hero-copy h2, .cap h2, .finale h2, .step-title { font-family: var(--font-display); }

/* The mark replaces the i: 0.82em × 0.4em, stem bottom on the baseline. */
.lockup { font-weight: 800; white-space: nowrap; color: var(--paper); }
.lockup svg { height: 0.82em; width: 0.4em; vertical-align: baseline; overflow: visible; fill: var(--pink); }

.eyebrow {
  font: 500 15px/1.3 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
}

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 10; pointer-events: none; }
.nav a { pointer-events: auto; }
.nav-lockup {
  position: absolute; top: 30px; left: 64px;
  font-size: 30px; line-height: 1; letter-spacing: -0.02em;
  text-decoration: none; opacity: 0;
}
.demo-btn {
  position: absolute; top: 28px; right: 64px;
  font: 600 17px/1.2 var(--font-body);
  padding: 12px 22px; border-radius: 999px;
  background: var(--paper); color: var(--cobalt-deep);
  text-decoration: none;
}
.demo-btn:hover { color: var(--ink); }
.mode-phone .nav-lockup { top: 24px; left: 16px; font-size: 24px; }
.mode-phone .demo-btn { top: 20px; right: 16px; font-size: 14px; padding: 9px 16px; }

/* ---------- stage ---------- */
.track { position: relative; height: 900vh; height: 900svh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.frame { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; transform-origin: 0 0; }
.frame > * { position: absolute; }

/* Reduced motion: the five beats as plain sections. */
.track.is-static { height: auto; }
.track.is-static .stage { position: relative; }

/* ---------- beat 1 ---------- */
.hero-lockup { top: 130px; left: 96px; font-size: 280px; line-height: 1.1; letter-spacing: -0.035em; z-index: 1; }
.hero-word { display: inline-block; }
.hero-copy { top: 560px; left: 96px; max-width: 880px; display: flex; flex-direction: column; gap: 18px; z-index: 1; }
.hero-copy h2 { font-size: 60px; line-height: 1.02; font-weight: 700; letter-spacing: -0.025em; }
.hero-copy p { font-size: 21px; line-height: 1.5; color: var(--mist); max-width: 680px; text-wrap: pretty; }
.hero-copy .eyebrow { margin-top: 12px; }

.mode-phone .hero-lockup { top: 220px; left: 16px; font-size: 76px; }
.mode-phone .hero-copy { top: 380px; left: 20px; right: 20px; gap: 14px; }
.mode-phone .hero-copy h2 { font-size: 36px; line-height: 1.04; }
.mode-phone .hero-copy p { font-size: 17px; }
.mode-phone .hero-copy .eyebrow { margin-top: 8px; font-size: 13px; }

/* ---------- captions ---------- */
.cap { top: 690px; left: 96px; max-width: 900px; display: flex; flex-direction: column; gap: 12px; opacity: 0; z-index: 1; }
.cap h2 { font-size: 52px; line-height: 1.02; font-weight: 700; letter-spacing: -0.025em; }
.cap p { font-size: 20px; line-height: 1.5; color: var(--mist); max-width: 640px; text-wrap: pretty; }
.cap-ready { top: 120px; }

.mode-phone .cap { top: 610px; left: 16px; right: 16px; gap: 10px; }
.mode-phone .cap .eyebrow { font-size: 13px; letter-spacing: 0.14em; }
.mode-phone .cap h2 { font-size: 32px; line-height: 1.04; }
.mode-phone .cap p { font-size: 17px; }
.mode-phone .cap-ready { top: 96px; }

/* ---------- the PO ---------- */
.po {
  left: 0; top: 0; width: 450px; box-sizing: border-box;
  padding: 30px 30px 26px;
  background: var(--po-paper); color: var(--ink);
  font-family: var(--font-po);
  transform-origin: 0 0;
  box-shadow: var(--shadow);
  visibility: hidden; z-index: 2;
}
.po-stamp {
  position: absolute; top: 26px; right: 24px;
  transform: rotate(8deg);
  border: 2px solid var(--stamp); border-radius: 4px;
  padding: 4px 10px;
  font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: 0.08em;
  color: var(--stamp); text-align: center;
}
.po-title { font-size: 24px; font-weight: 700; letter-spacing: 0.02em; }
.po-from { font-size: 13px; line-height: 1.45; margin-top: 6px; }
.po-fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px;
  margin-top: 16px; padding: 14px 0;
  border-top: 1px solid var(--po-rule); border-bottom: 1px solid var(--po-rule);
}
.po-label, .po-head { font-size: 11px; letter-spacing: 0.1em; color: var(--ink-soft); }
.po-value { font-size: 15px; font-weight: 700; }
.po-value.lifted { background: var(--po-highlight); }
.po-grid { display: grid; grid-template-columns: 96px minmax(0, 1fr) 36px 52px; gap: 8px; }
.po-grid > :nth-child(n+3) { text-align: right; }
.po-head { margin-top: 12px; }
.po-row { padding: 8px 4px; margin: 0 -4px; font-size: 14px; border-bottom: 1px dashed var(--po-rule); }
.po-row.lifted { background: var(--po-highlight); }
.po-total { display: flex; justify-content: space-between; margin-top: 12px; font-size: 15px; font-weight: 700; }
.po-note { margin-top: 14px; font-size: 12px; line-height: 1.45; color: var(--ink-soft); }

/* ---------- chips ---------- */
.chips { top: 0; height: 900px; width: 6000px; overflow: hidden; pointer-events: none; z-index: 3; }
.chip {
  position: absolute; left: 0; top: 0;
  font: 500 17px/1.25 var(--font-mono);
  padding: 12px 20px; border-radius: 999px;
  background: var(--paper); color: var(--ink);
  white-space: nowrap; transform-origin: 0 0;
  visibility: hidden;
}
.chip.po-chip {
  font-size: 21px; font-weight: 600; padding: 16px 28px;
  background: var(--pink);
  box-shadow: 0 0 0 6px rgba(255, 157, 169, 0.25);
}
.mode-phone .chips { height: 844px; }
.mode-phone .chip { font-size: 14px; padding: 9px 14px; }
.mode-phone .chip.po-chip { font-size: 16px; padding: 12px 18px; }

/* ---------- beat 4: between the jaws ---------- */
.band { left: 0; top: 0; width: 100%; height: 0; overflow: hidden; visibility: hidden; z-index: 4; }
.band-meta {
  position: absolute; top: 28px; left: 96px; right: 96px;
  display: flex; justify-content: space-between;
  font: 500 15px/1.3 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mist);
}
.steps { position: absolute; inset: 0; }
.steps li { position: absolute; left: 0; right: 0; top: 0; }
.step-title {
  position: absolute; left: 64px; right: 64px; top: 0;
  text-align: center; text-wrap: balance;
  font-size: 72px; line-height: 1.02; font-weight: 800; letter-spacing: -0.03em;
  transform-origin: 50% 0;
}
.step-title.dim { font-weight: 700; letter-spacing: -0.02em; }
.step-chip-row { position: absolute; left: 64px; right: 64px; top: 0; display: flex; justify-content: center; }
.step-chip {
  display: flex; align-items: center; gap: 12px;
  font: 500 19px/1.3 var(--font-body);
  padding: 12px 22px; border-radius: 999px;
  background: var(--cobalt-deep); color: var(--paper);
}
.step-chip.exception { background: var(--paper); color: var(--ink); }
.step-chip .flag { width: 14px; height: 14px; border-radius: 4px; background: var(--flag); flex: none; }

.mode-phone .band-meta { top: 16px; left: 16px; right: 16px; font-size: 12px; letter-spacing: 0.14em; }
.mode-phone .band-po { display: none; }
.mode-phone .step-title { left: 16px; right: 16px; font-size: 36px; }
.mode-phone .step-chip-row { left: 16px; right: 16px; }
.mode-phone .step-chip {
  align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.4; text-align: left;
  padding: 10px 16px; border-radius: 14px;
}
.mode-phone .step-chip .flag { width: 12px; height: 12px; border-radius: 3px; margin-top: 4px; }

/* ---------- beat 5: the order card ---------- */
/* Reads like a record in a business app: labelled fields, a headed table with aligned
   figures in the interface font, and subtotal/GST/total. No monospace, pills or dot-joined strings. */
.order {
  left: 0; top: 0; width: 560px; box-sizing: border-box;
  padding: 24px 30px 20px;
  background: var(--paper); color: var(--ink);
  border-radius: 10px; box-shadow: 0 2px 0 rgba(10, 20, 80, 0.12), 0 18px 40px rgba(10, 20, 80, 0.32);
  font-variant-numeric: tabular-nums;
  transform-origin: 0 0;
  visibility: hidden; z-index: 5;
}
.order-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.order-no { font-size: 24px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.order-status { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); flex: none; }
.order-fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px;
  margin: 14px 0 0; padding: 12px 0; border-top: 1px solid var(--rule);
  font-size: 14px; line-height: 1.35;
}
.order-fields dt { color: var(--ink-soft); }
.order-fields dd { margin: 0; font-weight: 500; }
.order-lines { margin-top: 2px; }
.line {
  position: relative;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 36px 52px 66px; gap: 0 10px; align-items: baseline;
  padding: 8px 0; border-top: 1px solid var(--rule);
  font-size: 14px;
}
.line .desc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line .sku { font-weight: 600; }
.line .qty, .line .unit, .line .amt { text-align: right; }
.line .qty, .line .unit { color: var(--ink-soft); }
.line-head { padding: 6px 0; font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.line-head .sku { font-weight: 500; }
.line.flagged { padding-bottom: 9px; }
/* Sticks 12px out of the card's left edge (rows are inset by the 30px padding). */
.line .tab { position: absolute; left: -42px; top: 7px; width: 22px; height: 24px; border-radius: 5px 0 0 5px; background: var(--flag); }
.line .note {
  grid-column: 2 / -1;
  display: flex; align-items: center; gap: 8px; margin-top: 4px;
  font-size: 13px; color: var(--flag-text);
}
.line .note .flag { width: 10px; height: 10px; border-radius: 3px; background: var(--flag); flex: none; }
.order-totals { margin: 0; padding-top: 8px; border-top: 1px solid var(--rule); font-size: 14px; }
.order-totals > div { display: flex; justify-content: flex-end; gap: 24px; padding: 2px 0; }
.order-totals dt { color: var(--ink-soft); }
.order-totals dd { margin: 0; min-width: 76px; text-align: right; }
.order-totals .grand { margin-top: 4px; padding-top: 6px; border-top: 2px solid var(--ink); font-size: 17px; font-weight: 700; }
.order-totals .grand dt { color: var(--ink); }
.order-foot { font-size: 12px; color: var(--ink-soft); margin-top: 10px; }

.mode-phone .order { width: 290px; padding: 16px 16px 14px; border-radius: 10px; box-shadow: 0 2px 0 rgba(10, 20, 80, 0.12), 0 14px 30px rgba(10, 20, 80, 0.32); }
.mode-phone .order-top { flex-direction: column; align-items: flex-start; gap: 4px; }
.mode-phone .order-no { font-size: 19px; }
.mode-phone .order-status { font-size: 12px; }
.mode-phone .order-fields { margin-top: 10px; padding: 8px 0; gap: 6px 14px; font-size: 12px; }
.mode-phone .order-fields .wide { display: none; }
.mode-phone .line { grid-template-columns: minmax(0, 1fr) 28px 58px; gap: 0 8px; padding: 6px 0; font-size: 12px; }
.mode-phone .line .desc, .mode-phone .line .unit { display: none; }
.mode-phone .line-head { font-size: 11px; }
.mode-phone .line .tab { left: -26px; top: 5px; width: 14px; height: 20px; border-radius: 4px 0 0 4px; }
.mode-phone .line .note { grid-column: 1 / -1; margin-top: 3px; font-size: 11px; line-height: 1.35; }
.mode-phone .line .note .flag { display: none; }
.mode-phone .order-totals { font-size: 12px; padding-top: 6px; }
.mode-phone .order-totals dd { min-width: 64px; }
.mode-phone .order-totals .grand { font-size: 14px; }
.mode-phone .order-foot { font-size: 11px; line-height: 1.4; margin-top: 8px; }

.finale { top: 120px; left: 96px; width: 620px; display: flex; flex-direction: column; gap: 22px; opacity: 0; z-index: 1; }
.finale h2 { font-size: 62px; line-height: 1; font-weight: 800; letter-spacing: -0.035em; white-space: nowrap; }
.finale h2 span { color: var(--pink); }
.finale p { font-size: 21px; line-height: 1.5; color: var(--mist); max-width: 470px; text-wrap: pretty; }
.forward { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.forward-label { font: 500 14px/1.3 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); }
.forward-pill {
  align-self: flex-start;
  font: 500 21px/1.3 var(--font-mono);
  padding: 13px 22px; border-radius: 999px;
  background: var(--paper); color: var(--ink);
}
.finale-works { font-size: 18px; line-height: 1.45; color: var(--mist); }
.mode-phone .finale-works { font-size: 14px; }
.mode-phone .finale { top: 96px; left: 16px; right: 16px; width: auto; gap: 14px; }
.mode-phone .finale h2 { font-size: 30px; line-height: 1.02; }
.mode-phone .finale p { font-size: 16px; }
.mode-phone .forward { margin-top: 0; }
.mode-phone .forward-label { display: none; }
.mode-phone .forward-pill { font-size: 15px; padding: 11px 16px; }

.mark-layer { left: 0; top: 0; overflow: visible; pointer-events: none; fill: var(--pink); z-index: 6; }
.halo { fill: none; stroke: var(--pink); stroke-width: 6; opacity: 0; }

/* ---------- footer ---------- */
/* Two rows in the page's 1312px column: brand and links, then a line of small print. */
.foot { background: var(--cobalt-deep); color: var(--mist); }
.foot-inner { max-width: 1312px; margin: 0 auto; padding: 56px 64px 32px; box-sizing: border-box; }
.foot-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-lockup { font-size: 34px; line-height: 1; letter-spacing: -0.02em; }
.foot-brand p { font-size: 17px; line-height: 1.4; }
.foot-brand .foot-works { font-size: 15px; color: rgba(209, 222, 249, 0.72); margin-top: -6px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 17px; font-weight: 500; }
.foot a { color: var(--paper); text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(209, 222, 249, 0.2);
  font-size: 14px; line-height: 1.5; color: rgba(209, 222, 249, 0.72);
}
.foot-legal a { color: var(--mist); }
@media (max-width: 900px) {
  .foot-inner { padding: 40px 16px 28px; }
  .foot-main { flex-direction: column; gap: 24px; }
  .foot-lockup { font-size: 28px; }
  .foot-brand p, .foot-links { font-size: 16px; }
  .foot-links { flex-direction: column; gap: 10px; margin-top: 0; }
  .foot-legal { flex-direction: column; margin-top: 28px; font-size: 13px; }
}

/* ---------- pricing page (unlisted, for InSyncer customers) ---------- */
/* "See pricing" sits left of "Book a demo" in the fixed nav (offsets clear that button). */
.price-btn {
  position: absolute; top: 28px; right: 224px;
  font: 600 17px/1.2 var(--font-body);
  padding: 11px 21px; border-radius: 999px;
  border: 1px solid var(--paper); background: var(--cobalt-deep); color: var(--paper);
  text-decoration: none; pointer-events: auto;
}
.price-btn:hover { background: var(--paper); color: var(--cobalt-deep); }
.mode-phone .price-btn { top: 20px; right: 143px; font-size: 14px; padding: 8px 15px; }

.plans { scroll-margin-top: 0; max-width: 1312px; margin: 0 auto; padding: 96px 64px 0; }
.plans-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; }
.plans-head .eyebrow { grid-column: 1 / -1; }
.plans h1 { font: 800 62px/1 var(--font-display); letter-spacing: -0.035em; }
.plans h1 span { color: var(--pink); }
.plans-head p { align-self: end; font-size: 21px; line-height: 1.5; color: var(--mist); max-width: 520px; text-wrap: pretty; }
.plan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.plan {
  display: flex; flex-direction: column; gap: 10px;
  padding: 32px; border-radius: 24px;
  background: var(--paper); color: var(--ink); box-shadow: var(--shadow);
}
.plan h2 { font: 500 15px/1.3 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.plan-price { font-size: 20px; color: var(--ink-soft); }
.plan-price strong { display: block; margin-bottom: 4px; font: 800 56px/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.plan-volume { font-size: 18px; line-height: 1.45; }
.plan-link { align-self: flex-start; margin-top: 6px; font-weight: 600; color: var(--cobalt); }
.plan-terms {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 48px;
  margin: 40px 0 0; padding: 0; list-style: none;
  font-size: 17px; line-height: 1.5; color: var(--mist);
}
.plan-terms strong { color: var(--paper); font-weight: 600; }

@media (max-width: 900px) {
  .plans { padding: 64px 16px 0; }
  .plans-head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .plans h1 { font-size: 40px; line-height: 1.02; }
  .plans-head p { font-size: 17px; }
  .plans-head .eyebrow { font-size: 13px; }
  .plan-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 32px; }
  .plan { padding: 24px 20px; border-radius: 18px; }
  .plan-price strong { font-size: 44px; }
  .plan-terms { grid-template-columns: minmax(0, 1fr); font-size: 16px; margin-top: 28px; }
}

/* ---------- what it saves ---------- */
.calc {
  padding: 140px 64px 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px;
  max-width: 1312px; margin: 0 auto;
}
.calc-head { display: contents; }
.calc-head .eyebrow { grid-column: 1 / -1; }
.calc h2 { font: 800 62px/1 var(--font-display); letter-spacing: -0.035em; }
.calc h2 span { color: var(--pink); }
.calc-head p { align-self: end; font-size: 21px; line-height: 1.5; color: var(--mist); max-width: 520px; text-wrap: pretty; }
.calc-card {
  grid-column: 1 / -1; margin: 32px 0 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--paper); color: var(--ink);
  border-radius: 24px; box-shadow: var(--shadow);
  overflow: hidden;
}
.calc-inputs { display: flex; flex-direction: column; gap: 28px; padding: 40px; }
.calc-field { display: flex; flex-direction: column; gap: 8px; }
.calc-label { font: 500 14px/1.3 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.calc-field input {
  box-sizing: border-box; width: 100%;
  font: 600 28px/1.2 var(--font-mono); color: var(--ink);
  padding: 12px 16px; border: 1px solid var(--po-rule); border-radius: 12px;
  background: #fff;
}
.calc-field input:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.calc-money { position: relative; display: block; }
.calc-money::before { content: '$'; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font: 600 28px/1 var(--font-mono); color: var(--ink-soft); }
.calc-money input { padding-left: 40px; }
.calc-hint { font-size: 15px; line-height: 1.45; color: var(--ink-soft); }

.calc-results {
  display: flex; flex-direction: column; gap: 14px;
  padding: 40px; background: var(--cobalt-deep); color: var(--paper);
}
.calc-hours { font: 800 64px/1 var(--font-display); letter-spacing: -0.03em; }
.calc-hours [data-out="hours-unit"] { font-size: 30px; letter-spacing: -0.01em; }
.calc-labour { font-size: 20px; line-height: 1.45; color: var(--mist); }
.calc-labour output { color: var(--paper); font-weight: 600; }
.calc-lines { margin: 10px 0 0; border-top: 1px solid rgba(209, 222, 249, 0.25); }
.calc-lines > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(209, 222, 249, 0.25); }
.calc-lines dt { font: 500 13px/1.6 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); }
.calc-lines dd { margin: 0; font-size: 17px; line-height: 1.45; }
.calc-verdict { font-size: 18px; line-height: 1.45; color: var(--pink); }
.calc-verdict:empty { display: none; }
.calc-cta {
  align-self: flex-start; margin-top: 6px;
  font: 600 17px/1.2 var(--font-body);
  padding: 13px 24px; border-radius: 999px;
  background: var(--pink); color: var(--ink); text-decoration: none;
}
.calc-cta:hover { background: var(--paper); }
.calc-note { margin-top: auto; font-size: 13px; line-height: 1.45; color: var(--step-dim); }

@media (max-width: 900px) {
  .calc { grid-template-columns: minmax(0, 1fr); padding: 96px 16px 0; gap: 14px; }
  .calc h2 { font-size: 40px; line-height: 1.02; }
  .calc-head p { font-size: 17px; }
  .calc-head .eyebrow { font-size: 13px; }
  .calc-card { grid-template-columns: minmax(0, 1fr); margin-top: 18px; border-radius: 18px; }
  .calc-inputs, .calc-results { padding: 24px 20px; }
  .calc-inputs { gap: 22px; }
  .calc-field input, .calc-money::before { font-size: 22px; }
  .calc-hours { font-size: 48px; }
  .calc-hours [data-out="hours-unit"] { font-size: 22px; }
  .calc-labour { font-size: 17px; }
  .calc-lines > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .calc-lines dd { font-size: 16px; }
}

/* ---------- customer quote ---------- */
/* Plain text on the page's blue: stars, the words, who said them. No card or quote-mark art. */
.quote { max-width: 1312px; margin: 0 auto; padding: 140px 64px 0; box-sizing: border-box; }
.quote figure { margin: 0; max-width: 920px; }
.quote-stars { font-size: 22px; letter-spacing: 4px; color: var(--pink); }
.quote blockquote { margin: 18px 0 0; }
.quote blockquote p { font: 500 34px/1.3 var(--font-body); letter-spacing: -0.01em; color: var(--paper); text-wrap: pretty; }
.quote figcaption { margin-top: 20px; font-size: 18px; line-height: 1.5; color: var(--mist); }
.quote figcaption strong { color: var(--paper); font-weight: 600; }
.quote-source { display: block; font-size: 15px; color: rgba(209, 222, 249, 0.72); }
@media (max-width: 900px) {
  .quote { padding: 96px 16px 0; }
  .quote-stars { font-size: 18px; }
  .quote blockquote p { font-size: 23px; }
  .quote figcaption { font-size: 16px; }
}

/* ---------- book a demo ---------- */
.book {
  scroll-margin-top: 0;
  padding: 140px 64px 96px;
  background: var(--cobalt);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px;
  max-width: 1312px; margin: 0 auto;
}
.book-head { display: contents; }
.book-head .eyebrow { grid-column: 1 / -1; }
.book h2 { font: 800 62px/1 var(--font-display); letter-spacing: -0.035em; }
.book h2 span { color: var(--pink); }
.book-head p { align-self: end; font-size: 21px; line-height: 1.5; color: var(--mist); max-width: 520px; text-wrap: pretty; }
.book-card {
  grid-column: 1 / -1; margin-top: 32px;
  background: var(--paper); color: var(--ink);
  border-radius: 24px; box-shadow: var(--shadow);
  overflow: hidden;
}
.book-calendar { min-height: 700px; }
.book-calendar iframe { display: block; }
.book-fallback {
  display: none;
  padding: 18px 32px 22px; border-top: 1px solid var(--rule);
  font-size: 16px; line-height: 1.5; color: var(--ink-soft);
}
.book-fallback a { color: var(--cobalt); font-weight: 600; }
.book.no-calendar .book-calendar { display: none; }
.book.no-calendar .book-fallback { display: block; border-top: 0; padding: 28px 32px; font-size: 19px; color: var(--ink); }

@media (max-width: 900px) {
  .book { grid-template-columns: minmax(0, 1fr); padding: 96px 16px 64px; gap: 14px; }
  .book h2 { font-size: 40px; line-height: 1.02; }
  .book-head p { font-size: 17px; }
  .book-head .eyebrow { font-size: 13px; }
  .book-card { margin-top: 18px; border-radius: 18px; }
  .book-calendar { min-height: 1000px; }
  .book-fallback { padding: 16px 20px 20px; font-size: 15px; }
}

/* ---------- contact form, as an email (in the book section) ---------- */
.write { grid-column: 1 / -1; margin-top: 40px; max-width: 760px; }
.write-title { font: 800 40px/1.02 var(--font-display); letter-spacing: -0.03em; color: var(--paper); margin-bottom: 20px; }
.mail { position: relative; background: var(--paper); color: var(--ink); border-radius: 6px; box-shadow: var(--shadow); }
.mail-row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  padding: 14px 24px; border-bottom: 1px solid var(--rule);
  font-size: 17px; line-height: 1.4;
}
.mail-key { flex: 0 0 52px; color: var(--ink-soft); }
.mail-to { font-weight: 600; }
.mail input, .mail textarea {
  font: 17px/1.4 var(--font-body); color: var(--ink);
  border: 0; padding: 0; margin: 0; background: transparent; min-width: 0;
}
.mail input::placeholder, .mail textarea::placeholder { color: #8f8a80; }
.mail-from input { flex: 1 1 180px; }
.mail-from input[name="name"] { font-weight: 600; }
.mail .mail-body { display: block; box-sizing: border-box; width: 100%; padding: 18px 24px; resize: vertical; min-height: 180px; }
.mail input:focus, .mail textarea:focus { outline: none; }
.mail-row:focus-within, .mail-body:focus { background: #fffdf8; }
.mail-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 14px 24px 18px; border-top: 1px solid var(--rule); }
.mail button {
  font: 600 16px/1.2 var(--font-body); color: var(--paper);
  padding: 11px 24px; border: 0; border-radius: 999px; background: var(--cobalt); cursor: pointer;
}
.mail button:hover { background: var(--cobalt-deep); }
.mail button:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.mail button:disabled { opacity: .6; cursor: progress; }
.mail-status { font-size: 15px; line-height: 1.4; color: var(--ink-soft); }
.mail.is-error .mail-status { color: var(--flag-text); }
.mail-status a { color: inherit; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mail-sent { display: none; padding: 22px 24px 26px; font-size: 17px; line-height: 1.5; }
.mail-sent:focus { outline: none; }
.mail.is-sent .mail-from, .mail.is-sent .mail-body, .mail.is-sent .mail-foot { display: none; }
.mail.is-sent .mail-sent { display: block; }

@media (max-width: 900px) {
  .write { margin-top: 28px; }
  .write-title { font-size: 30px; margin-bottom: 14px; }
  .mail-row, .mail .mail-body, .mail-foot, .mail-sent { padding-left: 16px; padding-right: 16px; }
  .mail-key { flex-basis: 44px; }
  .mail-from { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px 12px; }
  .mail-from .mail-key { grid-row: span 2; }
  .mail-from input { grid-column: 2; }
}
