/* contentvault.io: the same light look as the app (app repo docs/15). White page, charcoal text,
   one cyan accent, thin rules instead of boxes, square-ish corners. Figtree, self-hosted (SIL OFL).
   No JavaScript. */
@font-face { font-family: "Figtree"; src: url(/fonts/figtree.woff2) format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f6f7f8;
  --tint: #eef8fb;
  --mark: #d3eef6;
  --text: #1f2328;
  --muted: #57606a;
  --faint: #6e7781;
  --border: #e4e7ea;
  --rule-strong: #d0d7de;
  --control: #868f99;
  --accent: #0a79a6;
  --accent-hover: #086789;
  --brand: #59c8de;
  --btn: #0a79a6;
  --btn-hover: #086789;
  --btn-ink: #ffffff;
  --mark-dial: #59c8de;
  --focus: #0a79a6;
  --sans: "Figtree", "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1418;
    --surface: #151b20;
    --surface-2: #1c242b;
    --tint: #132a33;
    --mark: #1b3d4a;
    --text: #e6edf3;
    --muted: #a8b3bd;
    --faint: #8d99a4;
    --border: #2a333b;
    --rule-strong: #3d4852;
    --control: #66727d;
    --accent: #6cc8e6;
    --accent-hover: #9adaef;
    --brand: #59c8de;
    --btn: #59c8de;
    --btn-hover: #86d7e8;
    --btn-ink: #0f1418;
    --mark-dial: #0f1418;
    --focus: #6cc8e6;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
/* Body copy: 16px on phones, 17px from tablets up. Sizes set in rem (labels, captions, buttons) stay put. */
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
::selection { background: var(--mark); color: var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
a:focus-visible, .btn:focus-visible, .code:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { margin: 0 0 0.55em; text-wrap: balance; color: var(--text); }
/* Page titles: bold, sentence case, tight. The home hero is the one title that runs larger. */
h1 { font-size: clamp(1.75rem, 4vw, 2rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; max-width: 22ch; }
.hero h1 { font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.08; max-width: 18ch; }
/* Section headings: uppercase and tracked, as in the app. */
h2 { font-size: clamp(1.0625rem, 2vw, 1.375rem); font-weight: 800; line-height: 1.25; letter-spacing: 0.035em; text-transform: uppercase; max-width: 34ch; }
h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
figcaption { text-wrap: balance; }
li { text-wrap: pretty; }
code { font-family: var(--mono); font-size: 0.88em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 2px; padding: 0 0.25em; }
strong { font-weight: 700; }

.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--btn); color: var(--btn-ink); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* The header: light, like the app's. A thin brand rule on top, a hairline below. */
.top { background: var(--bg); color: var(--text); position: sticky; top: 0; z-index: 5; border-top: 4px solid var(--brand); border-bottom: 1px solid var(--border); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 0.7rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-size: 1.125rem; font-weight: 800; line-height: 1; letter-spacing: 0.005em; }
.brand:hover { color: var(--text); }
.brand svg rect { fill: currentColor; stroke: none; }
.brand svg circle, .brand svg path { stroke: var(--mark-dial); }
.top nav { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.top nav a, .top .signin { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.top nav a:hover, .top .signin:hover { color: var(--text); }
.top nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -3px 0 var(--brand); padding-block: 0.3rem; }
/* The free scan is the header's one button; Sign in is a plain link beside it. */
.top nav a.btn, .top nav a.btn:hover { color: var(--btn-ink); }
.top .nav-wide .signin { margin-left: 0.2rem; }
/* Phones and small tablets: the mark, Sign in, and a Menu (a <details>, no script) holding the rest. */
.nav-phone { display: none; align-items: center; gap: 1rem; }
.menu > summary { display: flex; align-items: center; gap: 0.4rem; min-height: 2.5rem; padding: 0 0.8rem; border: 1px solid var(--control); border-radius: 2px; font-weight: 700; font-size: 0.9375rem; color: var(--text); cursor: pointer; list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after { content: ""; width: 0.4rem; height: 0.4rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-0.12rem) rotate(45deg); }
.menu[open] > summary { background: var(--surface-2); }
.menu[open] > summary::after { transform: translateY(0.1rem) rotate(-135deg); }
.menu > summary:hover { border-color: var(--text); }
.menu > summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.menu > nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 6; display: grid; gap: 0; padding: 0.4rem 1rem 1.1rem; background: var(--bg); border-bottom: 1px solid var(--rule-strong); box-shadow: 0 8px 16px -12px rgb(0 0 0 / 30%); }
.menu > nav a { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--border); color: var(--text); font-size: 1rem; }
.menu > nav a[aria-current="page"] { box-shadow: none; border-left: 3px solid var(--brand); padding: 0.75rem 0 0.75rem 0.7rem; }
.menu > nav a.btn { margin-top: 1rem; padding: 0.75rem 1rem; border-bottom: 1px solid var(--btn); text-align: center; }
@media (max-width: 860px) {
  .top .bar { flex-wrap: nowrap; }
  .nav-wide { display: none !important; }
  .nav-phone { display: flex; }
}
@media (max-width: 380px) { .top .brand span { display: none; } }

.btn { display: inline-block; background: var(--btn); color: var(--btn-ink); text-decoration: none; font-weight: 700; font-size: 0.9375rem; line-height: 1.3; padding: 0.7rem 1.15rem; border-radius: 2px; border: 1px solid var(--btn); transition: background-color .12s ease-out, border-color .12s ease-out; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--btn-ink); }
.btn.ghost { background: var(--surface); color: var(--text); border-color: var(--control); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); border-color: var(--text); }
.btn.small { padding: 0.35rem 0.8rem; font-size: 0.875rem; }

.hero { padding: clamp(2.75rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem); }
/* The hero: copy on the left and, from 960px, one compact picture of the product beside it. Phones get the copy only. */
.hero-shot { display: none; margin: 0; }
.hero-shot img { border: 1px solid var(--rule-strong); border-radius: 2px; background: var(--surface-2); }
@media (min-width: 960px) {
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3.5rem; align-items: center; }
  .hero-copy { max-width: 520px; }
  .hero-shot { display: block; }
}
.lede { font-size: clamp(1.0625rem, 2vw, 1.1875rem); line-height: 1.55; color: var(--muted); max-width: 50ch; }
.ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.6rem 0 0.9rem; }
.note { color: var(--muted); font-size: 1rem; max-width: 52ch; }
/* What Content Vault is not, said once, under the free scan. */
.hero .beside { margin: 1.6rem 0 0; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--muted); max-width: 52ch; }
.hero .beside strong { color: var(--text); }
.later-note { margin: 1.4rem 0 0; color: var(--muted); font-size: 1rem; }
.later-note em { font-style: normal; font-weight: 700; color: var(--text); }
.later-note strong { color: var(--text); }

/* Sections are separated by whitespace and one hairline, not by bands of colour. */
main > section + section { border-top: 1px solid var(--border); }

/* Three outcomes, each a short claim beside a cropped screenshot from the app's demo. */
.outcome { display: grid; gap: 1.6rem 4rem; padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.outcome + .outcome { border-top: 1px solid var(--border); }
@media (min-width: 900px) { .outcome { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; } }
.outcome-text > p { max-width: 46ch; }
.outcome h2 { max-width: 26ch; }
.points { margin: 0; padding: 0 0 0 1.1rem; display: grid; gap: 0.5rem; max-width: 46ch; }
.points li::marker { color: var(--faint); }
.shot { margin: 0; }
.shot picture { display: block; }
/* A placeholder fill at the image's own proportions, so a screenshot still loading never shows as an empty box. */
.shot img { border: 1px solid var(--rule-strong); border-radius: 2px; background: var(--surface-2); }
.shot figcaption { margin-top: 0.7rem; color: var(--muted); font-size: 0.9375rem; }

/* Who it's for: three roles, each a separate card. */
.roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.roles li { padding: 1.3rem 1.4rem 0.4rem; border: 1px solid var(--border); border-top: 2px solid var(--brand); border-radius: 2px; background: var(--surface); }
.roles h3 { margin-bottom: 0.6rem; }
.roles p { color: var(--muted); font-size: 1rem; }

/* What the checks also know, under the steps: a ruled list like the security facts. */
.facts.details { margin-top: 2.4rem; }

/* At a glance: five plain facts, each with where to read more, under the security facts. */
.glance { list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 1.4rem 2rem; }
.glance li { display: grid; gap: 0.3rem; align-content: start; padding-top: 0.8rem; border-top: 2px solid var(--brand); font-size: 1rem; }
.glance strong { color: var(--text); line-height: 1.35; }
.glance a, .glance span { color: var(--accent); }
.glance span { color: var(--faint); }

/* Who makes it: KWALL's track record, under the closing call to action. */
.kwall { display: flex; align-items: center; gap: 0.9rem; margin: 2rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--rule-strong); max-width: 52ch; }
.kwall-num { flex: none; font-size: 2rem; font-weight: 800; line-height: 1; color: var(--text); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.01em; }

.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.intro { color: var(--muted); font-size: 1.0625rem; margin-bottom: 2.2rem; max-width: 50ch; }
.two { display: grid; gap: 2.5rem 4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
.two > div > p { max-width: 52ch; }

/* The steps are a real sequence: numbered columns on one rule, no cards. */
.pillars { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); border-top: 1px solid var(--rule-strong); counter-reset: step; }
.pillars li { padding: 1.2rem 0 1.4rem; counter-increment: step; }
.pillars li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 1.5rem; font-weight: 800; line-height: 1; color: var(--accent); margin-bottom: 0.75rem; font-variant-numeric: lining-nums tabular-nums; }
.pillars h3 { margin-bottom: 0.4rem; }
.pillars p { margin: 0; color: var(--muted); font-size: 1rem; }
.later { font-size: 0.875rem; font-weight: 600; color: var(--faint); margin-left: 0.3rem; }

/* For AI agents: a plain example of what to ask, above the configuration. */
.agent-side { display: grid; gap: 1rem; min-width: 0; }
.ask-example { background: var(--tint); border: 1px solid var(--border); border-radius: 2px; padding: 1.1rem 1.4rem; }
.ask-example p { margin: 0; color: var(--muted); font-size: 1rem; }
.ask-example .ask-q { margin-bottom: 0.4rem; color: var(--text); font-size: 1.125rem; font-weight: 700; line-height: 1.4; }

/* Code: a light panel with a hairline, like code in the docs. */
.code { margin: 0; background: var(--surface-2); color: var(--text); border: 1px solid var(--border); border-radius: 2px; padding: 1.2rem 1.4rem; overflow: auto; }
.code figcaption { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem; }
.code pre { margin: 0 0 1rem; white-space: pre; font-size: 0.875rem; line-height: 1.55; }
.code pre code { background: none; border: 0; padding: 0; font-size: 1em; }
.code pre:last-child { margin-bottom: 0; }
.doc .code { margin: 0 0 1rem; }
.code .tools { margin: 0; padding-top: 0.9rem; border-top: 1px solid var(--border); font-size: 1rem; color: var(--muted); }
.code .tools code { background: var(--bg); }

/* Facts read as a ruled list. */
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); border-top: 1px solid var(--rule-strong); }
.facts li { padding: 0.95rem 0 1rem; border-bottom: 1px solid var(--border); color: var(--muted); }
.facts strong { color: var(--text); }

/* Closing call to action: a light cyan wash under a brand rule. */
main > section.cta { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--tint); border-top: 4px solid var(--brand); }
.cta p { color: var(--muted); max-width: 52ch; }

/* The footer, as on the app's public pages: who runs Content Vault, where to write, and the links, centred. */
.foot { color: var(--muted); font-size: 0.9375rem; line-height: 1.55; border-top: 1px solid var(--border); text-align: center; }
.foot .wrap { padding-block: 2rem 2.2rem; display: grid; justify-items: center; gap: 0.35rem; }
.foot p { margin: 0; max-width: 64ch; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }
.foot .foot-brand { margin-bottom: 0.5rem; font-size: 1rem; color: var(--text); text-decoration: none; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.2rem; }
.foot nav:first-of-type { margin-top: 0.6rem; }
.foot nav a { display: inline-block; padding-block: 0.3rem; }

/* WCAG 2.4.11: what a link or keyboard focus scrolls to stays clear of the sticky header. */
html { scroll-padding-top: 6.5rem; }
/* On a phone the header scrolls away instead of covering a fifth of the screen. */
@media (max-width: 640px) {
  .top { position: relative; }
  html { scroll-padding-top: 0; }
  [id] { scroll-margin-top: 1rem; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
/* Forced colours (Windows High Contrast) drop box shadows, so the current page in the header is underlined there. */
@media (forced-colors: active) { .top nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; } .menu > nav a[aria-current="page"] { border-left-color: CanvasText; } }

/* Pricing (/pricing/): plans side by side on one rule, the institutional plan set apart. */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pricing-hero { padding-bottom: 1.5rem; }
main > section.plans-section { padding-bottom: clamp(3rem, 7vw, 5rem); border-top: 0; }
.plans { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-top: 1px solid var(--rule-strong); }
.plan { position: relative; display: flex; flex-direction: column; gap: 0.6rem; padding: 2.6rem 1.2rem 1.6rem 0; border-bottom: 1px solid var(--border); min-width: 0; }
.plan + .plan { padding-left: 1.2rem; border-left: 1px solid var(--border); }
/* The recommended plan: a light cyan wash under the brand rule. */
.plan.featured { background: var(--tint); border: 1px solid var(--border); border-top: 4px solid var(--brand); margin-top: -1px; padding-left: 1.2rem; border-radius: 0; }
.plan h3 { font-size: 1.1875rem; font-weight: 800; line-height: 1.2; margin: 0; }
.plan .tag { position: absolute; top: 1.05rem; left: 1.2rem; right: 1.2rem; margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.plan .price { margin: 0; display: flex; align-items: baseline; gap: 0.4rem; flex-wrap: wrap; }
.plan .amount { font-size: 2rem; font-weight: 800; line-height: 1; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.01em; }
.plan .per { color: var(--muted); font-size: 0.9375rem; }
.plan .fit { margin: 0; color: var(--muted); font-size: 1rem; min-height: 3em; }
.plan ul { margin: 0.6rem 0 0; padding: 0 0 0 1.1rem; display: grid; gap: 0.35rem; align-content: start; font-size: 1rem; }
.plan li::marker { color: var(--faint); }
/* The plan's button sits under its price and who it's for, level across the row: each plan shares the row's tracks. */
.plan .btn { align-self: flex-start; justify-self: start; padding-inline: 0.9rem; }
@supports (grid-template-rows: subgrid) {
  .plan { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0.6rem; }
  .plan .fit { min-height: 0; }
}
.plans-note { margin-top: 1.4rem; }
/* On phones the five plans stack, so the page opens with a list of them and a link to the comparison. */
.plan-jump { display: none; }
@media (max-width: 700px) {
  .plan-jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.6rem; }
  .plan-jump a { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 0.75rem; border: 1px solid var(--rule-strong); border-radius: 2px; color: var(--text); text-decoration: none; font-size: 0.9375rem; font-weight: 600; }
  .plan-jump a:hover { border-color: var(--text); color: var(--text); }
  .plan-jump a[href="#compare"] { color: var(--accent); border-color: var(--accent); }
}
/* Compare plans: one table that scrolls inside its own box, with the row names held at the left. */
main > section.compare-section { padding-top: 0; border-top: 0; }
.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--border); border-radius: 2px; }
.table-scroll:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.compare { width: 100%; min-width: 54rem; border-collapse: collapse; font-size: 0.90625rem; line-height: 1.45; font-variant-numeric: lining-nums tabular-nums; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); }
.compare thead th { background: var(--surface-2); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody th { font-weight: 600; color: var(--text); width: 26%; }
.compare th:first-child { position: sticky; left: 0; z-index: 1; background: var(--bg); border-right: 1px solid var(--border); }
.compare thead th:first-child { background: var(--surface-2); }
.compare th:nth-child(5), .compare td:nth-child(5) { background: var(--tint); }
.compare .no { color: var(--faint); }
.compare-note { margin-top: 0.9rem; }
@media (max-width: 480px) { .compare tbody th { min-width: 9.5rem; } .compare th, .compare td { padding: 0.5rem 0.6rem; } }
.faq { margin: 0; display: grid; gap: 0 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); border-top: 1px solid var(--rule-strong); }
.faq div { padding: 1rem 0 1.1rem; border-bottom: 1px solid var(--border); }
.faq dt { font-weight: 700; margin-bottom: 0.3rem; }
.faq dd { margin: 0; color: var(--muted); max-width: 52ch; text-wrap: pretty; }
@media (max-width: 980px) { .plan + .plan { padding-left: 0; border-left: 0; } .plan.featured { padding-left: 1.2rem; } .plans { gap: 0 2rem; } }
@media (max-width: 480px) { .plan { padding-top: 1.4rem; } .plan.featured { padding-top: 2.6rem; } }

/* Legal and policy pages (/privacy/, /terms/, /cookies/, ...): one readable column, ruled like the docs. */
.doc-hero { padding-bottom: 1.5rem; }
.doc-hero h1 { max-width: 22ch; }
.doc-meta { color: var(--muted); font-size: 1rem; margin: 0; }
.doc { padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.doc .wrap > * { max-width: 56ch; }
.doc .wrap > table { max-width: 44rem; }
.doc h2 { font-size: 1rem; letter-spacing: 0.04em; margin: 2.4rem 0 0.7rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.doc h3 { font-size: 1rem; margin: 1.6rem 0 0.5rem; }
.doc ul, .doc ol { padding-left: 1.2rem; margin: 0 0 1em; }
.doc li { margin: 0.35rem 0; }
.doc li::marker { color: var(--faint); }
.doc .conspicuous { font-weight: 700; }
.toc { background: var(--surface-2); padding: 1rem 1.25rem 0.7rem; }
.doc .toc h2, .toc h2 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); margin: 0 0 0.6rem; padding: 0; border: 0; }
.toc ol { columns: 2 16rem; column-gap: 2.5rem; margin: 0; padding-left: 1.6rem; font-size: 1rem; }
.toc li { margin: 0 0 0.35rem; break-inside: avoid; }
.notice { margin: 0 0 1.8rem; max-width: 52ch; background: var(--tint); border: 1px solid var(--border); border-left: 4px solid var(--brand); border-radius: 0; padding: 0.8rem 1.1rem; }
mark.tbc { background: var(--mark); color: var(--text); padding: 0 0.2em; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.doc table { width: 100%; border-collapse: collapse; margin: 0.6rem 0 1.4rem; font-size: 0.90625rem; line-height: 1.45; border: 1px solid var(--border); }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); overflow-wrap: break-word; }
.doc thead th { background: var(--surface-2); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.doc tbody tr:last-child > * { border-bottom: 0; }
.doc tbody th { font-weight: 700; }
.doc code { overflow-wrap: anywhere; }
.cell-note { color: var(--faint); font-weight: 400; font-size: 0.875rem; }
/* Narrow phones: tables tighten up and long words hyphenate, so a table never pushes the page sideways. */
@media (max-width: 480px) {
  .doc table { font-size: 0.875rem; }
  .doc th, .doc td { padding: 0.5rem; hyphens: auto; }
  .doc thead th { letter-spacing: 0.04em; }
}
@media (max-width: 380px) { .doc td { overflow-wrap: anywhere; } .doc th, .doc td { padding-inline: 0.35rem; } }
