/* ==========================================================================
   InstantAgent AI — Design tokens
   ========================================================================== */
:root {
  --bg: #070c17;
  --bg-soft: #0a1120;
  --bg-elevated: #0e1728;
  --bg-elevated-2: #121e35;

  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.085);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text: #eef1f8;
  --text-muted: #a9b2c8;
  --text-faint: #798298;

  --accent: #3ddbe8;
  --accent-2: #4f8cf7;
  --accent-soft: rgba(61, 219, 232, 0.14);
  --accent-border: rgba(61, 219, 232, 0.35);
  --on-accent: #04141a;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-md: 0 24px 60px -24px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 0 1px var(--accent-border), 0 20px 60px -20px rgba(61, 219, 232, 0.25);

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

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

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.75rem 1.25rem;
  z-index: 999;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* Background atmosphere shared by the page */
body {
  background-image:
    radial-gradient(60rem 40rem at 85% -10%, rgba(79, 140, 247, 0.16), transparent 60%),
    radial-gradient(50rem 35rem at 5% 10%, rgba(61, 219, 232, 0.08), transparent 55%);
  background-repeat: no-repeat;
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  max-width: 40ch;
}
.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 46ch;
  margin: 0;
}
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ==========================================================================
   Reveal-on-scroll (progressive enhancement — visible by default without JS)
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
  box-shadow: 0 16px 40px -12px rgba(61, 219, 232, 0.45);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 48px -12px rgba(61, 219, 232, 0.55); }
.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--surface-strong); border-color: var(--accent-border); }
.btn--sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.icon { display: inline-block; flex-shrink: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: 1.1rem;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 12, 23, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand__mark { border-radius: 11px; flex-shrink: 0; }
.brand__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand__suffix { color: var(--accent); }

.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav__list a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.nav__list a:hover { color: var(--text); }

.site-header__actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}
.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__skyline {
  position: absolute;
  bottom: -2rem;
  left: 0;
  width: 100%;
  opacity: 0.16;
  filter: saturate(0.8);
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 1.3rem;
}
.hero__lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0 0 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.3rem; }
.hero__note { font-size: 0.85rem; color: var(--text-faint); }

.hero__visual { position: relative; }
.flow {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.75rem 1.5rem 1.75rem 3.25rem;
  background: linear-gradient(165deg, var(--surface), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.flow__line {
  position: absolute;
  left: 2.35rem;
  top: 2.6rem;
  bottom: 2.6rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2));
  opacity: 0.35;
}
.flow__pulse {
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 8px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 3px rgba(61, 219, 232, 0.7);
  animation: flowPulse 4.5s ease-in-out infinite;
}
@keyframes flowPulse {
  0% { top: 0%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.flow__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.flow__step::before {
  content: "";
  position: absolute;
  left: -1.72rem;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--accent-2);
}
.flow__step--highlight {
  border-color: var(--accent-border);
  background: linear-gradient(135deg, rgba(61, 219, 232, 0.1), rgba(79, 140, 247, 0.08));
  box-shadow: var(--shadow-glow);
}
.flow__step--highlight::before { border-color: var(--accent); background: var(--accent); }
.flow__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.flow__text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.flow__label { font-weight: 700; font-size: 0.95rem; }
.flow__sub { font-size: 0.8rem; color: var(--text-faint); }

/* ==========================================================================
   Section shells
   ========================================================================== */
.pain, .solution, .comparison, .conversation, .benefits, .why, .book {
  padding-block: clamp(4rem, 9vw, 7rem);
}
.solution, .why { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015), transparent); }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-strong); }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.card__title { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; margin-bottom: 0.5rem; }
.card__text { color: var(--text-muted); font-size: 0.96rem; }

/* Pain grid — asymmetric bento */
.pain__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.card--pain { position: relative; padding-top: 2.25rem; }
.card--pain:nth-child(2) { transform: translateY(1.1rem); }
.card--pain:nth-child(4) { transform: translateY(1.1rem); }
.card--pain:hover { transform: translateY(calc(-4px)); }
.card--pain:nth-child(2):hover, .card--pain:nth-child(4):hover { transform: translateY(calc(1.1rem - 4px)); }
.card__index {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-faint);
  font-style: italic;
}

/* ==========================================================================
   Solution — interactive workflow
   ========================================================================== */
.workflow__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}
.workflow__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.75rem;
  height: 3px;
  background: var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.workflow__progress span {
  position: absolute;
  inset: 0;
  width: 14.2857%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.4s var(--ease);
}
.workflow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 0.6rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.workflow__step:hover { border-color: var(--border-strong); color: var(--text); }
.workflow__step.is-active {
  background: linear-gradient(150deg, rgba(61, 219, 232, 0.12), rgba(79, 140, 247, 0.06));
  border-color: var(--accent-border);
  color: var(--text);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.workflow__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--text-faint);
}
.workflow__step.is-active .workflow__num { color: var(--accent); }
.workflow__label { font-weight: 700; font-size: 0.88rem; }

.workflow__panels {
  position: relative;
  min-height: 6.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.workflow__panel { max-width: 60ch; }
.workflow__panel:not(:first-child) { margin-top: 1.75rem; }
.workflow__panel h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}
.workflow__panel p { color: var(--text-muted); font-size: 1.02rem; }

/* ==========================================================================
   Before / After comparison
   ========================================================================== */
.comparison__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.comparison__col {
  border-radius: var(--radius-lg);
  padding: 2rem clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
}
.comparison__col--before { background: rgba(255, 255, 255, 0.025); }
.comparison__col--after {
  background: linear-gradient(160deg, rgba(61, 219, 232, 0.09), rgba(79, 140, 247, 0.05));
  border-color: var(--accent-border);
}
.comparison__col-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 1.4rem;
}
.comparison__col--before .comparison__col-title { color: var(--text-muted); }
.timeline { counter-reset: step; display: flex; flex-direction: column; }
.timeline li {
  position: relative;
  counter-increment: step;
  list-style: none;
  padding: 0.7rem 0 0.7rem 2.2rem;
  font-size: 0.98rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.timeline li:last-child { border-bottom: none; }
.timeline li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--text-faint);
}
.timeline--accent li { color: var(--text); }
.timeline--accent li::before {
  background: var(--accent);
  color: var(--on-accent);
}
.comparison__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  text-align: center;
  max-width: 42ch;
  margin: 0 auto;
  color: var(--text);
}

/* ==========================================================================
   Conversation demo
   ========================================================================== */
.conversation__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.conversation__intro .btn { margin-top: 0.5rem; }

.phone {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
}
.phone__frame {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  margin-inline: auto;
  overflow: hidden;
}
.phone__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent);
  background: var(--bg-elevated-2);
}
.phone__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 22rem;
}
.chat-msg {
  max-width: 82%;
  padding: 0.7rem 1rem;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.chat-msg--in {
  align-self: flex-start;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chat-msg--out {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
  font-weight: 600;
  border-bottom-right-radius: 4px;
}
.js .chat-msg {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.js .chat-msg.is-shown { opacity: 1; transform: none; }

.typing-indicator {
  align-self: flex-start;
  display: none;
  gap: 4px;
  padding: 0.85rem 1rem;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}
.typing-indicator.is-visible { display: flex; }
.typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-faint);
  animation: typingBounce 1.1s ease-in-out infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.lead-card {
  margin-top: 1.5rem;
  max-width: 420px;
  margin-inline: auto;
  background: linear-gradient(160deg, rgba(61, 219, 232, 0.14), rgba(79, 140, 247, 0.07));
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-glow);
}
.js .lead-card {
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.js .lead-card.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.lead-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.lead-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
  margin-bottom: 1.4rem;
}
.lead-card__grid div:last-child { grid-column: 1 / -1; }
.lead-card__grid dt { font-size: 0.72rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.15rem; }
.lead-card__grid dd { font-weight: 700; font-size: 0.98rem; }

/* ==========================================================================
   Benefits
   ========================================================================== */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ==========================================================================
   Why agents pay
   ========================================================================== */
.why__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.why__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  list-style: none;
}
.why__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.why__list .icon { color: var(--accent); }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta-final {
  padding-block: clamp(4.5rem, 10vw, 8rem);
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(61, 219, 232, 0.06));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-final__inner { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.cta-final h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 26ch;
  line-height: 1.15;
}
.cta-final p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 0.6rem; }

/* ==========================================================================
   Demo booking form
   ========================================================================== */
.book__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 4rem);
}
.book__form-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.form__honeypot { position: absolute; left: -9999px; }
.form__row { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.25rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.form__row--full { grid-column: 1 / -1; }
.form label { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); }
.form input, .form select {
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form input:focus, .form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}
.form select { appearance: none; }
.form__row--full select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23a9b2c8' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
}
.form button { grid-column: 1 / -1; margin-top: 0.5rem; }
.form__status { grid-column: 1 / -1; margin-top: 0.9rem; font-size: 0.88rem; min-height: 1.2em; }
.form__status.is-error { color: #ff9d9d; }
.form__status.is-loading { color: var(--text-faint); }

.form__success {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.form__success .icon {
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.85rem;
  border-radius: 50%;
  background: var(--accent-soft);
}
.form__success h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; margin-bottom: 0.5rem; }
.form__success p { color: var(--text-muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding-block: 2.75rem; border-top: 1px solid var(--border); }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer__links { display: flex; gap: 1.75rem; list-style: none; flex-wrap: wrap; }
.footer__links a { font-size: 0.88rem; color: var(--text-muted); font-weight: 600; }
.footer__links a:hover { color: var(--text); }
.footer__meta { font-size: 0.82rem; color: var(--text-faint); width: 100%; text-align: center; order: 3; margin-top: 0.5rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__grid, .why__grid, .conversation__grid, .book__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .why__copy { order: 1; }
  .why__list { order: 2; }
  .comparison__grid { gap: 1rem; }
}

@media (max-width: 860px) {
  .nav, .site-header__actions .btn--primary { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 12, 23, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem var(--gutter) 2rem;
  }
  .nav.is-open .nav__list { flex-direction: column; gap: 1.25rem; }
  .nav.is-open .nav__list a { font-size: 1.05rem; }

  .pain__grid { grid-template-columns: 1fr 1fr; }
  .card--pain:nth-child(2), .card--pain:nth-child(4) { transform: none; }
  .card--pain:nth-child(2):hover, .card--pain:nth-child(4):hover { transform: translateY(-4px); }

  .benefits__grid { grid-template-columns: 1fr 1fr; }
  .workflow__rail { grid-template-columns: repeat(4, 1fr); }
  .comparison__grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .why__list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .pain__grid, .benefits__grid { grid-template-columns: 1fr; }
  .workflow__rail { grid-template-columns: repeat(2, 1fr); }
  .site-header__inner { gap: 0.75rem; }
  .brand__text { font-size: 1.05rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
}
