/* ============================================================
   ScopeTrail — Design tokens
   ============================================================ */
:root {
  --ivory: #f9f6ef;
  --ivory-deep: #f1ebdd;
  --paper: #fffdf8;
  --charcoal: #1c1a17;
  --charcoal-soft: #4a463f;
  --charcoal-mute: #78716a;
  --line: rgba(28, 26, 23, 0.1);
  --line-soft: rgba(28, 26, 23, 0.06);

  --coral: #d9542f;
  --coral-deep: #b8431f;
  --coral-tint: #f7ddce;
  --coral-tint-soft: #fbeee5;

  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;

  --container: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-soft: 0 20px 60px -30px rgba(28, 26, 23, 0.35);
  --shadow-card: 0 1px 2px rgba(28, 26, 23, 0.04), 0 12px 32px -20px rgba(28, 26, 23, 0.25);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
}
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--coral-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   Layout helpers
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 640px) { .container { padding-inline: 2.5rem; } }

section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section-inner { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-deep);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--coral-deep);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-top: 0.9rem;
}
.section-head p {
  margin-top: 1.1rem;
  font-size: 1.08rem;
  color: var(--charcoal-soft);
  max-width: 52ch;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center::before { margin-inline: auto; }

/* Reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--charcoal);
  color: var(--ivory);
  box-shadow: 0 14px 30px -14px rgba(28, 26, 23, 0.55);
}
.btn-primary:hover { background: var(--coral-deep); box-shadow: 0 16px 34px -12px rgba(185, 67, 31, 0.55); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--charcoal); background: rgba(28,26,23,0.03); }

.btn-on-dark {
  background: var(--coral);
  color: var(--paper);
  box-shadow: 0 18px 40px -16px rgba(217, 84, 47, 0.65);
}
.btn-on-dark:hover { background: #ea6438; transform: translateY(-2px); }

.btn-block { width: 100%; }

.btn[disabled] { opacity: 0.7; cursor: progress; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.25s ease, color 0.25s ease, gap 0.25s ease;
}
.link-arrow:hover { border-color: var(--coral-deep); color: var(--coral-deep); gap: 0.6rem; }

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 500;
  padding: 1.1rem 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-nav.is-scrolled {
  background: rgba(249, 246, 239, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
  padding: 0.75rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--charcoal);
}
.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
}
.wordmark {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--charcoal);
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}
.wordmark span { color: var(--coral-deep); }

@media (max-width: 400px) {
  .brand-mark { width: 32px; height: 32px; }
  .wordmark { font-size: 1.05rem; }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a {
  text-decoration: none;
  color: var(--charcoal-soft);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--coral-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--charcoal); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

@media (min-width: 860px) {
  .nav-links { display: flex; }
}
.nav-cta { display: none; }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }
.nav-mobile-cta { display: inline-flex; font-size: 0.85rem; padding: 0.65rem 1.1rem; }
@media (min-width: 640px) { .nav-mobile-cta { display: none; } }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
@media (min-width: 980px) {
  .hero .container { grid-template-columns: 1.05fr 0.95fr; }
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-top: 1.1rem;
  max-width: 15ch;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.hero-copy .lede {
  margin-top: 1.5rem;
  font-size: 1.18rem;
  color: var(--charcoal-soft);
  max-width: 46ch;
}
.hero-actions {
  margin-top: 2.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  align-items: center;
}
.hero-location {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--charcoal-mute);
}
.hero-location svg { flex-shrink: 0; color: var(--coral-deep); }

/* Hero visual: call → missed → SMS → booked */
.hero-visual {
  position: relative;
}
.sequence-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
}
.sequence-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, var(--coral-tint-soft), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}
.sequence-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  position: relative;
}
.sequence-header .dot-row { display: flex; gap: 6px; }
.sequence-header .dot-row span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.sequence-header .label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--charcoal-mute); }

.sequence-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  position: relative;
  z-index: 1;
}
.sequence-step {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.6);
  transition: transform 0.4s var(--ease);
}
.sequence-step .icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ivory-deep);
  color: var(--charcoal-soft);
  flex-shrink: 0;
  transition: background 0.4s ease, color 0.4s ease, transform 0.4s ease;
}
.sequence-step .copy strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
}
.sequence-step .copy span {
  display: block;
  font-size: 0.84rem;
  color: var(--charcoal-mute);
  margin-top: 1px;
}
.sequence-step.is-active {
  background: var(--paper);
  border-color: var(--coral-tint);
  box-shadow: 0 10px 24px -14px rgba(217, 84, 47, 0.35);
}
.sequence-step.is-active .icon {
  background: var(--coral);
  color: var(--paper);
  transform: scale(1.06);
}
.sequence-track {
  position: absolute;
  left: calc(1.05rem + 19px - 1px);
  top: 4.6rem;
  bottom: 1.9rem;
  width: 2px;
  background: var(--line-soft);
  z-index: 0;
}
.sequence-track-fill {
  width: 100%;
  background: var(--coral);
  height: 0%;
  transition: height 1s var(--ease);
  border-radius: 2px;
}

/* ============================================================
   Problem cards
   ============================================================ */
.problem-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.problem-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.problem-card:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -24px rgba(28,26,23,0.28); }
.problem-card .num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--coral-deep);
  font-weight: 500;
}
.problem-card h3 {
  margin-top: 0.9rem;
  font-size: 1.3rem;
  font-weight: 500;
}
.problem-card p {
  margin-top: 0.7rem;
  color: var(--charcoal-soft);
  font-size: 0.98rem;
}
.problem-note {
  margin-top: 2.5rem;
  color: var(--charcoal-soft);
  max-width: 68ch;
  font-size: 1.02rem;
}

/* ============================================================
   Solution / phone mockup
   ============================================================ */
.solution-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 980px) {
  .solution-grid { grid-template-columns: 0.85fr 1.15fr; }
}

.phone-mock {
  width: min(100%, 320px);
  margin-inline: auto;
  background: var(--charcoal);
  border-radius: 42px;
  padding: 14px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.phone-mock .screen {
  background: var(--ivory);
  border-radius: 30px;
  padding: 1.75rem 1.1rem 1.4rem;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}
.phone-mock .notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: var(--charcoal);
  border-radius: 0 0 14px 14px;
}
.phone-thread-label {
  text-align: center;
  font-size: 0.72rem;
  color: var(--charcoal-mute);
  letter-spacing: 0.04em;
  margin-bottom: 1.1rem;
}
.bubble {
  max-width: 88%;
  padding: 0.85rem 1.05rem;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 0.65rem;
}
.bubble.in {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  color: var(--charcoal);
}
.bubble.link {
  color: var(--coral-deep);
  font-weight: 600;
  text-decoration: underline;
}
.bubble-link {
  color: var(--coral-deep);
  font-weight: 600;
}
.bubble-time {
  font-size: 0.72rem;
  color: var(--charcoal-mute);
  align-self: flex-start;
  margin: 0.15rem 0 1rem 0.3rem;
}
.phone-mock .quick-reply {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
}
.quick-reply span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  color: var(--charcoal-soft);
}

.diary-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1.4rem 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.diary-card .tick {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--coral-tint-soft);
  color: var(--coral-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.diary-card strong { font-size: 0.97rem; display: block; }
.diary-card span { font-size: 0.85rem; color: var(--charcoal-mute); }

.solution-points {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
  margin-top: 2rem;
}
.solution-point {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.solution-point .icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ivory-deep);
  color: var(--coral-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.solution-point strong { display: block; font-size: 1rem; font-weight: 600; }
.solution-point p { margin-top: 0.2rem; color: var(--charcoal-soft); font-size: 0.95rem; }

/* ============================================================
   How it works
   ============================================================ */
.steps-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  position: relative;
}
@media (min-width: 860px) {
  .steps-rail { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .steps-rail::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 6%;
    right: 6%;
    height: 1px;
    background: repeating-linear-gradient(to right, var(--line) 0 8px, transparent 8px 16px);
  }
}
.step-item { position: relative; }
.step-index {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--coral-deep);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-card);
}
.step-item h3 {
  margin-top: 1.1rem;
  font-size: 1.15rem;
  font-weight: 500;
}
.step-item p {
  margin-top: 0.5rem;
  font-size: 0.94rem;
  color: var(--charcoal-soft);
  max-width: 30ch;
}

/* ============================================================
   Value section
   ============================================================ */
.value-section {
  background: var(--ivory-deep);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.value-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem 2.5rem;
}
@media (min-width: 760px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
}
.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.value-item .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  color: var(--coral-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.value-item strong { font-size: 1.03rem; font-weight: 600; display: block; }
.value-item p { margin-top: 0.3rem; font-size: 0.93rem; color: var(--charcoal-soft); }

/* ============================================================
   Results / report
   ============================================================ */
.report-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.report-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(160deg, var(--coral-tint-soft), transparent 70%);
}
.report-head h3 { font-size: 1.2rem; font-weight: 500; }
.report-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}
.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.report-metric {
  padding: 1.9rem clamp(1.5rem, 4vw, 2.5rem);
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.report-metric .figure {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 500;
}
.report-metric .figure span { color: var(--coral-deep); }
.report-metric .caption {
  margin-top: 0.4rem;
  font-size: 0.87rem;
  color: var(--charcoal-mute);
}
.report-foot {
  padding: 1.1rem clamp(1.5rem, 4vw, 2.5rem) 1.6rem;
  font-size: 0.82rem;
  color: var(--charcoal-mute);
}
.founding-note {
  margin-top: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.15rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--charcoal-soft);
}

/* ============================================================
   Ideal client
   ============================================================ */
.client-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.client-card {
  padding: 1.9rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background: var(--paper);
}
.client-card h3 { font-size: 1.08rem; font-weight: 500; }
.client-card p { margin-top: 0.5rem; font-size: 0.88rem; color: var(--charcoal-mute); }
.client-note {
  margin-top: 2.25rem;
  max-width: 68ch;
  color: var(--charcoal-soft);
  font-size: 1.02rem;
}

/* ============================================================
   CTA / form section
   ============================================================ */
.cta-section {
  background: var(--charcoal);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(217,84,47,0.35), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 980px) {
  .cta-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
.cta-section .eyebrow { color: var(--coral); }
.cta-section .eyebrow::before { background: var(--coral); }
.cta-copy h2 {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  margin-top: 1rem;
  max-width: 16ch;
}
.cta-copy p {
  margin-top: 1.2rem;
  color: rgba(249,246,239,0.75);
  font-size: 1.05rem;
  max-width: 46ch;
}
.cta-copy .btn { margin-top: 2rem; }
.cta-reassure {
  margin-top: 1rem;
  font-size: 0.86rem;
  color: rgba(249,246,239,0.55);
}

.form-card {
  background: var(--ivory);
  color: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.5);
}
.form-card h3 { font-size: 1.25rem; font-weight: 500; }
.form-card > p { margin-top: 0.4rem; font-size: 0.9rem; color: var(--charcoal-mute); }

/* Step progress indicator */
.form-progress {
  display: flex;
  align-items: flex-start;
  margin-top: 1.75rem;
  position: relative;
}
.progress-dot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  text-align: center;
}
.progress-dot::before {
  content: "";
  position: absolute;
  top: 15px;
  left: -50%;
  width: 100%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.progress-dot:first-child::before { display: none; }
.progress-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal-mute);
  position: relative;
  z-index: 1;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.progress-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--charcoal-mute);
  transition: color 0.3s ease;
}
.progress-dot.is-active .progress-circle {
  border-color: var(--coral-deep);
  color: var(--coral-deep);
}
.progress-dot.is-active .progress-label { color: var(--charcoal); }
.progress-dot.is-complete::before { background: var(--coral); }
.progress-dot.is-complete .progress-circle {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--paper);
}
.progress-dot.is-complete { cursor: pointer; }

/* Sliding step track */
.form-steps-viewport { overflow: hidden; margin-top: 1.75rem; }
.form-steps-track {
  display: flex;
  transition: transform 0.45s var(--ease);
}
.form-step {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
}
.form-nav #stepBack { flex: 0 0 auto; }
.form-nav #stepBack.is-hidden { visibility: hidden; pointer-events: none; }
.form-nav #submitBtn { flex: 1; }

.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--charcoal-soft);
  line-height: 1.3;
}
.field .optional { font-weight: 400; color: var(--charcoal-mute); margin-left: 0.2em; }
.field input, .field select {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  font-size: 0.95rem;
  min-height: 46px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus {
  border-color: var(--coral-deep);
  box-shadow: 0 0 0 3px var(--coral-tint);
  outline: none;
}
.field input[aria-invalid="true"] { border-color: #b8431f; }
.field .error {
  font-size: 0.78rem;
  color: #b8431f;
  min-height: 1em;
}
.form-privacy {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--charcoal-mute);
}

.spinner {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(249,246,239,0.4);
  border-top-color: var(--ivory);
  animation: spin 0.7s linear infinite;
  display: none;
}
[disabled] .spinner { display: inline-block; }
[disabled] .btn-label-default { display: none; }
.spinner-label { display: none; }
[disabled] .spinner-label { display: inline; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  display: none;
  text-align: center;
  padding: 1.5rem 0.5rem 0.5rem;
}
.form-success.is-visible { display: block; }
.form-success .check {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--coral-tint-soft);
  color: var(--coral-deep);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem;
}
.form-success h3 { font-size: 1.3rem; }
.form-success p { margin-top: 0.6rem; color: var(--charcoal-soft); font-size: 0.95rem; }
.form-card.is-submitted .audit-form,
.form-card.is-submitted .form-progress { display: none; }
.form-card.is-submitted h3.form-title,
.form-card.is-submitted > p.form-intro { display: none; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 2.6rem 1.5rem 0;
  font-size: 1.06rem;
  font-weight: 500;
  font-family: var(--font-display);
  position: relative;
  display: flex;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--coral-deep);
  transition: transform 0.3s var(--ease);
  font-family: var(--font-body);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
  padding-bottom: 1.5rem;
  padding-right: 2.6rem;
  color: var(--charcoal-soft);
  font-size: 0.97rem;
  max-width: 62ch;
}

/* ============================================================
   Repeat CTA strip
   ============================================================ */
.cta-strip {
  border-top: 1px solid var(--line-soft);
  text-align: center;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.cta-strip h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); max-width: 20ch; margin-inline: auto; }
.cta-strip .btn { margin-top: 1.75rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--charcoal);
  color: rgba(249,246,239,0.7);
  padding: 3.5rem 0 2rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(249,246,239,0.12);
}
.footer-brand .wordmark { color: var(--ivory); }
.footer-brand p {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  max-width: 32ch;
  color: rgba(249,246,239,0.55);
}
.footer-cols {
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(249,246,239,0.45);
}
.footer-col ul { margin-top: 0.9rem; display: grid; gap: 0.6rem; }
.footer-col a { text-decoration: none; font-size: 0.9rem; color: rgba(249,246,239,0.75); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--coral); }
.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(249,246,239,0.4);
}

/* ============================================================
   Legal pages
   ============================================================ */
.legal-page { padding-top: clamp(2.5rem, 6vw, 4rem); }
.legal-page .container { max-width: 760px; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal-page .updated { margin-top: 0.75rem; color: var(--charcoal-mute); font-size: 0.9rem; }
.legal-page h2 { font-size: 1.3rem; margin-top: 2.5rem; }
.legal-page p, .legal-page li { color: var(--charcoal-soft); font-size: 1rem; margin-top: 0.9rem; }
.legal-page ul { padding-left: 1.2rem; list-style: disc; }
.legal-page a { color: var(--coral-deep); }
.legal-back { margin-top: 3rem; display: block; }

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
