/* Websight site. Tokens mirror the extension's ui.css (indigo brand, light and dark).
   WCAG 2.2 AA contrast, visible focus, reduced motion honoured, no external fonts. */
:root {
  color-scheme: light dark;
  --brand: #4f46e5; --brand-strong: #4338ca; --brand-soft: #eef2ff; --brand-fg: #ffffff; --brand-deep: #312e81;
  --bg: #f6f7fb; --surface: #ffffff; --surface-2: #f1f3f9; --fg: #0f172a; --fg-2: #334155; --muted: #4b5567;
  --line: #e2e6ef; --line-strong: #cbd2e0;
  --ok: #047857; --ok-bg: #ecfdf5;
  --critical: #b42318; --critical-bg: #fdecea; --serious: #b54708; --serious-bg: #fff4e5; --moderate: #7a5000; --moderate-bg: #fdf7e2; --minor: #475467; --minor-bg: #eef2f6;
  --focus: #4f46e5;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 4px 14px rgba(15, 23, 42, .08), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-lg: 0 24px 60px rgba(49, 46, 129, .18);
  --r: 12px; --r-lg: 18px; --r-xl: 24px; --r-pill: 999px;
  --t: 160ms cubic-bezier(.2, .7, .3, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --hero-glow: radial-gradient(60% 50% at 20% 0%, rgba(99, 102, 241, .18), transparent 70%), radial-gradient(40% 40% at 90% 10%, rgba(16, 185, 129, .12), transparent 70%);
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #a5b4fc; --brand-strong: #c7d2fe; --brand-soft: #1e1b4b; --brand-fg: #0b1020; --brand-deep: #e0e7ff;
    --bg: #0b1020; --surface: #121a2e; --surface-2: #192338; --fg: #eef2ff; --fg-2: #cbd5e1; --muted: #a3aec4;
    --line: #24304a; --line-strong: #344466;
    --ok: #34d399; --ok-bg: #0f2a22;
    --critical: #fca5a5; --critical-bg: #3b1212; --serious: #fdba74; --serious-bg: #3b2210; --moderate: #fde68a; --moderate-bg: #3a2f0b; --minor: #cbd5e1; --minor-bg: #1e293b;
    --focus: #a5b4fc;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 4px 16px rgba(0, 0, 0, .45); --shadow-lg: 0 24px 60px rgba(0, 0, 0, .6);
    --hero-glow: radial-gradient(60% 50% at 20% 0%, rgba(99, 102, 241, .28), transparent 70%), radial-gradient(40% 40% at 90% 10%, rgba(16, 185, 129, .14), transparent 70%);
  }
}
:root[data-theme="dark"] {
  --brand: #a5b4fc; --brand-strong: #c7d2fe; --brand-soft: #1e1b4b; --brand-fg: #0b1020; --brand-deep: #e0e7ff;
  --bg: #0b1020; --surface: #121a2e; --surface-2: #192338; --fg: #eef2ff; --fg-2: #cbd5e1; --muted: #a3aec4;
  --line: #24304a; --line-strong: #344466;
  --ok: #34d399; --ok-bg: #0f2a22;
  --critical: #fca5a5; --critical-bg: #3b1212; --serious: #fdba74; --serious-bg: #3b2210; --moderate: #fde68a; --moderate-bg: #3a2f0b; --minor: #cbd5e1; --minor-bg: #1e293b;
  --focus: #a5b4fc;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 4px 16px rgba(0, 0, 0, .45); --shadow-lg: 0 24px 60px rgba(0, 0, 0, .6);
  --hero-glow: radial-gradient(60% 50% at 20% 0%, rgba(99, 102, 241, .28), transparent 70%), radial-gradient(40% 40% at 90% 10%, rgba(16, 185, 129, .14), transparent 70%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--font); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.3rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.btn.primary:focus-visible, .skip:focus-visible { outline-color: var(--fg); box-shadow: 0 0 0 3px var(--bg); }
img, video { max-width: 100%; height: auto; display: block; }
code, pre { font-family: var(--mono); font-size: .92em; }
pre { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; overflow: auto; line-height: 1.5; }
code:not(pre code) { background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2em; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--brand); }

.skip { position: absolute; left: 16px; top: -60px; background: var(--brand); color: var(--brand-fg); padding: 10px 16px; border-radius: 10px; font-weight: 700; z-index: 100; text-decoration: none; }
.skip:focus { top: 16px; }

/* Buttons */
.btn { font: inherit; font-weight: 600; font-size: 1rem; padding: 12px 22px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); cursor: pointer; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; transition: background var(--t), border-color var(--t), transform var(--t), box-shadow var(--t); box-shadow: var(--shadow-sm); }
.btn:hover { background: var(--surface-2); color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); color: var(--brand-fg); border-color: transparent; box-shadow: 0 8px 22px rgba(79, 70, 229, .28); }
.btn.primary:hover { background: var(--brand-strong); color: var(--brand-fg); }
.btn.large { font-size: 1.08rem; padding: 14px 26px; min-height: 54px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .sub { font-weight: 500; opacity: .85; font-size: .9em; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .01em; padding: 4px 11px; min-height: 26px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--fg-2); border: 1px solid var(--line); line-height: 1.4; white-space: nowrap; }
.chip.pro { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.chip.free { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.chip.critical { color: var(--critical); background: var(--critical-bg); border-color: transparent; }
.chip.serious { color: var(--serious); background: var(--serious-bg); border-color: transparent; }
.chip.moderate { color: var(--moderate); background: var(--moderate-bg); border-color: transparent; }
.chip.minor { color: var(--minor); background: var(--minor-bg); border-color: transparent; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--fg); text-decoration: none; letter-spacing: -.02em; }
.logo img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--fg-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { background: var(--surface-2); color: var(--fg); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav .btn { margin-left: 8px; min-height: 42px; padding: 8px 16px; font-size: .95rem; }
.nav-toggle { display: none; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 16px 16px; box-shadow: var(--shadow); gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
}

/* Hero */
.hero { position: relative; padding: 56px 0 24px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 32px; }
@media (min-width: 960px) { .hero { padding: 80px 0 32px; } .hero .wrap { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.lede { font-size: clamp(1.1rem, .6vw + 1rem, 1.3rem); color: var(--fg-2); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 26px 0 14px; }
.hero .fine { font-size: .9rem; color: var(--muted); margin: 0; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .92rem; color: var(--fg-2); }
.hero-proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

/* Demo video */
.demo { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #0b1020; box-shadow: var(--shadow-lg); border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.demo img, .demo video, .demo iframe { width: 100%; height: 100%; object-fit: cover; }
.demo .play img { position: absolute; inset: 0; }
.demo iframe { border: 0; position: absolute; inset: 0; }
.demo .play { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: linear-gradient(180deg, rgba(11, 16, 32, 0) 40%, rgba(11, 16, 32, .5)); border: 0; cursor: pointer; color: #fff; font: inherit; font-weight: 700; padding: 0; }
.demo .play:hover .ring { transform: scale(1.06); background: #fff; color: var(--brand-deep); }
.demo .play .ring { position: relative; width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #4338ca; display: grid; place-items: center; box-shadow: 0 12px 32px rgba(0, 0, 0, .35); transition: transform var(--t), background var(--t); }
.demo .play .ring svg { width: 30px; height: 30px; margin-left: 4px; }
.demo .play span.label { position: relative; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); background: rgba(11, 16, 32, .55); padding: 6px 14px; border-radius: var(--r-pill); font-size: .95rem; }
.demo .play:focus-visible { outline-offset: -4px; }
.demo-caption { font-size: .9rem; color: var(--muted); margin: 12px 4px 0; }

/* Sections */
.section { padding: 56px 0; }
@media (min-width: 960px) { .section { padding: 88px 0; } }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--fg-2); font-size: 1.08rem; }

/* Cards and grids */
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 24px; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.step { position: relative; }
.step .num { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; font-size: 1.05rem; }
.icon { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; }

/* Gallery */
.gallery { display: grid; gap: 18px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery figure.wide { grid-column: span 2; } }
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.gallery figure img { width: 100%; }
.gallery figcaption { padding: 14px 18px; font-size: .95rem; color: var(--fg-2); border-top: 1px solid var(--line); }
.gallery figcaption strong { color: var(--fg); }
.gallery .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px; background: linear-gradient(135deg, var(--brand-soft), var(--surface-2)); }
.gallery .pair img { border-radius: 8px; box-shadow: var(--shadow); }

/* Plans */
.plans { display: grid; gap: 18px; }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { padding: 28px; border-radius: var(--r-xl); }
.plan.pro { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-lg); position: relative; }
.plan .plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.plan h3 { font-size: 1.5rem; margin: 0; }
.plan .price { font-size: 1.05rem; color: var(--fg-2); margin: 0 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line); }
.plan li:first-child { border-top: 0; }
.plan li svg { width: 20px; height: 20px; flex: none; color: var(--ok); margin-top: 3px; }
.plan .btn { width: 100%; }

/* Report preview */
.report-preview { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .report-preview { grid-template-columns: 1fr 1fr; gap: 48px; } }
.report-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 22px; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--brand-soft), var(--surface-2)); border: 1px solid var(--line); }
.report-pages img { border-radius: 8px; box-shadow: var(--shadow-lg); }
.report-pages img:last-child { transform: translateY(18px); }
.checklist-mini { list-style: none; padding: 0; margin: 0 0 20px; }
.checklist-mini li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.checklist-mini svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 3px; }

/* Honest band */
.honest { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--fg-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; }
.honest svg { flex: none; width: 20px; height: 20px; color: var(--brand); margin-top: 2px; }
.honest p { margin: 0; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; padding: 14px 40px 14px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform var(--t); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq summary:hover { color: var(--brand); }
.faq .answer { padding: 0 0 16px; color: var(--fg-2); max-width: 760px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Score demo */
.score-ring { --v: 56; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--serious) calc(var(--v) * 1%), var(--line) 0); position: relative; flex: none; }
.score-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--surface); }
.score-ring .v { position: relative; text-align: center; font-weight: 800; font-size: 2.1rem; line-height: 1; color: var(--serious); }
.score-ring .v small { display: block; font-size: .62rem; letter-spacing: .08em; color: var(--muted); margin-top: 4px; font-weight: 700; }
.score-card { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.bands { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bands li { display: grid; grid-template-columns: 86px 1fr; gap: 14px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.bands .range { font-weight: 800; font-family: var(--mono); font-size: .95rem; }
.bands .b-good .range { color: var(--ok); } .bands .b-ok .range { color: var(--moderate); } .bands .b-poor .range { color: var(--serious); } .bands .b-bad .range { color: var(--critical); }
table { border-collapse: collapse; width: 100%; margin: 1em 0 1.5em; font-size: .97rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-weight: 700; }
.table-wrap { overflow-x: auto; }

/* Article pages */
.article-hero { padding: 48px 0 24px; position: relative; overflow: hidden; }
.article-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.article-hero .wrap { position: relative; }
.article-hero .meta { color: var(--muted); font-size: .92rem; margin: 10px 0 0; }
.article { padding: 24px 0 64px; }
.article .wrap { display: grid; gap: 40px; }
@media (min-width: 1000px) { .article .wrap { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } }
.aside { position: sticky; top: 84px; display: grid; gap: 16px; }
.aside .card { padding: 20px; }
.aside .card h2, .aside .card h3 { font-size: 1.05rem; margin: 0 0 8px; }
.aside .btn { width: 100%; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: 4px 0; font-size: .95rem; }
.callout { border-left: 4px solid var(--brand); background: var(--brand-soft); color: var(--fg); padding: 14px 18px; border-radius: 0 var(--r) var(--r) 0; margin: 1.4em 0; }
.callout p:last-child { margin-bottom: 0; }
.stat-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 1.4em 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.stat .n { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--brand); }
.stat .l { font-size: .88rem; color: var(--muted); margin-top: 6px; }

/* Printable checklist */
.check-group { margin: 2em 0; }
.check-group h2 { display: flex; align-items: center; gap: 10px; }
.check-item { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.check-item:last-child { border-bottom: 1px solid var(--line); }
.check-item .box { width: 22px; height: 22px; border: 2px solid var(--line-strong); border-radius: 6px; margin-top: 3px; }
.check-item h3 { font-size: 1.02rem; margin: 0 0 4px; }
.check-item .sc { font-family: var(--mono); font-size: .8rem; color: var(--muted); margin-left: 8px; font-weight: 500; }
.check-item p { margin: 0; color: var(--fg-2); font-size: .97rem; }
.check-item .how { display: block; }
.check-item .options { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; font-size: .8rem; color: var(--muted); }
.check-item .options span { border: 1px solid var(--line); border-radius: var(--r-pill); padding: 1px 9px; }
.check-fields { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 1em 0 1.6em; }
.check-fields div { border-bottom: 1px solid var(--line-strong); padding: 8px 0 4px; font-size: .9rem; color: var(--muted); }
.print-only { display: none; }
@media print {
  .site-header, .site-footer, .aside, .no-print, .skip { display: none !important; }
  .print-only { display: block; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .article .wrap { display: block; }
  .article-hero::before { display: none; }
  .check-item { break-inside: avoid; }
  a { color: #000; text-decoration: none; }
  .check-item .box { border-color: #000; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 40px 0 32px; font-size: .93rem; color: var(--fg-2); }
.site-footer .cols { display: grid; gap: 28px; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--fg-2); }
.site-footer a:hover { color: var(--brand); }
.site-footer .legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.site-footer .legal p { margin: 0 0 6px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brand-deep), #4338ca 60%, #4f46e5); color: #fff; border-radius: var(--r-xl); padding: 40px 28px; text-align: center; box-shadow: var(--shadow-lg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta-band { background: linear-gradient(135deg, #1e1b4b, #312e81 60%, #3730a3); } }
:root[data-theme="dark"] .cta-band { background: linear-gradient(135deg, #1e1b4b, #312e81 60%, #3730a3); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e0e7ff; max-width: 40em; margin: 0 auto 22px; }
.cta-band .btn.primary { background: #fff; color: #312e81; box-shadow: 0 10px 28px rgba(0, 0, 0, .3); }
.cta-band .btn.primary:hover { background: #eef2ff; color: #312e81; }
.cta-band .btn.primary:focus-visible { outline-color: #fff; box-shadow: 0 0 0 3px #312e81; }
.cta-band .fine { color: #e0e7ff; font-size: .9rem; margin: 12px 0 0; }

/* mobile fix: long code lines scroll inside the block, not the page */
.prose { min-width: 0; }
.prose pre { overflow-x: auto; max-width: 100%; }
