/* MailSequence marketing implementation.
   Visual source: docs/design/Design_System, especially marketing-components.html. */

:root {
  color-scheme: light;
  --brand-50: #eff6ff; --brand-100: #dbeafe; --brand-200: #bfdbfe; --brand-300: #93c5fd;
  --brand-400: #60a5fa; --brand-500: #3b82f6; --brand-600: #2563eb; --brand-700: #1d4ed8;
  --brand-800: #1e40af; --brand-900: #1e3a8a; --brand-950: #172554;
  --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-200: #e2e8f0; --slate-300: #cbd5e1;
  --slate-400: #94a3b8; --slate-500: #64748b; --slate-600: #475569; --slate-700: #334155;
  --slate-800: #1e293b; --slate-900: #0f172a; --slate-950: #020617;
  --color-primary: #2563eb; --color-primary-hover: #1d4ed8;
  --color-primary-subtle: #eff6ff; --color-primary-strong: #1e40af;
  --color-accent: #2563eb; --color-accent-hover: #1d4ed8;
  --color-surface: #ffffff; --color-surface-raised: #ffffff; --color-surface-sunken: #f1f5f9;
  --color-border: #e2e8f0; --color-border-strong: #cbd5e1;
  --color-fg: #0f172a; --color-fg-muted: #334155; --color-fg-subtle: #475569;
  --color-success: #059669; --color-success-subtle: #ecfdf5; --color-success-strong: #047857;
  --color-warning: #f59e0b; --color-warning-subtle: #fffbeb; --color-warning-strong: #b45309;
  --color-danger: #dc2626; --color-danger-subtle: #fef2f2; --color-danger-strong: #b91c1c;
  --color-info: #0ea5e9; --color-info-subtle: #f0f9ff; --color-info-strong: #0369a1;
  --color-scrim: rgb(15 23 42 / .5);
  --color-selection-bg: #bfdbfe; --color-selection-fg: #172554;
  --font-ui: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --container-width: 1120px;
  --shadow-xs: 0 1px 2px rgb(15 23 42 / .05);
  --shadow-sm: 0 1px 3px rgb(15 23 42 / .08), 0 1px 2px rgb(15 23 42 / .04);
  --shadow-lg: 0 12px 30px -10px rgb(15 23 42 / .2);
}

[data-theme="dark"] {
  color-scheme: dark;
  --color-primary: #2563eb; --color-primary-hover: #1d4ed8;
  --color-primary-subtle: #172554; --color-primary-strong: #93c5fd;
  --color-accent: #60a5fa; --color-accent-hover: #93c5fd;
  --color-surface: #0f172a; --color-surface-raised: #1e293b; --color-surface-sunken: #020617;
  --color-border: #1e293b; --color-border-strong: #334155;
  --color-fg: #f8fafc; --color-fg-muted: #cbd5e1; --color-fg-subtle: #94a3b8;
  --color-success: #10b981; --color-success-subtle: #052e2b; --color-success-strong: #34d399;
  --color-warning: #f59e0b; --color-warning-subtle: #3a2a06; --color-warning-strong: #fbbf24;
  --color-danger: #ef4444; --color-danger-subtle: #3b1414; --color-danger-strong: #f87171;
  --color-info: #38bdf8; --color-info-subtle: #082f42; --color-info-strong: #7dd3fc;
  --color-scrim: rgb(2 6 23 / .7);
  --color-selection-bg: #1e40af; --color-selection-fg: #eff6ff;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  background: var(--color-surface);
  color: var(--color-fg-muted);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }
h1, h2, h3, h4 { color: var(--color-fg); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; }
strong { color: var(--color-fg); font-weight: 600; }
button, input, select, textarea { color: inherit; font: inherit; }
button { background: none; border: 0; cursor: pointer; }
input, select, textarea { min-height: 44px; border: 1px solid var(--color-border); border-radius: 6px; background: var(--color-surface); padding: 10px 12px; font-size: 1rem; }
input::placeholder, textarea::placeholder { color: var(--color-fg-subtle); }
input:focus, select:focus, textarea:focus { border-color: var(--color-primary); outline: 3px solid var(--brand-200); outline-offset: 0; }
::selection { background: var(--color-selection-bg); color: var(--color-selection-fg); }
:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 3px; }

.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; transform: translateY(-160%); border-radius: 6px; background: var(--color-primary); color: white; padding: 8px 12px; font-weight: 600; }
.skip-link:focus { transform: none; color: white; }

.container { width: min(100%, var(--container-width)); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: 780px; }
.section { padding-block: 88px; }
.section-tight { padding-block: 56px; }
.section-wash { background: var(--color-surface-sunken); border-block: 1px solid var(--color-border); }
.center { text-align: center; }
.center .section-lede { margin-inline: auto; }
.center h1 { margin-inline: auto; }
.center .btn-row { justify-content: center; }
.eyebrow { margin-bottom: 14px; color: var(--color-accent); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.section-title { margin-bottom: 16px; font-size: clamp(2rem, 3.4vw, 2.5rem); text-wrap: balance; }
.section-lede { max-width: 660px; margin-bottom: 8px; color: var(--color-fg-muted); font-size: 1.125rem; line-height: 1.65; }

.btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border: 1px solid transparent; border-radius: 6px; font-size: .9375rem; font-weight: 600; line-height: 1.25; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: .875rem; }
.btn-primary { background: var(--color-primary); color: white; box-shadow: var(--shadow-xs); }
.btn-primary:hover { background: var(--color-primary-hover); color: white; }
.btn-secondary { border-color: var(--color-border); background: var(--color-surface); color: var(--color-fg); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { background: var(--color-surface-sunken); border-color: var(--color-border-strong); color: var(--color-fg); }
.btn-ghost-dark { border-color: var(--slate-700); color: white; }
.btn-ghost-dark:hover { background: rgb(255 255 255 / .05); color: white; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--color-border); background: var(--color-surface); }
[data-theme="dark"] .site-header { background: var(--slate-900); }
.nav-inner { display: flex; height: 72px; align-items: center; gap: 16px; }
.brand { display: flex; flex: none; align-items: center; gap: 10px; color: var(--color-fg); font-size: 1.125rem; font-weight: 700; letter-spacing: -.025em; line-height: 1; }
.brand:hover { color: var(--color-fg); }
.brand-mark { width: 26px; height: 26px; object-fit: contain; }
.nav-links { display: flex; min-width: 0; flex: 1; align-items: center; gap: 2px; }
.nav-item, .nav-toggle { display: flex; min-height: 40px; align-items: center; border-radius: 6px; padding: 8px 10px; color: var(--color-fg-muted); font-size: .875rem; font-weight: 500; }
.nav-item:hover, .nav-toggle:hover, .nav-group.open > .nav-toggle { background: var(--color-surface-sunken); color: var(--color-fg); }
.nav-group { position: relative; }
.nav-toggle::after { content: ""; width: 7px; height: 7px; margin: -4px 2px 0 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .15s; }
.nav-group.open > .nav-toggle::after { margin-top: 3px; transform: rotate(225deg); }
.nav-dropdown { position: absolute; top: calc(100% + 16px); left: 0; display: none; min-width: 248px; padding: 8px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface-raised); box-shadow: var(--shadow-lg); }
.nav-dropdown::before { position: absolute; right: 0; bottom: 100%; left: 0; height: 17px; content: ""; }
.nav-group.open .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: 9px 10px; border-radius: 6px; color: var(--color-fg-muted); font-size: .875rem; font-weight: 500; line-height: 1.35; }
.nav-dropdown a:hover { background: var(--color-surface-sunken); color: var(--color-fg); }
.nav-megamenu { width: min(720px, calc(100vw - 48px)); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 24px; }
.nav-group.open .nav-megamenu { display: grid; }
.nav-heading { display: block; margin: 0 10px 8px; color: var(--color-fg-subtle); font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.theme-toggle { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border: 1px solid var(--color-border); border-radius: 6px; color: var(--color-fg-muted); transition: background-color .15s, border-color .15s, color .15s; }
.theme-toggle:hover { border-color: var(--color-border-strong); background: var(--color-surface-sunken); color: var(--color-fg); }
.theme-icon { width: 19px; height: 19px; }
.theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: block; }
.nav-actions { display: flex; flex: none; align-items: center; gap: 6px; }
.nav-cta-mobile, .nav-burger { display: none; }
.nav-burger { min-width: 44px; min-height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 6px; }
.nav-burger span { width: 20px; height: 2px; background: var(--color-fg); transition: transform .2s, opacity .2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero, .page-hero { border-bottom: 1px solid var(--color-border); background: var(--color-surface); }
.hero { padding-block: 88px 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { max-width: 720px; margin-bottom: 20px; font-size: clamp(2.75rem, 5.2vw, 4.25rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.04; text-wrap: balance; }
.hero-sub { max-width: 610px; margin-bottom: 28px; color: var(--color-fg-muted); font-size: 1.125rem; line-height: 1.65; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 22px; color: var(--color-fg-subtle); font-size: .8125rem; }
.provider-proof, .provider-name { display: inline-flex; align-items: center; line-height: 1; }
.provider-proof { flex-wrap: wrap; gap: 7px; }
.provider-name { justify-content: center; color: var(--color-fg-muted); font-weight: 500; }
.provider-mark { position: relative; display: inline-flex; width: 18px; height: 18px; flex: 0 0 18px; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--color-border); border-radius: 4px; background: #fff; box-shadow: var(--shadow-xs); line-height: 1; vertical-align: middle; }
.provider-google { color: #4285f4; font-size: .6875rem; font-weight: 800; line-height: 1; }
.provider-google::after { position: absolute; right: 2px; bottom: 2px; left: 2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #4285f4 0 25%, #ea4335 25% 50%, #fbbc05 50% 75%, #34a853 75%); content: ""; }
.provider-microsoft { display: grid; grid-template-columns: repeat(2, 5px); grid-template-rows: repeat(2, 5px); place-content: center; gap: 1px; }
.provider-microsoft i { width: 5px; height: 5px; }
.provider-microsoft i:nth-child(1) { background: #f25022; }
.provider-microsoft i:nth-child(2) { background: #7fba00; }
.provider-microsoft i:nth-child(3) { background: #00a4ef; }
.provider-microsoft i:nth-child(4) { background: #ffb900; }
.proof-item { position: relative; padding-left: 14px; }
.proof-item::before { position: absolute; left: 0; color: var(--color-success); content: "·"; }
.hero-illustration { position: relative; width: calc(100% + 56px); margin-inline: -28px; }
.hero-illustration::before { position: absolute; z-index: -1; inset: 14% 9%; border-radius: 50%; background: var(--color-primary-subtle); content: ""; filter: blur(48px); opacity: .68; }
.hero-illustration img { width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgb(15 23 42 / .12)); }
[data-theme="dark"] .hero-illustration::before { opacity: .42; }
[data-theme="dark"] .hero-illustration img { filter: drop-shadow(0 18px 28px rgb(2 6 23 / .45)); }
.page-hero { padding-block: 72px 60px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr); gap: 56px; align-items: center; }
.page-hero h1 { max-width: 850px; margin-bottom: 18px; font-size: clamp(2.5rem, 4.5vw, 3.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.06; text-wrap: balance; }
.page-hero .section-lede { max-width: 720px; margin-bottom: 28px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--color-fg-subtle); font-size: .8125rem; }
.breadcrumbs a { color: var(--color-fg-muted); }
.breadcrumbs a:hover { color: var(--color-accent); }
.intent-link-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.intent-link-card { position: relative; display: flex; min-height: 152px; flex-direction: column; padding: 22px 48px 22px 22px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); box-shadow: var(--shadow-xs); color: var(--color-fg); }
.intent-link-card:hover { border-color: var(--color-border-strong); color: var(--color-fg); transform: translateY(-2px); }
.intent-link-card span { margin-top: 8px; color: var(--color-fg-muted); font-size: .875rem; line-height: 1.5; }
.intent-link-card b { position: absolute; right: 20px; bottom: 20px; color: var(--color-accent); }
.intent-choice-card { display: flex; min-height: 260px; flex-direction: column; align-items: flex-start; padding: 24px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); box-shadow: var(--shadow-xs); color: var(--color-fg); }
.intent-choice-card:hover { border-color: var(--color-border-strong); color: var(--color-fg); transform: translateY(-2px); }
.intent-choice-card h3 { margin: 24px 0 10px; font-size: 1.2rem; }
.intent-choice-card p { color: var(--color-fg-muted); font-size: .9375rem; }
.intent-choice-card > strong { margin-top: auto; padding-top: 24px; color: var(--color-accent); font-size: .9rem; }
.intent-link-stack { display: grid; gap: 12px; }
.intent-link-stack a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); color: var(--color-fg); }
.intent-link-stack a:hover { border-color: var(--color-border-strong); color: var(--color-fg); }
.intent-link-stack span { color: var(--color-accent); font-size: .875rem; text-align: right; }
.intent-verdict { padding: 30px; }
.intent-verdict-primary { border-color: var(--brand-300); box-shadow: 0 0 0 1px var(--brand-200), var(--shadow-md); }
.intent-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.intent-brand img { width: 28px; height: 28px; object-fit: contain; }
.intent-brand h3 { font-size: 1.15rem; }
.intent-scorecard { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr); gap: 48px; align-items: center; padding: 36px; border: 1px solid var(--brand-300); border-radius: 8px; background: var(--color-primary-subtle); }
.intent-scorecard .eyebrow { display: block; margin-bottom: 12px; }
.intent-scorecard h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.intent-scorecard p { color: var(--color-fg-muted); }
.page-hero-illustration { position: relative; width: calc(100% + 32px); margin-inline: -16px; }
.page-hero-illustration::before { position: absolute; z-index: -1; inset: 15% 10%; border-radius: 50%; background: var(--color-primary-subtle); content: ""; filter: blur(44px); opacity: .65; }
.page-hero-illustration img { width: 100%; height: auto; filter: drop-shadow(0 16px 22px rgb(15 23 42 / .12)); }
[data-theme="dark"] .page-hero-illustration::before { opacity: .4; }
[data-theme="dark"] .page-hero-illustration img { filter: drop-shadow(0 18px 26px rgb(2 6 23 / .42)); }

.panel { overflow: hidden; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); box-shadow: var(--shadow-lg); }
.panel-head { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--color-border); background: var(--color-surface-sunken); color: var(--color-fg-subtle); font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.panel-body { padding-block: 4px; }
.kv-row { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 16px; font-size: .875rem; }
.kv-row + .kv-row { border-top: 1px solid var(--color-border); }
.panel-note { padding: 11px 16px 13px; border-top: 1px solid var(--color-border); color: var(--color-fg-subtle); font-size: .75rem; line-height: 1.5; }
.kv-key { color: var(--color-fg-muted); }
.kv-val { color: var(--color-fg); font-family: var(--font-mono); font-size: .8125rem; font-weight: 500; text-align: right; }
.kv-val.good { color: var(--color-success-strong); }
.kv-val.bad { color: var(--color-danger-strong); }
.kv-bar { position: relative; flex: 1; min-width: 60px; height: 4px; border-radius: 999px; background: var(--color-border); }
.kv-bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--color-primary); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .6875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-green { background: var(--color-success-subtle); color: var(--color-success-strong); }
.badge-red { background: var(--color-danger-subtle); color: var(--color-danger-strong); }
.badge-blue { background: var(--color-primary-subtle); color: var(--color-primary-strong); }

.replace-strip { padding-block: 28px; border-bottom: 1px solid var(--color-border); background: var(--color-surface-sunken); }
.replace-strip .container { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.replace-strip .label { color: var(--color-fg-subtle); font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.replace-strip .names { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 26px; }
.replace-strip .names span { color: var(--color-fg-subtle); font-size: 1.125rem; font-weight: 700; }
.replace-strip .competitor-name { display: inline-flex; align-items: center; gap: 9px; line-height: 1; }
.replace-strip .competitor-name img { display: block; width: 28px; height: 28px; flex: 0 0 28px; }
.band-navy { padding-block: 48px; border-block: 1px solid var(--slate-700); background: var(--slate-900); color: var(--slate-300); }
.band-navy .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.band-navy p { max-width: 650px; font-size: 1rem; }
.band-navy strong { color: white; }
.band-navy .btn-row { width: 100%; justify-content: center; }

.card { padding: 24px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); box-shadow: var(--shadow-xs); }
.card-title { margin: 12px 0 16px; font-size: 1.125rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.list-check, .list-cross { display: grid; gap: 12px; padding: 0; list-style: none; }
.list-check li, .list-cross li { position: relative; padding-left: 28px; font-size: .9375rem; }
.list-check li::before, .list-cross li::before { position: absolute; top: 2px; left: 0; display: grid; width: 20px; height: 20px; place-items: center; border-radius: 6px; font-size: .75rem; font-weight: 700; }
.list-check li::before { content: "✓"; background: var(--color-success-subtle); color: var(--color-success-strong); }
.list-cross li::before { content: "×"; background: var(--color-danger-subtle); color: var(--color-danger-strong); }
.card.feature-card { padding: 0; border: 0; background: transparent; box-shadow: none; }
.feature-card h3 { margin: 0 0 8px; font-size: 1.0625rem; }
.feature-card .feature-icon + h3 { margin-top: 16px; }
.feature-card p { font-size: .9375rem; }
.feature-card-spot { overflow: hidden; }
.card-spot-illustration { display: grid; height: 146px; margin-bottom: 20px; place-items: center; overflow: hidden; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface-sunken); }
.card-spot-illustration picture { display: contents; }
.card-spot-illustration img { width: 94%; height: 134px; object-fit: contain; filter: drop-shadow(0 8px 10px rgb(15 23 42 / .1)); }
[data-theme="light"] .card-spot-illustration img { width: 108%; height: 142px; }
[data-theme="dark"] .card-spot-illustration img { filter: drop-shadow(0 8px 12px rgb(2 6 23 / .45)); }
.card-spot-illustration[data-art-framing="tight"] img,
[data-theme="light"] .card-spot-illustration[data-art-framing="tight"] img { width: 122%; height: 174px; }
[data-theme="dark"] .card-spot-illustration[data-art-framing="tight"] img { transform: translateY(-19px); }
.feature-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 6px; background: var(--color-primary-subtle); color: var(--color-primary-strong); }
.illustration-icon { width: 58px; height: 58px; border: 1px solid var(--color-border); border-radius: 8px; background: linear-gradient(145deg, var(--color-surface), var(--color-primary-subtle)); box-shadow: var(--shadow-xs); }
.illustration-icon svg { width: 42px; height: 42px; overflow: visible; }
.feature-icon img { display: block; width: 24px; height: 24px; object-fit: contain; }
.audience-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.audience-card { display: grid; min-height: 300px; grid-template-columns: minmax(300px, 5fr) minmax(0, 7fr); overflow: hidden; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); box-shadow: var(--shadow-xs); }
.audience-card:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr); }
.audience-card-media { position: relative; display: grid; place-items: center; background: var(--color-surface); }
.audience-card-media::after { position: absolute; top: 17%; right: 0; width: 1px; height: 66%; background: linear-gradient(to bottom, transparent, var(--color-border) 22%, var(--color-border) 78%, transparent); content: ""; pointer-events: none; }
.audience-card:nth-child(even) .audience-card-media { order: 2; }
.audience-card:nth-child(even) .audience-card-media::after { right: auto; left: 0; }
.audience-card picture { display: contents; }
.audience-card img { width: 100%; height: 280px; padding: 18px 22px; object-fit: contain; filter: drop-shadow(0 12px 16px rgb(15 23 42 / .1)); }
.audience-card-body { display: flex; flex-direction: column; justify-content: center; padding: 34px 44px; }
.audience-card h3 { margin-bottom: 8px; font-size: 1.1875rem; }
.audience-card p { color: var(--color-fg-muted); font-size: .9375rem; }
.audience-benefits { display: grid; gap: 7px; margin-top: 16px; padding: 0; list-style: none; }
.audience-benefits li { position: relative; padding-left: 20px; color: var(--color-fg-muted); font-size: .875rem; }
.audience-benefits li::before { position: absolute; top: .48em; left: 0; width: 8px; height: 8px; border: 2px solid var(--color-primary); border-radius: 2px; content: ""; }
.audience-card-link { margin-top: 18px; font-size: .9rem; font-weight: 600; }
[data-theme="dark"] .audience-card img { filter: drop-shadow(0 14px 20px rgb(2 6 23 / .42)); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { counter-increment: step; padding: 24px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); }
.step::before { content: counter(step, decimal-leading-zero); display: inline-flex; min-width: 36px; height: 26px; align-items: center; justify-content: center; margin-bottom: 16px; border-radius: 6px; background: var(--color-primary-subtle); color: var(--color-primary-strong); font-family: var(--font-mono); font-size: .75rem; font-weight: 500; }
.step h3 { margin-bottom: 7px; font-size: 1.0625rem; }
.step p { font-size: .9rem; }
.steps-vertical { counter-reset: vstep; display: grid; }
.step-v { counter-increment: vstep; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; padding-block: 22px; }
.step-v + .step-v { border-top: 1px solid var(--color-border); }
.step-v::before { content: counter(vstep, decimal-leading-zero); display: grid; width: 44px; height: 44px; place-items: center; border-radius: 6px; background: var(--color-primary-subtle); color: var(--color-primary-strong); font-family: var(--font-mono); font-size: .8125rem; font-weight: 500; }
.step-v h3 { margin-bottom: 4px; font-size: 1.0625rem; }
.step-v p { font-size: .9375rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); box-shadow: var(--shadow-xs); }
table.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9rem; }
table.cmp th, table.cmp td { padding: 13px 16px; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
table.cmp thead th { background: var(--color-surface-sunken); color: var(--color-fg-subtle); font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td:first-child { color: var(--color-fg); font-weight: 500; }
table.cmp .col-hl { background: var(--color-primary-subtle); }
table.cmp thead th.col-hl { color: var(--color-primary-strong); }
.cell-yes { color: var(--color-success-strong); font-weight: 500; }
.cell-no { color: var(--color-fg-subtle); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 24px 20px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); box-shadow: var(--shadow-xs); }
.plan.featured { border-color: var(--color-primary); box-shadow: var(--shadow-lg); }
.plan .flag { position: absolute; top: -12px; left: 20px; padding: 4px 10px; border-radius: 999px; background: var(--color-primary); color: white; font-size: .625rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.plan h3 { color: var(--color-fg-muted); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; }
.plan .tagline { min-height: 2.6em; margin: 7px 0 18px; color: var(--color-fg-muted); font-size: .875rem; }
.plan .price { color: var(--color-fg); font-family: var(--font-mono); font-size: 2rem; font-weight: 500; letter-spacing: -.04em; }
.plan .price small { color: var(--color-fg-muted); font-family: var(--font-ui); font-size: .8125rem; font-weight: 500; letter-spacing: 0; }
.plan .btn { width: 100%; margin: 18px 0 20px; }
.plan ul { display: grid; gap: 9px; padding: 0; list-style: none; font-size: .875rem; }
.plan ul li { position: relative; padding-left: 24px; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--color-success-strong); font-weight: 700; }
.plan .extras { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--color-border); }
.plan .extras li::before { content: "+"; color: var(--color-fg-subtle); }
.included-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 28px; padding: 18px 22px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); font-size: .875rem; }
.included-strip .label { color: var(--color-success-strong); font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.faq-list { display: grid; gap: 12px; margin-top: 32px; }
.faq-item { overflow: hidden; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); }
.faq-item summary { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; color: var(--color-fg); cursor: pointer; font-size: .9875rem; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 24px; height: 24px; border-radius: 6px; background: var(--color-surface-sunken); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; background: var(--color-fg-subtle); transform: translate(-50%, -50%); transition: transform .2s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%); }
.faq-body { padding: 0 20px 18px; font-size: .9375rem; }

.final-cta { padding-block: 88px; border-block: 1px solid var(--slate-700); background: var(--slate-900); color: var(--slate-400); text-align: center; }
.final-cta h2 { max-width: 700px; margin: 0 auto 16px; color: white; font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 800; text-wrap: balance; }
.final-cta p { max-width: 580px; margin: 0 auto 30px; font-size: 1.125rem; }
.final-cta .btn-row { justify-content: center; }
.final-cta .btn-secondary { border-color: var(--slate-700); background: transparent; color: white; }
.final-cta .btn-secondary:hover { background: rgb(255 255 255 / .05); border-color: var(--slate-500); }

.site-footer { padding-block: 64px 28px; border-top: 1px solid var(--color-border); background: var(--color-surface); }
.footer-grid { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(5, minmax(110px, 1fr)); gap: 32px; }
.footer-brand p { max-width: 270px; margin-top: 16px; color: var(--color-fg-muted); font-size: .875rem; }
.footer-col { display: grid; align-content: start; gap: 8px; }
.footer-col h3 { margin-bottom: 6px; color: var(--color-fg-subtle); font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.footer-col a { color: var(--color-fg-muted); font-size: .8125rem; line-height: 1.4; }
.footer-col a:hover { color: var(--color-fg); }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--color-border); color: var(--color-fg-subtle); font-size: .75rem; }

.note { padding: 14px 16px; border-left: 3px solid var(--color-info); border-radius: 0 8px 8px 0; background: var(--color-info-subtle); color: var(--color-info-strong); font-size: .9rem; }
.note-warn { border-color: var(--color-warning); background: var(--color-warning-subtle); color: var(--color-warning-strong); }
.checklist-box { padding: 28px 30px; border: 1px solid var(--slate-700); border-radius: 8px; background: var(--slate-900); color: var(--slate-300); font-family: var(--font-mono); font-size: .8125rem; line-height: 2; box-shadow: var(--shadow-lg); }
.checklist-box .cl-title { margin-bottom: 10px; color: var(--brand-300); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; color: var(--color-fg-subtle); font-size: .8125rem; }
.guide-meta span { display: inline-flex; align-items: center; gap: 6px; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; align-items: start; }
.guide-body { min-width: 0; }
.guide-body > * + * { margin-top: 18px; }
.guide-body h2 { margin-top: 52px; font-size: clamp(1.65rem, 3vw, 2rem); }
.guide-body h3 { margin-top: 32px; font-size: 1.2rem; }
.guide-body ul, .guide-body ol { display: grid; gap: 10px; padding-left: 22px; }
.guide-body blockquote { padding: 18px 20px; border-left: 3px solid var(--color-primary); border-radius: 0 8px 8px 0; background: var(--color-primary-subtle); color: var(--color-primary-strong); font-weight: 500; }
.guide-body .table-wrap { margin-block: 26px; }
.code-block { overflow-x: auto; padding: 18px 20px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--slate-950); color: var(--slate-200); font-family: var(--font-mono); font-size: .875rem; line-height: 1.7; tab-size: 2; }
.code-block code { color: inherit; font: inherit; white-space: pre; }
.guide-aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.guide-aside .card { padding: 20px; }
.guide-aside h2 { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.guide-aside ul { display: grid; gap: 10px; margin-top: 14px; padding: 0; list-style: none; }
.guide-aside a { font-size: .875rem; font-weight: 500; }
.source-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.source-list li { padding: 14px 16px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); font-size: .9rem; }
.source-list a { font-weight: 600; }
.legal-body h2 { margin-top: 38px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body .section-title { font-size: 1.3rem; }
.legal-body h3 { margin-top: 24px; }
.legal-body p, .legal-body ul { margin-top: 12px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mb-32 { margin-bottom: 32px; }

@media (max-width: 1040px) {
  .nav-item, .nav-toggle { padding-inline: 7px; }
  .nav-actions .nav-item { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-illustration { width: min(680px, 100%); margin-inline: auto; }
  .hero-illustration { width: min(720px, 100%); margin-inline: auto; }
  .guide-layout { grid-template-columns: 1fr; gap: 40px; }
  .guide-aside { position: static; order: -1; }
  .intent-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .section { padding-block: 64px; }
  .hero { padding-block: 64px 56px; }
  .page-hero { padding-block: 56px 48px; }
  .grid-3, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-actions { margin-left: auto; }
  .theme-toggle { margin-left: auto; border-color: var(--color-border-strong); }
  .theme-toggle + .nav-actions { margin-left: 0; }
  .nav-actions .nav-item { display: flex; }
  .nav-burger { display: flex; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; display: none; max-height: calc(100dvh - 72px); overflow-y: auto; flex-direction: column; align-items: stretch; padding: 14px 20px calc(24px + env(safe-area-inset-bottom)); border-bottom: 1px solid var(--slate-700); background: var(--slate-900); box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .nav-group { width: 100%; }
  .nav-item, .nav-toggle { width: 100%; min-height: 44px; justify-content: space-between; padding-inline: 12px; color: var(--slate-300); }
  .nav-item:hover, .nav-toggle:hover, .nav-group.open > .nav-toggle { background: var(--slate-800); color: white; }
  .nav-dropdown, .nav-megamenu { position: static; width: auto; min-width: 0; margin: 0 0 6px; padding: 4px 0 8px 12px; border: 0; background: transparent; box-shadow: none; }
  .nav-dropdown::before { display: none; }
  .nav-group.open .nav-megamenu { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .nav-dropdown a { min-height: 44px; padding: 11px 12px; color: var(--slate-300); }
  .nav-dropdown a:hover { background: var(--slate-800); color: white; }
  .nav-heading { margin-top: 4px; color: var(--slate-400); }
  .nav-cta-mobile { display: grid; gap: 8px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--slate-700); }
  .nav-cta-mobile .btn { width: 100%; }
}

@media (max-width: 640px) {
  .container { padding-inline: 20px; }
  .nav-actions { display: none; }
  .hero h1 { font-size: clamp(2.5rem, 13vw, 3.35rem); }
  .hero-illustration { width: calc(100% + 24px); margin-inline: -12px; }
  .page-hero h1 { font-size: clamp(2.2rem, 11vw, 2.9rem); }
  .page-hero-illustration { width: calc(100% + 20px); margin-inline: -10px; }
  .grid-2, .grid-3, .grid-4, .steps, .audience-grid { grid-template-columns: 1fr; }
  .intent-link-grid, .intent-scorecard { grid-template-columns: 1fr; }
  .intent-scorecard { gap: 20px; padding: 24px; }
  .intent-link-stack a { align-items: flex-start; flex-direction: column; gap: 6px; }
  .intent-link-stack span { text-align: left; }
  .audience-card, .audience-card:nth-child(even) { min-height: 0; grid-template-columns: 1fr; }
  .audience-card-media, .audience-card:nth-child(even) .audience-card-media { order: 0; aspect-ratio: 4 / 3; }
  .audience-card-media::after, .audience-card:nth-child(even) .audience-card-media::after { top: auto; right: 14%; bottom: 0; left: 14%; width: auto; height: 1px; background: linear-gradient(to right, transparent, var(--color-border) 18%, var(--color-border) 82%, transparent); }
  .audience-card img { height: auto; max-height: 100%; padding: 12px; }
  .audience-card-body { padding: 22px; }
  .btn-row { align-items: stretch; flex-direction: column; }
  .btn-row .btn { width: 100%; white-space: normal; text-align: center; }
  .band-navy .btn-row { align-items: center; }
  .band-navy .btn-row .btn { width: min(100%, 280px); }
  .kv-row { align-items: flex-start; flex-wrap: wrap; }
  .kv-bar { flex-basis: 100%; order: 3; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .final-cta { padding-block: 64px; }
  .table-wrap { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  table.cmp, table.cmp tbody, table.cmp tr, table.cmp td { display: block; width: 100%; min-width: 0; }
  table.cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  table.cmp tbody { display: grid; gap: 12px; }
  table.cmp tr { overflow: hidden; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); box-shadow: var(--shadow-xs); }
  table.cmp td, table.cmp td:first-child { display: grid; grid-template-columns: minmax(110px, 40%) minmax(0, 1fr); gap: 12px; padding: 12px 14px; background: var(--color-surface); color: var(--color-fg-muted); font-weight: 400; }
  table.cmp td::before { content: attr(data-label); color: var(--color-fg-subtle); font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
  table.cmp td.col-hl { background: var(--color-primary-subtle); }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
