/* ============================================================
   Gadsby.io – Vodafone-inspired design system
   Tokens from DESIGN-vodafone.md
   ============================================================ */

:root {
  --primary: #e60000;
  --on-primary: #ffffff;
  --ink: #25282b;
  --body: #7e7e7e;
  --mute: #bebebe;
  --canvas: #ffffff;
  --canvas-soft: #f2f2f2;
  --on-dark: #ffffff;

  --r-sm: 6px;
  --r-card: 6px;
  --r-pill-md: 32px;
  --r-pill-lg: 60px;
  --r-full: 9999px;

  --sp-xxs: 2px;
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 12px;
  --sp-lg: 16px;
  --sp-xl: 20px;
  --sp-2xl: 24px;
  --sp-3xl: 32px;

  --container: 1400px;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--sp-3xl);
  padding-right: var(--sp-3xl);
}

/* ---------- Typography roles ---------- */

.display-hero {
  font-size: clamp(56px, 10vw, 94px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.display-xl {
  font-size: clamp(44px, 7vw, 90px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.display-lg {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.1;
}

.display-md {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 300;
  line-height: 1.1;
}

.display-sm { font-size: 32px; font-weight: 700; line-height: 40px; }
.display-xs { font-size: 24px; font-weight: 700; line-height: 1.15; }

.eyebrow {
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  display: block;
  margin-bottom: var(--sp-md);
}

.on-dark .eyebrow { color: var(--on-dark); opacity: 0.85; }

.body-lg { font-size: 22px; line-height: 32px; }
.body-md { font-size: 18px; line-height: 28px; }
.body-sm { font-size: 16px; line-height: 22px; }
.caption { font-size: 14px; line-height: 20px; }
.caption-uppercase {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.57px;
  text-transform: uppercase;
}

.text-body { color: var(--body); }
.text-mute { color: var(--mute); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  padding: var(--sp-md) var(--sp-2xl);
  border-radius: var(--r-pill-lg);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}
.btn-primary:hover { background: #c50000; border-color: #c50000; }

.btn-outline-red {
  background: var(--canvas);
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-red:hover { background: var(--primary); color: var(--on-primary); }

.btn-outline-dark {
  background: var(--canvas);
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline-dark:hover { background: var(--ink); color: var(--on-dark); }

.btn-outline-light {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--on-dark);
}
.btn-outline-light:hover { background: var(--on-dark); color: var(--ink); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

/* ---------- Nav ---------- */

.nav-bar {
  background: var(--ink);
  color: var(--on-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-3xl);
  padding-top: var(--sp-lg);
  padding-bottom: var(--sp-lg);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.speechmark {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  padding-top: 10px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-2xl);
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  color: var(--on-dark);
  font-size: 16px;
  line-height: 20px;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.nav-links a:hover, .nav-links a.active { opacity: 1; }

.nav-links a.active {
  font-weight: 700;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
}

.nav-cta { margin-left: var(--sp-sm); }

.nav-cta .btn {
  font-size: 16px;
  padding: var(--sp-sm) var(--sp-xl);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--r-pill-md);
  padding: 4px 12px;
  font-size: 14px;
  text-decoration: none;
  color: var(--on-dark);
  transition: border-color 0.15s ease;
}
.lang-switch:hover { border-color: var(--on-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--on-dark);
  font-size: 28px;
  cursor: pointer;
  margin-left: auto;
}

/* ---------- Hero bands ---------- */

.hero-band-dark {
  background: var(--ink);
  color: var(--on-dark);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-band-dark::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(230,0,0,0.28) 0%, rgba(230,0,0,0) 70%);
  pointer-events: none;
}

.hero-band-red {
  background: var(--primary);
  color: var(--on-primary);
  padding: 80px 0 72px;
}

.hero-sub {
  max-width: 720px;
  margin-top: var(--sp-2xl);
  font-size: 22px;
  line-height: 32px;
  opacity: 0.9;
}

.hero-band-dark .btn-row, .hero-band-red .btn-row { margin-top: var(--sp-3xl); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  margin-top: var(--sp-3xl);
}

/* Page hero (subpages, smaller) */
.page-hero {
  background: var(--ink);
  color: var(--on-dark);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -220px;
  top: -220px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(230,0,0,0.25) 0%, rgba(230,0,0,0) 70%);
  pointer-events: none;
}
.page-hero .hero-sub { font-size: 20px; line-height: 30px; }

/* ---------- Content bands ---------- */

.band { padding: 88px 0; }
.band-soft { background: var(--canvas-soft); }
.band-dark { background: var(--ink); color: var(--on-dark); }
.band-red { background: var(--primary); color: var(--on-primary); }

.band-head {
  max-width: 820px;
  margin-bottom: 56px;
}
.band-head p {
  margin-top: var(--sp-lg);
  color: var(--body);
  font-size: 20px;
  line-height: 30px;
}
.band-dark .band-head p, .band-red .band-head p { color: rgba(255,255,255,0.85); }

/* ---------- Grids & cards ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2xl); }

.card {
  background: var(--canvas);
  border-radius: var(--r-card);
  padding: var(--sp-3xl);
}

.card-soft {
  background: var(--canvas-soft);
  border-radius: var(--r-card);
  padding: var(--sp-3xl);
}

.card h3 { margin-bottom: var(--sp-sm); }
.card p, .card-soft p { color: var(--body); font-size: 16px; line-height: 24px; }
.card-soft h3 { margin-bottom: var(--sp-sm); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--primary);
  color: var(--on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: var(--sp-xl);
}

.badge-chip {
  display: inline-block;
  background: var(--canvas-soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  border-radius: var(--r-pill-md);
  padding: var(--sp-xs) var(--sp-md);
}

.band-dark .badge-chip, .hero-band-dark .badge-chip, .page-hero .badge-chip {
  background: rgba(255,255,255,0.12);
  color: var(--on-dark);
}

/* ---------- Steps ---------- */

.step-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--sp-2xl);
  padding: var(--sp-3xl) 0;
  border-top: 1px solid var(--canvas-soft);
}
.step-row:last-child { border-bottom: 1px solid var(--canvas-soft); }

.step-num {
  width: 56px;
  height: 56px;
  border-radius: var(--r-full);
  background: var(--primary);
  color: var(--on-primary);
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-row h3 { margin-bottom: var(--sp-sm); }
.step-row p { color: var(--body); }
.step-row ul { margin: var(--sp-md) 0 0 20px; color: var(--body); }
.step-row li { margin-bottom: var(--sp-xs); }

/* ---------- Pricing ---------- */

.pricing-grid { align-items: stretch; }

.pricing-tier {
  background: var(--canvas-soft);
  border: 1px solid var(--mute);
  border-radius: var(--r-card);
  padding: var(--sp-3xl);
  display: flex;
  flex-direction: column;
}

.pricing-tier-featured {
  background: var(--ink);
  color: var(--on-dark);
  border-color: var(--ink);
}

.pricing-tier .price {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: var(--sp-lg) 0 var(--sp-xs);
}
.pricing-tier .price span { font-size: 18px; font-weight: 400; letter-spacing: 0; }

.pricing-tier ul {
  list-style: none;
  margin: var(--sp-2xl) 0;
  flex-grow: 1;
}
.pricing-tier li {
  padding: var(--sp-sm) 0;
  font-size: 16px;
  line-height: 24px;
  border-bottom: 1px solid rgba(190,190,190,0.35);
  padding-left: 28px;
  position: relative;
}
.pricing-tier li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 800;
  position: absolute;
  left: 0;
}
.pricing-tier-featured li::before { color: var(--on-dark); }

.pricing-tier .caption { color: var(--body); }
.pricing-tier-featured .caption { color: rgba(255,255,255,0.7); }

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid var(--canvas-soft);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: var(--sp-2xl) 0;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-lg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 28px;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body {
  padding: 0 0 var(--sp-2xl);
  color: var(--body);
  max-width: 900px;
}
.faq-item .faq-body p + p { margin-top: var(--sp-md); }

/* ---------- Tables ---------- */

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.data-table th {
  background: var(--canvas-soft);
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.57px;
  text-transform: uppercase;
  padding: var(--sp-md) var(--sp-lg);
}
.data-table td {
  padding: var(--sp-md) var(--sp-lg);
  border-bottom: 1px solid var(--canvas-soft);
  vertical-align: top;
}
.data-table td:first-child { font-weight: 700; white-space: nowrap; }

/* ---------- Stats ---------- */

.stat { text-align: left; }
.stat .num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
}
.stat .label { margin-top: var(--sp-sm); font-size: 16px; opacity: 0.85; }

/* ---------- Speechmark divider ---------- */

.orb-divider {
  display: flex;
  justify-content: center;
  padding: 56px 0;
}
.orb-divider .speechmark { width: 64px; height: 64px; font-size: 46px; padding-top: 16px; }
.orb-divider .orb-icon { width: 64px; height: 64px; }

/* ---------- CTA band ---------- */

.cta-band { text-align: left; }
.cta-band .btn-row { margin-top: var(--sp-3xl); }

/* ---------- Forms ---------- */

.form-card {
  background: var(--canvas-soft);
  border-radius: var(--r-card);
  padding: var(--sp-3xl);
}

.form-field { margin-bottom: var(--sp-xl); }
.form-field label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--sp-sm);
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  line-height: 20px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--ink);
  border-radius: var(--r-sm);
  padding: var(--sp-md) var(--sp-lg);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-3xl);
  padding-bottom: var(--sp-3xl);
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.footer h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.57px;
  text-transform: uppercase;
  margin-bottom: var(--sp-lg);
  opacity: 0.7;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: var(--sp-sm); }
.footer a { color: var(--on-dark); text-decoration: none; font-size: 16px; opacity: 0.85; }
.footer a:hover { opacity: 1; }

.footer-brandline {
  font-size: 16px;
  line-height: 24px;
  opacity: 0.7;
  margin-top: var(--sp-lg);
  max-width: 340px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-lg);
  padding-top: var(--sp-2xl);
  font-size: 14px;
  opacity: 0.6;
}

/* ---------- Misc ---------- */

.checklist { list-style: none; }
.checklist li {
  padding: var(--sp-sm) 0 var(--sp-sm) 32px;
  position: relative;
  font-size: 17px;
  line-height: 26px;
}
.checklist li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 800;
  position: absolute;
  left: 0;
}
.band-dark .checklist li::before { color: var(--on-dark); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mock-panel {
  background: var(--ink);
  border-radius: var(--r-card);
  padding: var(--sp-2xl);
  color: var(--on-dark);
  font-size: 14px;
  line-height: 22px;
}
.mock-panel .mock-bar {
  display: flex;
  gap: 6px;
  margin-bottom: var(--sp-lg);
}
.mock-panel .mock-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
}
.mock-panel .mock-bar span:first-child { background: var(--primary); }
.mock-panel code {
  font-family: "SF Mono", Menlo, monospace;
  font-size: 13px;
  white-space: pre-wrap;
  display: block;
  color: rgba(255,255,255,0.85);
}
.mock-panel .mock-red { color: #ff6b6b; }

/* ---------- Hero pipeline animation ---------- */

.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-anim { width: 100%; }

.anim-card {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--r-card);
  min-height: 300px;
}

.anim-stage {
  position: absolute;
  inset: var(--sp-2xl);
  opacity: 0;
  animation: stage-show 20s infinite;
}

@keyframes stage-show {
  0% { opacity: 0; transform: translateY(14px); }
  2.5% { opacity: 1; transform: translateY(0); }
  18% { opacity: 1; transform: translateY(0); }
  20%, 100% { opacity: 0; transform: translateY(-10px); }
}

.anim-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ff6b6b;
  margin-bottom: var(--sp-lg);
}

.anim-note {
  margin-top: var(--sp-md);
  font-size: 14px;
  line-height: 20px;
  color: rgba(255,255,255,0.6);
}

/* Stage 1 – prompt typing */
.anim-prompt {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-sm);
  padding: var(--sp-lg);
  font-family: "SF Mono", Menlo, monospace;
  font-size: 14px;
  line-height: 22px;
  color: #fff;
  min-height: 58px;
}

.anim-type {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: bottom;
  border-right: 2px solid var(--primary);
  width: 0;
  animation: typing 20s steps(40, end) infinite;
}

@keyframes typing {
  0%, 1% { width: 0; }
  10% { width: 100%; }
  19% { width: 100%; }
  20%, 100% { width: 0; }
}

/* Stage 2 – concept skeleton lines */
.anim-doc-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--sp-md);
  align-items: center;
  margin-bottom: var(--sp-md);
}

.anim-doc-key {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
}

.anim-line {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: rgba(255,255,255,0.28);
  transform: scaleX(0);
  transform-origin: left;
  animation: line-grow 20s ease infinite;
}

.anim-line.short { width: 65%; }

@keyframes line-grow {
  0%, 1% { transform: scaleX(0); }
  5% { transform: scaleX(1); }
  95% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}

/* Stage 3 – building block chips */
.anim-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.anim-chip {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  border-radius: var(--r-pill-md);
  padding: var(--sp-xs) var(--sp-md);
  opacity: 0;
  animation: pop-in 20s infinite;
}

@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.5); }
  1.5% { opacity: 1; transform: scale(1); }
  95% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.5); }
}

/* Stage 3 – Google ad being assembled */
.anim-ad {
  background: #fff;
  border-radius: var(--r-sm);
  padding: var(--sp-lg);
  margin-bottom: var(--sp-md);
}

.anim-ad-part {
  opacity: 0;
  animation: build-in 20s infinite;
}

@keyframes build-in {
  0% { opacity: 0; transform: translateY(10px) scale(0.96); }
  1.5% { opacity: 1; transform: translateY(0) scale(1); }
  95% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(10px) scale(0.96); }
}

.anim-ad-top {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.anim-ad-badge {
  font-size: 11px;
  font-weight: 700;
  color: #202124;
  border: 1px solid #dadce0;
  border-radius: 3px;
  padding: 0 4px;
  line-height: 16px;
}

.anim-ad-url {
  font-size: 12px;
  line-height: 16px;
  color: #202124;
}

.anim-ad-headline {
  color: #1a0dab;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  margin: 6px 0 4px;
}

.anim-ad-desc {
  font-size: 13px;
  line-height: 18px;
  color: #4d5156;
}

.anim-ad-sitelinks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
}

.anim-ad-sitelinks span {
  font-size: 12px;
  line-height: 18px;
  color: #1a0dab;
  border: 1px solid #dadce0;
  border-radius: var(--r-pill-md);
  padding: 2px 10px;
}

/* Stage 4 – publish progress */
.anim-bar {
  height: 10px;
  border-radius: 5px;
  background: rgba(255,255,255,0.15);
  overflow: hidden;
  margin-bottom: var(--sp-lg);
}

.anim-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--primary);
  animation: bar-fill 20s ease infinite;
}

@keyframes bar-fill {
  0%, 1% { width: 0; }
  7% { width: 100%; }
  95% { width: 100%; }
  100% { width: 0; }
}

/* Stage 4/5 – check rows */
.anim-check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  margin-bottom: var(--sp-sm);
  opacity: 0;
  animation: pop-in 20s infinite;
}

.anim-tick {
  color: #ff6b6b;
  font-weight: 800;
  flex-shrink: 0;
}

/* Progress dots */
.anim-dots {
  display: flex;
  justify-content: center;
  gap: var(--sp-sm);
  margin-top: var(--sp-lg);
}

.anim-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  animation: dot-active 20s infinite;
}

@keyframes dot-active {
  0% { background: rgba(255,255,255,0.25); }
  1% { background: var(--primary); }
  19% { background: var(--primary); }
  20%, 100% { background: rgba(255,255,255,0.25); }
}

@media (prefers-reduced-motion: reduce) {
  .anim-stage, .anim-type, .anim-line, .anim-chip,
  .anim-bar span, .anim-check, .anim-dots span { animation: none; }
  .anim-stage:first-of-type { opacity: 1; }
  .anim-stage:first-of-type .anim-type { width: 100%; }
  .anim-dots { display: none; }
}

/* ---------- Legal pages ---------- */

.legal { max-width: 820px; }
.legal h2 { margin-top: var(--sp-3xl); margin-bottom: var(--sp-md); }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: var(--sp-lg); line-height: 1.6; }
.legal ul { margin: 0 0 var(--sp-lg) 20px; line-height: 1.8; }
.legal a { color: var(--primary); }

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: var(--sp-3xl); }
  .hero-split { grid-template-columns: 1fr; gap: var(--sp-3xl); }
  .hero-anim { max-width: 560px; }
}

@media (max-width: 720px) {
  .container { padding-left: var(--sp-xl); padding-right: var(--sp-xl); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .band { padding: 56px 0; }
  .hero-band-dark { padding: 64px 0 56px; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--sp-2xl);
    gap: var(--sp-xl);
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  .nav-links.open { display: flex; }
  .step-row { grid-template-columns: 48px 1fr; gap: var(--sp-lg); }
  .step-num { width: 44px; height: 44px; font-size: 18px; }
  .data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  .display-hero { font-size: clamp(40px, 13vw, 56px); }
  .display-xl { font-size: clamp(34px, 10vw, 44px); }
  .hero-sub, .page-hero .hero-sub { font-size: 18px; line-height: 28px; }
  .pricing-tier .price { font-size: 40px; }

  .mock-panel { padding: var(--sp-lg); }
  .mock-panel code { font-size: 11px; line-height: 18px; overflow-x: auto; white-space: pre; }

  .btn { width: 100%; text-align: center; }
  .nav-links .btn { width: auto; }
}
