/* Deploy Joy, site v2. "Follow the indigo": plaster-white ground, large scene images of the
   DIFC miniature, and one recurring motif, a thin indigo route with small nodes, that connects
   the steps of the process, the worked examples and the booking flow. */

:root {
  --brand: #5456ed;
  --brand-deep: #4446d8;
  --brand-light: #9b9cf7;
  --brand-tint: rgba(84, 86, 237, 0.1);
  --ink: #14131a;
  --ink-soft: #4a4856;
  --ground: #f4efec;
  --ground-deep: #ebe4df;
  --paper: #ffffff;
  --line: rgba(20, 19, 26, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);
  --on-dark-soft: rgba(255, 255, 255, 0.74);
  --error: #b3261e;

  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --radius: 24px;
  --radius-sm: 14px;
  --nav-h: 68px;
  --node: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.section--ink :focus-visible { outline-color: #fff; }
.muted { color: var(--ink-soft); font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

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

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

/* Type */
.h-xl { font-size: clamp(36px, 4.8vw, 66px); line-height: 1.02; letter-spacing: -0.03em; }
.h-lg { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; }
.label {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.label--small { font-size: 11px; margin-bottom: 10px; color: var(--ink-soft); }
.section--ink .label { color: var(--brand-light); }
.head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.head--centre { margin-left: auto; margin-right: auto; text-align: center; }
.head--centre .head__copy { margin-left: auto; margin-right: auto; }
.head__copy { margin-top: 18px; max-width: 54ch; font-size: 18px; color: var(--ink-soft); }
.section--ink .head__copy { color: var(--on-dark-soft); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn::after {
  content: '';
  width: 0.55em;
  height: 0.55em;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.1em;
  opacity: 0.85;
}
.btn:hover { transform: translateY(-1px); background: var(--brand-deep); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: rgba(20, 19, 26, 0.05); }
.btn--outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn--small { padding: 0.65em 1.15em; font-size: 15px; }
.btn--plain::after { display: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.reply-note { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }

/* Nav: a flat bar on the ground colour with a hairline */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 239, 236, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--nav-h);
  padding: 0 var(--gutter);
}
.nav__logo { flex: none; }
.nav__logo img { height: 36px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 26px; margin-left: auto; margin-right: 8px; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__wa { position: relative; padding-left: 16px; }
.nav__wa::before { content: ''; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--brand); }
.nav__links-cta { display: none; }
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__toggle-bar { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease; }
.is-open .nav__toggle-bar:first-child { transform: translateY(3.5px) rotate(45deg); }
.is-open .nav__toggle-bar:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero: headline across, lede and buttons to the right, then the map */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 72px) 0 0; }
/* The faint wordmark behind the headline; hero-logo.js runs the indigo through it. */
.hero-logo { position: absolute; z-index: 0; top: 4%; bottom: 2%; right: clamp(16px, 2vw, 40px); aspect-ratio: 486.365 / 221.274; opacity: 0.12; pointer-events: none; }
.hero-logo svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hero-logo__ghost { fill: var(--brand); opacity: 0.35; }
.hero-logo__fill { fill: var(--brand); }
.hero__copy { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(32px, 5vw, 80px); align-items: end; }
.hero h1 {
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.kicker { display: block; margin-bottom: clamp(14px, 1.6vw, 22px); font-size: clamp(14px, 1.2vw, 17px); font-weight: 700; letter-spacing: 0.1em; line-height: 1.4; }
.hero__lede { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-soft); max-width: 46ch; }
.hero__side .cta-row { margin-top: 24px; }


/* Scene slots: one image each, cropped with --focus until the real scene arrives */
.scene { position: relative; overflow: hidden; background: var(--ground-deep); }
.scene__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.scene--wide { height: clamp(260px, 36vw, 480px); border-radius: var(--radius); margin: 0 auto clamp(40px, 5vw, 72px); max-width: calc(var(--max) - 2 * var(--gutter)); padding: 0; }
.scene--tall { border-radius: var(--radius); }
.scene--example { border-radius: var(--radius); aspect-ratio: 4 / 3; }

/* Sections */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink p { color: var(--on-dark-soft); }
.section--ink h2, .section--ink h3 { color: #fff; }

/* Route motif: an indigo line with small nodes */
.route { position: relative; }
.route li, .route .stop { position: relative; }
.route li::before, .route .stop::before {
  content: '';
  position: absolute;
  width: var(--node);
  height: var(--node);
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--route-ring, var(--ground));
  z-index: 1;
}
.route li::after, .route .stop::after { content: ''; position: absolute; background: var(--brand); }
.section--paper .route, .final .route, .side .route { --route-ring: var(--paper); }
.section--ink .route { --route-ring: var(--ink); }

/* Vertical route */
.route--v li { padding: 0 0 22px 34px; }
.route--v li:last-child { padding-bottom: 0; }
.route--v li::before { left: 0; top: 5px; }
.route--v li::after { left: calc(var(--node) / 2 - 1px); top: calc(5px + var(--node)); bottom: -5px; width: 2px; }
.route--v li:last-child::after { display: none; }
.route--v p { font-size: 16px; line-height: 1.5; color: var(--ink); }
.route--v strong { display: block; font-weight: 600; letter-spacing: -0.01em; }



/* What we automate: tall scene beside a definition list */
.lanes { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.lanes__scene { position: sticky; top: calc(var(--nav-h) + 24px); aspect-ratio: 4 / 5; }
.lane-list { margin-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.lane { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 24px); }
.lane dt { position: relative; padding-left: 22px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.lane dt::before { content: ''; position: absolute; left: 0; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.lane dd { font-size: 16px; color: var(--ink-soft); }
.lane:target dt::before { box-shadow: 0 0 0 5px var(--brand-tint); }

/* Worked examples: scene beside flow, alternating */
.example { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); align-items: center; }
.example + .example { margin-top: clamp(56px, 7vw, 96px); }
.example--flip .scene { order: 2; }
.example h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.02em; max-width: 20ch; }
.example__lede { margin-top: 12px; color: var(--ink-soft); }
.example .route { margin-top: 26px; }

/* Self-check */
.check { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.check__intro { position: sticky; top: calc(var(--nav-h) + 40px); }
.check__list li { border-top: 1px solid var(--line-light); }
.check__list li:last-child { border-bottom: 1px solid var(--line-light); }
.check__list label { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; cursor: pointer; font-size: 18px; line-height: 1.4; color: #fff; }
.check__list input, .check__name input { font: inherit; }
.check__list input[type="checkbox"] { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--brand); cursor: pointer; }
.check__list label:hover span { color: #fff; }
.check__name { margin-top: 22px; display: grid; gap: 8px; max-width: 420px; }
.check__name label { font-size: 14px; color: var(--on-dark-soft); }
.check__name input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-light);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.check__name input::placeholder { color: rgba(255, 255, 255, 0.4); }
.check__result { margin-top: 26px; font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; letter-spacing: -0.015em; color: #fff !important; }
.check__result.is-strong { color: var(--brand-light) !important; }
.check .cta-row { margin-top: 22px; }

/* FAQ: a single calm column */
.faq-wrap { max-width: 820px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: var(--brand);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 60ch; color: var(--ink-soft); }

/* Final call: scene with a paper panel */
.final { position: relative; min-height: clamp(560px, 72vh, 760px); display: flex; align-items: center; padding: clamp(56px, 7vw, 96px) 0; }
.scene--final { position: absolute; inset: 0; }
.final__inner { position: relative; }
.final__panel { max-width: 560px; padding: clamp(28px, 3.4vw, 48px); border-radius: var(--radius); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 30px 70px rgba(20, 19, 26, 0.16); }
.final__lede { margin-top: 18px; color: var(--ink-soft); }

/* Page header for inner pages */
.page-head { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(32px, 4vw, 56px); }
.page-head h1 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.035em; max-width: 16ch; }
.page-head__lede { margin-top: 20px; max-width: 58ch; font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-soft); }

/* Two-column page body: main + side */
.cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.cols--form { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.side { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 28px; }
.panel { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.panel h2, .panel h3 { font-size: 22px; letter-spacing: -0.02em; }
.panel > p { margin-top: 12px; color: var(--ink-soft); }
.panel .route { margin-top: 22px; }
.trust { display: grid; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.trust li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-soft); }
.trust li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* Forms */
.form { display: grid; gap: 22px; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form legend, .field > label, .field__legend { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.form legend { padding: 0; }
.field__hint { margin: -4px 0 8px; font-size: 14px; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea, .field.is-invalid .choices { border-color: var(--error); }
.field__error { margin-top: 8px; font-size: 14px; color: var(--error); font-weight: 500; }
.field__error::before { content: '!'; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 8px; border-radius: 50%; background: var(--error); color: #fff; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.req { color: var(--brand); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; border-radius: 12px; }
.choice { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 15px; cursor: pointer; }
.choice input { margin: 0; width: 16px; height: 16px; accent-color: var(--brand); }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.choice:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.choice--block { width: 100%; justify-content: flex-start; padding: 12px 16px; border-radius: 12px; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--ink-soft); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.form__actions .btn { font-size: 17px; padding: 0.95em 1.7em; }
.form__note { font-size: 14px; color: var(--ink-soft); }
.form-alert { padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(179, 38, 30, 0.35); background: rgba(179, 38, 30, 0.06); font-size: 15px; }
.form-alert ul { margin-top: 6px; display: grid; gap: 4px; }
.form-alert a { color: var(--error); font-weight: 500; }

/* After sending */
.sent h2 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.025em; }
.sent > p { margin-top: 12px; color: var(--ink-soft); }
.notice { margin-top: 22px; padding: 18px 20px; border-radius: 12px; background: var(--brand-tint); border: 1px solid rgba(84, 86, 237, 0.3); font-size: 15px; }
.notice p + p { margin-top: 8px; }
.notice textarea { width: 100%; margin-top: 12px; min-height: 220px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-family: var(--mono); font-size: 13px; line-height: 1.5; color: var(--ink); resize: vertical; }
.notice .btn { margin-top: 12px; }
.next { margin-top: 28px; }
.next h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 20px; }

/* Contact page */
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.channel { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.channel:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(20, 19, 26, 0.1); }
.channel--primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.channel--primary .label, .channel--primary .channel__meta { color: rgba(255, 255, 255, 0.78); }
.channel h2 { font-size: 24px; letter-spacing: -0.02em; }
.channel p { color: var(--ink-soft); font-size: 15px; }
.channel--primary p { color: rgba(255, 255, 255, 0.86); }
.channel__meta { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: 15px; }
.channel__meta::after { content: ' →'; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; margin-top: clamp(56px, 7vw, 96px); }
.facts { display: grid; gap: 18px; }
.facts div { padding-top: 16px; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.facts dd { font-size: 17px; }
.scene--contact { height: clamp(260px, 40vw, 520px); border-radius: var(--radius); margin-top: clamp(40px, 5vw, 72px); }
@media (min-width: 1025px) { .only-narrow { display: none; } }

/* Footer */
.footer { padding: clamp(56px, 7vw, 88px) 0 36px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 80px); }
.footer__logo { height: 28px; width: auto; margin-bottom: 18px; }
.footer__about p { max-width: 44ch; font-size: 15px; color: var(--ink-soft); }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__nav a, .footer__contact a { color: var(--ink-soft); text-decoration: none; width: fit-content; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--ink); text-decoration: underline; }
.footer__contact span { color: var(--ink-soft); }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.footer__credit a { color: inherit; }

/* Reveal on scroll: only when JS runs and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* Tablet */
@media (max-width: 1024px) {
  .hero__copy { grid-template-columns: 1fr; align-items: start; }
  .nav__links { gap: 18px; }
  .lane { grid-template-columns: 1fr; gap: 6px; }
  .cols, .cols--form, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
}

/* Phone and small tablets */
@media (max-width: 860px) {
  :root { --nav-h: 60px; --radius: 18px; }
  .nav { gap: 12px; }
  .nav__logo img { height: 31px; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 12px;
    border-radius: 22px;
    background: var(--paper);
    box-shadow: 0 16px 40px rgba(20, 19, 26, 0.14);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 12px 14px; border-radius: 12px; font-size: 17px; color: var(--ink); }
  .nav__links a:hover { background: var(--ground); }
  .nav__wa { padding-left: 14px; }
  .nav__wa::before { display: none; }
  .nav__links-cta { display: block; margin-top: 6px; background: var(--brand); color: #fff !important; text-align: center; font-weight: 600; border-radius: 999px; }

  .hero h1 { font-size: clamp(38px, 10.5vw, 56px); }
  .hero-logo { display: none; }
  .cta-row .btn { flex: 1 1 auto; }

  .scene--wide { height: 300px; border-radius: 0; max-width: none; }
  .lanes { grid-template-columns: 1fr; }
  .lanes__scene { position: static; aspect-ratio: 4 / 3; }
  .example { grid-template-columns: 1fr; }
  .example--flip .scene { order: 0; }
  .check { grid-template-columns: 1fr; }
  .check__intro { position: static; }
  .check__list label { font-size: 17px; }
  .final { min-height: 0; padding: 0; display: block; }
  .scene--final { position: relative; height: 300px; }
  .final__inner { padding: 0; }
  .final__panel { max-width: none; border-radius: 0; box-shadow: none; background: var(--paper); padding: 40px var(--gutter) 48px; }
  .form-row { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__base { flex-direction: column; }
}

/* Phone, no JS: the menu button never appears, so show the links as a plain wrapped row */
@media (max-width: 860px) {
  html:not(.js) .nav { flex-wrap: wrap; padding-bottom: 10px; }
  html:not(.js) .nav__links { display: flex; position: static; flex-direction: row; flex-wrap: wrap; gap: 2px 6px; width: 100%; padding: 0; background: none; box-shadow: none; }
  html:not(.js) .nav__links a { padding: 6px 8px; font-size: 15px; }
  html:not(.js) .nav__links-cta { margin: 0; }
  .cols--form .side { order: 2; }
}

/* ---------- Motion ---------- */

/* Route lines draw themselves (JS adds .is-in when in view; without JS nothing is hidden) */
@media (prefers-reduced-motion: no-preference) {
  .js .route[data-draw] .stop::after, .js .route[data-draw] li::after { transform-origin: left top; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
  .js .route[data-draw] .stop::before, .js .route[data-draw] li::before { transition: background-color 0.4s ease, box-shadow 0.4s ease; }
  .js .route--h[data-draw]:not(.is-in) .stop::after { transform: scaleX(0); }
  .js .route--v[data-draw]:not(.is-in) li::after { transform: scaleY(0); }
  .js .route[data-draw]:not(.is-in) .stop::before, .js .route[data-draw]:not(.is-in) li::before { background: var(--line); }
  .js .route[data-draw] :nth-child(1)::after, .js .route[data-draw] :nth-child(1)::before { transition-delay: 0s; }
  .js .route[data-draw] :nth-child(2)::after, .js .route[data-draw] :nth-child(2)::before { transition-delay: 0.6s; }
  .js .route[data-draw] :nth-child(3)::after, .js .route[data-draw] :nth-child(3)::before { transition-delay: 1.2s; }
  .js .route[data-draw] :nth-child(4)::after, .js .route[data-draw] :nth-child(4)::before { transition-delay: 1.8s; }
  .js .route[data-draw] :nth-child(5)::after, .js .route[data-draw] :nth-child(5)::before { transition-delay: 2.4s; }
}
/* Our approach: one continuous stroke. Each dot lights and pops as the line reaches it; the line
   ends at Joy, which settles with a soft glow after one pulse. Timings chain: dot, segment, dot... */
@media (prefers-reduced-motion: no-preference) {
  .js .route--h[data-draw] .stop::after { transition: transform 0.55s linear; }
  .js .route--h[data-draw] .stop::before { transition: background-color 0.25s ease, transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.5s ease; }
  .js .route--h[data-draw]:not(.is-in) .stop::before { transform: scale(0.6); }
  .js .route--h[data-draw]:not(.is-in) .stop:last-child::before { box-shadow: 0 0 0 4px var(--route-ring, var(--ground)); }
  .js .route--h[data-draw] .stop:nth-child(1)::before { transition-delay: 0s; }
  .js .route--h[data-draw] .stop:nth-child(1)::after { transition-delay: 0.1s; }
  .js .route--h[data-draw] .stop:nth-child(2)::before, .js .route--h[data-draw] .stop:nth-child(2)::after { transition-delay: 0.65s; }
  .js .route--h[data-draw] .stop:nth-child(3)::before, .js .route--h[data-draw] .stop:nth-child(3)::after { transition-delay: 1.2s; }
  .js .route--h[data-draw] .stop:nth-child(4)::before { transition-delay: 1.75s; }
  .js .route--h[data-draw].is-in .stop:last-child::before { animation: route-arrive 1.2s ease-out 1.9s; }
  @keyframes route-arrive {
    from { box-shadow: 0 0 0 4px var(--route-ring, var(--ground)), 0 0 0 4px rgba(84, 86, 237, 0.55); }
    60% { box-shadow: 0 0 0 4px var(--route-ring, var(--ground)), 0 0 0 22px rgba(84, 86, 237, 0); }
    to { box-shadow: 0 0 0 4px var(--route-ring, var(--ground)), 0 0 0 11px var(--brand-tint); }
  }
}

/* Product moments: copy beside a mock-up */
.moment { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(56px, 7vw, 96px); }
.section > .moment:first-child { margin-top: 0; }
.moment--flip .moment__copy { order: 2; }
.moment__copy h3 { font-size: clamp(22px, 2.1vw, 30px); letter-spacing: -0.02em; }
.moment__copy > p:not(.label) { margin-top: 14px; color: var(--ink-soft); }
.demo__replay { margin-top: 18px; padding: 8px 14px 8px 32px; position: relative; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 500; cursor: pointer; }
.demo__replay::before { content: ''; position: absolute; left: 13px; top: 50%; width: 0; height: 0; margin-top: -5px; border-left: 9px solid var(--brand); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.demo__replay:hover { border-color: var(--brand); }
html:not(.js) .demo__replay { display: none; }

.demo { position: relative; font-size: 13px; line-height: 1.4; color: var(--ink); cursor: pointer; user-select: none; }
.demo b { font-weight: 600; }

/* Element entrances. Default = final state (no JS, reduced motion). */
.a--gone { display: none; }
.msg--typing { height: 34px; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .js .demo.is-armed .a { opacity: 0; }
  .js .demo.is-armed .a--gone { display: flex; }
  .js .demo.is-playing .a { animation: a-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--t, 0) * 1s); }
  .js .demo.is-playing .a--gone { animation: a-in 0.3s both, a-collapse 0.3s both; animation-delay: calc(var(--t, 0) * 1s), calc(var(--t2, 0) * 1s); }
  .js .demo.is-playing .a--line { animation: a-line calc(var(--d, 0.6) * 1s) cubic-bezier(0.4, 0, 0.2, 1) both; animation-delay: calc(var(--t, 0) * 1s); }
  .js .demo.is-playing .demo__link--v { animation-name: a-line-v; }
  .js .demo.is-playing .a--slide { animation: a-slide 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--t, 0) * 1s); }
  .js .demo.is-playing .a--stamp { animation: a-stamp 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both; animation-delay: calc(var(--t, 0) * 1s); }
  /* Added for the tours: a pop (ticks, chips), an element that leaves again at --t2 without
     collapsing (a "pending" chip), an SVG stroke that draws itself (--d seconds, pathLength="1"),
     a dot that travels along its track (--d seconds), and a pulsing ring. */
  .js .demo.is-playing .a--pop { animation: a-pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) both; animation-delay: calc(var(--t, 0) * 1s); }
  .js .demo.is-armed .a--out { display: revert; }
  .js .demo.is-playing .a--out { animation: a-in 0.3s both, a-out 0.3s both; animation-delay: calc(var(--t, 0) * 1s), calc(var(--t2, 0) * 1s); }
  .js .demo.is-playing .a--draw { animation: a-draw calc(var(--d, 1) * 1s) ease-in-out both; animation-delay: calc(var(--t, 0) * 1s); }
  .js .demo.is-playing .a--travel { animation: a-travel calc(var(--d, 3) * 1s) ease-in-out both; animation-delay: calc(var(--t, 0) * 1s); }
  .js .demo.is-playing .ring { animation: a-pulse 1.6s ease-out infinite; animation-delay: calc(var(--t, 0) * 1s); }
  .js .demo.is-armed .bars i { transform: scaleY(0); }
  .js .demo.is-playing .bars i { animation: a-bar 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--t, 0) * 1s); }
  .js .demo.is-playing .typing i { animation: a-dot 1s ease-in-out infinite; }
  .js .demo.is-playing .typing i:nth-child(2) { animation-delay: 0.15s; }
  .js .demo.is-playing .typing i:nth-child(3) { animation-delay: 0.3s; }
}
@keyframes a-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes a-collapse { to { opacity: 0; height: 0; padding-top: 0; padding-bottom: 0; margin-top: -8px; } }
@keyframes a-line-v { from { opacity: 1; transform: scaleY(0); } to { opacity: 1; transform: none; } }
@keyframes a-line { from { opacity: 1; transform: scaleX(0); } to { opacity: 1; transform: none; } }
@keyframes a-slide { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes a-stamp { from { opacity: 0; transform: rotate(-8deg) scale(1.3); } to { opacity: 1; transform: rotate(-3deg) scale(1); } }
@keyframes a-bar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes a-dot { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-3px); opacity: 1; } }
@keyframes a-pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes a-out { to { opacity: 0; visibility: hidden; } }
@keyframes a-draw { from { opacity: 1; stroke-dashoffset: 1; } to { opacity: 1; stroke-dashoffset: 0; } }
@keyframes a-travel { from { opacity: 1; left: 0; } to { opacity: 1; left: var(--to, calc(100% - 14px)); } }
@keyframes a-pulse { from { opacity: 0.8; transform: scale(0.7); } to { opacity: 0; transform: scale(2.4); } }
@keyframes a-progress { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes a-progress-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.demo .a--out { display: none; }
.a--draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.a--travel { left: var(--to, calc(100% - 14px)); }
.ring { opacity: 0; transform-box: fill-box; transform-origin: center; }

/* A. Enquiry: phone, route, pipeline */
.demo--enquiry { display: grid; grid-template-columns: minmax(0, 5fr) 48px minmax(0, 5fr); align-items: center; min-height: 420px; }
.phone { border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(20, 19, 26, 0.1); overflow: hidden; }
.phone__bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--ground); }
.phone__bar small { display: block; font-size: 11px; color: var(--ink-soft); }
.phone__avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 600; }
.phone__time { margin-left: auto; font-size: 11px; color: var(--ink-soft); }
.thread { display: flex; flex-direction: column; gap: 8px; padding: 14px; min-height: 330px; background: #f7f3f0; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 13px; line-height: 1.4; }
.msg--in { align-self: flex-start; background: var(--paper); border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(20, 19, 26, 0.08); }
.msg--out { align-self: flex-end; background: #e7e7fc; border-bottom-right-radius: 4px; }
.typing { display: inline-flex; gap: 4px; padding: 3px 2px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-soft); }
.demo__link { position: relative; height: 2px; background: var(--brand); transform-origin: left center; }
.demo__link::after { content: ''; position: absolute; right: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.crm { padding: 14px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.crm__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.crm__head span { font-size: 11px; color: var(--ink-soft); }
.crm__card { display: grid; gap: 6px; padding: 12px; border-radius: 12px; border: 1px solid var(--brand); background: var(--brand-tint); }
.crm__card span, .crm__card small { font-size: 12px; color: var(--ink-soft); }
.crm__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.crm__tags i { font-style: normal; padding: 3px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 11px; }
.crm__tags i.is-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.crm__ghost { height: 56px; margin-top: 10px; border-radius: 12px; border: 1px dashed var(--line); background: repeating-linear-gradient(90deg, transparent 0 12px, rgba(20, 19, 26, 0.03) 12px 24px); }

/* B. Documents (the quote/contract/report/invoice look, used inside the tours) */
.source { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--brand-tint); border: 1px solid rgba(84, 86, 237, 0.3); }
.source span { font-size: 12px; color: var(--ink-soft); }
.demo__link--v { width: 2px; height: 28px; margin: 0 auto; transform-origin: center top; }
.demo__link--v::after { right: -4px; top: auto; bottom: -4px; }
.doc { position: relative; padding: 22px 24px 70px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(20, 19, 26, 0.1); }
.doc__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.doc__head span { font-size: 12px; color: var(--ink-soft); }
.doc__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 14px 0; }
.doc__fields dt { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.doc__fields dd { font-weight: 500; }
.doc__lines { width: 100%; border-collapse: collapse; }
.doc__lines td { padding: 8px 0; border-top: 1px solid var(--line); }
.doc__lines td:last-child { text-align: right; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); }
.doc__total td { border-top: 2px solid var(--ink); font-weight: 600; }
.doc__total td:last-child { color: var(--ink); }
.stamp { position: absolute; right: 18px; bottom: 16px; padding: 6px 12px; border: 2px solid var(--brand); border-radius: 8px; color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: 0.02em; transform: rotate(-3deg); background: rgba(255, 255, 255, 0.85); }

/* C. Owner summary */
.demo--summary { min-height: 420px; }
.dash { padding: 16px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(20, 19, 26, 0.1); }
.dash__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.dash__head span { font-size: 11px; color: var(--ink-soft); }
.dash__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.stat { padding: 12px; border-radius: 12px; background: var(--ground); }
.stat b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; font-size: 11px; color: var(--ink-soft); }
.dash__chart { margin-top: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); }
.dash__chart-head { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-soft); margin-bottom: 10px; }
.bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; height: 72px; align-items: end; }
.bars i { display: block; height: calc(var(--h) * 100%); border-radius: 4px 4px 2px 2px; background: #c9c9f7; transform-origin: bottom; }
.bars i.is-brand { background: var(--brand); }
.dash__list { margin-top: 12px; display: grid; gap: 6px; }
.dash__list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--ground); font-size: 12px; }
.dash__list i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }

/* ---------- Product tours (the two worked examples) ----------
   A vertical route of five tab buttons beside an app window. motion.js marks the active step
   (li.is-active), the ones before it (li.is-done) and, while it auto-advances, puts .is-running
   on the tour with --dur set to the step length so the line below the node draws itself. */
.tour { display: block; }
.scene--strip { height: clamp(160px, 19vw, 260px); border-radius: var(--radius) var(--radius) 0 0; }
.road { margin-bottom: clamp(28px, 3.5vw, 48px); }
.tour__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 4.5vw, 64px); align-items: start; }
.tour--flip .tour__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.tour--flip .tour__copy { order: 2; }
.tour__copy, .tour__stage { min-width: 0; }

/* Stepper */
.tour__steps { counter-reset: step; }
.tour__steps li { padding: 0 0 14px 34px; counter-increment: step; background: linear-gradient(var(--line), var(--line)) 6px 25px / 2px calc(100% - 14px) no-repeat; }
.tour__steps li:last-child { padding-bottom: 0; background: none; }
.tour__steps li::before { top: 11px; background: var(--line); transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.tour__steps li::after { top: 25px; bottom: -11px; transform: scaleY(0); transform-origin: top; }
.tour__steps li.is-done::before, .tour__steps li.is-active::before { background: var(--brand); }
.tour__steps li.is-done::after { transform: none; }
.tour__steps li.is-active::before { box-shadow: 0 0 0 4px var(--route-ring), 0 0 0 5.5px var(--brand); }
.tour.is-running .tour__steps li.is-active::after { animation: a-progress var(--dur, 9s) linear both; }
.tour__steps button { display: block; width: 100%; margin: 0; padding: 6px 10px; border: 0; border-radius: 10px; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: background-color 0.2s ease; }
.tour__steps button:hover { background: var(--ground); }
.tour__steps strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.5; }
.tour__steps span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.tour__steps li.is-active strong { color: var(--brand); }

/* App window and the stacked panels */
.app { border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(20, 19, 26, 0.12); overflow: hidden; }
.app__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--ground-deep); }
.app__dots { display: flex; gap: 5px; }
.app__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(20, 19, 26, 0.14); }
.app__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.app__chip { flex: none; margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--brand-tint); color: var(--brand); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
/* The panels stack in one grid cell; motion.js sets the screen's height to the active panel's,
   so the window resizes to each step instead of sitting at the tallest one. */
.app__screen { display: grid; padding: 16px; background: var(--ground); overflow: hidden; transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
.tour__panel { grid-area: 1 / 1; align-self: start; min-width: 0; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
.tour__panel.is-active { opacity: 1; visibility: visible; transition: opacity 0.4s ease 0.12s, visibility 0s; }
.tour__panel:focus-visible { outline-offset: 8px; }
html:not(.js) .tour__panel:not(.is-active) { display: none; }
@media (prefers-reduced-motion: reduce) { .tour__panel, .app__screen { transition: none; } }
.tour__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.tour__count { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.tour__count b { color: var(--ink); font-weight: 500; }
.tour__bar .demo__replay { margin: 0 0 0 auto; }
.tour__caption { display: none; flex-basis: 100%; font-size: 15px; line-height: 1.45; color: var(--ink); }
html:not(.js) .tour__bar { display: none; }

/* Screen widgets shared by the ten steps */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.tour .phone { border-radius: 18px; box-shadow: 0 12px 30px rgba(20, 19, 26, 0.08); }
.tour .thread { min-height: 0; }
.phone--solo { max-width: 380px; margin: 0 auto; }
.phone__avatar--biz { font-size: 11px; background: var(--ink); }
.msg--card { display: grid; gap: 3px; width: fit-content; max-width: 100%; margin-left: auto; }
.msg--card span { font-size: 12px; color: var(--ink-soft); }
.msg__total { margin-top: 3px; padding-top: 6px; border-top: 1px solid rgba(84, 86, 237, 0.2); font-family: var(--mono); font-size: 11px !important; color: var(--ink) !important; }
.msg--att { display: flex; align-items: center; gap: 10px; }
.msg--att small { display: block; font-size: 11px; color: var(--ink-soft); }
.att__ico { position: relative; flex: none; width: 36px; height: 26px; border-radius: 5px; background: var(--ground-deep); border: 1px solid var(--line); }
.att__ico::before { content: ''; position: absolute; left: 5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand-light); }
.att__ico::after { content: ''; position: absolute; left: 18px; right: 5px; top: 8px; height: 2px; background: rgba(20, 19, 26, 0.18); box-shadow: 0 5px 0 rgba(20, 19, 26, 0.18); }
.att__ico--book { background: #e7e7fc; }
.msg--note { align-self: stretch; max-width: 100%; background: var(--paper); border: 1px dashed rgba(84, 86, 237, 0.45); font-size: 12px; color: var(--ink-soft); }
.msg--note b { display: block; margin-bottom: 2px; color: var(--brand); }
.msg--note .typing { vertical-align: middle; margin-right: 4px; }
.msg--voice { display: flex; align-items: center; gap: 8px; width: 78%; }
.voice__play { flex: none; width: 0; height: 0; border-left: 10px solid var(--brand); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.wave { position: relative; display: flex; flex: 1; align-items: center; gap: 2px; height: 22px; }
.wave i { flex: 1; height: calc(var(--h) * 100%); border-radius: 2px; background: var(--ink-soft); opacity: 0.4; }
.wave__bar { position: absolute; left: 0; top: 50%; width: 100%; height: 2px; margin-top: -1px; background: var(--brand); transform-origin: left center; }
.msg--voice small { font-size: 11px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.msg--day { align-self: center; padding: 3px 10px; border-radius: 999px; background: rgba(20, 19, 26, 0.06); font-size: 11px; color: var(--ink-soft); }
.kv { display: grid; gap: 5px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.kv dt { flex: none; color: var(--ink-soft); }
.kv dd { font-weight: 500; text-align: right; }
.kv--boxed { gap: 7px; padding: 10px 12px; border-radius: 12px; background: var(--ground); }
.kv--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin-top: 8px; }
.kv--grid div { flex-direction: column; justify-content: flex-start; gap: 1px; }
.kv--grid dt { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.kv--grid dd { text-align: left; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 11px; font-weight: 500; line-height: 1.4; color: var(--ink-soft); white-space: nowrap; }
.chip--ok { border-color: var(--brand); background: var(--brand-tint); color: var(--brand); }
.ticks { display: grid; gap: 7px; margin-top: 12px; }
.ticks li { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.ticks i { position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); }
.ticks i::after { content: ''; position: absolute; left: 5px; top: 2.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks--doc { margin: 0 0 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.stamp--inline { position: static; display: inline-block; margin-top: 14px; }
.tour .doc { box-shadow: 0 12px 30px rgba(20, 19, 26, 0.08); }
.tour .doc__head { gap: 12px; }
.tour .doc__head b { white-space: nowrap; }
.tour .doc__head span { text-align: right; }
.tour .doc__fields { margin: 12px 0; }
.doc--sheet, .doc--report { padding-bottom: 64px; }
.sign { display: grid; gap: 2px; width: 170px; }
.sign svg { display: block; width: 170px; height: 44px; }
.sign path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.sign span { padding-top: 4px; border-top: 1px solid var(--ink); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.source--tech b { display: block; }
.source__row { display: flex; align-items: flex-start; gap: 12px; }
.source__row span { font-size: 12px; color: var(--ink-soft); }
.shots { display: flex; gap: 6px; margin-top: 8px; }
.shots i { position: relative; display: flex; align-items: flex-end; flex: 1; max-width: 84px; height: 44px; padding: 0 0 3px 6px; border: 1px solid var(--line); border-radius: 8px; background: repeating-linear-gradient(135deg, var(--ground) 0 6px, var(--ground-deep) 6px 12px); font-style: normal; font-size: 10px; color: var(--ink-soft); }
.shots i::after { content: ''; position: absolute; right: 4px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.shots--photo { flex: none; margin: 6px 0 0; }
.shots--photo i { flex: none; width: 64px; height: 48px; }

/* Rental 4: three things from one record */
.flow { display: grid; gap: 10px; }
.flow__row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.flow__ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-family: var(--mono); font-size: 12px; font-weight: 500; }
.flow__body { display: grid; gap: 2px; min-width: 0; }
.flow__body > span { font-size: 12px; color: var(--ink-soft); }
.flow__state { display: grid; }
.flow__state > * { grid-area: 1 / 1; justify-self: end; }

/* Rental 2: fleet calendar */
.cal { padding: 12px 14px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.cal__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cal__head span { font-size: 11px; color: var(--ink-soft); }
.cal__row { display: grid; grid-template-columns: minmax(120px, 1.6fr) repeat(7, minmax(0, 1fr)); gap: 3px; height: 34px; }
.cal__row + .cal__row { margin-top: 4px; }
.cal__row > * { grid-row: 1; min-width: 0; }
.cal__row--head { height: 30px; }
.cal__row--head span { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; line-height: 1.1; }
.cal__row--head small { margin-top: 1px; font-size: 9px; font-weight: 400; color: var(--ink-soft); }
.cal__row--head .is-want, .cal__row--head .is-want small { color: var(--brand); }
.cal__car { display: flex; align-items: center; overflow: hidden; font-size: 12px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.cal__row i { display: flex; align-items: center; overflow: hidden; padding: 0 8px; border-radius: 6px; font-style: normal; font-size: 10px; white-space: nowrap; }
.cal__busy { background: var(--ground-deep); color: var(--ink-soft); }
.cal__win { grid-column: 4 / span 3; background: var(--brand-tint); border: 1px dashed rgba(84, 86, 237, 0.35); }
.cal__clash { grid-column: 5 / span 3; z-index: 1; justify-content: center; border: 1px solid rgba(179, 38, 30, 0.4); background: #fbeeed; color: var(--error); font-weight: 600; }
.cal__hold { grid-column: 4 / span 3; z-index: 1; background: var(--brand); color: #fff; font-weight: 600; }

/* Rental 5 and home 5: a dated log */
.log { position: relative; display: grid; gap: 10px; padding-left: 18px; }
.log::before { content: ''; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.log li { position: relative; display: grid; gap: 1px; font-size: 12px; }
.log li::before { content: ''; position: absolute; left: -18px; top: 5px; width: 10px; height: 10px; border: 2px solid var(--line); border-radius: 50%; background: var(--paper); }
.log time { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--ink-soft); }
.log b { font-size: 13px; }
.log span { color: var(--ink-soft); }
.log em { margin-top: 5px; justify-self: start; font-style: normal; white-space: normal; }
.log__alert { margin-left: -4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.log__alert::before { left: -26px; top: 15px; }
.log__alert::before, .log__ok::before { border-color: var(--brand); background: var(--brand); }
.log__ok b { color: var(--brand); }

/* Home 2: zone board and the technician's day */
.board { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.board svg { display: block; width: 100%; height: auto; font-family: var(--font); }
.board__zones rect { fill: var(--brand-tint); opacity: 0.6; }
.board__zones text { font-size: 11px; font-weight: 500; fill: var(--brand); }
.board__roads path { fill: none; stroke: var(--ground-deep); stroke-width: 6; stroke-linecap: round; }
.board__route { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.board__pin path { fill: var(--brand); }
.board__pin circle { fill: #fff; }
.board__pin text { font-size: 10px; font-weight: 600; fill: var(--ink); }
.board__tech circle { fill: var(--ink); }
.board__tech text { font-size: 11px; font-weight: 600; fill: #fff; text-anchor: middle; }
.board__tech .board__tag { font-size: 9px; font-weight: 500; fill: var(--ink-soft); }
.board__tech--busy circle { fill: var(--ink-soft); opacity: 0.55; }
.board__tech--pick .board__tech-dot { fill: var(--brand); }
.board__tech--pick .ring { fill: none; stroke: var(--brand); stroke-width: 2; }
.board__chip { position: absolute; right: 10px; top: 10px; }
.day { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.day ol { display: grid; gap: 6px; }
.day li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 12px; }
.day time { padding-top: 7px; font-family: var(--mono); font-size: 11px; color: var(--ink-soft); }
.day li > div { display: grid; gap: 1px; padding: 7px 10px; border-radius: 10px; background: var(--ground); }
.day li span { font-size: 11px; color: var(--ink-soft); }
.day__drop { position: relative; min-height: 46px; padding: 0 !important; background: none !important; }
.day__empty { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 10px; border: 1px dashed var(--line); border-radius: 10px; }
.day__job { position: relative; display: grid; gap: 1px; padding: 7px 10px; border: 1px solid var(--brand); border-radius: 10px; background: #eeeefd; }
.day .chip { margin-top: 10px; }

/* Home 3: the live arrival card inside a message */
.live { display: grid; gap: 6px; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.75); }
.live__track { position: relative; display: block; height: 18px; background: repeating-linear-gradient(90deg, var(--brand-light) 0 6px, transparent 6px 11px) 0 50% / 100% 2px no-repeat; }
.live__van { --to: calc(100% - 28px); position: absolute; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(84, 86, 237, 0.2); }
.live__home { position: absolute; right: 0; top: 3px; width: 12px; height: 12px; background: var(--ink); clip-path: polygon(50% 0, 100% 45%, 85% 45%, 85% 100%, 15% 100%, 15% 45%, 0 45%); }
.live__eta { font-size: 11px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.live__eta b { color: var(--ink); }

/* ---------- Cinema: the rental tour over a pinned full-screen video ----------
   .cinema__sticky is a 100svh layer that pins while the block scrolls; .cinema__content starts
   one screen higher (negative margin) so the headline sits on the first screen and the tour,
   on glass panels, slides up over the still-pinned video. Then the block ends and the page
   carries on. The video fades in over the poster once it plays; the poster is also what
   reduced motion, Save-Data and no-JS see. */
.cinema { position: relative; margin-top: clamp(24px, 4vw, 56px); color: #fff; }
.cinema + .example { margin-top: clamp(56px, 7vw, 96px); }
.cinema__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #14131a; }
.cinema__poster, .cinema__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--video-focus, 50% 70%); }
.cinema__video { opacity: 0; transition: opacity 0.8s ease; }
.cinema__video.is-playing { opacity: 1; }
.cinema__scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20, 19, 26, 0.72) 0%, rgba(20, 19, 26, 0.38) 34%, rgba(20, 19, 26, 0) 58%), linear-gradient(to top, rgba(20, 19, 26, 0.35), rgba(20, 19, 26, 0) 30%), linear-gradient(to right, rgba(20, 19, 26, 0.35), rgba(20, 19, 26, 0) 55%); }
.cinema__content { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100svh; }
/* The headline sits at the top of the first screen so the car, low in the frame, stays clear. */
.cinema__intro { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-start; padding-top: clamp(96px, 15vh, 160px); }
.cinema__intro .label { color: #fff; text-shadow: 0 1px 12px rgba(20, 19, 26, 0.6); }
.cinema__intro h3 { max-width: 14ch; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.03em; text-shadow: 0 2px 24px rgba(20, 19, 26, 0.35); }
.cinema__intro .example__lede { max-width: 40ch; margin-top: 16px; font-size: clamp(16px, 1.25vw, 19px); color: rgba(255, 255, 255, 0.84); text-shadow: 0 1px 16px rgba(20, 19, 26, 0.4); }
.cinema__tour { padding-top: clamp(24px, 5vh, 56px); padding-bottom: clamp(96px, 16vh, 180px); }
.glass { background: rgba(20, 19, 26, 0.6); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); box-shadow: 0 30px 70px rgba(20, 19, 26, 0.3); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: rgba(20, 19, 26, 0.93); } }
.cinema .tour__copy { padding: clamp(20px, 2.4vw, 32px); }
.cinema .tour__copy .label { margin-bottom: 6px; color: rgba(255, 255, 255, 0.6); }
.cinema .tour__stage { padding: 12px; }
.cinema .tour__steps { margin-top: 10px; --route-ring: transparent; }
.cinema .tour__steps li { background-image: linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22)); }
.cinema .tour__steps li::before { background: rgba(255, 255, 255, 0.3); }
.cinema .tour__steps li.is-done::before, .cinema .tour__steps li.is-active::before { background: var(--brand-light); }
.cinema .tour__steps li.is-active::before { box-shadow: 0 0 0 4px rgba(155, 156, 247, 0.25); }
.cinema .tour__steps li::after { background: var(--brand-light); }
.cinema .tour__steps button:hover { background: rgba(255, 255, 255, 0.08); }
.cinema .tour__steps strong { color: #fff; }
.cinema .tour__steps span { color: rgba(255, 255, 255, 0.72); }
.cinema .tour__steps li.is-active strong { color: var(--brand-light); }
.cinema .tour__bar { margin-top: 12px; padding: 0 4px 2px; }
.cinema .tour__count { color: rgba(255, 255, 255, 0.7); }
.cinema .tour__count b { color: #fff; }
.cinema .tour__caption { color: #fff; }
.cinema .demo__replay { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.cinema .demo__replay:hover { border-color: #fff; }
.cinema .app { box-shadow: none; }
.cinema :focus-visible { outline-color: #fff; }
@media (max-width: 1024px) {
  .cinema .tour__copy { padding: 16px var(--gutter) 6px; }
  .cinema .tour__copy .label { margin-bottom: 0; }
  .js .cinema .tour__steps { margin-top: 12px; }
  .js .cinema .tour__steps button { border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.08); }
  .js .cinema .tour__steps strong { color: #fff; }
  .js .cinema .tour__steps strong::before { background: rgba(255, 255, 255, 0.14); color: #fff; }
  .js .cinema .tour__steps li.is-done strong::before { background: rgba(155, 156, 247, 0.3); color: #fff; }
  .js .cinema .tour__steps li.is-active button { border-color: var(--brand-light); background: rgba(84, 86, 237, 0.55); }
  .js .cinema .tour__steps li.is-active strong { color: #fff; }
  .js .cinema .tour__steps li.is-active strong::before { background: #fff; color: var(--brand); }
  .js .cinema .tour__steps button::after { background: #fff; }
}
@media (max-width: 860px) {
  .cinema__intro { padding-top: 88px; }
  .cinema__intro h3 { font-size: clamp(32px, 9vw, 44px); max-width: 12ch; }
  .cinema__tour { padding-bottom: 96px; }
  .cinema .tour__stage { padding: 8px; }
}

/* ---------- Scroll-linked drives (the road panels under the two tour strips) ----------
   One SVG scene (the home-services van): a drawn road, its route trail and the vehicle.
   The van's transform, its trail and the ripple are 1 s CSS animations, paused; motion.js
   sets their currentTime from the panel's scroll progress. Base styles are the parked pose
   (no JS, reduced motion). Generated by scratchpad gen_drives.py; keep the numbers in step. */
.road { position: relative; overflow: hidden; margin-top: -1px; border-radius: 0 0 var(--radius) var(--radius); background: #d8d1ca; box-shadow: inset 0 14px 18px -14px rgba(20, 19, 26, 0.35); pointer-events: none; }
.road svg { display: block; width: 100%; height: auto; font-family: var(--font); }
.road__ground { fill: #d8d1ca; }
.road__lines path { fill: none; stroke: #c4bcb5; stroke-width: 2; }
.road__lines .road__dash { stroke: #fff; stroke-width: 3; stroke-dasharray: 30 24; stroke-opacity: 0.85; }
.road__bay path { fill: none; stroke: #fff; stroke-width: 3; stroke-opacity: 0.85; }
.road__bay text { font-size: 14px; font-weight: 600; text-anchor: middle; fill: #fff; opacity: 0.85; }
.road .van { transform: translate(420.0px, 60.0px) rotate(0deg); }
.road .trail { stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 0.55; }
@media (prefers-reduced-motion: no-preference) {
  .js .road .van { animation: drive-van 1s linear both paused; }
  .js .road .trail { animation: drive-trail 1s linear both paused; }
  .js .road .ripple { animation: drive-ripple 1s linear both paused; }
}
@keyframes drive-van {
  0% { transform: translate(1380.0px, 84.0px) rotate(0.0deg); }
  4% { transform: translate(1307.7px, 84.0px) rotate(0.0deg); }
  8% { transform: translate(1238.0px, 84.0px) rotate(0.0deg); }
  12% { transform: translate(1170.8px, 84.0px) rotate(0.0deg); }
  16% { transform: translate(1106.1px, 84.0px) rotate(0.0deg); }
  20% { transform: translate(1044.1px, 84.0px) rotate(0.0deg); }
  24% { transform: translate(984.7px, 84.0px) rotate(0.0deg); }
  28% { transform: translate(927.9px, 84.0px) rotate(0.0deg); }
  32% { transform: translate(873.9px, 84.0px) rotate(0.0deg); }
  36% { transform: translate(822.5px, 84.0px) rotate(0.0deg); }
  40% { transform: translate(774.0px, 84.0px) rotate(0.0deg); }
  44% { transform: translate(728.2px, 84.0px) rotate(0.0deg); }
  48% { transform: translate(685.2px, 84.0px) rotate(0.0deg); }
  52% { transform: translate(645.2px, 84.0px) rotate(0.0deg); }
  56% { transform: translate(608.0px, 84.0px) rotate(0.0deg); }
  60% { transform: translate(573.9px, 84.0px) rotate(-0.0deg); }
  64% { transform: translate(542.9px, 83.0px) rotate(-2.7deg); }
  68% { transform: translate(515.0px, 80.2px) rotate(-5.1deg); }
  72% { transform: translate(490.3px, 76.4px) rotate(-6.9deg); }
  76% { transform: translate(469.0px, 72.0px) rotate(-7.9deg); }
  80% { transform: translate(451.2px, 67.6px) rotate(-7.9deg); }
  84% { transform: translate(437.0px, 63.8px) rotate(-6.9deg); }
  88% { transform: translate(426.8px, 61.0px) rotate(-5.1deg); }
  92% { transform: translate(420.9px, 60.0px) rotate(-2.7deg); }
  96% { transform: translate(420.0px, 60.0px) rotate(0.0deg); }
  100% { transform: translate(420.0px, 60.0px) rotate(0.0deg); }
}
@keyframes drive-trail { 0% { stroke-dashoffset: 1; } 92%, 100% { stroke-dashoffset: 0; } }
@keyframes drive-ripple { 0%, 90% { opacity: 0; transform: scale(0.6); } 100% { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  /* phone: show the middle of the scene larger (the drift and the parked spots sit there) */
  .road svg { width: 200%; margin-left: -50%; }
}

@media (max-width: 1024px) {
  .tour__grid, .tour--flip .tour__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tour--flip .tour__copy { order: 0; }
  .tour__stage { width: 100%; max-width: 720px; }
  /* The stepper becomes a row of pills; the active step's text appears under the stage */
  .js .tour__steps { display: flex; gap: 8px; overflow-x: auto; margin: 22px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter) 6px; scrollbar-width: none; }
  .js .tour__steps::-webkit-scrollbar { display: none; }
  .js .tour__steps li { flex: none; padding: 0; background: none; }
  .js .tour__steps li::before, .js .tour__steps li::after { display: none; }
  .js .tour__steps button { position: relative; display: flex; align-items: center; overflow: hidden; padding: 7px 14px 7px 7px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); white-space: nowrap; }
  .js .tour__steps strong { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.3; color: var(--ink); }
  .js .tour__steps strong::before { content: counter(step); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ground-deep); font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--ink-soft); }
  .js .tour__steps span { display: none; }
  .js .tour__steps li.is-done strong::before { background: var(--brand-tint); color: var(--brand); }
  .js .tour__steps li.is-active button { border-color: var(--brand); background: var(--brand-tint); }
  .js .tour__steps li.is-active strong { color: var(--brand); }
  .js .tour__steps li.is-active strong::before { background: var(--brand); color: #fff; }
  .js .tour__steps button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; }
  .js .tour.is-running .tour__steps li.is-active button::after { animation: a-progress-x var(--dur, 9s) linear both; }
  .js .tour__caption { display: block; }
}
@media (max-width: 640px) {
  .split { grid-template-columns: 1fr; }
  .app__screen { padding: 12px; }
  .cal__row { grid-template-columns: minmax(92px, 1.4fr) repeat(7, minmax(0, 1fr)); }
  .cal__car { font-size: 11px; }
  .flow__row { grid-template-columns: 24px minmax(0, 1fr); }
  .flow__ico { width: 24px; height: 24px; font-size: 11px; }
  .flow__state { grid-column: 2; justify-self: start; margin-top: 6px; }
  .flow__state > * { justify-self: start; }
  .source__row { flex-direction: column; }
  .shots--photo { margin-top: 0; }
}

@media (max-width: 1024px) {
  .moment { grid-template-columns: 1fr; align-items: start; }
  .moment--flip .moment__copy { order: 0; }
}
@media (max-width: 860px) {
  .demo--enquiry { grid-template-columns: 1fr; min-height: 0; }
  .demo__link:not(.demo__link--v) { width: 2px; height: 28px; margin: 0 auto; transform-origin: center top; }
  .demo__link:not(.demo__link--v)::after { right: -4px; top: auto; bottom: -4px; }
  .js .demo.is-playing .demo__link { animation-name: a-line-v; }
  .thread { min-height: 0; }
  .demo--summary { min-height: 0; }
  .doc { padding: 18px 16px 64px; }
  .doc__fields { grid-template-columns: 1fr; gap: 8px; }
  .stamp { bottom: 14px; right: 12px; }
}

/* ---------- Before and after, over the road video ----------
   Same pinned-video block as the rental example. Each pair scrolls up on its own: the "Today" card
   is already there, the "With Deploy Joy" card slides in beside it once the pair reaches mid-screen
   (motion.js adds .is-in, as it does for the route lines), and the old way dims back. */
.cinema--compare { margin-top: 0; }
.cinema__intro h2 { max-width: 15ch; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.03em; text-shadow: 0 2px 24px rgba(20, 19, 26, 0.35); }
.pairs { display: grid; gap: 28vh; padding-top: 8vh; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: stretch; max-width: 1040px; }
.pair__card { padding: clamp(22px, 2.6vw, 36px); border-radius: var(--radius); }
.pair__card p { font-size: clamp(17px, 1.45vw, 22px); line-height: 1.4; letter-spacing: -0.01em; }
.pair__tag { display: block; margin-bottom: 12px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.pair__card--today .pair__tag { color: rgba(255, 255, 255, 0.6); }
.pair__card--today p { color: rgba(255, 255, 255, 0.86); }
.pair__card--after { background: rgba(84, 86, 237, 0.9); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: 0 24px 60px rgba(20, 19, 26, 0.3); }
.pair__card--after .pair__tag { color: rgba(255, 255, 255, 0.78); }
.pair__card--after p { color: #fff; font-weight: 500; }
.cinema__moment { padding-top: 28vh; padding-bottom: clamp(96px, 16vh, 180px); }
.cinema__moment .moment { margin-top: 0; padding: clamp(20px, 3vw, 44px); }
.cinema .moment__copy .label { color: var(--brand-light); }
.cinema .moment__copy h3 { color: #fff; }
.cinema .moment__copy p { color: rgba(255, 255, 255, 0.78); }
@media (prefers-reduced-motion: no-preference) {
  .js .pair[data-draw] .pair__card { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .pair[data-draw] .pair__card--after { transition-delay: 0.15s; }
  .js .pair[data-draw]:not(.is-in) .pair__card--after { opacity: 0; transform: translateX(32px); }
  .js .pair[data-draw].is-in .pair__card--today { opacity: 0.62; }
}
@media (max-width: 860px) {
  .pairs { gap: 18vh; padding-top: 4vh; }
  .pair { grid-template-columns: 1fr; gap: 10px; }
  .cinema__moment { padding-top: 18vh; padding-bottom: 96px; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 860px) {
  .js .pair[data-draw]:not(.is-in) .pair__card--after { transform: translateY(24px); }
}

/* ---------- Tell us why you're here: the open brief under the hero ---------- */
.section.brief { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(40px, 5vw, 72px); }
.brief__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.brief__copy { position: sticky; top: calc(var(--nav-h) + 32px); }
.brief__lede { margin-top: 18px; max-width: 46ch; font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-soft); }
.brief__steps { margin-top: 28px; }
.brief__form .field textarea { min-height: 220px; }
.brief__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brief__done h3 { font-size: 24px; letter-spacing: -0.02em; }
.brief__done p { margin-top: 10px; color: var(--ink-soft); }
.drop { position: relative; display: grid; gap: 4px; place-items: center; padding: 22px 16px; border: 1.5px dashed var(--line); border-radius: 14px; background: var(--ground); text-align: center; cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease; }
.field > label.drop { display: grid; margin-bottom: 0; font-size: inherit; font-weight: 400; letter-spacing: normal; }
.drop:hover, .drop.is-over { border-color: var(--brand); background: var(--brand-tint); }
.drop:has(.drop__input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.drop__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop__text { font-size: 15px; }
.drop__text b { color: var(--brand); font-weight: 600; }
.drop__hint { font-size: 13px; color: var(--ink-soft); }
.drop__list { display: grid; gap: 8px; margin-top: 10px; }
.drop__list:empty { display: none; }
.drop__list li { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-size: 14px; }
.drop__list span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop__list small { color: var(--ink-soft); }
.drop__list button { flex: none; width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-soft); font-size: 18px; line-height: 1; cursor: pointer; }
.drop__list button:hover { background: var(--ground); color: var(--ink); }
@media (max-width: 860px) {
  .brief__grid { grid-template-columns: 1fr; }
  .brief__copy { position: static; }
  .brief__form .field textarea { min-height: 320px; }
  .brief__steps { display: none; }
}

/* ---------- Industries band between the hero and the brief ----------
   The label stays put; the list scrolls sideways forever. The track holds the list twice and
   moves by exactly half its width, so the loop has no seam. Every item ends with its own dot,
   which keeps the spacing even across the join. Hover pauses it; reduced motion shows it still. */
.industries { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.industries__inner { display: flex; align-items: center; gap: 14px clamp(24px, 4vw, 48px); padding-top: clamp(20px, 2.4vw, 30px); padding-bottom: clamp(20px, 2.4vw, 30px); }
.industries__label { flex: none; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; }
.industries__list { display: flex; flex: none; align-items: center; }
.industries__list li { display: flex; align-items: center; white-space: nowrap; font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.industries__list li::after { content: ''; flex: none; width: 6px; height: 6px; margin: 0 clamp(20px, 2.6vw, 40px); border-radius: 50%; background: var(--brand); }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 54s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; }
  .industries__list { flex: 1 1 auto; flex-wrap: wrap; row-gap: 8px; }
  .industries__list[aria-hidden="true"] { display: none; }
  .industries__list li:last-child::after { display: none; }
}
@media (max-width: 640px) {
  .industries__inner { flex-direction: column; align-items: stretch; padding-left: 0; padding-right: 0; }
  .industries__label { padding: 0 var(--gutter); }
  .marquee { -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
  .industries__list li { font-size: 18px; }
  .marquee__track { animation-duration: 42s; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 640px) {
  .marquee { padding: 0 var(--gutter); -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Book a free consult: Google Calendar booking page in a pop-up (site.js) ---------- */
.consult { width: min(960px, calc(100vw - 32px)); height: min(820px, calc(100dvh - 32px)); max-width: none; max-height: none; padding: 0; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: 0 40px 120px rgba(20, 19, 26, 0.35); }
.consult::backdrop { background: rgba(20, 19, 26, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
html:has(.consult[open]) { overflow: hidden; }
.consult__panel { display: flex; flex-direction: column; height: 100%; }
.consult__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 14px 24px; border-bottom: 1px solid var(--line); }
.consult__title img { display: block; height: 34px; width: auto; }
.consult__close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--ground); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.consult__close:hover { background: var(--line); }
.consult__frame { position: relative; flex: 1; min-height: 0; }
.consult__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.consult__loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-soft); font-size: 15px; }
.consult__frame.is-loaded .consult__loading { display: none; }
.consult__foot { padding: 10px 24px 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.consult__foot a { color: var(--brand); }
@media (max-width: 640px) {
  .consult { width: 100vw; height: 100dvh; border-radius: 0; }
  .consult__head { padding-left: var(--gutter); }
  .consult__foot { padding-left: var(--gutter); }
}

/* ---------- Our approach: four step cards ----------
   The dots sit centred above each card on one line (each card's ::before is its dot, ::after the
   line to the next dot, reaching across the gap). The line ends at Joy, the indigo destination card.
   Cards share three rows (subgrid) so the step titles, texts and "You get" panels line up.
   Below 1100px the cards stack and the line runs down their left side. */
.route--h { --dot-gap: 46px; --col-gap: clamp(14px, 1.6vw, 22px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); column-gap: var(--col-gap); padding-top: var(--dot-gap); }
.route--h .stop { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; padding: clamp(22px, 2vw, 30px); border-radius: 22px; background: var(--ground); border: 1px solid var(--line); transition: box-shadow 0.35s ease; }
.route--h .stop:not(:last-child):hover { box-shadow: 0 22px 50px rgba(20, 19, 26, 0.1); }
.route--h .stop::before { left: 50%; top: calc(-1 * var(--dot-gap)); margin-left: calc(var(--node) / -2); }
.route--h .stop::after { left: calc(50% + var(--node) / 2); right: calc(-50% - var(--col-gap) + var(--node) / 2); top: calc(-1 * var(--dot-gap) + var(--node) / 2 - 1px); height: 2px; }
.route--h .stop:last-child::after { display: none; }
.route--h .stop:last-child::before { box-shadow: 0 0 0 4px var(--route-ring, var(--ground)), 0 0 0 11px var(--brand-tint); }
.stop h3 { font-size: clamp(22px, 1.8vw, 26px); letter-spacing: -0.02em; }
.stop__num { display: block; margin-bottom: 14px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; color: var(--brand); }
.stop p { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.stop .stop__out { align-self: stretch; margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.45; }
/* Joy: the destination. */
.route--h .stop:last-child { background: linear-gradient(160deg, #5f61f2, var(--brand) 55%, #4446d6); border-color: transparent; box-shadow: 0 24px 60px rgba(84, 86, 237, 0.28); }
.route--h .stop:last-child h3 { color: #fff; }
.route--h .stop:last-child .stop__num { color: rgba(255, 255, 255, 0.7); }
.route--h .stop:last-child p { color: rgba(255, 255, 255, 0.86); }
.route--h .stop:last-child .stop__out { background: rgba(255, 255, 255, 0.14); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  /* The cards rise in as the line reaches their dot. */
  .js .route--h[data-draw] .stop { transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease; }
  .js .route--h[data-draw]:not(.is-in) .stop { opacity: 0; transform: translateY(18px); }
  .js .route--h[data-draw] .stop:nth-child(1) { transition-delay: 0s, 0s, 0s; }
  .js .route--h[data-draw] .stop:nth-child(2) { transition-delay: 0.55s, 0.55s, 0s; }
  .js .route--h[data-draw] .stop:nth-child(3) { transition-delay: 1.1s, 1.1s, 0s; }
  .js .route--h[data-draw] .stop:nth-child(4) { transition-delay: 1.65s, 1.65s, 0s; }
}
@media (max-width: 1100px) {
  .route--h { --dot-x: 30px; grid-template-columns: 1fr; grid-template-rows: none; row-gap: 14px; padding-top: 0; padding-left: var(--dot-x); max-width: 720px; }
  .route--h .stop { display: block; grid-row: auto; }
  .route--h .stop::before { left: calc(-1 * var(--dot-x)); top: 30px; margin-left: 0; }
  .route--h .stop::after { left: calc(-1 * var(--dot-x) + var(--node) / 2 - 1px); right: auto; top: calc(30px + var(--node)); bottom: -44px; width: 2px; height: auto; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 1100px) {
  .js .route--h[data-draw]:not(.is-in) .stop::after { transform: scaleY(0); }
}
/* Our approach: the heading spans the full width of the cards below it. */
#how .head { max-width: none; }

/* ---------- Our commitments: four promises over a sticky road video ----------
   Desktop: the heading pins on the left while the cards scroll past on the right; the card crossing
   the middle of the screen turns indigo (.is-current, motion.js section 7). Phone: one column. */
.cinema--promise { margin-top: 0; }
.cinema--promise .cinema__scrim { background: linear-gradient(to right, rgba(20, 19, 26, 0.78) 0%, rgba(20, 19, 26, 0.5) 45%, rgba(20, 19, 26, 0.3) 100%), linear-gradient(to bottom, rgba(20, 19, 26, 0.35), rgba(20, 19, 26, 0) 30%, rgba(20, 19, 26, 0) 70%, rgba(20, 19, 26, 0.45)); }
.promise { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(32px, 7vw, 112px); padding-top: clamp(96px, 18vh, 180px); padding-bottom: clamp(120px, 30vh, 320px); }
.promise__head { position: sticky; top: calc(var(--nav-h) + clamp(48px, 12vh, 120px)); align-self: start; }
.promise__head .kicker { color: var(--brand-light); text-shadow: 0 1px 12px rgba(20, 19, 26, 0.5); }
.promise__head h2 { max-width: 11ch; font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -0.035em; color: #fff; text-shadow: 0 2px 24px rgba(20, 19, 26, 0.35); }
.promise__lede { max-width: 32ch; margin-top: 20px; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, 0.84); text-shadow: 0 1px 16px rgba(20, 19, 26, 0.4); }
.promise__list { display: grid; gap: clamp(48px, 22vh, 220px); padding-top: clamp(40px, 26vh, 280px); counter-reset: none; }
.promise__item { position: relative; overflow: hidden; padding: clamp(28px, 3vw, 44px); transition: background-color 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.promise__item::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand-light); transform: scaleY(0); transform-origin: top; transition: transform 0.6s ease; }
.promise__num { display: block; margin-bottom: 18px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; color: var(--brand-light); transition: color 0.6s ease; }
.promise__item h3 { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.1; letter-spacing: -0.025em; color: #fff; }
.promise__item p { max-width: 40ch; margin-top: 14px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, 0.8); }
.promise__item.is-current { background-color: rgba(84, 86, 237, 0.9); border-color: rgba(255, 255, 255, 0.24); box-shadow: 0 30px 80px rgba(46, 48, 170, 0.45); }
.promise__item.is-current .promise__num { color: rgba(255, 255, 255, 0.78); }
.promise__item.is-current p { color: rgba(255, 255, 255, 0.92); }
.promise__item.is-current::after { transform: scaleY(1); background: rgba(255, 255, 255, 0.7); }
@media (prefers-reduced-motion: no-preference) {
  .js [data-promise] .promise__item:not(.is-seen) { opacity: 0; transform: translateY(28px); }
  .js [data-promise] .promise__item { transition: opacity 0.7s ease, background-color 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
}
@media (max-width: 860px) {
  .promise { grid-template-columns: 1fr; padding-top: 96px; padding-bottom: 120px; }
  .promise__head { position: static; }
  .promise__head h2 { font-size: clamp(34px, 10vw, 46px); }
  .promise__list { gap: 18vh; padding-top: 28vh; }
}

/* ---------- Who's behind it ---------- */
.team__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.team__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 28px; background: #14131a; box-shadow: 0 40px 90px rgba(20, 19, 26, 0.22); isolation: isolate; }
.team__media::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(20, 19, 26, 0.55), rgba(20, 19, 26, 0) 40%); pointer-events: none; }
.team__poster, .team__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.team__badge { position: absolute; z-index: 2; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 14px; border-radius: 999px; background: rgba(20, 19, 26, 0.55); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; font-size: 14px; font-weight: 500; }
.team__live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; }
.team__live::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #3ddc97; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .team__live::after { animation: team-live 2.4s ease-out infinite; }
}
@keyframes team-live { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }
.team__lede { margin-top: 22px; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); }
.team__copy { margin-top: 16px; max-width: 56ch; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.team__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(28px, 3vw, 40px); padding-top: clamp(24px, 2.6vw, 32px); border-top: 1px solid var(--line); }
.team__facts dt { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.025em; color: var(--brand); }
.team__facts dd { margin: 8px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
@media (max-width: 960px) {
  .team__grid { grid-template-columns: 1fr; }
  .team__media { max-width: 440px; aspect-ratio: 4 / 4.4; }
}
@media (max-width: 560px) {
  .team__facts { grid-template-columns: 1fr; gap: 18px; }
  .team__facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: baseline; }
  .team__facts dd { margin: 0; }
}
/* The index under the commitments heading follows the card in the middle of the screen. */
.promise__index { display: grid; gap: 2px; margin-top: clamp(28px, 4vh, 44px); }
.promise__index li { position: relative; display: flex; align-items: baseline; gap: 14px; padding: 9px 0 9px 18px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.5); transition: color 0.4s ease; }
.promise__index li::before { content: ''; position: absolute; left: 0; top: 50%; width: 2px; height: 0; background: var(--brand-light); transform: translateY(-50%); transition: height 0.4s ease; }
.promise__index span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.4); }
.promise__index li.is-current { color: #fff; }
.promise__index li.is-current::before { height: 100%; }
.promise__index li.is-current span { color: var(--brand-light); }
@media (max-width: 860px) { .promise__index { display: none; } }
@media (max-width: 560px) { .team__facts > div { grid-template-columns: 132px 1fr; } .team__facts dt { white-space: nowrap; } }

/* ---------- Current offer strip (homepage, above the menu) ---------- */
.offer-bar { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 8px var(--gutter); background: linear-gradient(90deg, #4446d8, var(--brand) 50%, #4446d8); color: #fff; font-size: 14.5px; line-height: 1.35; text-decoration: none; }
.offer-bar__tag { flex: none; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.offer-bar__text b { font-weight: 600; }
.offer-bar__more { color: rgba(255, 255, 255, 0.86); }
.offer-bar__cta { flex: none; font-weight: 600; }
.offer-bar__cta::after { content: '\00a0→'; display: inline-block; transition: transform 0.2s ease; }
.offer-bar:hover .offer-bar__cta::after { transform: translateX(3px); }
.offer-bar:focus-visible { outline-color: #fff; outline-offset: -4px; }
@media (max-width: 860px) {
  .offer-bar { gap: 10px; font-size: 14px; }
  .offer-bar__more { display: none; }
  .offer-bar__cta { font-size: 0; }
  .offer-bar__cta::after { font-size: 14px; }
}
/* The strip, floating: bottom right once the strip has scrolled away (site.js adds .is-shown). */
.offer-float { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 290px; border-radius: 22px; background: linear-gradient(150deg, #6264f3, var(--brand) 55%, #3f41cf); color: #fff; box-shadow: 0 24px 60px rgba(46, 48, 170, 0.35), 0 2px 8px rgba(20, 19, 26, 0.12); opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.94); transform-origin: bottom right; transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.45s; }
.offer-float.is-shown { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s; }
.offer-float__link { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 18px; border-radius: inherit; color: inherit; text-decoration: none; }
.offer-float__tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.offer-float__title { margin-top: 6px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.offer-float__text { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.86); }
.offer-float__cta { margin-top: 6px; font-size: 14.5px; font-weight: 600; }
.offer-float__cta::after { content: '\00a0→'; display: inline-block; transition: transform 0.2s ease; }
.offer-float__link:hover .offer-float__cta::after { transform: translateX(3px); }
.offer-float__link:focus-visible { outline-color: #fff; outline-offset: -4px; }
.offer-float__close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); cursor: pointer; transition: background 0.2s ease; }
.offer-float__close:hover { background: rgba(255, 255, 255, 0.26); }
.offer-float__close:focus-visible { outline-color: #fff; }
.offer-float__close::before, .offer-float__close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: #fff; border-radius: 1px; }
.offer-float__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.offer-float__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .offer-float, .offer-float.is-shown { transform: none; transition: opacity 0.2s ease, visibility 0s; } }
/* Phones: a compact pill, so it doesn't cover the page. */
@media (max-width: 640px) {
  .offer-float { right: 12px; bottom: 12px; width: auto; border-radius: 999px; }
  .offer-float__link { flex-direction: row; align-items: center; gap: 10px; padding: 10px 48px 10px 12px; }
  .offer-float__tag { padding: 3px 8px; font-size: 9.5px; }
  .offer-float__title { margin: 0; font-size: 15px; }
  .offer-float__text, .offer-float__cta { display: none; }
  .offer-float__link::after { content: '→'; font-weight: 600; }
  .offer-float__close { top: 50%; right: 8px; width: 26px; height: 26px; margin-top: -13px; }
}
/* Phones: long button labels inside panels wrap instead of pushing the panel off-screen. */
@media (max-width: 560px) { .panel .cta-row .btn { white-space: normal; text-align: center; } }

/* Legal pages (privacy.html, terms.html) and the footer links to them */
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: inherit; }
.footer__legal a:hover { color: var(--ink); }
.consent a { color: var(--brand); }
.legal { padding-bottom: clamp(64px, 8vw, 112px); }
.legal > * { max-width: 760px; }
.legal__updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.legal__short { margin: 20px 0 clamp(40px, 5vw, 56px); }
.legal h2 { margin-top: 44px; font-size: clamp(22px, 2vw, 26px); letter-spacing: -0.02em; }
.legal__short h2 { margin-top: 0; font-size: 22px; }
.legal h3 { margin-top: 26px; font-size: 18px; letter-spacing: -0.01em; }
.legal p { margin-top: 12px; max-width: 68ch; color: var(--ink-soft); }
.legal ul { display: grid; gap: 10px; margin-top: 14px; max-width: 68ch; }
.legal li { position: relative; padding-left: 22px; color: var(--ink-soft); }
.legal li::before { content: ''; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--brand); }
