/* velocitytargeting.com. Tokens live in :root only; see STYLE-BRIEF. */
/* Self-hosted fonts (SIL Open Font License), Latin subset, variable weight. */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/fonts/sora-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/instrument-sans-latin.woff2") format("woff2"); }

:root {
  --navy-900: #001A44;
  --navy-800: #06245A;
  --navy-700: #0B2E6B;
  --blue-600: #0054FA;
  --blue-500: #2F74FF;
  --blue-100: #E6EEFF;
  --gold-500: #FEAF01;
  --gold-600: #E09A00;
  --gold-text: #8A5A00;
  --ink: #0F1B33;
  --ink-soft: #46536B;
  --on-dark-soft: #C7D3EA;
  --surface: #FFFFFF;
  --mist: #F2F5FB;
  --rule: #DCE3EF;
  --rule-dark: #1C3A73;
  --danger: #B42318;
  --shadow: 0 1px 2px rgba(0, 26, 68, 0.06), 0 8px 24px rgba(0, 26, 68, 0.08);

  --font-display: "Sora", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", Helvetica, Arial, sans-serif;

  --text-xs: 0.8rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.563rem;
  --text-2xl: 1.953rem;
  --text-3xl: 2.441rem;
  --text-4xl: 3.052rem;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --container: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
}
h1 { font-size: clamp(2.25rem, 4.4vw + 0.5rem, var(--text-4xl)); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 2.6vw + 0.6rem, var(--text-3xl)); font-weight: 700; }
h3 { font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: var(--text-base); font-weight: 600; }
p { margin: 0 0 var(--space-2); }
.lede { font-size: var(--text-lg); color: var(--ink-soft); max-width: 62ch; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: var(--space-2); top: -60px; z-index: 100;
  background: var(--gold-500); color: var(--navy-900); padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--space-1); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.container { width: min(100% - 2 * var(--space-3), var(--container)); margin-inline: auto; }
.section { padding-block: var(--space-12); }
.section-mist { background: var(--mist); }
.section-dark { background: var(--navy-900); color: var(--on-dark-soft); }
.section-dark h2, .section-dark h3 { color: var(--surface); }
.section-head { max-width: 760px; margin: 0 auto var(--space-8); text-align: center; }
.section-head .lede { margin-inline: auto; }
.kicker {
  display: inline-block; font-size: var(--text-sm); font-weight: 600; color: var(--blue-600);
  background: var(--blue-100); border-radius: var(--radius-pill);
  padding: 4px 12px; margin-bottom: var(--space-2);
}
.section-dark .kicker { background: var(--navy-700); color: var(--on-dark-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1);
  min-height: 44px; padding: 10px 22px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-base);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}
.btn-primary { background: var(--gold-500); color: var(--navy-900); }
.btn-primary:hover { background: var(--gold-600); color: var(--navy-900); }
.btn-ghost { border-color: var(--on-dark-soft); color: var(--surface); }
.btn-ghost:hover { background: var(--surface); color: var(--navy-900); border-color: var(--surface); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: var(--surface); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.text-link { font-weight: 600; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--surface);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; gap: var(--space-4); min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); }
.brand img { width: 40px; height: auto; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.brand-name span { display: block; font-weight: 500; font-size: var(--text-xs); color: var(--ink-soft); letter-spacing: 0.01em; }
.site-nav { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  font: 500 var(--text-base) var(--font-body); color: var(--ink); text-decoration: none;
  background: none; border: 0; border-radius: var(--radius-sm); cursor: pointer;
}
.nav-link:hover { color: var(--blue-600); background: var(--mist); }
.nav-link[aria-current="page"] { color: var(--blue-600); box-shadow: inset 0 -2px 0 var(--blue-600); border-radius: 0; }
.nav-actions { display: flex; align-items: center; gap: var(--space-2); }
.login-link { font-weight: 600; color: var(--navy-900); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.login-link:hover { color: var(--blue-600); }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 1px solid var(--rule); background: var(--surface); color: var(--navy-900); cursor: pointer;
  align-items: center; justify-content: center;
}

/* ---------- icons ---------- */
.icon { width: 20px; height: 20px; flex: none; }
.icon-chip {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 10px; background: var(--blue-100); color: var(--blue-600);
}
.icon-chip-lg { width: 48px; height: 48px; border-radius: 14px; }
.icon-chip-lg .icon { width: 24px; height: 24px; }
.section-dark .icon-chip { background: var(--navy-700); color: var(--gold-500); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--navy-900); color: var(--on-dark-soft);
  padding-block: var(--space-12) var(--space-16);
}
.hero::before {
  /* the rocket-trail swoosh from the mark, drawn as one arc */
  content: ""; position: absolute; right: -18%; bottom: -55%; width: 90%; aspect-ratio: 1;
  border-radius: 50%; border: 2px solid var(--blue-600); opacity: 0.45; pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-8); align-items: center; }
.hero h1 { color: var(--surface); max-width: 15ch; }
.hero .lede { color: var(--on-dark-soft); }
.hero .btn-row { margin-top: var(--space-4); }
.hero-media { position: relative; }
.hero-compact { padding-block: var(--space-10) var(--space-12); }
.hero-compact .hero-grid { grid-template-columns: 1fr; text-align: center; }
.hero-compact h1 { max-width: 22ch; margin-inline: auto; }
.hero-compact .lede { margin-inline: auto; }
.hero-compact .btn-row { justify-content: center; }
.hero-compact::before { right: auto; left: -30%; bottom: -120%; width: 70%; }

/* dynamic-field preview: the signature element */
.field-preview {
  position: absolute; left: -36px; bottom: -40px; width: min(340px, 80%);
  background: var(--surface); color: var(--ink); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 10, 30, 0.35); padding: var(--space-3);
}
.field-preview .fp-head { display: flex; justify-content: space-between; font-size: var(--text-xs); color: var(--ink-soft); margin-bottom: 10px; }
.field-preview .fp-subject { font-family: var(--font-display); font-weight: 600; color: var(--navy-900); line-height: 1.35; margin-bottom: 8px; }
.field-preview .fp-body { font-size: var(--text-sm); color: var(--ink-soft); margin: 0; }
.field {
  display: inline-block; padding: 0 6px; border-radius: 6px; background: var(--blue-100);
  color: var(--blue-600); font-weight: 600; transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}
.field-preview.is-swapping .field { opacity: 0; transform: translateY(-3px); }
.fp-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--rule); font-size: var(--text-xs); color: var(--ink-soft); }

/* ---------- placeholders ---------- */
.ph {
  position: relative; margin: 0; width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  border: 2px dashed var(--blue-500); background: linear-gradient(160deg, var(--blue-100), var(--surface) 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: var(--space-3); text-align: center; color: var(--navy-900);
}
.section-dark .ph, .hero .ph { border-color: var(--blue-500); background: linear-gradient(160deg, var(--navy-700), var(--navy-900) 75%); color: var(--surface); }
.ph .icon { width: 32px; height: 32px; color: var(--blue-600); }
.hero .ph .icon, .section-dark .ph .icon { color: var(--gold-500); }
.ph figcaption { max-width: 34ch; font-size: var(--text-sm); line-height: 1.45; }
.ph figcaption strong { display: block; font-family: var(--font-display); font-size: var(--text-base); margin-bottom: 2px; }
.ph-flag {
  position: absolute; top: 12px; left: 12px; font-size: var(--text-xs); font-weight: 600;
  background: var(--gold-500); color: var(--navy-900); padding: 2px 10px; border-radius: var(--radius-pill);
}
.ph-play {
  width: 72px; height: 72px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.ph-play .icon { width: 30px; height: 30px; color: var(--navy-900); margin-left: 4px; }

/* ---------- proof strip ---------- */

/* ---------- services + connecting arc ---------- */
.connect { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.connect-arc { position: absolute; inset: 22px 8% auto; width: 84%; height: 90px; color: var(--blue-500); pointer-events: none; }
.service { position: relative; padding-top: var(--space-1); }
.service-node {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-900); color: var(--gold-500); box-shadow: 0 0 0 8px var(--surface);
  margin-bottom: var(--space-3);
}
.service-node .icon { width: 24px; height: 24px; }
.service h3 { font-size: var(--text-xl); }
.service p { color: var(--ink-soft); }
.service .handoff { font-size: var(--text-sm); color: var(--navy-900); border-left: 3px solid var(--gold-500); padding-left: 12px; margin-top: var(--space-2); }

/* ---------- splits ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-10); align-items: center; }
.split + .split { margin-top: var(--space-12); }
.split-reverse .split-media { order: -1; }
.media-img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.checks { list-style: none; padding: 0; margin: var(--space-3) 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checks .icon { color: var(--blue-600); margin-top: 3px; }
.section-dark .checks .icon { color: var(--gold-500); }

/* ---------- conversion-model band ---------- */
.model-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-10); align-items: center; }
.contrast-table { width: 100%; border-collapse: collapse; font-size: var(--text-base); }
.contrast-table th, .contrast-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--rule-dark); vertical-align: top; }
.contrast-table thead th { font-family: var(--font-display); font-size: var(--text-sm); color: var(--on-dark-soft); font-weight: 600; }
.contrast-table td:last-child { color: var(--surface); }

/* ---------- dynamic fields chips ---------- */
.field-list { display: flex; flex-wrap: wrap; gap: 10px; margin: var(--space-3) 0; padding: 0; list-style: none; }
.field-list li { font-weight: 600; color: var(--blue-600); background: var(--blue-100); border-radius: var(--radius-sm); padding: 6px 12px; font-size: var(--text-sm); }

/* ---------- scale band ---------- */
.scale-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.scale-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: var(--space-5); }
.scale-card .icon-chip { margin-bottom: var(--space-2); }

/* ---------- cards (inner pages) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--space-4); }
.card .icon-chip { margin-bottom: var(--space-2); }
.card p { color: var(--ink-soft); margin: 0; }
.card-link { text-decoration: none; color: inherit; display: block; transition: border-color 160ms var(--ease), transform 160ms var(--ease); }
.card-link:hover { border-color: var(--blue-600); color: inherit; transform: translateY(-2px); }

/* ---------- pain + callout ---------- */
.pain { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-8); align-items: center; }
.callout { background: var(--navy-900); color: var(--on-dark-soft); border-radius: var(--radius-lg); padding: var(--space-5); }
.callout p:last-child { margin: 0; }
.callout strong { display: block; font-family: var(--font-display); color: var(--surface); font-size: var(--text-xl); line-height: 1.25; margin-bottom: var(--space-2); }

/* ---------- testimonial ---------- */

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item h3 { margin: 0; font-size: var(--text-lg); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--space-2);
  min-height: 64px; padding: var(--space-2) 0; background: none; border: 0; text-align: left; cursor: pointer;
  font: 600 var(--text-lg) var(--font-display); color: var(--navy-900);
}
.faq-q:hover { color: var(--blue-600); }
.faq-q svg { transition: transform 200ms var(--ease); }
.faq-q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-a { padding: 0 0 var(--space-3); color: var(--ink-soft); max-width: 70ch; }

/* ---------- CTA panel ---------- */
.cta-panel {
  position: relative; overflow: hidden; background: var(--navy-900); color: var(--on-dark-soft);
  border-radius: var(--radius-lg); padding: var(--space-10) var(--space-8); text-align: center;
}
.cta-panel::after {
  content: ""; position: absolute; left: 50%; top: 58%; width: 120%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; border: 2px solid var(--blue-600); opacity: 0.35; pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: var(--surface); max-width: 22ch; margin-inline: auto; }
.cta-panel p { max-width: 56ch; margin-inline: auto; }
.cta-panel .btn-row { justify-content: center; margin-top: var(--space-4); }

/* ---------- about ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.principle h3 { font-size: var(--text-lg); }
.principle p { color: var(--ink-soft); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--space-8); align-items: start; margin-top: calc(-1 * var(--space-10)); position: relative; z-index: 2; }
.form-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: var(--space-5); }
.form-card h2 { font-size: var(--text-2xl); }
.field-error { min-height: 1.2em; font-size: var(--text-sm); color: var(--danger); margin: 0; }
.form-status { font-size: var(--text-sm); color: var(--danger); margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: grid; gap: var(--space-2); }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.cal-booking { min-height: 520px; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; }
.cal-booking .ph-tag { margin: var(--space-3); display: inline-block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-3); }
.form-field { display: grid; gap: 6px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: var(--text-sm); color: var(--navy-900); }
.form-field .req { color: var(--danger); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink);
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-sm);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible { border-color: var(--blue-600); }
.form-field [aria-invalid="true"] { border-color: var(--danger); }
.form-note { font-size: var(--text-sm); color: var(--ink-soft); margin: var(--space-2) 0 0; }
.form-actions { margin-top: var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.trust-col h2 { font-size: var(--text-xl); }
.trust-list { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: grid; gap: var(--space-3); }
.trust-list li { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-2); }
.trust-list strong { display: block; font-family: var(--font-display); color: var(--navy-900); }
.trust-list span { color: var(--ink-soft); font-size: var(--text-base); }

/* ---------- legal ---------- */
.legal { max-width: 760px; margin-inline: auto; }
.story { max-width: 760px; margin-inline: auto; }
.diagram { margin: 0; }
.dl { display: block; width: 100%; height: auto; overflow: visible; }
.dl-ring { fill: var(--surface); stroke: var(--navy-900); stroke-width: 3; }
.dl-label { font-family: var(--font-display); font-weight: 700; font-size: 40px; fill: var(--navy-900); }
.dl-line, .dl-arc { fill: none; stroke-width: 7; stroke-linecap: round; }
.dl-arc { stroke-width: 9; }
.dl-arc.dl-thin { stroke-width: 3; stroke-dasharray: 2 9; }
.dl-navy { stroke: var(--navy-900); }
.dl-blue { stroke: var(--blue-600); }
.dl-gold { stroke: var(--gold-500); }
.dl-fill-navy { fill: var(--navy-900); stroke: none; }
.dl-fill-blue { fill: var(--blue-600); stroke: none; }
.dl-fill-gold { fill: var(--gold-500); stroke: none; }
.dl-icon { fill: var(--surface); stroke: var(--navy-700); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.dl-trend { fill: none; stroke: var(--blue-600); }
.legal h2 { font-size: var(--text-xl); margin-top: var(--space-5); }
.legal p, .legal li { color: var(--ink-soft); }
.legal .updated { font-size: var(--text-sm); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-soft); padding-block: var(--space-10) var(--space-4); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(2, 1fr); gap: var(--space-5); }
.site-footer .brand { color: var(--surface); }
.site-footer .brand-name span { color: var(--on-dark-soft); }
.footer-about { max-width: 34ch; margin-top: var(--space-2); font-size: var(--text-sm); }
.footer-col h2 { font-size: var(--text-sm); color: var(--surface); margin-bottom: var(--space-2); letter-spacing: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-col a { color: var(--on-dark-soft); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.footer-col a:hover { color: var(--surface); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-8); padding-top: var(--space-3); border-top: 1px solid var(--rule-dark); font-size: var(--text-sm); }
.footer-bottom a { color: var(--on-dark-soft); }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .hero-grid, .split, .model-grid, .pain, .contact-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .split-reverse .split-media { order: 0; }
  .field-preview { left: var(--space-2); bottom: -32px; }
  .hero { padding-bottom: var(--space-16); }
  .card-grid, .principles { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { margin-top: calc(-1 * var(--space-6)); }

  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: fixed; inset: 72px 0 0; z-index: 49; background: var(--surface);
    flex-direction: column; align-items: stretch; gap: var(--space-3); padding: var(--space-3); overflow-y: auto;
  }
  .nav-open .site-nav { display: flex; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link { width: 100%; justify-content: space-between; font-size: var(--text-lg); min-height: 52px; }
  .nav-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--blue-600); }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { width: 100%; }
  .login-link { justify-content: center; }
}
@media (max-width: 767px) {
  .section { padding-block: var(--space-10); }
  .connect, .card-grid, .principles, .scale-grid, .form-grid { grid-template-columns: 1fr; }
  .connect-arc { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-panel { padding: var(--space-8) var(--space-3); }
  .form-card { padding: var(--space-3); }
  .field-preview { position: relative; left: 0; bottom: 0; width: 100%; margin-top: -48px; }
  .hero { padding-bottom: var(--space-10); }
  .contrast-table { font-size: var(--text-sm); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- ordered steps (a real sequence) ---------- */
.steps { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; gap: var(--space-3); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: var(--space-2); align-items: start; }
.steps strong { display: block; font-family: var(--font-display); color: var(--navy-900); }
.steps span:last-child { color: var(--ink-soft); }

/* ---------- review fixes ---------- */
.hero-media .ph { align-items: flex-end; justify-content: flex-start; text-align: right; padding: 64px var(--space-4) var(--space-4); }
.hero-media .ph figcaption { max-width: 26ch; }
.site-footer .brand img { background: var(--surface); border-radius: 10px; padding: 4px; }
@media (max-width: 767px) {
  .hero-media .ph { align-items: center; text-align: center; padding: var(--space-4) var(--space-3) var(--space-8); }
}
.ph .ph-play .icon { color: var(--navy-900); }
.hero-media .ph figcaption { max-width: 22ch; }
.field-preview { width: min(300px, 70%); left: -48px; bottom: -56px; }
@media (max-width: 1023px) { .field-preview { left: var(--space-2); } }
@media (max-width: 767px) {
  .field-preview { width: 100%; left: 0; bottom: 0; }
  .hero-media .ph figcaption { max-width: 32ch; }
}

/* ---------- demo form (hero + contact) ---------- */
.hero-form { position: relative; }
.demo-card {
  background: linear-gradient(150deg, var(--blue-600), var(--navy-700) 85%);
  border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: 0 24px 60px rgba(0, 10, 30, 0.35);
}
.demo-card h2 { color: var(--surface); font-size: var(--text-2xl); margin-bottom: var(--space-1); }
.demo-card > p { color: var(--on-dark-soft); margin-bottom: var(--space-3); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-field { display: grid; gap: 2px; }
.demo-field-wide { grid-column: 1 / -1; }
.demo-field input, .demo-field textarea {
  width: 100%; min-height: 48px; padding: 12px 18px; font: inherit; font-size: var(--text-base); color: var(--ink);
  background: var(--blue-100); border: 2px solid transparent; border-radius: var(--radius-pill);
}
.demo-field textarea { min-height: 120px; border-radius: var(--radius-lg); resize: vertical; }
.demo-field input::placeholder, .demo-field textarea::placeholder { color: var(--ink-soft); }
.demo-field input:focus-visible, .demo-field textarea:focus-visible { outline: none; border-color: var(--gold-500); background: var(--surface); }
.demo-field [aria-invalid="true"] { border-color: var(--danger); }
.demo-card .field-error { color: var(--gold-500); min-height: 0; padding-left: 18px; font-size: var(--text-xs); }
.form-card .field-error { padding-left: 18px; }
.btn-submit { width: 100%; background: var(--navy-900); color: var(--surface); }
.btn-submit:hover { background: var(--ink); color: var(--surface); }
.demo-card .form-status { color: var(--gold-500); margin-top: var(--space-1); }
.demo-card .form-success { color: var(--on-dark-soft); }
.demo-card .form-success h3 { color: var(--surface); }
.form-card .demo-field input, .form-card .demo-field textarea { border-color: var(--rule); }
.ph-tag { font-size: var(--text-xs); font-weight: 600; background: var(--gold-500); color: var(--navy-900); padding: 2px 10px; border-radius: var(--radius-pill); }
.booking-alt { margin: 0; font-size: var(--text-sm); color: var(--ink-soft); }
.demo-card .booking-alt { color: var(--on-dark-soft); }
.demo-card .booking-alt a { color: var(--surface); }
/* ---------- client login ---------- */
.login-hero { padding-block: var(--space-10) var(--space-12); }
.signin-card {
  position: relative; max-width: 440px; margin-inline: auto; background: var(--surface); color: var(--ink-soft);
  border-radius: var(--radius-lg); padding: var(--space-5) var(--space-4); text-align: center; box-shadow: 0 24px 60px rgba(0, 10, 30, 0.35);
}
.signin-card img { width: 176px; margin: 0 auto var(--space-2); border: 1px solid var(--rule); border-radius: var(--radius-lg); }
.signin-card h1 { font-size: var(--text-xl); color: var(--navy-900); }
.btn-signin { width: 100%; background: var(--navy-900); color: var(--surface); border-radius: var(--radius-sm); margin-top: var(--space-2); }
.btn-signin:hover { background: var(--navy-700); color: var(--surface); }
.btn-google { width: 100%; background: var(--surface); color: var(--ink); border: 1px solid var(--rule); border-radius: var(--radius-sm); }
.btn-google:hover { background: var(--mist); color: var(--ink); }
.signin-or { display: flex; align-items: center; gap: 12px; margin: var(--space-2) 0; font-size: var(--text-sm); }
.signin-or::before, .signin-or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.signin-note { font-size: var(--text-sm); margin: var(--space-3) 0 0; }

/* ---------- legal (imported policy text) ---------- */
.legal .last-updated { font-size: var(--text-sm); color: var(--ink-soft); }
.legal ul, .legal ol { padding-left: 1.25rem; }
.legal-notice { background: var(--mist); border-left: 4px solid var(--gold-500); padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); margin: var(--space-3) 0; }
.legal-notice p { color: var(--ink); font-weight: 600; margin: 0; }
.legal-flag { display: inline-block; font-size: var(--text-xs); font-weight: 600; background: var(--gold-500); color: var(--navy-900); padding: 2px 10px; border-radius: var(--radius-pill); }
@media (max-width: 767px) { .demo-grid { grid-template-columns: 1fr; } .demo-card { padding: var(--space-3); } }
.demo-form { margin: 0; }
