/* neboauditor.com: one stylesheet, no framework. Colours follow the product
   (light, neutral, one accent); the dark theme follows the visitor's system. */
:root {
  /* The brand (nebo-pg-audit: branding/README.md): blue #2f63f7 → #1235a8,
     the point #5ee2ff, text #14171f, muted #5b6372. */
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --surface: #ffffff;
  --text: #14171f;
  --muted: #5b6372;
  --border: #dfe3ea;
  --accent: #1f4fd8;
  --accent-hover: #1235a8;
  --accent-soft: #eef2fe;
  --accent-text: #ffffff;
  --brand-from: #2f63f7;
  --brand-to: #1235a8;
  --point: #5ee2ff;
  --focus: #1f4fd8;
  --danger: #b42318;
  --ok: #1d7a46;
  --radius: 8px;
  --wrap: 72rem;
  --gutter: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1016;
    --bg-alt: #10141c;
    --surface: #131823;
    --text: #e8ebf1;
    --muted: #9aa3b2;
    --border: #232a36;
    --accent: #6d93ff;
    --accent-hover: #93b0ff;
    --accent-soft: #17213a;
    --accent-text: #0d1016;
    --focus: #93b0ff;
    --danger: #ff8a7e;
    --ok: #5cc98a;
  }
  .form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea { border-color: #5d6675; }
}

/* The dot field (fx.js): its colours as "r g b". */
:root { --dot: 31 79 216; --dot-active: 31 79 216; --dot-alpha: .55; }
@media (prefers-color-scheme: dark) {
  :root { --dot: 109 147 255; --dot-active: 94 226 255; --dot-alpha: .5; }
}

@media (min-width: 40em) {
  :root { --gutter: 24px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .15em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .6em; font-weight: 700; }
h1 { letter-spacing: -.025em; line-height: 1.1; font-weight: 750; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
h3 { font-size: 1.2rem; }
p, ul, ol, table { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .9em; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
main:focus { outline: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--accent); color: var(--accent-text); padding: .6rem 1rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: .5rem; color: var(--accent-text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 44px; padding: .55rem 1.1rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-text); }
@media (prefers-color-scheme: light) {
  .btn-primary { background: linear-gradient(135deg, var(--brand-from), var(--brand-to)); border-color: var(--brand-to); }
  .btn-primary:hover { background: var(--brand-to); }
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem;
  min-height: 64px; padding-top: .5rem; padding-bottom: .5rem;
}
.logo {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: 1.3rem; font-weight: 450; letter-spacing: -.02em; color: var(--text); text-decoration: none;
  margin-right: auto; padding: .25rem 0;
}
.logo:hover { color: var(--text); }
.logo b { font-weight: 750; }
.logo img { width: 32px; height: 32px; flex: none; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-actions .btn { min-height: 40px; padding: .45rem .9rem; font-size: .95rem; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--text); cursor: pointer;
}
.nav-toggle[hidden] { display: none; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.site-nav { order: 3; flex-basis: 100%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.site-nav a {
  display: block; padding: .5rem 0; color: var(--text); text-decoration: none; font-size: .95rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

/* With the script, the menu of narrow screens opens with the button. */
@media (max-width: 63.99em) {
  .js .nav-toggle[hidden] { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .nav-open .site-nav { display: block; }
  .js .site-nav ul { flex-direction: column; padding: .25rem 0 .5rem; }
  .js .site-nav a { padding: .7rem 0; border-bottom: 1px solid var(--border); }
  .js .site-nav li:last-child a { border-bottom: none; }
  .js .site-nav a[aria-current="page"] { border-bottom-color: var(--border); font-weight: 600; }
}
@media (max-width: 26em) {
  .header-inner { column-gap: .5rem; }
  .header-actions { gap: .25rem; }
  .header-actions .btn { padding: .4rem .6rem; font-size: .875rem; }
  .nav-toggle { width: 40px; height: 40px; }
  .logo { font-size: 1.125rem; }
}
@media (max-width: 23em) {
  .logo { font-size: 1.0625rem; }
  .header-actions .btn { padding: .4rem .5rem; font-size: .8125rem; }
}
@media (min-width: 64em) {
  .header-inner { flex-wrap: nowrap; gap: 2rem; }
  .logo { margin-right: 0; }
  .site-nav { order: 0; flex: 1; flex-basis: auto; }
  .site-nav a { padding: 1.15rem 0 calc(1.15rem - 2px); }
  .nav-toggle, .nav-toggle[hidden] { display: none; }
}
/* Seven menu items fit next to the logo and the button from 1024px on. */
@media (min-width: 64em) and (max-width: 79.99em) {
  .header-inner { gap: 1.25rem; }
  .site-nav ul { gap: 0 .85rem; }
  .site-nav a { font-size: .875rem; }
}

/* Page */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem; }
.page-head .lead { margin: 0; }
.prose { max-width: 44rem; padding: 1rem 0 4rem; }
.prose li { margin-bottom: .35em; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .55rem .75rem; border-bottom: 1px solid var(--border); }

.error-page { padding: clamp(3rem, 10vw, 6rem) 0; max-width: 40rem; }
.error-page .code { font-family: var(--mono); color: var(--muted); font-size: .95rem; margin-bottom: .5rem; }
.error-page p { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.5rem; }

/* Icons */
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -.25em; }

.btn-lg { min-height: 48px; padding: .7rem 1.4rem; font-size: 1.05rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .75rem;
  color: var(--accent); font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-soft) 85%, transparent) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}
.hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.6rem); margin-bottom: .45em; }
.hero h1 .nowrap { white-space: nowrap; }
.hero h1 .muted-line { color: var(--muted); display: block; }
.hero .lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); margin-bottom: 0; }
.hero-inner { display: grid; gap: 3rem; align-items: center; }
.hero-diagram { display: none; }
@media (min-width: 64em) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-diagram { display: block; }
}

/* Diagrams (inline SVG; colours from the theme) */
.diagram { width: 100%; height: auto; font-family: var(--font); }
.d-boundary { fill: var(--surface); stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 6 5; opacity: .9; }
.d-boundary-label { fill: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.d-node rect { fill: var(--bg-alt); stroke: var(--border); stroke-width: 1.25; }
.d-node .d-icon { stroke: var(--accent); }
.d-title { fill: var(--text); font-size: 16px; font-weight: 650; }
.d-sub { fill: var(--muted); font-size: 13.5px; }
.d-core rect { fill: var(--brand-to); stroke: var(--brand-to); }
.d-core .d-icon { stroke: var(--point); }
.d-core .d-title { fill: #ffffff; }
.d-core .d-sub { fill: #c7d4f7; }
.d-arrow { fill: none; stroke: var(--muted); stroke-width: 1.5; }
.d-arrowhead { fill: var(--muted); }
.d-edge { fill: var(--muted); font-size: 13px; }
.d-group { fill: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.architecture { margin: 0; }
.architecture .arch-wide { display: none; }
@media (min-width: 48em) {
  .architecture .arch-wide { display: block; }
  .architecture .arch-tall { display: none; }
}
.arch-tall { max-width: 420px; margin: 0 auto; display: block; }
.architecture figcaption { color: var(--muted); font-size: .95rem; margin-top: 1rem; max-width: 46rem; }

.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; color: var(--muted); font-size: .95rem; }
.facts li { display: inline-flex; align-items: center; gap: .4rem; }
.facts .icon { color: var(--ok); }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section.alt { background: color-mix(in srgb, var(--bg-alt) 72%, transparent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section + .section.alt, .section.alt + .section { border-top-width: 0; }
.section:not(.alt) + .section:not(.alt) { padding-top: 0; }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head h2 { margin-bottom: .35em; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.note { color: var(--muted); font-size: .95rem; margin: 2rem 0 0; max-width: 46rem; }
.more-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 2rem; font-weight: 600; text-decoration: none; }
.more-link:hover { text-decoration: underline; }
.more-link .icon { width: 1.1em; height: 1.1em; transition: transform .15s; }
.more-link:hover .icon { transform: translateX(3px); }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); padding: 1.5rem; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--radius); background: var(--accent-soft); color: var(--accent);
}
.card-icon .icon { width: 24px; height: 24px; }
.module-cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.module-card { display: flex; flex-direction: column; position: relative; }
.module-card h3 { margin: 1rem 0 .35rem; font-size: 1.35rem; }
.module-card h3 a { color: var(--text); text-decoration: none; }
.module-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.module-card:hover { border-color: var(--accent); }
.module-card:hover h3 a { color: var(--accent); }
.module-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.module-card h3 a:focus-visible { outline: none; }
.tagline { color: var(--muted); margin-bottom: 1rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .6rem; font-size: .975rem; }
.checks li { display: flex; gap: .55rem; align-items: flex-start; }
.checks .icon { color: var(--ok); margin-top: .2em; }
.card-addon {
  display: flex; gap: .5rem; align-items: center; margin: auto 0 0; padding-top: 1rem; border-top: 1px solid var(--border);
  color: var(--muted); font-size: .9rem;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); counter-reset: none; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); padding: 1.5rem; position: relative; }
.step-top { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent); color: var(--accent-text); font-weight: 700; font-size: .95rem;
}
.step-icon { color: var(--accent); display: inline-flex; }
.step-icon .icon { width: 26px; height: 26px; }
.step h3 { margin-bottom: .4rem; }
.step p { margin: 0; color: var(--muted); }
@media (min-width: 64em) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 2.5rem; right: -1.25rem; width: 1.25rem; height: 2px; background: var(--border);
  }
}

/* Feature grids */
.feature-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.75rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.feature h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.feature p { margin: 0; color: var(--muted); }
.feature-icon { display: inline-flex; color: var(--accent); margin-bottom: .6rem; }
.feature-icon .icon { width: 28px; height: 28px; }

/* Module pages */
.page-top { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, color-mix(in srgb, var(--accent-soft) 85%, transparent) 0%, transparent 100%); }
.module-head { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 64em) { .module-head { grid-template-columns: 1fr 1fr; } }
.module-head h1 { margin-bottom: .3em; }
.module-head .lead { color: var(--text); font-size: 1.3rem; margin-bottom: .75rem; }
.module-head p { color: var(--muted); }
.glance { padding: 1.75rem; }
.glance-title { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }
.glance .checks { margin: 0; font-size: 1rem; gap: .85rem; }
.addon {
  border: 1px solid var(--accent); border-radius: calc(var(--radius) + 6px); padding: clamp(1.5rem, 4vw, 2.75rem);
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--surface) 60%);
}
.addon h2 { margin-bottom: .35em; }
.addon-summary { color: var(--muted); font-size: 1.1rem; margin-bottom: 2rem; max-width: 46rem; }
.badge {
  display: inline-flex; align-items: center; gap: .35rem; margin: 0 0 .9rem; padding: .2rem .7rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-text); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.other-modules { display: grid; gap: 1rem; margin-top: 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.other-module { display: flex; gap: 1rem; align-items: flex-start; color: var(--text); text-decoration: none; padding: 1.1rem 1.25rem; }
.other-module:hover { border-color: var(--accent); color: var(--text); }
.other-module strong { display: block; color: var(--accent); }
.other-module span span { color: var(--muted); font-size: .95rem; }

/* Information pages */
.page-top h1 { margin-bottom: .35em; }
.page-top .lead { margin: 0; }
.two-col { display: grid; gap: 2.5rem 4rem; }
@media (min-width: 64em) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col h2 { font-size: 1.5rem; }
.two-col p { color: var(--muted); }
.side-head { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 64em) {
  .side-head { grid-template-columns: 17rem 1fr; }
  .side-head .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
.side-title { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.side-title h2 { font-size: 1.6rem; margin: 0; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { padding: .45rem 1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: .95rem; }
@media (min-width: 64em) { .steps-4 { grid-template-columns: repeat(4, 1fr); } }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: .975rem; margin: 0; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--border); }
table.data tbody tr:last-child th, table.data tbody tr:last-child td { border-bottom: none; }
table.data thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg-alt); }
table.data tbody th { font-weight: 600; min-width: 9rem; }
table.data td { color: var(--muted); }

/* Legal pages */
.legal { padding-top: 2.5rem; }
.company-card { max-width: 44rem; }
.company-card h2 { font-size: 1.2rem; margin-bottom: 1rem; }
.company-card .details { margin: 0; }
.prose table { display: block; overflow-x: auto; }
.prose td:first-child { white-space: nowrap; font-weight: 600; color: var(--text); }

/* Forms */
.form-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 64em) { .form-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 3.5rem; } }
.form-card { padding: clamp(1.25rem, 4vw, 2.25rem); }
.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .35rem; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-row { display: grid; gap: 1.25rem; }
@media (min-width: 40em) { .field-row { grid-template-columns: 1fr 1fr; } }
.field > label, .field > legend { font-weight: 600; font-size: .975rem; padding: 0; }
.field > label.check { font-weight: 400; }
.optional { font-weight: 400; color: var(--muted); font-size: .9em; }
.hint { margin: 0; color: var(--muted); font-size: .9rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; min-height: 44px; padding: .55rem .75rem; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid #8a94a3; border-radius: var(--radius);
}
.form textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--accent); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); border-width: 2px; }
.field-error { display: flex; gap: .4rem; align-items: flex-start; margin: 0; color: var(--danger); font-weight: 600; font-size: .925rem; }
.field-error .icon { margin-top: .15em; }
.form-errors {
  border: 2px solid var(--danger); border-radius: var(--radius); padding: 1rem 1.25rem; background: var(--surface);
}
.form-errors:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-errors h2 { font-size: 1.1rem; color: var(--danger); margin: 0 0 .5rem; }
.form-errors ul { margin: 0; padding-left: 1.2rem; }
.form-errors a { color: var(--danger); font-weight: 600; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; margin: .2rem 0 0; flex-shrink: 0; accent-color: var(--accent); }
.checks-row { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; padding-top: .25rem; }
.checks-row .check { min-height: 32px; }
.check-field .check { font-size: .975rem; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { padding-top: .25rem; }
.form-aside h2 { font-size: 1.35rem; }
.next-steps { padding-left: 1.25rem; margin: 0 0 1.5rem; display: grid; gap: .9rem; color: var(--muted); }
.next-steps strong { color: var(--text); }
.aside-note { color: var(--muted); }
.details { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; margin: 0 0 1.5rem; }
.details dt { color: var(--muted); }
.details dd { margin: 0; overflow-wrap: anywhere; }
.thanks .card-icon { width: 56px; height: 56px; margin-bottom: 1.25rem; background: var(--ok); color: #fff; border-radius: 50%; }
.thanks .card-icon .icon { width: 30px; height: 30px; }
.ref { font-family: var(--mono); font-size: 1.05em; color: var(--text); white-space: nowrap; }

/* Call to action */
.cta-band { background: linear-gradient(135deg, #1f4fd8 0%, var(--brand-to) 100%); color: #ffffff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.cta-band h2 { margin-bottom: .3em; color: #ffffff; }
.cta-band p { margin: 0; color: #e3eaff; max-width: 40rem; }
.cta-band .actions { margin-top: 0; }
.cta-band .btn-primary { background: #ffffff; border-color: #ffffff; color: var(--brand-to); }
.cta-band .btn-primary:hover { background: #e3eaff; border-color: #e3eaff; color: var(--brand-to); }
.btn-on-dark { background: transparent; border-color: #c7d4f7; color: #ffffff; }
.btn-on-dark:hover { border-color: #ffffff; color: #ffffff; background: rgba(255, 255, 255, .08); }
.cta-band :focus-visible { outline-color: #ffffff; }

/* The dot field (fx.js): fixed behind the right side of the page, fading
   toward the lower left at an angle. The page's content lies above it; cards
   keep their solid background, sections let it show through. */
.dots-canvas {
  position: fixed; top: 0; right: 0; width: 80vw; height: 100vh; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(240deg, #000 32%, rgba(0, 0, 0, .55) 58%, transparent 84%);
  mask-image: linear-gradient(240deg, #000 32%, rgba(0, 0, 0, .55) 58%, transparent 84%);
}
main, .site-footer { position: relative; z-index: 1; }
@media (max-width: 63.99em) {
  .dots-canvas { width: 100vw; opacity: .5; }
}
/* The hero's diagram lets the field show through a little. */
.hero .d-boundary { fill-opacity: .82; }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); font-size: .95rem; color: var(--muted); }
.footer-grid { display: grid; gap: 2rem; padding-top: 2.5rem; padding-bottom: 2rem; grid-template-columns: 1fr; }
@media (min-width: 40em) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand .logo { display: inline-block; margin-bottom: .5rem; }
.footer-brand p { max-width: 24rem; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 .75rem; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: .3rem 0; color: var(--text); text-decoration: none; }
.site-footer li a:hover { color: var(--accent); text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 1.25rem; padding-bottom: 1.5rem; font-size: .875rem;
}
.footer-bottom a { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* AI agents (home page section) */
.ai-run { display: grid; gap: 2.5rem 4rem; align-items: start; }
@media (min-width: 64em) { .ai-run { grid-template-columns: 1fr 1fr; } }
.icon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.icon-list li { display: flex; gap: 1rem; align-items: flex-start; }
.icon-list h3 { font-size: 1.1rem; margin: .1rem 0 .3rem; }
.icon-list p { margin: 0; color: var(--muted); }
.ai-run-side { display: grid; gap: 1.5rem; }
.run-diagram { display: none; }
@media (min-width: 40em) { .run-diagram { display: block; } }
.assistant-card h3 { display: flex; align-items: center; gap: .75rem; font-size: 1.2rem; margin-bottom: .75rem; }
.assistant-card p { color: var(--muted); margin: 0; }
.questions { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.questions li { padding: .45rem .85rem; border-radius: 14px 14px 14px 4px; background: var(--accent-soft); font-size: .95rem; }
.d-optional { stroke-dasharray: 5 4; }
