/* CompScope public website: marketing pages, pricing, sign-in and account pages, legal drafts.

   One stylesheet for every page (docs/ACCOUNTS_BILLING_CONTRACT.md §5), so the header, forms and
   cards look the same everywhere. Same brand blue, diamond mark and light/dark tokens as the two
   apps. Text colours meet WCAG AA in both themes: --brand (#2a78d6, 4.42:1 on white) is decoration
   only; text, links and filled buttons use --accent. No inline styles anywhere (CSP), so widths
   that depend on data are set through the CSSOM by site.js. System fonts: no third-party requests. */

:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --surface-3: #eef1f5;
  --border: #e3e6eb;
  --border-strong: #c9cfd7;
  /* Form outlines need 3:1 against their surroundings (WCAG 1.4.11): 3.67:1 on white. */
  --field-border: #80868f;
  --text: #0f1419;
  --text-2: #434a55;
  --muted: #5d6470;
  --brand: #2a78d6;
  --accent: #1c5cab;
  --accent-hover: #184f95;
  --accent-ink: #ffffff;
  --accent-soft: #e8f1fc;
  --accent-line: #b9d3f3;
  --pro: #1f3a5f;
  --pro-ink: #ffffff;
  --pro-soft: #e9eef5;
  --company: #d4561f;
  --dot: #b4bcc8;
  --success: #1f8a3b;
  --success-bg: #e8f6ea;
  --success-ink: #14612a;
  --warning-bg: #fff6e0;
  --warning-ink: #6b4a00;
  --warning-line: #f0d48a;
  --critical: #c03535;
  --critical-bg: #fdeeee;
  --critical-ink: #9b1c1c;
  --critical-line: #f1c0c0;
  --danger-btn: #c03535;
  --danger-ink: #ffffff;
  --focus: #1c5cab;
  --hero-glow: rgba(42, 120, 214, .14);
  --hero-glow-2: rgba(31, 58, 95, .08);
  --shadow-sm: 0 1px 2px rgba(16, 20, 24, .06);
  --shadow: 0 1px 2px rgba(16, 20, 24, .05), 0 6px 20px rgba(16, 20, 24, .06);
  --shadow-lg: 0 2px 4px rgba(16, 20, 24, .04), 0 18px 48px rgba(16, 20, 24, .12);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 64px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0e0f11;
    --surface: #17181a;
    --surface-2: #1d1e21;
    --surface-3: #26282c;
    --border: #2e3035;
    --border-strong: #45484f;
    --field-border: #7a7d85;
    --text: #f1f1ef;
    --text-2: #c5c6c2;
    --muted: #a2a49e;
    --brand: #3987e5;
    --accent: #5598e7;
    --accent-hover: #6da7ec;
    --accent-ink: #08111f;
    --accent-soft: #15253a;
    --accent-line: #24456e;
    --pro: #9ec5f4;
    --pro-ink: #08111f;
    --pro-soft: #172437;
    --company: #f07a45;
    --dot: #50545c;
    --success: #4cc06a;
    --success-bg: #12301b;
    --success-ink: #a6e3b4;
    --warning-bg: #3a2f12;
    --warning-ink: #f5d58a;
    --warning-line: #6b5520;
    --critical: #e66767;
    --critical-bg: #3a1d1d;
    --critical-ink: #f3b8b8;
    --critical-line: #6b2e2e;
    --danger-btn: #e66767;
    --danger-ink: #1a0606;
    --focus: #86b6ef;
    --hero-glow: rgba(57, 135, 229, .20);
    --hero-glow-2: rgba(158, 197, 244, .06);
    --shadow-sm: none;
    --shadow: none;
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, .45);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e0f11; --surface: #17181a; --surface-2: #1d1e21; --surface-3: #26282c; --border: #2e3035;
  --border-strong: #45484f; --field-border: #7a7d85; --text: #f1f1ef; --text-2: #c5c6c2; --muted: #a2a49e;
  --brand: #3987e5; --accent: #5598e7; --accent-hover: #6da7ec; --accent-ink: #08111f; --accent-soft: #15253a;
  --accent-line: #24456e; --pro: #9ec5f4; --pro-ink: #08111f; --pro-soft: #172437; --company: #f07a45;
  --dot: #50545c; --success: #4cc06a; --success-bg: #12301b; --success-ink: #a6e3b4; --warning-bg: #3a2f12;
  --warning-ink: #f5d58a; --warning-line: #6b5520; --critical: #e66767; --critical-bg: #3a1d1d;
  --critical-ink: #f3b8b8; --critical-line: #6b2e2e; --danger-btn: #e66767; --danger-ink: #1a0606;
  --focus: #86b6ef; --hero-glow: rgba(57, 135, 229, .20); --hero-glow-2: rgba(158, 197, 244, .06);
  --shadow-sm: none; --shadow: none; --shadow-lg: 0 18px 48px rgba(0, 0, 0, .45);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden; min-height: 100vh;
  display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; }
strong { font-weight: 650; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent-soft); }
.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 10px; color: var(--accent-ink); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.break { overflow-wrap: anywhere; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 820px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* --------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px;
  padding: 8px 16px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 600;
  font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--field-border); color: var(--text); background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--surface-3); color: var(--text); }
.btn-pro { background: var(--pro); color: var(--pro-ink); }
.btn-pro:hover { color: var(--pro-ink); filter: brightness(1.12); }
.btn-danger { background: var(--danger-btn); color: var(--danger-ink); }
.btn-danger:hover { color: var(--danger-ink); filter: brightness(1.08); }
.btn-link { background: none; border: 0; padding: 0; min-height: 0; color: var(--accent); font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px; }
.btn-link:hover { color: var(--accent-hover); }
.btn-lg { min-height: 48px; padding: 12px 22px; font-size: 16px; border-radius: 12px; }
.btn-sm { min-height: 32px; padding: 5px 11px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; white-space: normal; text-align: center; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; filter: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"]::before { content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-bottom: 1px solid var(--border); backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; font-size: 18px;
  color: var(--text); text-decoration: none; letter-spacing: -.01em; flex: 0 0 auto; }
.brand:hover { color: var(--text); }
.logo { color: var(--brand); font-size: 17px; }
.site-nav { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; }
.nav-links { list-style: none; padding: 0; display: flex; gap: 2px; margin-left: 20px; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text-2); text-decoration: none;
  font-weight: 550; font-size: 15px; }
.nav-links a:hover { color: var(--text); background: var(--surface-3); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; margin-left: 4px; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); cursor: pointer;
  align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px;
  border-radius: 2px; background: currentColor; position: relative; transition: transform .15s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta-mobile { display: inline-flex; margin-left: auto; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: var(--header-h); flex-direction: column;
    align-items: stretch; gap: 12px; padding: 12px 16px 20px; background: var(--surface);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); }
  .site-nav.is-open { display: flex; }
  .nav-links { flex-direction: column; margin: 0; }
  .nav-links a { padding: 12px; font-size: 16px; }
  .nav-actions { margin: 0; flex-direction: column; align-items: stretch; }
  .nav-actions .btn { min-height: 44px; }
}
@media (max-width: 359px) { .nav-cta-mobile { display: none; } }

/* ---------------------------------------------------------------- banners */
.banner { border-bottom: 1px solid var(--border); font-size: 15px; }
.banner .wrap { display: flex; gap: 12px; align-items: center; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.banner-info { background: var(--accent-soft); color: var(--text); border-color: var(--accent-line); }
.banner-warning { background: var(--warning-bg); color: var(--warning-ink); border-color: var(--warning-line); }
.banner-success { background: var(--success-bg); color: var(--success-ink); }

/* -------------------------------------------------------------- sections */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.02em; margin-bottom: 14px; }
.section-head p { color: var(--text-2); font-size: 18px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px; }
.eyebrow-pro { color: var(--pro); }
.lede { font-size: clamp(18px, 2.3vw, 21px); color: var(--text-2); line-height: 1.5; }
@media (max-width: 720px) { .section { padding: 56px 0; } .section-head { margin-bottom: 28px; } }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px;
  background: radial-gradient(900px 480px at 88% -8%, var(--hero-glow), transparent 62%),
              radial-gradient(700px 420px at -10% 110%, var(--hero-glow-2), transparent 60%); }
.hero-grid { display: grid; gap: 48px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; } }
.hero h1 { font-size: clamp(38px, 6.2vw, 62px); line-height: 1.04; letter-spacing: -.03em; margin-bottom: 20px;
  font-weight: 760; }
.hero h1 .hl { color: var(--accent); }
.hero .lede { max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: 14px; color: var(--text-2);
  margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.pill-tag { padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
  font-weight: 700; font-size: 12px; letter-spacing: .03em; }
@media (max-width: 720px) { .hero { padding: 44px 0 48px; } .hero-cta .btn { flex: 1 1 auto; } }

/* The illustrative result card in the hero: made of HTML, not a screenshot. */
.demo { position: relative; }
.demo-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg);
  overflow: hidden; }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px;
  border-bottom: 1px solid var(--border); background: var(--surface-2); }
.demo-target { display: flex; flex-direction: column; min-width: 0; }
.demo-label { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.demo-name { font-weight: 700; font-size: 16px; }
.demo-chip { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft);
  color: var(--accent); white-space: nowrap; }
.demo-list { list-style: none; padding: 6px 0; }
.demo-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center;
  padding: 11px 20px; }
.demo-row + .demo-row { border-top: 1px solid var(--border); }
.demo-rank { font-size: 13px; color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.demo-co { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-dist { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--text-2); text-align: right; }
.demo-bar { grid-column: 2 / 4; height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.demo-bar > span { display: block; height: 100%; border-radius: 6px; background: var(--brand); }
.demo-bar.w92 > span { width: 92%; } .demo-bar.w84 > span { width: 84%; } .demo-bar.w77 > span { width: 77%; }
.demo-bar.w66 > span { width: 66%; }
.demo-tags { grid-column: 2 / 4; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--surface-3); color: var(--text-2); }
.tag-same { background: var(--success-bg); color: var(--success-ink); }
.tag-diff { background: var(--warning-bg); color: var(--warning-ink); }
.demo-foot { padding: 12px 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted);
  background: var(--surface-2); }
.demo-float { position: absolute; right: -10px; bottom: -22px; width: 190px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 14px; }
.demo-float-title { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.demo-float-val { font-size: 22px; font-weight: 750; font-variant-numeric: tabular-nums; }
.demo-float-sub { font-size: 12px; color: var(--text-2); }
@media (max-width: 1100px) { .demo-float { display: none; } }

/* --------------------------------------------------------- data sources */
.sources { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface); }
.sources-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; justify-content: center; }
.sources-label { font-size: 14px; color: var(--muted); }
.source { font-weight: 650; color: var(--text-2); font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.source::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); }

/* --------------------------------------------------------- how it works */
.method { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 980px) { .method { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; } }
.steps { list-style: none; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.step { position: relative; padding: 20px 20px 20px 68px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); counter-increment: step; }
.step::before { content: counter(step); position: absolute; left: 20px; top: 20px; width: 32px; height: 32px;
  border-radius: 10px; display: grid; place-items: center; font-weight: 750; font-size: 15px;
  background: var(--accent-soft); color: var(--accent); }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 15px; }
.figure { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow); padding: 20px; }
.figure-panels { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .figure-panels { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.panel-title { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.panel-sub { font-size: 13px; color: var(--muted); margin-bottom: 8px; min-height: 2.6em; }
.plot { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--surface-2); }
.plot .grid-line { stroke: var(--border); stroke-width: 1; }
.plot .axis { stroke: var(--border-strong); stroke-width: 1.5; }
.plot .axis-label { fill: var(--muted); font-size: 11px; font-family: inherit; }
.plot .pt { fill: var(--dot); }
.plot .pt-peer { fill: var(--brand); }
.plot .pt-miss { fill: var(--surface); stroke: var(--critical); stroke-width: 2; }
.plot .pt-target { fill: var(--company); stroke: var(--surface); stroke-width: 2; }
.plot .ring { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 5 4; }
.plot .ellipse { fill: var(--accent-soft); fill-opacity: .55; stroke: var(--brand); stroke-width: 2; }
.legend { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px;
  font-size: 13px; color: var(--text-2); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.key { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.key-target { background: var(--company); }
.key-peer { background: var(--brand); }
.key-miss { border: 2px solid var(--critical); background: var(--surface); }
.key-other { background: var(--dot); }
.figure figcaption { margin-top: 12px; font-size: 14px; color: var(--text-2); }

/* -------------------------------------------------------------- audiences */
.audiences { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .audiences { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.audience { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.audience-pro { background: linear-gradient(180deg, var(--pro-soft), var(--surface) 55%); }
.audience h3 { font-size: 24px; letter-spacing: -.015em; }
.audience > p { color: var(--text-2); }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; color: var(--text-2); }
.checks li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft); }
.checks li::after { content: ""; position: absolute; left: 7px; top: calc(.35em + 4px); width: 4px; height: 7px;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.audience-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 8px; }
@media (max-width: 520px) { .audience { padding: 24px 20px; } }

.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.feature { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.feature h3 { font-size: 16px; margin: 12px 0 6px; }
.feature p { font-size: 15px; color: var(--text-2); }
.icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft);
  color: var(--accent); }
.icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round;
  stroke-linejoin: round; }

/* ----------------------------------------------------------------- plans */
.plan-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.plan.is-featured { border: 2px solid var(--accent); padding: 25px 23px; box-shadow: var(--shadow-lg); }
.plan.is-selected { outline: 3px solid var(--focus); outline-offset: 3px; }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.plan h3 { font-size: 20px; }
.plan-tagline { color: var(--text-2); font-size: 15px; min-height: 3.1em; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-amount { font-size: 38px; font-weight: 760; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-unit { color: var(--muted); font-size: 14px; }
.price-sub { font-size: 13px; color: var(--muted); min-height: 1.4em; }
.plan .checks { font-size: 15px; }
.plan-cta { margin-top: auto; display: grid; gap: 8px; padding-top: 6px; }
.plan-note { font-size: 13px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 12px;
  font-weight: 700; letter-spacing: .02em; background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.badge-accent { background: var(--accent-soft); color: var(--accent); }
.badge-success { background: var(--success-bg); color: var(--success-ink); }
.badge-warning { background: var(--warning-bg); color: var(--warning-ink); }
.badge-critical { background: var(--critical-bg); color: var(--critical-ink); }
.badge-pro { background: var(--pro-soft); color: var(--pro); }
.plan-flag { position: absolute; top: -12px; left: 22px; background: var(--accent); color: var(--accent-ink);
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: .02em; }

.pricing-controls { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; margin-bottom: 36px; }
.segmented { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface-3); border: 1px solid var(--border);
  gap: 2px; margin: 0; }
.segmented legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.segmented label { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  border-radius: 9px; font-weight: 600; font-size: 15px; color: var(--text-2); cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented label:has(input:checked) { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm);
  outline: 1px solid var(--border); }
.segmented label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 1px; }
.save { font-size: 12px; font-weight: 700; color: var(--success-ink); background: var(--success-bg); padding: 2px 7px;
  border-radius: 999px; }
.seats { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--text-2); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--field-border); border-radius: 10px;
  background: var(--surface); overflow: hidden; }
.stepper button { width: 36px; height: 36px; border: 0; background: transparent; color: var(--text); font: inherit;
  font-size: 18px; cursor: pointer; }
.stepper button:hover { background: var(--surface-3); }
.stepper button[disabled] { color: var(--muted); cursor: not-allowed; background: transparent; }
.stepper input { width: 52px; height: 36px; border: 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  text-align: center; font: inherit; font-weight: 650; background: transparent; color: var(--text);
  -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.seat-total { font-weight: 650; color: var(--text); font-variant-numeric: tabular-nums; }

.compare { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border); }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare thead th { background: var(--surface-2); font-size: 14px; }
.compare tbody th { font-weight: 550; color: var(--text-2); }
.compare td { color: var(--text); }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }
.table-scroll:focus-visible { outline-offset: 4px; }

.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 650; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 16px; color: var(--text-2); }
.faq details p + p { margin-top: -6px; }

/* ----------------------------------------------------------------- trust */
.trust { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.trust-item { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.trust-item h3 { font-size: 16px; margin: 12px 0 8px; }
.trust-item p { font-size: 15px; color: var(--text-2); }
.disclaimer-box { margin-top: 24px; padding: 18px 20px; border-radius: 12px; background: var(--surface-2);
  border: 1px solid var(--border); font-size: 14px; color: var(--text-2); }

.cta-band { padding: 64px 0; }
.cta-card { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: 40px;
  border-radius: 22px; background: var(--pro); color: var(--pro-ink); }
.cta-card h2 { font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -.02em; }
.cta-card p { opacity: .9; margin-top: 8px; max-width: 560px; }
.cta-card .btn-primary { background: var(--pro-ink); color: var(--pro); }
.cta-card .btn-primary:hover { filter: brightness(.95); color: var(--pro); }
.cta-card .btn-ghost { color: var(--pro-ink); border-color: color-mix(in srgb, var(--pro-ink) 45%, transparent); }
.cta-card .btn-ghost:hover { background: color-mix(in srgb, var(--pro-ink) 12%, transparent); color: var(--pro-ink); }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 520px) { .cta-card { padding: 28px 20px; } .cta-actions .btn { flex: 1 1 auto; } }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 48px 0 28px; font-size: 15px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.footer-brand p { color: var(--muted); margin-top: 10px; font-size: 14px; max-width: 280px; }
.footer-col h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 12px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--text-2); text-decoration: none; }
.footer-col a:hover { color: var(--text); text-decoration: underline; }
.footer-disclaimer { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px;
  color: var(--muted); max-width: 900px; }
.footer-meta { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------ page heads */
.page-hero { padding: 56px 0 40px; text-align: center;
  background: radial-gradient(800px 360px at 50% -20%, var(--hero-glow), transparent 65%); }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -.025em; margin-bottom: 12px; }
.page-hero .lede { max-width: 640px; margin: 0 auto; }

/* ----------------------------------------------------------------- forms */
.auth { padding: 48px 0 72px; }
.auth-shell { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); max-width: 1000px; margin: 0 auto;
  align-items: start; }
@media (min-width: 900px) { .auth-shell.has-aside { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 56px; } }
.auth-card { width: 100%; max-width: 460px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow); padding: 32px; }
.auth-card h1 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 8px; }
.auth-card .sub { color: var(--text-2); margin-bottom: 24px; }
.auth-alt { margin-top: 20px; text-align: center; font-size: 15px; color: var(--text-2); }
.auth-aside { padding: 8px 0; }
.auth-aside h2 { font-size: 22px; letter-spacing: -.015em; margin-bottom: 14px; }
.auth-aside .checks { margin-top: 16px; }
@media (max-width: 520px) { .auth { padding: 24px 0 48px; } .auth-card { padding: 24px 18px; border-radius: 14px; } }

.form { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.form-row { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .form-row.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field-label { font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.field-label .opt { font-weight: 400; color: var(--muted); font-size: 14px; }
.field-label a { font-weight: 500; font-size: 14px; }
.field-hint { font-size: 13px; color: var(--muted); }
.field-error { font-size: 14px; color: var(--critical-ink); display: flex; gap: 6px; align-items: flex-start; }
.field-error::before { content: "!"; flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%;
  background: var(--critical); color: var(--surface); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.input, .select, .textarea { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--field-border); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: .8; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px;
  border-color: var(--focus); border-radius: 10px; }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--critical);
  box-shadow: 0 0 0 1px var(--critical); }
.input[readonly] { background: var(--surface-2); color: var(--text-2); }
.input-group { position: relative; display: flex; }
.input-group .input { padding-right: 76px; }
.reveal { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 32px; padding: 4px 10px;
  border: 0; border-radius: 8px; background: transparent; color: var(--accent); font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; }
.reveal:hover { background: var(--surface-3); }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px;
  color: var(--text-2); }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--accent); }
.check input[aria-invalid="true"] { outline: 2px solid var(--critical); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.pw-meter { display: grid; gap: 6px; }
.pw-track { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.pw-bar { height: 100%; width: 0; border-radius: 6px; background: var(--critical); transition: width .2s, background-color .2s; }
.pw-meter[data-level="1"] .pw-bar { width: 25%; background: var(--critical); }
.pw-meter[data-level="2"] .pw-bar { width: 50%; background: #d08a12; }
.pw-meter[data-level="3"] .pw-bar { width: 75%; background: var(--success); }
.pw-meter[data-level="4"] .pw-bar { width: 100%; background: var(--success); }
.pw-rules { list-style: none; padding: 0; display: grid; gap: 3px; font-size: 13px; color: var(--muted); }
.pw-rules li { display: flex; gap: 7px; align-items: center; }
.pw-rules li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--field-border); flex: 0 0 auto; }
.pw-rules li.ok { color: var(--success-ink); }
.pw-rules li.ok::before { background: var(--success); border-color: var(--success); }

.alert { padding: 12px 14px; border-radius: 10px; font-size: 15px; border: 1px solid transparent; }
.alert-error { background: var(--critical-bg); color: var(--critical-ink); border-color: var(--critical-line); }
.alert-success { background: var(--success-bg); color: var(--success-ink); }
.alert-info { background: var(--accent-soft); color: var(--text); border-color: var(--accent-line); }
.alert-warning { background: var(--warning-bg); color: var(--warning-ink); border-color: var(--warning-line); }
.alert a { color: inherit; font-weight: 650; }
.alert .btn-link { color: inherit; }
.alert p + p { margin-top: 6px; }

.plan-choice { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.plan-choice legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; padding: 0; }
.choice { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 12px 14px; border: 1px solid var(--field-border); border-radius: 12px; cursor: pointer; background: var(--surface); }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.choice:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: var(--accent-soft); }
.choice-name { font-weight: 650; }
.choice-desc { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.choice-price { font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; text-align: right; }

.form-gap { margin: 16px 0; }
.pricing-note { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.pw-label:empty { display: none; }
.seats label { font-weight: 600; color: var(--text); }
.plan .eyebrow { margin-bottom: 8px; }
.upgrade .segmented, .form .segmented { justify-self: start; }
.banner .spinner { width: 18px; height: 18px; border-width: 2px; flex: 0 0 auto; }
.banner .btn { margin-left: auto; }
.doc code { font-size: 14px; padding: 1px 5px; border-radius: 5px; background: var(--surface-3); color: var(--text); }
.doc .callout { margin-bottom: 8px; }
/* Content rendered into cards by site.js: space the blocks that follow the heading. */
.card > :not(.card-head):not(.row-actions) + :not(.row-actions) { margin-top: 14px; }
.verify-note { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.verify-note .btn { margin-left: auto; }
.alert:focus { outline: none; }
.alert:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.state { text-align: center; display: grid; gap: 14px; justify-items: center; }
.state h1:focus, .doc h1:focus, [data-state] h1:focus { outline: none; }
.state-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft);
  color: var(--accent); }
.state-icon.ok { background: var(--success-bg); color: var(--success); }
.state-icon.bad { background: var(--critical-bg); color: var(--critical); }
.state-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.state p { color: var(--text-2); }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--accent-line); border-top-color: var(--accent);
  animation: spin .8s linear infinite; }

/* --------------------------------------------------------------- account */
.account { padding: 40px 0 72px; }
.account-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.account-head h1 { font-size: clamp(28px, 4vw, 36px); letter-spacing: -.02em; }
.account-head p { color: var(--text-2); margin-top: 6px; }
.account-layout { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .account-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 40px; } }
.side-nav ul { list-style: none; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
@media (min-width: 900px) { .side-nav ul { flex-direction: column; position: sticky; top: calc(var(--header-h) + 24px); } }
.side-nav a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--text-2); text-decoration: none; font-weight: 550; }
.side-nav a:hover { background: var(--surface-3); color: var(--text); }
.side-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
.stack { display: grid; gap: 20px; min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 24px; min-width: 0; }
.card-head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.card-head h2 { font-size: 19px; letter-spacing: -.01em; }
.card-head p { color: var(--text-2); font-size: 15px; margin-top: 4px; }
.card-danger { border-color: var(--critical-line); }
.card-danger h2 { color: var(--critical-ink); }
@media (max-width: 520px) { .card { padding: 20px 16px; } }
.kv { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 24px; margin: 0; }
@media (min-width: 640px) { .kv { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.kv dt { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.kv dd { margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.kv dd .muted { font-weight: 400; }
.status { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-ok::before { background: var(--success); }
.status-warn::before { background: #d08a12; }
.status-bad::before { background: var(--critical); }
.meter { display: grid; gap: 6px; }
.meter-track { height: 8px; border-radius: 8px; background: var(--surface-3); overflow: hidden; }
.meter-fill { height: 100%; width: 0; border-radius: 8px; background: var(--brand); }
.meter-fill.is-full { background: var(--critical); }
.meter-text { font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.ws-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.upgrade { margin-top: 20px; padding: 18px; border-radius: 12px; background: var(--surface-2); border: 1px dashed var(--border-strong);
  display: grid; gap: 14px; }
.upgrade h3 { font-size: 16px; }
.upgrade p { font-size: 15px; color: var(--text-2); }
.skeleton { height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--surface-3), var(--surface-2), var(--surface-3));
  background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.skeleton + .skeleton { margin-top: 10px; width: 70%; }
@keyframes shimmer { to { background-position: -200% 0; } }

.people { list-style: none; padding: 0; display: grid; }
.person { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 14px 0; }
.person + .person { border-top: 1px solid var(--border); }
@media (min-width: 680px) { .person { grid-template-columns: 40px minmax(0, 1fr) auto auto; } }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft);
  color: var(--accent); font-weight: 750; font-size: 15px; text-transform: uppercase; grid-row: span 2; }
@media (min-width: 680px) { .avatar { grid-row: auto; } }
.person-main { min-width: 0; }
.person-name { font-weight: 650; overflow-wrap: anywhere; }
.person-sub { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.person-role { display: flex; gap: 8px; align-items: center; }
.person-role .select { min-height: 36px; padding-top: 6px; padding-bottom: 6px; width: auto; font-size: 15px; }
.person-actions { display: flex; gap: 8px; }
@media (max-width: 679px) { .person-role, .person-actions { grid-column: 2; } }
.invite-form { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 680px) { .invite-form { grid-template-columns: minmax(0, 1fr) 160px auto; } }
.empty { padding: 20px; border-radius: 12px; background: var(--surface-2); color: var(--text-2); text-align: center; font-size: 15px; }

/* ----------------------------------------------------------------- legal */
.legal { padding: 40px 0 72px; }
.legal-shell { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .legal-shell { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; } }
.legal-nav { font-size: 14px; }
@media (min-width: 1000px) { .legal-nav > div { position: sticky; top: calc(var(--header-h) + 24px); } }
.legal-nav h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 10px; }
.legal-nav ul { list-style: none; padding: 0; display: grid; gap: 2px; margin-bottom: 24px; }
.legal-nav a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--text-2); text-decoration: none; }
.legal-nav a:hover { background: var(--surface-3); color: var(--text); }
.legal-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.doc { max-width: 760px; min-width: 0; }
.doc h1 { font-size: clamp(30px, 4.4vw, 42px); letter-spacing: -.025em; margin-bottom: 8px; }
.doc .meta { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.doc h2 { font-size: 21px; margin: 40px 0 12px; letter-spacing: -.01em; scroll-margin-top: calc(var(--header-h) + 16px); }
.doc h3 { font-size: 17px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--text-2); font-size: 16px; line-height: 1.65; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0; display: grid; gap: 6px; }
.doc strong { color: var(--text); }
.doc .toc { margin: 24px 0; padding: 18px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.doc .toc h2 { margin: 0 0 8px; font-size: 15px; }
.doc .toc ol { margin: 0; gap: 4px; }
.doc .toc a { text-decoration: none; }
.doc .toc a:hover { text-decoration: underline; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--border); color: var(--text-2); }
.doc th { background: var(--surface-2); color: var(--text); }
.draft-notice { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 16px 18px; margin-bottom: 28px;
  border-radius: 12px; background: var(--warning-bg); color: var(--warning-ink); border: 1px solid var(--warning-line); }
.draft-notice strong { color: inherit; display: block; font-size: 16px; }
.draft-notice p { color: inherit; font-size: 15px; }
.draft-icon { width: 28px; height: 28px; border-radius: 8px; background: var(--warning-ink); color: var(--warning-bg);
  display: grid; place-items: center; font-weight: 800; }
.ph { background: var(--warning-bg); color: var(--warning-ink); border-radius: 4px; padding: 0 4px; font-weight: 600;
  box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.callout { margin: 16px 0; padding: 14px 16px; border-left: 4px solid var(--accent); background: var(--accent-soft);
  border-radius: 0 10px 10px 0; }
.callout p { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .legal-nav, .skip { display: none; }
  body { background: #fff; color: #000; }
}
