/* ==========================================================================
   Assisty marketing site — design system.
   Token block ported VERBATIM from atlas/frontend/src/app/globals.css (the
   Atlas Design System single source of truth). Parity is enforced by
   scripts/check_site.py against scripts/atlas-tokens.json — do not edit
   token values here; re-sync from Atlas via scripts/sync_tokens.py.
   ========================================================================== */
:root {
  /* --- Brand ramp (cyan) — anchor #59C8E4 = brand-400 -------------------- */
  --color-brand-50: #ECF8FC;
  --color-brand-100: #D4EFF7;
  --color-brand-200: #AEE2F0;
  --color-brand-300: #84D4E9;
  --color-brand-400: #59C8E4;
  --color-brand-500: #38B0CF;
  --color-brand-600: #2592B0;
  --color-brand-700: #1B7A95;
  --color-brand-800: #185F73;
  --color-brand-900: #154E5E;
  /* Accent cyan — accent ONLY (chips, badges, focus ring). NEVER used to
     color text — #00BCD4 on white is ~2.3:1 (fails WCAG AA). Checker-enforced. */
  --color-brand-cyan: #00BCD4;
  --color-brand-secondary: #faaf3b;
  --color-brand-dark: #12222D;
  --color-brand-charcoal: #2c4051;

  /* --- Neutral ramp — ink #12222D = neutral-900 -------------------------- */
  --color-neutral-white: #FFFFFF;
  --color-neutral-50: #F7F8F8;
  --color-neutral-100: #F1F2F3;
  --color-neutral-200: #E2E4E6;
  --color-neutral-300: #CDD1D4;
  --color-neutral-400: #A1A7AC;
  --color-neutral-500: #767D83;
  --color-neutral-600: #565D63;
  --color-neutral-700: #3A4147;
  --color-neutral-900: #12222D;

  /* --- Semantic — base / strong (AA text) / subtle (tint) ---------------- */
  --color-success: #4CA340;
  --color-success-strong: #2E7D32;
  --color-success-subtle: #EAF4E8;
  --color-warning: #E0A22E;
  --color-warning-strong: #9A6B12;
  --color-warning-subtle: #FBF1DC;
  --color-danger: #E0483D;
  --color-danger-strong: #C0392B;
  --color-danger-subtle: #FBE7E5;
  --color-info: #4A90C4;
  --color-info-strong: #2E6491;
  --color-info-subtle: #E7F0F8;

  /* --- Typography — Cabin; app scale around 13px body -------------------- */
  --font-family-sans: 'Cabin', 'Oxygen', system-ui, sans-serif;
  --font-size-base: 0.8125rem;
  --text-caption: 11px;
  --text-caption--line-height: 1.4;
  --text-caption--font-weight: 500;
  --text-small: 12px;
  --text-small--line-height: 1.5;
  --text-small--font-weight: 400;
  --text-body: 13px;
  --text-body--line-height: 1.55;
  --text-body--font-weight: 400;
  --text-body-strong: 13px;
  --text-body-strong--line-height: 1.55;
  --text-body-strong--font-weight: 600;
  --text-h3: 15px;
  --text-h3--line-height: 1.4;
  --text-h3--font-weight: 600;
  --text-h2: 18px;
  --text-h2--line-height: 1.3;
  --text-h2--font-weight: 600;
  --text-h1: 24px;
  --text-h1--line-height: 1.25;
  --text-h1--font-weight: 700;
  --text-display: 32px;
  --text-display--line-height: 1.15;
  --text-display--font-weight: 700;

  /* --- Shadows — ink-tinted elevation ------------------------------------ */
  --shadow-sm: 0 1px 2px rgba(18, 34, 45, 0.06);
  --shadow-md: 0 4px 10px rgba(18, 34, 45, 0.08);
  --shadow-lg: 0 12px 28px rgba(18, 34, 45, 0.12);

  /* --- Role tokens (light mode) ------------------------------------------ */
  --radius: 0.625rem;
  --background: #FFFFFF;
  --foreground: #12222D;
  --card: #FFFFFF;
  --card-foreground: #12222D;
  --primary: #1B7A95;
  --primary-foreground: #FFFFFF;
  --secondary: #faaf3b;
  --secondary-foreground: #12222D;
  --muted: #F1F2F3;
  --muted-foreground: #767D83;
  --accent: #F1F2F3;
  --accent-foreground: #12222D;
  --destructive: #E0483D;
  --border: #E2E4E6;
  --ring: var(--color-brand-cyan);

  /* --- Marketing extensions (NOT in the app scale — documented in spec):
         hero/display steps and page body copy sizes the app never needs. -- */
  --text-hero: 52px;
  --text-lead: 18px;
  --text-page-body: 16px;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-family-sans);
  font-size: var(--text-page-body);
  line-height: 1.6;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(34px, 5vw, var(--text-hero)); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.5vw, var(--text-display)); font-weight: var(--text-display--font-weight); }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--primary); }
a:hover { color: var(--color-brand-600); }

:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

.container { max-width: 1100px; margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 72px; }
.section-alt { background: var(--color-neutral-50); }
.section h2 { text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--muted-foreground); max-width: 640px; margin: 0 auto 40px; }

.eyebrow {
  font-size: var(--text-caption);
  font-weight: var(--text-caption--font-weight);
  line-height: var(--text-caption--line-height);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.lead { font-size: var(--text-lead); color: var(--color-neutral-600); }

/* ==========================================================================
   Buttons & chips
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: var(--color-brand-800); color: var(--primary-foreground); }
.btn-secondary { background: var(--background); color: var(--primary); border-color: var(--color-brand-300); }
.btn-secondary:hover { background: var(--color-brand-50); }

.chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--color-brand-200);
  background: var(--color-brand-50);
  color: var(--color-brand-800);
  font-family: inherit;
  font-size: var(--text-small);
  font-weight: 600;
  cursor: pointer;
}
.chip:hover { background: var(--color-brand-100); }
.chip-action { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }
.chip-action:hover { background: var(--color-brand-800); }
.chip-was-now { background: var(--color-neutral-50); border-color: var(--border); color: var(--foreground); }
.chip-was-now s { color: var(--muted-foreground); margin-right: 4px; }

.badge-soon {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--muted);
  color: var(--color-neutral-600);
  font-size: var(--text-caption);
  font-weight: var(--text-caption--font-weight);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ==========================================================================
   Cards & grids
   ========================================================================== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.two-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.teaser-card { display: flex; flex-direction: column; gap: 8px; }
.teaser-card h3 { margin: 0; font-size: 17px; }
.teaser-card p { color: var(--muted-foreground); font-size: 14px; flex-grow: 1; }
.teaser-card a { font-weight: 600; font-size: 14px; }
/* Pricing cards: the price is a .lead, not a muted description — restore its
   prominence and let the feature list (not the price) absorb spare height. */
.teaser-card .lead { flex-grow: 0; font-size: var(--text-lead); color: var(--color-neutral-600); }
.teaser-card .suggestion-list { flex-grow: 1; align-content: start; }

/* Pricing: Shopify-plan tab selector + centered 3-up plan grid */
.plan-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  background: var(--muted);
  border-radius: 999px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 36px;
}
.plan-tab {
  border: none;
  background: transparent;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-neutral-600);
  cursor: pointer;
}
.plan-tab.is-selected {
  background: var(--background);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 980px;
  margin-inline: auto;
  align-items: stretch;
}

/* Pricing cards — modeled on the live pricing page: name pill, display-size
   price, check-circle features, full-width bottom CTA; popular card in ink. */
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.price-tag {
  align-self: flex-start;
  margin: 0 0 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--color-brand-50);
  border: 1px solid var(--color-brand-200);
  color: var(--color-brand-800);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.price {
  margin: 0 0 4px;
  font-size: clamp(38px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.price-caption {
  color: var(--muted-foreground);
  font-size: 14px;
  margin-bottom: 20px;
}
.feature-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
  align-content: start;
}
.feature-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
}
.feature-list li::before {
  content: "\2713";
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--color-brand-400);
  color: var(--color-neutral-900);
  font-size: 10px;
  font-weight: 700;
  transform: translateY(2px);
}
.feature-list .feature-intro {
  color: var(--color-neutral-600);
  font-weight: 600;
}
.feature-list .feature-intro::before { content: none; }
.price-card-popular .feature-intro { color: var(--color-neutral-300); }
.price-cta {
  display: block;
  text-align: center;
  background: var(--primary);
  color: var(--primary-foreground);
}
.price-cta:hover { background: var(--color-brand-800); color: var(--primary-foreground); }

.price-card-popular {
  background: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
  color: var(--primary-foreground);
  padding-top: 64px;
  box-shadow: var(--shadow-lg);
}
.price-banner {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  margin: 0;
  padding: 8px 0;
  border-radius: var(--radius-sm);
  background: var(--color-brand-400);
  color: var(--color-neutral-900);
  text-align: center;
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.price-card-popular .price-tag {
  background: transparent;
  border: 1px solid var(--color-neutral-500);
  color: var(--primary-foreground);
}
.price-card-popular .price-caption { color: var(--color-neutral-300); }
.price-card-popular .feature-list { border-top-color: var(--color-neutral-700); }
.price-card-popular .feature-list li::before {
  background: var(--color-brand-400);
  color: var(--color-neutral-900);
}
.price-cta-accent { background: var(--color-brand-400); color: var(--color-neutral-900); }
.price-cta-accent:hover { background: var(--color-brand-300); color: var(--color-neutral-900); }

/* Atlas callout — AA body copy (muted-foreground is 4.17:1 on white; sitewide
   .section-sub usage is a tracked follow-up, not this rule's problem). */
.plan-callout {
  text-align: center;
  max-width: 640px;
  margin: 48px auto 0;
  color: var(--color-neutral-600);
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 40px;
}
.feature-block:nth-of-type(even) .feature-copy { order: 2; }
.feature-copy h3 { font-size: 24px; }
.feature-copy p { color: var(--color-neutral-600); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { counter-increment: step; }
.step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--color-brand-400);
  color: var(--color-neutral-900);
  font-weight: 700;
  margin-bottom: 12px;
}
.step h3 { font-size: 18px; }
.step p { color: var(--muted-foreground); font-size: 14px; }

.crosslinks { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ==========================================================================
   Vignettes — recreated product moments, built from the same tokens the
   real app renders with. In-vignette type uses the app scale (13px body).
   ========================================================================== */
.vignette {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-md);
  font-size: var(--text-body);
  line-height: var(--text-body--line-height);
  margin: 0;
}
.vignette p { margin-bottom: 0.6em; }

.chat { display: flex; flex-direction: column; gap: 10px; }
.bubble { border-radius: var(--radius-lg); padding: 10px 14px; max-width: 92%; }
.bubble-user { align-self: flex-end; background: var(--color-brand-50); border: 1px solid var(--color-brand-100); }
.bubble-bot { align-self: flex-start; background: var(--color-neutral-50); border: 1px solid var(--border); width: 100%; }

.mini-table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: var(--text-small); }
.mini-table th {
  text-align: left;
  font-weight: 600;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
  padding: 6px 8px;
}
.mini-table td { padding: 6px 8px; border-bottom: 1px solid var(--color-neutral-100); }
.mini-table td:not(:first-child), .mini-table th:not(:first-child) { text-align: right; }
.mini-table tfoot td { font-weight: 700; border-bottom: none; border-top: 2px solid var(--border); }
.mini-table td.cell-text, .mini-table th.cell-text { text-align: left; }
.trend-up { color: var(--color-success-strong); }
.trend-down { color: var(--color-danger-strong); }

.math-panel {
  background: var(--color-neutral-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  font-size: var(--text-small);
}
.math-title { font-weight: 700; margin-bottom: 8px; }
.math-row { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; }
.math-row span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.math-row.math-total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 8px; font-weight: 700; }

.finding {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: var(--color-warning-subtle);
  border-left: 3px solid var(--color-warning);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--color-warning-strong);
  font-weight: 600;
  font-size: var(--text-small);
  margin-bottom: 12px;
}

.suggestion-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.suggestion-list li {
  border: 1px solid var(--color-brand-100);
  background: var(--color-brand-50);
  border-radius: var(--radius-lg);
  padding: 9px 12px;
  color: var(--color-brand-800);
  font-weight: 500;
}
.sparkle { color: var(--color-brand-700); margin-right: 6px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.row-check {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--color-brand-700);
  border-radius: 3px;
  background: var(--color-brand-700);
  position: relative;
  vertical-align: middle;
}
.row-check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--primary-foreground);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.selection-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border-top: 2px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
}
.selection-summary { font-weight: 700; margin: 0; }
.selection-footer .chip-row { margin-top: 0; margin-left: auto; }

.vignette .math-panel + .finding { margin-top: 12px; margin-bottom: 0; }

/* Spacing utility — the only one; add more only when a third page needs it. */
.mt-48 { margin-top: 48px; }

/* Long-form prose (legal + about body) */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { text-align: left; font-size: 22px; margin-top: 40px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }

/* 3-up stat strip (About) */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stats strong { display: block; font-size: clamp(28px, 3vw, var(--text-display)); color: var(--primary); }

/* Home testimonials — AA deviation: figcaption uses neutral-600, not
   muted-foreground (4.17:1 on white), same rationale as .feature-intro /
   .plan-callout / .hero-proof. */
.quote-card { position: relative; margin: 0; padding-top: 44px; }
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  left: 22px;
  font-size: 56px;
  line-height: 1;
  font-weight: 700;
  color: var(--color-brand-200);
}
.quote-card blockquote { margin: 0 0 12px; }
.quote-card figcaption { color: var(--color-neutral-600); font-size: 14px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 72px 64px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-neutral-600);
  text-decoration: none;
}
.hero-proof:hover { color: var(--foreground); text-decoration: underline; }
.hero-proof .stars { color: var(--color-brand-secondary); letter-spacing: 2px; }

.browser-frame {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--card);
}
.browser-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--color-neutral-50);
  border-bottom: 1px solid var(--border);
}
.browser-frame-bar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-neutral-300);
}
.browser-frame-bar p {
  margin: 0 auto;
  padding: 2px 14px;
  border-radius: 999px;
  background: var(--color-neutral-100);
  color: var(--muted-foreground);
  font-size: var(--text-caption);
}
.browser-frame img { display: block; width: 100%; height: auto; }
.frame-link { text-align: center; margin-top: 20px; font-weight: 600; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--color-brand-700); color: var(--primary-foreground); text-align: center; padding-block: 64px; }
.cta-band h2 { color: var(--primary-foreground); }
.cta-band p { color: var(--color-brand-100); max-width: 560px; margin-inline: auto; }
.cta-band .btn-primary { background: var(--background); color: var(--color-brand-700); margin-top: 16px; }
.cta-band .btn-primary:hover { background: var(--color-brand-50); color: var(--color-brand-800); }

/* ==========================================================================
   Site chrome (header/footer injected by js/site.js)
   ========================================================================== */
.noscript-nav { padding: 12px 24px; background: var(--color-brand-50); margin: 0; }

.site-header { border-bottom: 1px solid var(--border); background: var(--background); }
.site-header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; }
.logo-full { width: 170px; height: 32px; }
.site-header nav { margin-left: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--color-neutral-600);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.nav-link:hover { color: var(--foreground); background: var(--color-neutral-50); }
.nav-link.is-current { color: var(--primary); font-weight: 600; }
.nav-cta { margin-left: 8px; padding: 9px 16px; font-size: 14px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--background);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
  cursor: pointer;
}

.nav-item-dropdown { position: relative; }
.nav-dropdown-toggle { border: none; background: transparent; cursor: pointer; font-family: inherit; }
.nav-dropdown-toggle::after { content: " \25BE"; font-size: 11px; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 6px 0 0;
  padding: 8px;
  list-style: none;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 50;
}
.nav-dropdown.is-open { display: block; }
.nav-dropdown .nav-link { display: block; }

.site-footer { border-top: 1px solid var(--border); background: var(--color-neutral-50); padding-block: 40px; }
.site-footer-inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.footer-tagline { color: var(--muted-foreground); font-size: 14px; margin-top: 8px; }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 6px 0 0; padding: 0; }
.footer-link { color: var(--color-neutral-600); font-size: 14px; text-decoration: none; }
.footer-link:hover { color: var(--primary); text-decoration: underline; }
.site-footer nav { margin-left: auto; }
.footer-copy { width: 100%; color: var(--muted-foreground); font-size: var(--text-small); margin: 8px 0 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero, .feature-block, .two-panel { grid-template-columns: 1fr; }
  .feature-block:nth-of-type(even) .feature-copy { order: 0; }
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav-toggle { display: inline-block; }
  .site-header nav { margin-left: 0; width: 100%; }
  .site-header-inner { flex-wrap: wrap; padding-block: 10px; }
  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-bottom: 12px;
  }
  .site-nav.is-open { display: flex; }
  .nav-cta { margin-left: 0; text-align: center; }
  .site-footer nav { margin-left: 0; }
  .nav-item-dropdown { position: static; }
  .nav-dropdown {
    position: static;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    margin: 0;
  }
}

@media (max-width: 700px) {
  .section { padding-block: 48px; }
  .hero { padding-block: 40px; }
  .teaser-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Reduced motion (same kill-switch as Atlas globals.css)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
