/* Cosmo Assist: site styles.
   BRAND: every colour, font and radius lives in :root below. Change them here. */
:root {
  /* Brand colours (provisional) */
  --primary: #3b3dd1;        /* indigo: links, icons, highlights */
  --primary-strong: #2a2ba6; /* indigo for text links (AA on white) */
  --primary-soft: #eceefe;   /* tinted backgrounds */
  --navy: #14163d;           /* dark sections, footer */
  --navy-2: #1e2152;
  --accent: #ff7c4d;         /* warm CTA background (used with dark text) */
  --accent-hover: #ff956d;
  --accent-ink: #14163d;     /* text on accent */

  /* Neutrals */
  --ink: #14163d;            /* headings */
  --text: #2d3050;           /* body text */
  --muted: #5a5e7d;          /* secondary text (AA on white and --bg) */
  --line: #e4e3ee;
  --bg: #fbfaf7;             /* page background (warm off-white) */
  --bg-alt: #f4f3fa;
  --surface: #ffffff;

  /* Status */
  --high: #b4233a; --high-bg: #fde8eb;
  --mid: #835400;  --mid-bg: #fff1d1;
  --low: #1f58a6;  --low-bg: #e4effd;
  --ok: #0f7a57;   --ok-bg: #e0f5ec;

  /* Type */
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Shape */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 61, .06), 0 1px 1px rgba(20, 22, 61, .04);
  --shadow: 0 12px 32px -12px rgba(20, 22, 61, .18), 0 2px 6px rgba(20, 22, 61, .05);
  --shadow-lg: 0 40px 80px -30px rgba(20, 22, 61, .35), 0 10px 24px -12px rgba(20, 22, 61, .15);
  --wrap: 1160px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.022em; font-weight: 750; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.4rem); letter-spacing: -.03em; line-height: 1.06; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.5rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--primary-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
::selection { background: #d9dcff; color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font: 650 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -8px rgba(255, 124, 77, .7); }
.btn-accent:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-strong); color: #fff; }
.btn-outline { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-strong); }
.btn-ghost { color: var(--ink); background: transparent; border-color: rgba(20, 22, 61, .14); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; }
.btn-sm { min-height: 40px; padding: .5em 1.05em; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: .85em 1.6em; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(20, 22, 61, .07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 780; font-size: 1.14rem; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.logo-mark { width: 32px; height: 32px; flex: none; }
.logo-bg { fill: var(--primary); }
.logo-ring { stroke: #fff; }
.logo-dot { fill: var(--accent); }
.brand-light { color: #fff; }
.brand-light:hover { color: #fff; }

.nav-desktop { display: none; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 560; font-size: .98rem; }
.nav-link:hover, .nav-link[aria-current] { background: rgba(20, 22, 61, .06); color: var(--ink); }
.has-sub { position: relative; }
.sub {
  position: absolute; left: -8px; top: calc(100% + 6px); width: 300px; list-style: none; margin: 0; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.sub a:hover, .sub a[aria-current] { background: var(--primary-soft); }
.sub strong { display: block; font-weight: 650; font-size: .97rem; }
.sub span { display: block; color: var(--muted); font-size: .87rem; }
.chev { opacity: .6; }

.nav-mobile { position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.nav-mobile summary::-webkit-details-marker { display: none; }
.burger { display: grid; gap: 5px; width: 20px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-mobile[open] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile[open] .burger span:nth-child(2) { opacity: 0; }
.nav-mobile[open] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-panel {
  position: fixed; left: 12px; right: 12px; top: 76px; padding: 18px; max-height: calc(100vh - 90px); overflow: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.nav-mobile-panel ul { list-style: none; margin: 0 0 12px; padding: 0; }
.nav-mobile-panel li a { display: block; padding: 12px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.nav-mobile-panel li a:hover, .nav-mobile-panel li a[aria-current] { background: var(--primary-soft); }
.nav-mobile-label { margin: 0 0 4px 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.nav-mobile-main { border-top: 1px solid var(--line); padding-top: 10px !important; }
@media (min-width: 900px) {
  .nav-desktop { display: flex; align-items: center; gap: 18px; }
  .nav-mobile { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-block: clamp(48px, 6vw, 72px); }
.section-alt { background: var(--bg-alt); }
.section-white { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--muted); line-height: 1.6; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .8rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-strong); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.center .eyebrow { justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(59, 61, 209, .16), rgba(59, 61, 209, 0)); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -10%; bottom: -30%; width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
  background: radial-gradient(closest-side, rgba(255, 124, 77, .13), rgba(255, 124, 77, 0)); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.hero-copy .lead { max-width: 560px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; font-size: .95rem; color: var(--muted); }
.hero-proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof .ico-check { color: var(--ok); }
.hero-visual { position: relative; }
.mock-toast { display: none; }
.mock-toast { position: absolute; z-index: 2; left: -36px; bottom: 6px; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; max-width: 340px;
  background: rgba(255, 255, 255, .96); border: 1px solid rgba(20, 22, 61, .08); border-radius: 16px; box-shadow: var(--shadow-lg); font-size: 13px; line-height: 1.35; }
.toast-ico .logo-mark { width: 36px; height: 36px; display: block; }
.toast-text b { display: block; color: var(--ink); font-weight: 650; }
.toast-text span { color: var(--muted); }
.toast-text em { font-style: normal; font-weight: 700; color: var(--ok); }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; }
  .hero-visual { padding: 0 24px 40px 0; }
  .mock-toast { display: flex; }
}
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: -15%; top: -55%; width: 70vw; height: 70vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(closest-side, rgba(59, 61, 209, .11), rgba(59, 61, 209, 0)); pointer-events: none;
}
.page-hero > .wrap { position: relative; }
.page-hero .lead { max-width: 680px; }
.page-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .page-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }

/* ---------- Mock UI (illustrations of the plugin) ---------- */
.mock { margin: 0; background: var(--surface); border: 1px solid rgba(20, 22, 61, .1); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 14px; line-height: 1.45; color: #23263f; text-align: left; }
.mock b { color: var(--ink); font-weight: 650; }
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: #f3f3f7; border-bottom: 1px solid #e7e7ef; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #d9d9e3; }
.dots i:first-child { background: #ff8b80; } .dots i:nth-child(2) { background: #ffcd5c; } .dots i:nth-child(3) { background: #5fd38a; }
.mock-url { font-size: 12px; color: #5a5e7d; background: #fff; border-radius: 6px; padding: 3px 10px; border: 1px solid #e6e6ee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-body { padding: 16px; }
@media (min-width: 640px) { .mock-body { padding: 20px; } }
.mock-tabs { display: flex; gap: 4px; margin-bottom: 14px; border-bottom: 1px solid #ececf3; }
.mock-tabs span { padding: 6px 12px; font-size: 13px; color: #5a5e7d; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.mock-tabs .is-on { color: var(--ink); font-weight: 650; border-color: var(--primary); }
.score-card { display: flex; gap: 18px; align-items: center; padding: 14px; border: 1px solid #ececf3; border-radius: 14px; margin-bottom: 12px; background: linear-gradient(180deg, #fff, #fafaff); }
.score-ring { position: relative; flex: none; width: 96px; height: 96px; }
.score-ring svg { width: 96px; height: 96px; }
.ring-track { fill: none; stroke: #ececf6; stroke-width: 11; }
.ring-value { fill: none; stroke: var(--primary); stroke-width: 11; stroke-linecap: round; }
.score-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.score-num b { font-size: 30px; letter-spacing: -.03em; }
.score-num small { font-size: 11px; color: #6b6f8c; margin-top: 3px; }
.score-meta p { margin: 0 0 3px; font-size: 13px; color: #4b4f6e; }
.trend-up { display: inline-flex; align-items: center; gap: 5px; color: var(--ok) !important; font-weight: 650; }
.prio-counts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px !important; }
.badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 650; line-height: 1.5; white-space: nowrap; }
.b-high { background: var(--high-bg); color: var(--high); }
.b-mid { background: var(--mid-bg); color: var(--mid); }
.b-low { background: var(--low-bg); color: var(--low); }
.issue { border: 1px solid #ececf3; border-radius: 12px; margin-bottom: 8px; background: #fff; }
.issue-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.issue-head b { flex: 1; min-width: 0; font-size: 13.5px; }
.count { font-size: 12px; color: #6b6f8c; white-space: nowrap; }
.issue.is-open { border-color: #d6d8fb; box-shadow: 0 6px 18px -10px rgba(59, 61, 209, .35); }
.issue-body { padding: 0 12px 12px; font-size: 13px; color: #3f4363; }
.issue-body p { margin: 0 0 6px; }
.steps-mini { margin: 0 0 10px; padding-left: 20px; }
.steps-mini li { margin-bottom: 1px; }
.issue-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.mbtn { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 8px; border: 1px solid #dcdcea; font-size: 12.5px; font-weight: 600; color: var(--ink); background: #fff; white-space: nowrap; }
.mbtn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.mbtn-ghost { border-color: transparent; color: #5a5e7d; }
.mbtn-sm { padding: 4px 9px; font-size: 12px; }

.mock-email { padding: 16px; font-size: 13px; border-radius: 18px; }
.email-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.email-from { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); }
.email-from .logo-mark { width: 20px; height: 20px; }
.email-time { font-size: 11px; color: #6b6f8c; }
.email-sub { margin: 0 0 4px; color: #4b4f6e; }
.email-score { margin: 0 0 8px; display: flex; align-items: baseline; gap: 4px; }
.email-score b { font-size: 32px; letter-spacing: -.03em; line-height: 1; }
.email-score small { color: #6b6f8c; font-weight: 650; }
.trend-chip { margin-left: 8px; align-self: center; font-size: 12px; font-weight: 700; color: var(--ok); background: var(--ok-bg); padding: 1px 8px; border-radius: 999px; }
.email-h { margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.email-list { list-style: none; margin: 0 0 12px; padding: 0; }
.email-list li { border-left: 3px solid #d6283f; padding: 2px 0 2px 9px; margin-bottom: 7px; line-height: 1.35; }
.email-list li.mid { border-color: #e2a019; }
.email-list span { color: #6b6f8c; }
.email-list small { display: block; color: #6b6f8c; font-size: 11px; }
.email-cta { justify-content: center; width: 100%; padding: 8px; }

.mock-chart { padding: 18px; }
.chart-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.chart-kw { margin: 0 0 4px; font-weight: 700; color: var(--ink); font-size: 16px; }
.chart-sub { margin: 0; font-size: 12.5px; color: #5a5e7d; }
.chart-sub u { color: var(--primary-strong); text-decoration-color: rgba(59, 61, 209, .35); }
.chart-pos { margin: 0; text-align: right; line-height: 1; }
.chart-pos b { display: block; font-size: 40px; letter-spacing: -.04em; }
.chart-pos span { font-size: 12px; color: #5a5e7d; }
.chart-svg { display: block; width: 100%; height: auto; }
.chart-grid line { stroke: #ececf3; stroke-width: 1; }
.chart-axis text { font: 10px var(--font); fill: #6b6f8c; text-anchor: end; }
.chart-x text { text-anchor: middle; }
.chart-x text:last-child { text-anchor: end; }
.chart-x text:first-child { text-anchor: start; }
.chart-area { fill: rgba(59, 61, 209, .1); }
.chart-line { fill: none; stroke: var(--primary); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart-dots circle { fill: #fff; stroke: var(--primary); stroke-width: 2; }
.chart-dots .last { fill: var(--primary); stroke: #fff; stroke-width: 2.5; }

.woo-row { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f0f5; }
.woo-row:last-child { border-bottom: 0; }
.woo-row > .mbtn { display: none; }
.woo-row b { font-size: 13.5px; }
.woo-row p { margin: 3px 0 0; display: flex; flex-wrap: wrap; gap: 4px; }
.woo-thumb { width: 40px; height: 40px; border-radius: 9px; background: linear-gradient(135deg, #e9d7c5, #c99b74); }
.woo-thumb.t0 { background: repeating-linear-gradient(45deg, #f3f3f7 0 6px, #e8e8f0 6px 12px); border: 1px dashed #c9c9d8; }
.woo-thumb.t2 { background: linear-gradient(135deg, #f7e2b3, #e7a85b); }
.woo-thumb.t3 { background: linear-gradient(135deg, #cfd5e6, #6f7aa1); }
.chip { font-size: 11.5px; font-weight: 600; padding: 1px 8px; border-radius: 999px; }
.chip-high { background: var(--high-bg); color: var(--high); }
.chip-mid { background: var(--mid-bg); color: var(--mid); }
.chip-low { background: var(--low-bg); color: var(--low); }
@media (min-width: 520px) { .woo-row { grid-template-columns: 40px 1fr auto; } .woo-row > .mbtn { display: inline-flex; } }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px; background: var(--primary-soft); color: var(--primary-strong); font-weight: 800; font-size: 1.1rem; }
.step h3 { margin-bottom: .4em; }
.step p { margin: 0; color: var(--muted); }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Feature grid ---------- */
.features { display: grid; gap: 16px; }
.feature { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .2s, box-shadow .2s; }
.feature:hover { border-color: #d3d5f6; box-shadow: var(--shadow); }
.feature h3 { margin-bottom: .35em; font-size: 1.12rem; }
.feature p { margin: 0; color: var(--muted); font-size: 1rem; }
.feature-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.feature-ico svg { width: 22px; height: 22px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- Split rows (text + visual) ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split + .split { margin-top: clamp(64px, 9vw, 112px); }
@media (min-width: 940px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split.reverse > :first-child { order: 2; }
}
.split-visual { position: relative; }
.split-visual::before { content: ""; position: absolute; inset: 8% -4% -6% 8%; border-radius: 32px; background: linear-gradient(135deg, var(--primary-soft), #fff1ea); z-index: 0; }
.split-visual > * { position: relative; z-index: 1; }
.ticks { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico-check { flex: none; margin-top: 4px; color: var(--ok); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Dark band ---------- */
.dark { background: var(--navy); color: #c9cbe6; position: relative; overflow: hidden; }
.dark::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; background: radial-gradient(closest-side, rgba(110, 112, 255, .25), rgba(110, 112, 255, 0)); }
.dark > .wrap { position: relative; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: #b9bcff; }
.dark .lead { color: #c9cbe6; }
.dark a { color: #fff; }
.compare { display: grid; gap: 16px; margin-top: 8px; }
.compare-card { padding: 26px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.compare-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.compare-card ul { margin: 0; padding-left: 1.1em; }
.compare-card li { margin-bottom: 6px; }
.pill-ok { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(95, 211, 138, .16); color: #7be3a4; }
.pill-ai { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(185, 188, 255, .16); color: #c3c5ff; }
@media (min-width: 820px) { .compare { grid-template-columns: 1fr 1fr; } }

/* ---------- Privacy strip ---------- */
.privacy-grid { display: grid; gap: 16px; }
.privacy-card { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.privacy-card h3 { font-size: 1.05rem; display: flex; gap: 10px; align-items: center; }
.privacy-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); }
.privacy-card li { display: flex; gap: 10px; }
.privacy-card.yes .ico-check { color: var(--ok); flex: none; margin-top: 4px; }
.x-ico { flex: none; margin-top: 4px; color: var(--high); }
@media (min-width: 820px) { .privacy-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.plan-featured { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.plan-tag { position: absolute; top: -13px; left: 24px; margin: 0; padding: 3px 12px; border-radius: 999px; background: var(--primary); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.plan-name { font-size: 1.4rem; margin-bottom: .15em; }
.plan-for { color: var(--muted); margin-bottom: 18px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; }
.plan-price b { font-size: 2.6rem; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.plan-price span { color: var(--muted); font-size: .95rem; }
.plan-list { list-style: none; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.plan-list .ico-check { flex: none; margin-top: 4px; color: var(--primary); }
.plan-list b { color: var(--ink); }
.plan-no { color: var(--muted); padding-left: 28px; font-size: .92rem !important; }
.plans-note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 22px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } .plan-featured { transform: translateY(-10px); } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .98rem; }
.compare-table caption { text-align: left; padding: 18px 20px 4px; font-weight: 700; color: var(--ink); }
.compare-table th, .compare-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { font-size: .95rem; color: var(--ink); background: var(--bg-alt); }
.compare-table tbody th { font-weight: 550; color: var(--text); }
.compare-table td { color: var(--ink); }
.compare-table tr:last-child > * { border-bottom: 0; }
.compare-table .yes { color: var(--ok); font-weight: 650; }
.compare-table .no { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 22px; font-weight: 650; color: var(--ink); font-size: 1.04rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-strong); font-weight: 600; font-size: 1.2rem; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > div { padding: 0 22px 18px; color: var(--muted); }
.faq-item > div p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #c9cbe6; padding-block: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 50%; top: -60%; width: 900px; height: 900px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 124, 77, .2), rgba(255, 124, 77, 0)); }
.cta-band-inner { position: relative; display: grid; gap: 28px; align-items: center; }
.cta-band h2 { color: #fff; max-width: 640px; }
.cta-band p { margin: 0; max-width: 600px; font-size: 1.1rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 980px) { .cta-band-inner { grid-template-columns: 1.4fr auto; } }

/* ---------- Teaser / misc ---------- */
.help-note { display: flex; gap: 12px; align-items: flex-start; max-width: 720px; margin: 32px auto 0; padding: 16px 20px; border-radius: var(--r); background: var(--primary-soft); color: var(--ink); }
.help-note svg { flex: none; color: var(--primary); margin-top: 3px; }
.help-note a { font-weight: 650; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.kpis li { padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.kpis b { display: block; color: var(--ink); font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.2; }
.kpis span { color: var(--muted); font-size: .92rem; }
.callout { padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); border-left: 4px solid var(--accent); }
.callout p:last-child { margin: 0; }
.roadmap-strip { display: grid; gap: 22px; align-items: center; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.roadmap-strip h2 { font-size: 1.5rem; margin-bottom: .3em; }
.roadmap-strip p { margin: 0; color: var(--muted); }
.vote { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-size: .95rem; }
.vote span { flex: 1; color: var(--ink); font-weight: 600; }
.vote .mbtn { color: var(--primary-strong); border-color: #cfd1f7; }
.votes { display: grid; gap: 8px; }
@media (min-width: 900px) { .roadmap-strip { grid-template-columns: 1fr 1fr; padding: 36px; } }

/* ---------- Content pages (guides, legal) ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }
.prose { max-width: 720px; margin-inline: auto; font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.85rem); margin-top: 2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--primary); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose code { font-family: var(--font-mono); font-size: .9em; background: var(--bg-alt); padding: .1em .35em; border-radius: 5px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); background: var(--bg-alt); }
.prose .table-scroll { overflow-x: auto; }
.prose .callout { margin: 1.6em 0; }
.prose-cta { margin-top: 2.6em; padding: 28px; border-radius: var(--r-lg); background: var(--navy); color: #c9cbe6; }
.prose-cta h2 { color: #fff; margin-top: 0; font-size: 1.45rem; }
.prose-cta p { margin-bottom: 1.2em; }
.prose-cta .btn { margin: 4px 8px 0 0; }
.prose-cta a:not(.btn) { color: #fff; }
.article-meta { color: var(--muted); font-size: .95rem; margin: 0; }
.article-head { max-width: 720px; margin-inline: auto; }
.article-head h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); }
.toc { margin: 0 0 2em; padding: 18px 22px; border-radius: var(--r); background: var(--bg-alt); font-size: .98rem; }
.toc p { margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.toc ol { margin: 0; padding-left: 1.2em; }

.guide-list { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.guide-card { height: 100%; display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s, transform .2s; }
.guide-card:hover { border-color: #d3d5f6; box-shadow: var(--shadow); transform: translateY(-2px); }
.guide-card h2, .guide-card h3 { font-size: 1.25rem; margin-bottom: .4em; }
.guide-card h2 a, .guide-card h3 a { color: var(--ink); text-decoration: none; }
.guide-card h2 a::after, .guide-card h3 a::after { content: ""; position: absolute; inset: 0; }
.guide-card { position: relative; }
.guide-card p { color: var(--muted); margin-bottom: 14px; }
.guide-tag { align-self: flex-start; margin-bottom: 14px; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-strong); }
.guide-more { margin-top: auto; font-weight: 650; color: var(--primary-strong); }
@media (min-width: 760px) { .guide-list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Form ---------- */
.form-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .form-layout { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.form-card { padding: clamp(22px, 4vw, 36px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; margin-bottom: 6px; font-weight: 650; color: var(--ink); font-size: .98rem; }
.field .opt { font-weight: 450; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cfd0dd; border-radius: 12px; background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%2314163d' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(59, 61, 209, .15); }
.field .hint { margin: 6px 0 0; font-size: .88rem; color: var(--muted); }
.field .field-error { display: none; margin: 6px 0 0; font-size: .9rem; color: var(--high); font-weight: 600; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--high); }
.field.has-error .field-error { display: block; }
.field .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 450 !important; }
.check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--primary); }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin-bottom: 22px; padding: 16px 18px; border-radius: 12px; background: var(--high-bg); color: #7d1426; border: 1px solid #f3c2ca; }
.form-alert[hidden] { display: none; }
.form-alert p { margin: 0 0 4px; }
.form-alert strong { color: #7d1426; }
.form-alert ul { margin: 6px 0 0; padding-left: 1.2em; }
.form-foot { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.trial-points { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 16px; }
.trial-points li { display: flex; gap: 14px; }
.trial-points .num { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--primary-soft); color: var(--primary-strong); font-weight: 800; }
.trial-points b { display: block; color: var(--ink); }
.trial-points span { color: var(--muted); }
.req-box { padding: 18px 20px; border-radius: var(--r); background: var(--bg-alt); font-size: .97rem; }
.req-box p { margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.req-box ul { margin: 0; padding-left: 1.2em; color: var(--muted); }

.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.center-page .lead { max-width: 560px; margin-inline: auto; }
.center-page .hero-actions { justify-content: center; }
.big-num { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: var(--primary); margin: 0 0 10px; }
.done-ico { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--ok-bg); color: var(--ok); margin-bottom: 24px; }


/* ---------- Small helpers ---------- */
.center-link { text-align: center; margin: 36px 0 0; color: var(--muted); }
.h-small { font-size: 1.5rem; margin-bottom: 22px; }
.page-hero-center .section-head { margin-bottom: 0; }
.page-hero-center .crumbs ol { justify-content: center; }
.pricing-section { padding-top: 12px; }
.req-box-spaced { margin-top: 24px; }
.note-after { margin-top: 20px; color: var(--muted); }
.links-404 { margin-top: 28px; color: var(--muted); }
.form-layout h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.form-title { font-size: 1.4rem; margin-bottom: 20px; }
.callout h3 { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9bcd8; padding: 64px 0 28px; font-size: .97rem; }
.site-footer a { color: #e4e5f5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(2, 1fr); }
.footer-brand { grid-column: 1 / -1; max-width: 380px; }
.footer-brand p { margin: 14px 0 0; }
.footer-help a { font-weight: 650; text-decoration: underline; }
.footer-title { margin: 0 0 12px; color: #fff; font-weight: 700; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; color: #a3a6c8; }
.footer-bottom p { margin: 0 0 4px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.footer-bottom a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); }
