/* ============================================================
   Adslysuite — marketing site stylesheet
   Design tokens mirror the product's own design system (dark by
   default, Onyx & Ice palette, Archivo with expanded headings) so the site the
   visitor lands on looks like the app they're about to sign into.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@100..125,300..800&family=JetBrains+Mono:wght@400..600&display=swap');

/* ---------- Tokens ---------- */
:root {
  --font-sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                  Helvetica, Arial, sans-serif;
  --display-stretch: 125%;
  --font-display: 'Archivo', -apple-system, BlinkMacSystemFont,
                  'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --radius-full: 999px;

  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(.22,1,.36,1);
  --dur: .2s;

  --container: 1180px;
}

/* Dark theme (default) */
:root,
html[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-2: #131315;
  --bg-3: #1c1c1f;
  --bg-4: #2b2b2e;
  --bg-card: #131315;
  --bg-card-2: #18181b;
  --border: rgba(228,229,231,.085);
  --border-2: rgba(228,229,231,.16);

  --accent: #7fd3f7;
  --accent-h: #a3e0fa;
  --accent-ink: #0a0a0a;
  --accent-fg: #a3e0fa;
  --accent-dim: rgba(127,211,247,.12);
  --accent-glow: rgba(127,211,247,.24);
  --accent-rgb: 127,211,247;
  /* The one ice-blue hairline across the hero. */
  --signal: #7fd3f7;

  --green: #6ee7a8;
  --red: #ff7f6e;
  --amber: #f5c451;
  --blue: #8fa8ff;

  --text: #e4e5e7;
  --text-2: #c7c9cc;
  --text-3: #8a8c92;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.28), 0 2px 6px -2px rgba(0,0,0,.32);
  --shadow-md: 0 2px 4px rgba(0,0,0,.24), 0 8px 20px -8px rgba(0,0,0,.48);
  --shadow-lg: 0 4px 8px rgba(0,0,0,.24), 0 16px 36px -12px rgba(0,0,0,.55);
  --shadow-xl: 0 8px 16px rgba(0,0,0,.26), 0 28px 64px -20px rgba(0,0,0,.62);
  --ring: 0 0 0 3px rgba(127,211,247,.30);

  --hero-grid: rgba(228,229,231,.035);
  color-scheme: dark;
}

/* Light theme */
html[data-theme="light"] {
  --bg: #e4e5e7;
  --bg-2: #f4f5f6;
  --bg-3: #d9dadd;
  --bg-4: #cdced2;
  --bg-card: #f4f5f6;
  --bg-card-2: #fafafb;
  --border: rgba(10,10,10,.10);
  --border-2: rgba(10,10,10,.18);

  --accent: #0a0a0a;
  --accent-h: #2b2b2e;
  --accent-ink: #f4f5f6;
  --accent-fg: #0b5f86;
  --accent-dim: rgba(11,95,134,.10);
  --accent-glow: rgba(11,95,134,.20);
  --accent-rgb: 11,95,134;
  --signal: #7fd3f7;
  --hero-grid: rgba(10,10,10,.05);

  --green: #0e7a4a;
  --red: #b3362a;
  --amber: #8a5d00;
  --blue: #3b5bdb;

  --text: #0a0a0a;
  --text-2: #2b2b2e;
  --text-3: #5a5c62;

  --shadow-sm: 0 1px 2px rgba(17,17,22,.05), 0 2px 6px -2px rgba(17,17,22,.07);
  --shadow-md: 0 1px 3px rgba(17,17,22,.06), 0 8px 20px -8px rgba(17,17,22,.12);
  --shadow-lg: 0 2px 6px rgba(17,17,22,.06), 0 16px 36px -12px rgba(17,17,22,.16);
  --shadow-xl: 0 4px 10px rgba(17,17,22,.07), 0 28px 64px -20px rgba(17,17,22,.2);
  --ring: 0 0 0 3px rgba(11,95,134,.25);

  --hero-grid: rgba(17,17,22,.045);
  color-scheme: light;
}

/* Suppress transition flash on theme flip */
html.no-transition *, html.no-transition *::before, html.no-transition *::after {
  transition: none !important;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display); font-stretch: var(--display-stretch, 100%);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; color: var(--text-2); }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-fg);
  background: var(--accent-dim);
  border: 1px solid var(--accent-glow);
  border-radius: var(--radius-full);
  padding: 6px 14px;
}

.section {
  padding: 96px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 88px;
}
.section--tight { padding: 64px 0; }
.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head p { font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease-out), box-shadow .15s var(--ease), background .15s var(--ease), border-color .15s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--accent-h), var(--accent));
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm), var(--ring);
}
.btn-primary:hover { box-shadow: var(--shadow-md), var(--ring); transform: translateY(-1px); }
.btn-ghost {
  background: var(--bg-card);
  border-color: var(--border-2);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent-glow); background: var(--bg-3); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display); font-stretch: var(--display-stretch, 100%);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.01em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent-h), var(--accent));
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 550;
  color: var(--text-2);
  transition: color .15s var(--ease), background .15s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--bg-3); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-2);
  background: var(--bg-card);
  cursor: pointer;
  color: var(--text-2);
}
.theme-toggle:hover { color: var(--accent-fg); border-color: var(--accent-glow); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }

.nav-burger {
  display: none;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-2);
  background: var(--bg-card);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-burger svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 80px;
  overflow: hidden;
}
/* Brushed-metal hairlines, strongest top-right and fading left. This
   replaced a glow-plus-grid background that read as a stock SaaS hero. */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, var(--hero-grid) 0 1px, transparent 1px 4px);
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, black 75%);
  mask-image: linear-gradient(100deg, transparent 30%, black 75%);
}
/* One ice-blue line along the top edge: the signal colour, used once. */
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--signal) 60%, transparent);
}
.hero-inner { -webkit-mask-image: none; mask-image: none; position: relative; }
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(32px, 4.2vw, 50px);
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--accent-fg); }
.hero-sub {
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-note { font-size: 13.5px; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; }

.trust-row { margin-top: 40px; }
.trust-label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 14px; font-weight: 600; }
.trust-logos { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 13px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
}
.trust-chip svg { width: 15px; height: 15px; }

/* ---------- Hero visual: ledger card ---------- */
.hero-visual { position: relative; scroll-margin-top: 88px; padding-top: 24px; }
.ledger-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 22px;
  position: relative;
}
.ledger-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.ledger-card__head-title { font-family: var(--font-display); font-stretch: var(--display-stretch, 100%); font-weight: 700; font-size: 15px; }
.ledger-card__head-title span { color: var(--text-3); font-weight: 500; font-size: 12.5px; display: block; margin-top: 2px; }
.pill {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.pill-live { background: rgba(61,220,132,.14); color: var(--green); border: 1px solid rgba(61,220,132,.28); }
.ledger-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.ledger-row:last-child { border-bottom: none; padding-bottom: 0; }
.ledger-dot {
  width: 28px; height: 28px; border-radius: var(--radius-sm);
  display: grid; place-items: center; flex-shrink: 0; margin-top: 1px;
}
.ledger-dot svg { width: 14px; height: 14px; }
.ledger-dot--ok { background: rgba(61,220,132,.14); color: var(--green); }
.ledger-dot--wait { background: rgba(251,191,36,.14); color: var(--amber); }
.ledger-dot--block { background: rgba(255,107,107,.14); color: var(--red); }
.ledger-body { flex: 1; min-width: 0; }
.ledger-title { font-size: 13.5px; font-weight: 600; color: var(--text); }
.ledger-meta { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.ledger-tag {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-3); flex-shrink: 0; align-self: center;
}
/* Lifted above the card's top edge rather than overlapping into it: at
   top: -14px it sat on the header row and hid the Live pill. The visual's
   top padding keeps the raised badge clear of whatever sits above it. */
.float-badge {
  position: absolute;
  right: -14px; top: -34px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
}
.float-badge svg { width: 20px; height: 20px; color: var(--accent-fg); }
.float-badge b { display: block; font-size: 13px; font-family: var(--font-display); font-stretch: var(--display-stretch, 100%); }
.float-badge span { font-size: 11.5px; color: var(--text-3); }

/* ---------- Logo strip ---------- */
.logo-strip { padding: 34px 0; }
.logo-strip .container { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.logo-strip-item { display: flex; align-items: center; gap: 9px; color: var(--text-3); font-weight: 600; font-size: 14px; opacity: .85; }
.logo-strip-item svg { width: 18px; height: 18px; }

/* ---------- Feature grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px;
  transition: border-color .18s var(--ease), transform .18s var(--ease-out), box-shadow .18s var(--ease);
}
.card:hover { border-color: var(--border-2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--accent-dim);
  color: var(--accent-fg);
  margin-bottom: 16px;
}
.card-icon svg { width: 21px; height: 21px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14.5px; margin-bottom: 0; }
.card .tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--accent-fg);
  margin-bottom: 10px;
}

/* ---------- Positioning / translation table ---------- */
.translate-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.translate-row {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  padding: 20px 26px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.translate-row:last-child { border-bottom: none; }
.translate-left { color: var(--text-3); font-size: 14px; font-family: var(--font-mono, monospace); }
.translate-arrow { color: var(--accent-fg); display: flex; justify-content: center; }
.translate-arrow svg { width: 18px; height: 18px; }
.translate-right { color: var(--text); font-weight: 600; font-size: 15.5px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 38px; height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  display: grid; place-items: center;
  font-family: var(--font-display); font-stretch: var(--display-stretch, 100%); font-weight: 800; font-size: 15px;
  color: var(--accent-fg);
  margin-bottom: 16px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; }

/* ---------- Guardrails band ---------- */
.band {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.quote-card svg { width: 22px; height: 22px; color: var(--accent-fg); margin-bottom: 12px; }
.quote-card p { color: var(--text); font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.quote-card span { font-size: 12.5px; color: var(--text-3); }

/* ---------- Pricing ---------- */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 5px;
  margin: 0 auto 44px;
}
.pricing-toggle button {
  border: none;
  background: transparent;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: all .15s var(--ease);
}
.pricing-toggle button.active {
  background: linear-gradient(180deg, var(--accent-h), var(--accent));
  color: var(--accent-ink);
}
.save-badge {
  font-size: 11px; font-weight: 700; color: var(--green);
  background: rgba(61,220,132,.14); border-radius: var(--radius-full);
  padding: 2px 8px; margin-left: 6px;
}
.pricing-center { display: flex; justify-content: center; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent-glow);
  position: relative;
}
.plan-badge {
  position: absolute; top: -12px; left: 24px;
  background: linear-gradient(180deg, var(--accent-h), var(--accent));
  color: var(--accent-ink); font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: var(--radius-full);
  letter-spacing: .03em; text-transform: uppercase;
}
.plan-name { font-family: var(--font-display); font-stretch: var(--display-stretch, 100%); font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.plan-desc { font-size: 13px; color: var(--text-3); margin-bottom: 18px; min-height: 34px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan-price .amount { font-family: var(--font-display); font-stretch: var(--display-stretch, 100%); font-size: 36px; font-weight: 800; }
.plan-price .period { font-size: 13px; color: var(--text-3); }
.plan-spend { font-size: 12.5px; color: var(--text-3); margin-bottom: 22px; }
.plan-feats { margin-bottom: 24px; flex: 1; }
.plan-feats li {
  display: flex; gap: 9px; font-size: 13.5px; color: var(--text-2);
  padding: 7px 0;
}
.plan-feats svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.plan .btn { width: 100%; }
.pricing-foot { text-align: center; margin-top: 28px; font-size: 13.5px; color: var(--text-3); }

/* ---------- What it replaces ----------
   A grid, not a <table>, so it can stack on a phone the way .translate-row does.
   The price column is right-aligned and tabular so the eye can add it up; the two
   rows no tool sells are tinted, because they are the rows a competitor's version
   of this table cannot have. */
.stack-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
}
.stack-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 90px;
  gap: 20px;
  align-items: center;
  padding: 16px 26px;
  border-bottom: 1px solid var(--border);
}
.stack-row:last-child { border-bottom: none; }
.stack-head {
  padding-top: 14px; padding-bottom: 14px;
  background: var(--bg-2);
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-3);
}
.stack-what { color: var(--text); font-weight: 600; font-size: 15px; }
.stack-tools { color: var(--text-2); font-size: 14px; }
.stack-note { display: block; color: var(--text-3); font-size: 12.5px; margin-top: 2px; }
.stack-price {
  text-align: right;
  font-family: var(--font-display); font-stretch: var(--display-stretch, 100%);
  font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums;
  color: var(--text-2);
}
.stack-head .stack-price { font-family: inherit; font-size: inherit; font-weight: inherit; color: inherit; }
.stack-row--ours { background: var(--accent-dim); }
.stack-row--ours .stack-price { color: var(--text-3); }

.stack-total {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  max-width: 980px; margin: 18px auto 0;
}
.stack-total-cell {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px 26px;
}
.stack-total-cell--ours {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent-glow);
}
.stack-total-label { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.stack-total-amount {
  font-family: var(--font-display); font-stretch: var(--display-stretch, 100%);
  font-size: 34px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums;
}
.stack-total-amount small { font-size: 14px; font-weight: 500; color: var(--text-3); margin-left: 2px; }
.stack-total-cell:not(.stack-total-cell--ours) .stack-total-amount { color: var(--text-2); }
.stack-total-sub { font-size: 13.5px; color: var(--text-3); }
.stack-foot { max-width: 980px; margin: 18px auto 0; text-align: center; font-size: 12.5px; color: var(--text-3); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display); font-stretch: var(--display-stretch, 100%);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.faq-q svg { width: 18px; height: 18px; color: var(--text-3); flex-shrink: 0; transition: transform .2s var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--accent-fg); }
/* Animates grid rows from 0fr to 1fr instead of max-height: the old 300px
   cap clipped the longest answer on a phone, and any cap is a guess about
   how long the copy will get. */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s var(--ease);
}
.faq-a > .faq-a-inner { overflow: hidden; }
.faq-a-inner { padding: 0 4px; font-size: 14.5px; color: var(--text-2); transition: padding-bottom .25s var(--ease); }
.faq-item.open .faq-a-inner { padding-bottom: 20px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Final CTA ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 50% 0%, var(--accent-dim), transparent 65%),
    var(--bg-2);
  text-align: center;
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); }
.cta-band p { font-size: 17px; max-width: 520px; margin: 0 auto 32px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer { padding: 60px 0 32px; border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 13.5px; max-width: 260px; margin-top: 14px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); margin-bottom: 14px; }
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  padding: 6px 0;
  transition: color .15s var(--ease);
}
.footer-col a:hover { color: var(--accent-fg); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: var(--accent-fg); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 34px; height: 34px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-2);
  display: grid; place-items: center;
  color: var(--text-2);
}
.footer-socials a:hover { color: var(--accent-fg); border-color: var(--accent-glow); }
.footer-socials svg { width: 15px; height: 15px; }

/* ---------- Legal pages ---------- */
.legal-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--border); }
.legal-hero .eyebrow { margin-bottom: 16px; }
.legal-hero h1 { font-size: clamp(30px, 4vw, 42px); }
.legal-updated { font-size: 13.5px; color: var(--text-3); }
.legal-body { padding: 56px 0 96px; }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.legal-toc {
  position: sticky;
  top: 96px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.legal-toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); margin-bottom: 10px; }
.legal-toc a {
  display: block;
  font-size: 13.5px;
  color: var(--text-2);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: color .15s var(--ease), background .15s var(--ease);
}
.legal-toc a:hover, .legal-toc a.active { color: var(--accent-fg); background: var(--accent-dim); }
.legal-content h2 {
  font-size: 21px;
  margin-top: 44px;
  padding-top: 8px;
  scroll-margin-top: 96px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 16px; margin-top: 24px; color: var(--text); }
.legal-content p, .legal-content li { font-size: 15px; color: var(--text-2); }
.legal-content ul { margin: 0 0 16px; padding-left: 0; }
.legal-content li { display: flex; gap: 10px; padding: 4px 0; }
.legal-content li svg { width: 14px; height: 14px; color: var(--accent-fg); margin-top: 6px; flex-shrink: 0; }
.legal-content a.inline-link { color: var(--accent-fg); text-decoration: underline; text-underline-offset: 2px; }
.legal-note {
  background: var(--accent-dim);
  border: 1px solid var(--accent-glow);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--text);
  margin: 20px 0;
}
.legal-note b { color: var(--accent-fg); }
.placeholder { color: var(--accent-fg); font-weight: 600; }

/* ---------- Mobile nav ---------- */
.mobile-panel {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg);
  z-index: 90;
  padding: 24px;
  display: none;
  overflow-y: auto;
}
.mobile-panel.open { display: block; }
.mobile-panel a {
  display: block;
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-panel .hero-cta { margin-top: 24px; flex-direction: column; align-items: stretch; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* The links collapse into the menu at 1080, not 720: in between, links plus
   both buttons were wider than the viewport and the page scrolled sideways
   by 99px at 768. */
@media (max-width: 1080px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
  .grid-3, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}
/* On a phone the trial button pushed the menu button past the right edge, so
   the menu could not be opened. The panel carries its own trial button. */
@media (max-width: 480px) {
  .nav-actions .btn-primary { display: none; }
}
@media (max-width: 720px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-burger { display: flex; }
  .section { padding: 64px 0; }
  .grid-3, .grid-2, .quote-grid, .steps, .plans { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .translate-row { grid-template-columns: 1fr; text-align: left; }
  .translate-arrow { transform: rotate(90deg); justify-content: flex-start; padding: 4px 0; }
  .stack-head { display: none; }
  .stack-row { grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 18px; }
  .stack-what { grid-column: 1; }
  .stack-tools { grid-column: 1; grid-row: 2; }
  .stack-price { grid-column: 2; grid-row: 1 / span 2; }
  .stack-total { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Legal: sub-processor / disclosure tables ----------
   A sub-processor list is the thing a platform reviewer scans for, and a
   bulleted list of "name — purpose — location" triples is unreadable at the
   length this one runs to. Kept minimal so it inherits the legal body's type. */
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-3); font-weight: 600; }
.legal-table td { color: var(--text-2); }
.legal-table tr:last-child td { border-bottom: none; }
.legal-content .legal-table + p { margin-top: 0; }
@media (max-width: 560px) {
  .legal-table, .legal-table thead, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; }
  .legal-table thead { display: none; }
  .legal-table tr { border-bottom: 1px solid var(--border); padding: 8px 0; }
  .legal-table td { border-bottom: none; padding: 2px 0; }
  .legal-table td:first-child { color: var(--text); font-weight: 600; }
}
