/* =========================================================
   LeadJar — Design tokens
   ========================================================= */
:root {
  /* Surfaces */
  --bg: #050607;
  --bg-raised: #0c0e10;
  --card: #101214;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text-primary: #f5f6f7;
  --text-secondary: #a3a9ae;
  --text-tertiary: #7d8083;

  /* Accents */
  --accent: #5b8def;
  --accent-soft: rgba(91, 141, 239, 0.14);
  --urgency: #e5633d;
  --urgency-soft: rgba(229, 99, 61, 0.14);
  --success: #4caf7d;
  --success-soft: rgba(76, 175, 125, 0.14);

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --max-width: 1200px;
  --gutter: 24px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --nav-height: 76px;

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

/* =========================================================
   Reset
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

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

/* Visually-hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 1000;
  background: var(--text-primary);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* Focus states — visible everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background-color 0.15s var(--ease), border-color 0.15s var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg);
}

.btn-primary:hover {
  background: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--card-border-strong);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.btn-small {
  padding: 9px 16px;
  font-size: 13px;
}

/* =========================================================
   Dot-matrix background treatment
   ========================================================= */
.dot-matrix {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1.5px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at var(--dot-x, 78%) var(--dot-y, 20%), black 0%, rgba(0, 0, 0, 0.35) 40%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 55% at var(--dot-x, 78%) var(--dot-y, 20%), black 0%, rgba(0, 0, 0, 0.35) 40%, transparent 72%);
  opacity: 0.5;
}

.dot-matrix.dot-matrix--secondary {
  --dot-x: 12%;
  --dot-y: 85%;
  opacity: 0.35;
}

@media (prefers-reduced-motion: no-preference) {
  .dot-matrix {
    animation: dot-shimmer 14s ease-in-out infinite;
  }
}

@keyframes dot-shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.32; }
}

/* Anchor targets should land below the sticky nav, not under it */
section[id] {
  scroll-margin-top: var(--nav-height);
}

/* =========================================================
   Navbar
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(5, 6, 7, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-brand img {
  height: 26px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s var(--ease);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--card-border-strong);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-mobile-panel {
  display: none;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .nav-actions .btn-primary.nav-cta-desktop {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-mobile-panel {
    position: fixed;
    inset: var(--nav-height) 0 0 0;
    top: var(--nav-height);
    background: var(--bg);
    z-index: 99;
    padding: 32px var(--gutter);
    display: flex;
    flex-direction: column;
    gap: 28px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }

  .nav-mobile-panel.is-open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-mobile-panel a:not(.btn) {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
  }

  .nav-mobile-panel .btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
  }
}

/* =========================================================
   Video hero
   ========================================================= */
.video-hero {
  position: relative;
  background: var(--bg);
}

.video-hero-frame {
  position: relative;
  height: calc(100vh - var(--nav-height));
  height: calc(100dvh - var(--nav-height));
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  overflow: hidden;
}

.video-hero-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--bg);
  pointer-events: none;
  display: block;
}

.video-hero-sound-btn {
  position: absolute;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--card-border-strong);
  background: rgba(5, 6, 7, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms var(--ease), background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.video-hero-sound-btn svg {
  width: 18px;
  height: 18px;
}

.sound-btn-icon-unmuted {
  display: none;
}

.video-hero-sound-btn[aria-pressed="true"] .sound-btn-icon-unmuted {
  display: inline;
}

.video-hero-sound-btn[aria-pressed="true"] .sound-btn-icon-muted {
  display: none;
}

.video-hero-sound-btn.is-visible,
.video-hero-sound-btn:hover,
.video-hero-sound-btn:focus-visible,
.video-hero-sound-btn:active {
  opacity: 1;
  pointer-events: auto;
}

.video-hero-sound-btn:hover {
  background: rgba(5, 6, 7, 0.78);
  border-color: rgba(255, 255, 255, 0.3);
}

.video-hero-sound-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .video-hero-frame {
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding-top: 88px;
  padding-bottom: 96px;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--card-border-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 4.6vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-primary);
  max-width: 640px;
}

.hero-subtitle {
  margin-top: 24px;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.hero-actions .btn {
  padding: 15px 28px;
  font-size: 15.5px;
}

.hero-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-tertiary);
}

/* ---- Hero lead panel ---- */
.lead-panel {
  position: relative;
  background: linear-gradient(180deg, var(--card) 0%, #0b0d0f 100%);
  border: 1px solid var(--card-border-strong);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}

.lead-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.lead-panel-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.lead-panel-brand img {
  height: 16px;
  width: auto;
}

.lead-panel-time {
  font-size: 12.5px;
  color: var(--text-tertiary);
}

.lead-feed {
  position: relative;
  display: flex;
  flex-direction: column;
}

.lead-row {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding-bottom: 20px;
  opacity: 0;
  transform: translateY(10px);
}

.lead-row:last-child {
  padding-bottom: 0;
}

.lead-row.is-visible {
  animation: rise-in 0.55s var(--ease) forwards;
}

.lead-row-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lead-row-time {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  white-space: nowrap;
}

.lead-row-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 8px;
  background: var(--text-tertiary);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.lead-row-line {
  flex: 1;
  width: 1px;
  min-height: 20px;
  background: var(--card-border);
  margin-top: 6px;
}

.lead-row-body {
  padding: 14px 16px;
  background: var(--bg-raised);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.lead-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.lead-row-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.lead-row-message {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.lead-row-reply .lead-row-message {
  color: var(--text-primary);
}

.lead-panel-caption {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--card-border);
  text-align: center;
  font-size: 12.5px;
  color: var(--text-tertiary);
}

@media (prefers-reduced-motion: no-preference) {
  .lead-row {
    opacity: 0;
    transform: translateY(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-row {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   Shared section elements (Problem, Services, and beyond)
   ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--card-border-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(1.875rem, 3.2vw, 2.75rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--text-primary);
  max-width: 720px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.check-list li + li {
  margin-top: 12px;
}

.check-list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--success);
}

/* =========================================================
   Video showcase
   ========================================================= */
.video-showcase {
  padding-block: 96px;
  border-top: 1px solid var(--card-border);
}

.video-showcase-copy {
  margin-top: 24px;
  max-width: 640px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.try-it-inbox-cta {
  margin-top: 32px;
}

@media (max-width: 600px) {
  .video-showcase {
    padding-block: 64px;
  }
}

/* =========================================================
   How it works
   ========================================================= */
.how-it-works {
  padding-block: 96px;
  border-top: 1px solid var(--card-border);
}

.timeline {
  position: relative;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--card-border);
  z-index: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
}

.timeline-marker {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.timeline-index {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--card-border-strong);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}

.timeline-title {
  text-align: center;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
}

.timeline-desc {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.timeline-note {
  margin-top: 48px;
  padding: 20px 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.timeline-note p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  text-align: center;
}

/* =========================================================
   Live test (nested inside the demonstration section)
   ========================================================= */
.live-test {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--card-border);
}

.live-test-heading {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.live-test-intro {
  margin-top: 12px;
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.live-test-card {
  margin-top: 40px;
  max-width: 480px;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}

.live-test-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-field input {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-raised);
  border: 1px solid var(--card-border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s var(--ease);
}

.form-field input::placeholder {
  color: var(--text-tertiary);
}

.form-field input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.form-field input[aria-invalid="true"] {
  border-color: var(--urgency);
}

.form-error {
  font-size: 12.5px;
  color: var(--urgency);
  min-height: 1em;
}

.live-test-submit {
  width: 100%;
  margin-top: 4px;
}

.live-test-submit[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.live-test-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-tertiary);
  text-align: center;
}

.live-test-status {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.5;
  text-align: center;
}

.live-test-status.is-success {
  background: var(--success-soft);
  color: var(--success);
}

.live-test-status.is-error {
  background: var(--urgency-soft);
  color: var(--urgency);
}

/* =========================================================
   Pricing
   ========================================================= */
.pricing {
  padding-block: 96px;
  border-top: 1px solid var(--card-border);
}

.pricing-intro {
  margin-top: 24px;
  max-width: 720px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.pricing-grid {
  margin-top: 48px;
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.pricing-features {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
  flex: 1;
}

.pricing-card-cta {
  margin-top: 24px;
  width: 100%;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  padding-block: 96px;
  border-top: 1px solid var(--card-border);
}

.faq-list {
  margin-top: 48px;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-heading {
  margin: 0;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: transform 0.25s var(--ease);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s var(--ease);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-inner p {
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (prefers-reduced-motion: reduce) {
  .faq-panel {
    transition: none;
  }

  .faq-icon {
    transition: none;
  }
}

/* =========================================================
   Booking
   ========================================================= */
.booking {
  padding-block: 96px;
  border-top: 1px solid var(--card-border);
}

.booking-intro {
  margin-top: 24px;
  max-width: 640px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.booking-note {
  margin-top: 10px;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-tertiary);
}

.selected-setup-summary {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--card);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
}

.selected-setup-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.selected-setup-list {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.booking-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 380px) 1fr;
  gap: 40px;
  align-items: start;
}

.booking-subhead {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.booking-info .check-list {
  margin-top: 20px;
}

.booking-embed-wrap {
  min-width: 0;
}

.booking-embed {
  min-height: 420px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.booking-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  border-radius: var(--radius-lg);
}

.booking-embed--live {
  display: block;
  padding: 0;
  overflow: hidden;
  height: 700px;
}

.calendly-inline-widget {
  width: 100%;
  height: 100%;
  min-width: 280px;
}

.booking-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  max-width: 320px;
}

.booking-fallback svg {
  width: 32px;
  height: 32px;
  color: var(--text-tertiary);
}

.booking-fallback p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.booking-fallback a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =========================================================
   Legal pages (Privacy, Terms)
   ========================================================= */
.legal {
  padding-block: 80px 96px;
}

.legal-container {
  max-width: 760px;
}

.legal-title {
  margin-top: 20px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--text-primary);
}

.legal-updated {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-tertiary);
}

.legal-body {
  margin-top: 40px;
}

.legal-body h2 {
  margin-top: 40px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal-body ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 22px;
  list-style: disc;
}

.legal-body li {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.legal-body strong {
  color: var(--text-primary);
}

.legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-disclaimer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
  font-size: 13px;
  font-style: italic;
  color: var(--text-tertiary);
}

@media (max-width: 600px) {
  .legal {
    padding-block: 56px 64px;
  }

  .legal-body h2 {
    margin-top: 32px;
  }
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  position: relative;
  padding-top: 72px;
  border-top: 1px solid var(--card-border);
  overflow: hidden;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  height: 28px;
  width: auto;
}

.footer-tagline {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 240px;
}

.footer-heading {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.footer-links {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.15s var(--ease);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  padding-block: 28px;
  border-top: 1px solid var(--card-border);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-bottom a {
  color: var(--text-tertiary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: var(--text-secondary);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .lead-panel {
    max-width: 460px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .booking-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .timeline::before {
    display: none;
  }

  .timeline-step {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 16px;
    padding-bottom: 28px;
  }

  .timeline-step:not(:last-child) {
    position: relative;
  }

  .timeline-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 40px;
    left: 19px;
    bottom: 0;
    width: 1px;
    background: var(--card-border);
  }

  .timeline-marker {
    margin-bottom: 0;
    grid-row: 1 / 3;
  }

  .timeline-title,
  .timeline-desc {
    text-align: left;
  }

  .deployment-spec > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .how-it-works,
  .pricing,
  .faq,
  .booking {
    padding-block: 64px;
  }

  .footer {
    padding-top: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    margin-top: 40px;
  }

  .footer-bottom p {
    text-align: center;
  }

  .lead-panel {
    padding: 16px;
  }

  .live-test-card,
  .pricing-card {
    padding: 24px;
  }

  .faq-trigger {
    padding: 16px 18px;
    font-size: 14.5px;
  }

  .faq-panel-inner p {
    padding: 0 18px 18px;
  }

  .booking-embed {
    min-height: 320px;
    padding: 24px;
  }

  .booking-embed--live {
    padding: 0;
    height: 580px;
  }
}
