/* Atrium public site. Design tokens + component vocabulary.
   Identity: a private home at night — near-black surfaces with a faint purple
   cast, one rich violet brand colour. DARK IS THE DEFAULT; light applies when
   the visitor's OS prefers light or they pick it with the nav toggle
   ([data-theme] is set pre-paint from localStorage, so there is no flash).
   Every text/background pair was checked numerically against WCAG 2.2 AA
   (0 failures): dark text 14.7-16.4:1, muted >= 8.4:1, muted-2 >= 5.7:1,
   accent (links, focus) >= 7.4:1, white on --brand 7.1:1, form borders
   >= 3.6:1. Light: text >= 15:1, muted >= 7:1, muted-2 >= 5.2:1, accent
   >= 7.3:1. Icons are inline SVG only. Inter is self-hosted (OFL); the site
   makes no third-party requests. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-var.woff2) format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #0f0c16;          /* near-black, faint purple cast */
  --bg-2: #161220;        /* alternating sections */
  --surface: #1c1729;     /* cards */
  --text: #eeeaf6;
  --muted: #b8b0ca;
  --muted-2: #9e95b3;
  --line: #2e2740;        /* decorative dividers */
  --border: #7b7191;      /* form controls (>= 3:1) */
  --accent: #b9a2fb;      /* violet tint: links, focus rings, the key */
  --accent-soft: #241b3b; /* courtyard, icon wells */
  --brand: #6d28d9;       /* deep violet: logo, buttons, badges */
  --on-brand: #ffffff;
  --ok: #8fd0a0;
  --warn: #e2b659;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 12px 32px -16px rgba(0, 0, 0, .7);
  --radius: 14px;
  --maxw: 1120px;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f7f5fb; --bg-2: #eeeaf6; --surface: #ffffff;
    --text: #1a1625; --muted: #4f4863; --muted-2: #635b78;
    --line: #dcd6e8; --border: #867d9c;
    --accent: #5b21b6; --accent-soft: #ece5fb; --brand: #6d28d9; --on-brand: #ffffff;
    --ok: #2f6b3a; --warn: #8a5a00;
    --shadow: 0 1px 2px rgba(26, 22, 37, .06), 0 8px 24px -12px rgba(26, 22, 37, .18);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f5fb; --bg-2: #eeeaf6; --surface: #ffffff;
  --text: #1a1625; --muted: #4f4863; --muted-2: #635b78;
  --line: #dcd6e8; --border: #867d9c;
  --accent: #5b21b6; --accent-soft: #ece5fb; --brand: #6d28d9; --on-brand: #ffffff;
  --ok: #2f6b3a; --warn: #8a5a00;
  --shadow: 0 1px 2px rgba(26, 22, 37, .06), 0 8px 24px -12px rgba(26, 22, 37, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; margin: 0; color: var(--text); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--accent); }
.section { padding: 88px 0; }
.section.tight { padding: 48px 0; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; margin-top: 10px; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 14px; }
.lead { color: var(--muted); font-size: 18px; }
.fine { color: var(--muted-2); font-size: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.1; text-decoration: none;
  padding: 13px 22px; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .14s ease, background .14s ease, border-color .14s ease;
  white-space: nowrap;
}
.btn-primary { color: var(--on-brand); background: var(--brand); }
.btn-primary:hover { transform: translateY(-1px); text-decoration: none; }
.btn-ghost { color: var(--text); background: transparent; border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text); text-decoration: none; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }

/* Nav */
header.nav {
  position: sticky; top: 0; z-index: 50; background: var(--bg);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
header.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 66px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; color: var(--text); }
.brand svg { width: 28px; height: 28px; }
.logo-bg { fill: var(--brand); }
.logo-fg { stroke: var(--on-brand); fill: none; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { color: var(--text); background: var(--bg-2); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--bg-2); }
.nav-menu { display: flex; align-items: center; gap: 16px; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line);
  background: transparent; color: var(--text); cursor: pointer; flex: 0 0 auto; padding: 0;
}
.icon-btn:hover { border-color: var(--border); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn[hidden] { display: none; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }
:root[data-theme="light"] .theme-toggle .i-sun { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .i-moon { display: block; }
  :root:not([data-theme="dark"]) .theme-toggle .i-sun { display: none; }
}
.nav-toggle { display: none; }
.nav-toggle .i-close, .nav-toggle.open .i-menu { display: none; }
.nav-toggle.open .i-close { display: block; }
.nav-right { display: flex; align-items: center; gap: 8px; }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; max-width: 17ch; margin: 0 auto; letter-spacing: -0.03em; }
.hero h1 .key { color: var(--accent); }
.hero .sub { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 58ch; margin: 22px auto 0; }
.hero .trust { margin-top: 18px; color: var(--muted-2); font-size: 14.5px; }

/* Hero figure: bespoke inline SVG drawn on the page background (no frame). */
.atrium { margin: 40px auto 0; max-width: 880px; }
.atrium svg { width: 100%; height: auto; overflow: visible; }
.atrium figcaption { max-width: 62ch; margin: 14px auto 0; color: var(--muted); font-size: 14.5px; }
.a-wall { fill: none; stroke: var(--text); stroke-width: 3; stroke-linecap: square; }
.a-part { fill: none; stroke: var(--text); stroke-width: 2; }
.a-court { fill: var(--accent-soft); }
.a-pool { fill: var(--bg); stroke: var(--line); stroke-width: 1.5; }
.a-glyph { fill: none; stroke: var(--muted-2); stroke-width: 1.5; stroke-linecap: round; }
.a-fill { fill: var(--muted-2); opacity: .35; }
.a-door { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.a-key { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.a-lbl { fill: var(--muted); font: 600 13px Inter, system-ui, sans-serif; }
.a-note { fill: var(--muted-2); font: 500 12px Inter, system-ui, sans-serif; }
.a-srv { stroke: var(--border); stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; }
.a-ct { fill: var(--accent); font: 500 12px var(--mono); }
.a-ct .t { fill: var(--muted); }
.a-ct { animation: a-leave 7.5s linear infinite both; }
.a-ct.c2 { animation-delay: -2.5s; }
.a-ct.c3 { animation-delay: -5s; }
@keyframes a-leave {
  0% { transform: translateY(-24px); opacity: 0; }
  20%, 72% { opacity: 1; }
  100% { transform: translateY(32px); opacity: 0; }
}

/* Stats strip */
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 48px; margin: 48px 0 0; padding: 0; list-style: none; }
.stats li { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.stats svg { width: 20px; height: 20px; color: var(--accent); }

/* Cards (three rooms, product, security) */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { font-size: 21px; font-weight: 700; margin-top: 14px; }
.card p { color: var(--muted); margin-top: 10px; }
.card .hook { color: var(--text); font-weight: 600; margin-top: 14px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.card .ico svg { width: 22px; height: 22px; }
.card .more { display: inline-block; margin-top: 16px; font-weight: 600; }

/* Checklists */
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 26px; color: var(--muted); }
.checks li::before {
  content: ""; position: absolute; left: 3px; top: .5em; width: 12px; height: 6px;
  border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg);
}
.checks li.no::before { width: 11px; height: 0; border-left: 0; border-bottom: 2.5px solid var(--muted-2); transform: none; top: .8em; }
.checks li.no { color: var(--muted-2); }
.checks strong { color: var(--text); font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--accent); color: var(--accent); font-weight: 800; margin-bottom: 16px;
}
.steps h3 { font-size: 19px; font-weight: 700; }
.steps p { color: var(--muted); margin-top: 8px; }

/* Spotlight (time-lock) */
.spot { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.spot h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; margin-top: 10px; }
.spot p { color: var(--muted); margin-top: 16px; font-size: 17px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); display: grid; gap: 22px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--accent); }
.timeline strong { display: block; }
.timeline span { color: var(--muted); font-size: 15px; }

/* Pricing */
.currency-toggle { display: flex; justify-content: center; gap: 6px; margin-bottom: 20px; }
.currency-toggle[hidden] { display: none; }
.cur-btn { padding: 6px 16px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; cursor: pointer; }
.cur-btn:hover { color: var(--text); border-color: var(--text); }
.cur-btn[aria-pressed="true"] { color: var(--on-brand); background: var(--brand); border-color: var(--brand); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--accent); }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--brand); color: var(--on-brand); font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; font-weight: 700; }
.plan .price { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan .amt { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.plan .per { color: var(--muted); font-size: 15px; }
.plan .eq { color: var(--muted-2); font-size: 13.5px; margin-top: 2px; }
.plan .tag { color: var(--muted); margin-top: 12px; }
.plan .checks { margin: 18px 0 24px; flex: 1; font-size: 15px; }
.plan .btn { width: 100%; }
.pricing-note { text-align: center; margin-top: 24px; }
.why { max-width: 680px; margin: 48px auto 0; text-align: center; }
.why h3 { font-size: 20px; font-weight: 700; }
.why p { color: var(--muted); margin-top: 10px; }

/* Security strip */
.sec-strip { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.sec-strip h2 { font-size: clamp(26px, 3.6vw, 34px); font-weight: 800; margin-top: 10px; }
.sec-strip > div > p { color: var(--muted); margin-top: 14px; }

/* CTA band */
.cta-band { background: var(--brand); color: var(--on-brand); border-radius: 20px; padding: 56px 32px; text-align: center; }
.cta-band h2 { color: var(--on-brand); font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; max-width: 22ch; margin: 0 auto; }
.cta-band p { margin: 14px auto 0; max-width: 56ch; }
.cta-band .btn-primary { background: #ffffff; color: #4c1d95; }
.cta-band .btn-ghost { color: #ffffff; border-color: #ffffff; }
.cta-band :focus-visible { outline-color: #ffffff; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h2 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid a { color: var(--muted); text-decoration: none; font-size: 15px; }
.foot-grid a:hover { color: var(--text); text-decoration: underline; }
.foot-grid .blurb { color: var(--muted); font-size: 15px; margin-top: 12px; max-width: 34ch; }
.foot-copy { margin-top: 36px; color: var(--muted-2); font-size: 14px; }

/* Interior pages */
.page-hero { padding: 64px 0 16px; text-align: center; }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; margin-top: 10px; letter-spacing: -0.03em; }
.page-hero .sub { font-size: 18px; color: var(--muted); max-width: 62ch; margin: 16px auto 0; }
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; font-weight: 800; margin: 44px 0 12px; }
.prose h3 { font-size: 19px; font-weight: 700; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--text); }
.prose .updated { color: var(--muted-2); font-size: 14px; }
.callout { border-left: 4px solid var(--accent); background: var(--surface); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 20px 0; }
.callout p { color: var(--text); }
.placeholder { background: var(--accent-soft); color: var(--text); padding: 0 4px; border-radius: 4px; }

/* Module sections on /product */
.module { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; padding: 56px 0; border-top: 1px solid var(--line); }
.module:first-child { border-top: 0; }
.module h2 { font-size: clamp(26px, 3.6vw, 34px); font-weight: 800; margin-top: 10px; }
.module > div > p { color: var(--muted); margin-top: 14px; }
.module .checks { grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-top: 0; }
.module h3 { font-size: 16px; font-weight: 700; margin: 24px 0 10px; }
.module h3:first-child { margin-top: 0; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.limits { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
table.limits caption { text-align: left; padding: 16px 18px 0; color: var(--muted-2); font-size: 14px; caption-side: bottom; padding-bottom: 14px; }
table.limits th, table.limits td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.limits thead th { font-weight: 700; background: var(--bg-2); }
table.limits tbody th { font-weight: 500; color: var(--text); }
table.limits td { color: var(--muted); }
table.limits tr.grp th { background: var(--bg-2); font-weight: 700; font-size: 14px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style-position: outside; }
.faq details p { color: var(--muted); padding-bottom: 16px; }

/* Roadmap / status lists */
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.plain-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.plain-list strong { display: block; }
.plain-list span { color: var(--muted); }
.state { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
.state::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--ok); }
.state.down::before { background: var(--warn); border-radius: 2px; }

/* Forms */
.form-card { max-width: 640px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label.f { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
input.f, textarea.f {
  width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--border); border-radius: 10px; padding: 11px 14px;
}
textarea.f { min-height: 150px; resize: vertical; }
input.f:focus-visible, textarea.f:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; border: 1.5px solid; }
.alert.ok { border-color: var(--ok); color: var(--text); }
.alert.err { border-color: var(--accent); color: var(--text); }
.contact-side { max-width: 640px; margin: 28px auto 0; display: grid; gap: 14px; }

/* Knowledge base */
.kb-search-form { display: flex; gap: 10px; max-width: 520px; margin: 26px auto 0; }
.kb-categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.kb-category { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.kb-category h2 { font-size: 20px; font-weight: 700; }
.kb-blurb { color: var(--muted); font-size: 15px; margin-top: 6px; }
.kb-article-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.kb-article-list a { font-weight: 600; }
.kb-desc { display: block; color: var(--muted); font-size: 14.5px; }
.kb-layout { display: grid; grid-template-columns: 1fr 240px; gap: 48px; align-items: start; }
.kb-sidebar { position: sticky; top: 90px; }
.kb-sidebar h2 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.kb-sidebar ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 4px; }
.kb-sidebar a { color: var(--muted); text-decoration: none; font-size: 15px; display: block; padding: 4px 0; }
.kb-sidebar a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.kb-sidebar a:hover { color: var(--text); }
.kb-article { max-width: 720px; }
.kb-article h2 { font-size: 23px; font-weight: 800; margin: 34px 0 10px; }
.kb-article h3 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
.kb-article p, .kb-article li { color: var(--muted); }
.kb-article p + p { margin-top: 12px; }
.kb-article strong { color: var(--text); }
.kb-article code { font-family: var(--mono); font-size: .9em; background: var(--bg-2); padding: 1px 5px; border-radius: 5px; }
.kb-article pre { background: var(--bg-2); padding: 14px 16px; border-radius: 10px; overflow-x: auto; }
.kb-article pre code { padding: 0; background: none; }
.kb-article table { border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.kb-article th, .kb-article td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.kb-updated { color: var(--muted-2); font-size: 14px; margin-bottom: 12px; }
.kb-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.kb-pager a { text-decoration: none; font-weight: 600; max-width: 48%; }
.kb-pager a.next { margin-left: auto; text-align: right; }
.kb-pager span { display: block; color: var(--muted-2); font-size: 13.5px; font-weight: 500; }
.kb-search-results { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 18px; max-width: 760px; }
.kb-search-results a { font-weight: 600; font-size: 17px; }
.kb-snippet { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* Responsive */
@media (max-width: 920px) {
  .grid3, .pricing-grid, .steps { grid-template-columns: 1fr; }
  .pricing-grid { max-width: 460px; margin: 0 auto; }
  .spot, .sec-strip, .module, .kb-layout { grid-template-columns: 1fr; gap: 28px; }
  .kb-sidebar { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none; position: absolute; top: 66px; left: -16px; right: -16px;
    flex-direction: column; align-items: stretch; gap: 12px; padding: 16px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-cta .btn { flex: 1; }
  .grid2, .kb-categories, .form-grid, .module .checks { grid-template-columns: 1fr; }
  .kb-search-form { flex-direction: column; }
}
/* No JS: keep the menu reachable on phones (site.js adds .js to <html>). */
@media (max-width: 760px) {
  html:not(.js) .nav-menu { display: flex; position: static; margin: 0 -16px; }
  html:not(.js) .nav-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
  html:not(.js) .nav-toggle { display: none; }
}

/* Motion + forced colours */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .a-ct { opacity: 1; transform: none; }
  .a-ct.c1 { transform: translateY(-18px); }
  .a-ct.c3 { transform: translateY(18px); }
}
@media (forced-colors: active) {
  .a-wall, .a-part, .a-glyph, .a-pool, .a-srv { stroke: CanvasText; }
  .a-court, .a-fill { fill: Canvas; }
  .a-door, .a-key { stroke: Highlight; }
  .a-lbl, .a-note, .a-ct, .a-ct .t { fill: CanvasText; }
  .a-ct { animation: none; opacity: 1; transform: none; }
  .a-ct.c1 { transform: translateY(-18px); }
  .a-ct.c3 { transform: translateY(18px); }
  .btn, .plan, .card, .icon-btn { border: 1px solid CanvasText; }
  .plan .badge, .state::before { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .checks li::before { border-color: CanvasText; }
  .cta-band { border: 1px solid CanvasText; }
}
.nav-right { order: 3; }
.nav-menu { margin-left: auto; }
@media (max-width: 760px) { html:not(.js) .nav-menu { width: calc(100% + 32px); } }
.cta-row.left { justify-content: flex-start; }
.more { font-weight: 600; display: inline-block; margin-top: 16px; }
.h3like { font-size: 20px; font-weight: 700; }
.plain-list .state + span { display: block; margin-top: 6px; }
.plain-list li > .state { display: flex; }
