/* Sentia Legis: the public site.
 *
 * The palette, the three families and the mark are Ink and Brass, from
 * legal-claude-config/review-screen/tokens.css (chosen 2026-10-12), copied
 * here so this site stands alone. Change a colour there first, then here.
 *
 * What this site adds to the system, and only this:
 *   - a display scale above the app's 30px ceiling (--site-*), for headings;
 *   - a wider measure and section rhythm for a page that is read, not worked.
 * Everything else is the app's own tokens, unchanged.
 */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-variable-0.2.0/IBMPlexSansVar-Roman.woff2") format("woff2");
  font-weight: 100 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-variable-0.2.0/IBMPlexSansVar-Italic.woff2") format("woff2");
  font-weight: 100 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4.005R/SourceSerif4Variable-Roman.ttf.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4.005R/SourceSerif4Variable-Italic.ttf.woff2") format("woff2");
  font-weight: 200 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-variable-1.0.0/IBMPlexMonoVar-Roman.woff2") format("woff2");
  font-weight: 100 700; font-style: normal; font-display: swap;
}

/* ------------------------------------------------------------ light */
:root {
  color-scheme: light;
  --sl-ground: #ece7dc; --sl-surface: #fcfaf5; --sl-surface-2: #f5f1e8; --sl-surface-3: #e9e3d6;
  --sl-line: #e0d9ca; --sl-line-2: #cbc1ad; --sl-control: #82786a;
  --sl-ink: #121829; --sl-ink-2: #3b4152; --sl-ink-3: #585d6b;
  --sl-accent: #1a2d66; --sl-accent-hover: #111f4d; --sl-accent-ink: #ffffff;
  --sl-accent-wash: #e6e9f3; --sl-accent-line: #9eaacc;
  --sl-brass: #a87b12;
  --sl-highlight: rgba(247, 192, 40, .42); --sl-highlight-edge: #94690a;
  --sl-page: #ffffff; --sl-page-ink: #121829;
  --sl-focus: #1a2d66;
  --sl-danger: #b23a12;
  --sl-pass: #0b6b50; --sl-pass-wash: #e2f1e9; --sl-pass-line: #7fc2a8;
  --sl-fail: #b23a12; --sl-fail-wash: #f9e7dd; --sl-fail-line: #e8a58a;
  --sl-unshown: #8a4f00; --sl-unshown-wash: #f9eedb; --sl-unshown-line: #e0b774;
  --sl-open: #585d6b;
  --sl-elev-1: 0 1px 2px rgba(21, 26, 34, .06);
  --sl-elev-2: 0 4px 14px rgba(21, 26, 34, .10), 0 1px 3px rgba(21, 26, 34, .08);
  --sl-page-shadow: 0 1px 3px rgba(21, 26, 34, .10), 0 8px 28px rgba(21, 26, 34, .10);

  --sl-font-ui: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --sl-font-read: "Source Serif 4", "Iowan Old Style", Charter, Georgia, serif;
  --sl-font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --sl-text-2xs: 10.5px; --sl-text-xs: 11.5px; --sl-text-s: 12.5px; --sl-text-m: 14px;
  --sl-text-read: 15px; --sl-text-l: 17px; --sl-text-xl: 22px;

  /* The site's own display scale. */
  --site-body: 17px;
  --site-lede: clamp(18px, 1.6vw, 20px);
  --site-h3: 20px;
  --site-h2: clamp(28px, 3.4vw, 38px);
  --site-h1: clamp(36px, 5.4vw, 60px);
  --site-measure: 62ch;
  --site-width: 1120px;
  --site-gutter: clamp(16px, 4vw, 40px);
  --site-section: clamp(64px, 9vw, 120px);

  --sl-dur-quick: 140ms;
  --sl-ease-standard: cubic-bezier(.2, 0, .38, .9);
}

/* ------------------------------------------------------------- dark */
:root[data-theme="dark"] {
  color-scheme: dark;
  --sl-ground: #0a0e19; --sl-surface: #111827; --sl-surface-2: #172033; --sl-surface-3: #202a40;
  --sl-line: #252f46; --sl-line-2: #344060; --sl-control: #6e7a96;
  --sl-ink: #ece7dc; --sl-ink-2: #bdbcc4; --sl-ink-3: #979caf;
  --sl-accent: #a7bbf2; --sl-accent-hover: #c3d1f7; --sl-accent-ink: #0a1433;
  --sl-accent-wash: #19244a; --sl-accent-line: #3b4f8c;
  --sl-focus: #a7bbf2;
  --sl-danger: #f0885f;
  --sl-pass: #5fcfa6; --sl-pass-wash: #102d2b; --sl-pass-line: #2c6a55;
  --sl-fail: #f59474; --sl-fail-wash: #371c19; --sl-fail-line: #7a3a25;
  --sl-unshown: #f0b458; --sl-unshown-wash: #30250f; --sl-unshown-line: #6e5222;
  --sl-open: #979caf;
  --sl-elev-1: 0 1px 2px rgba(0, 0, 0, .40);
  --sl-elev-2: 0 6px 18px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .40);
  --sl-page-shadow: 0 1px 3px rgba(0, 0, 0, .50), 0 10px 30px rgba(0, 0, 0, .45);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    color-scheme: dark;
    --sl-ground: #0a0e19; --sl-surface: #111827; --sl-surface-2: #172033; --sl-surface-3: #202a40;
    --sl-line: #252f46; --sl-line-2: #344060; --sl-control: #6e7a96;
    --sl-ink: #ece7dc; --sl-ink-2: #bdbcc4; --sl-ink-3: #979caf;
    --sl-accent: #a7bbf2; --sl-accent-hover: #c3d1f7; --sl-accent-ink: #0a1433;
    --sl-accent-wash: #19244a; --sl-accent-line: #3b4f8c;
    --sl-focus: #a7bbf2;
    --sl-danger: #f0885f;
    --sl-pass: #5fcfa6; --sl-pass-wash: #102d2b; --sl-pass-line: #2c6a55;
    --sl-fail: #f59474; --sl-fail-wash: #371c19; --sl-fail-line: #7a3a25;
    --sl-unshown: #f0b458; --sl-unshown-wash: #30250f; --sl-unshown-line: #6e5222;
    --sl-open: #979caf;
    --sl-elev-1: 0 1px 2px rgba(0, 0, 0, .40);
    --sl-elev-2: 0 6px 18px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .40);
    --sl-page-shadow: 0 1px 3px rgba(0, 0, 0, .50), 0 10px 30px rgba(0, 0, 0, .45);
  }
}
@media (prefers-reduced-motion: reduce) {
  :root { --sl-dur-quick: 0ms; }
  html { scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--sl-ground);
  color: var(--sl-ink);
  font-family: var(--sl-font-ui);
  font-size: var(--site-body);
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--sl-accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--sl-accent-hover); }
:focus-visible { outline: 2px solid var(--sl-focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--sl-font-read); font-weight: 600; letter-spacing: -.01em; margin: 0; }
h1 { font-size: var(--site-h1); line-height: 1.04; letter-spacing: -.02em; }
h2 { font-size: var(--site-h2); line-height: 1.12; }
h3 { font-size: var(--site-h3); line-height: 1.25; }
h1, h2 { text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--site-width); margin: 0 auto; padding: 0 var(--site-gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--sl-surface); padding: 8px 12px; }
/* Read by a screen reader, not shown. */
.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.label {
  font-family: var(--sl-font-mono); font-size: var(--sl-text-2xs); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--sl-ink-3);
}
/* A section's eyebrow: the label at a size that holds its own over a
   display heading. The app's 10.5px stays for data labels in the demo. */
.eyebrow { font-size: 12px; letter-spacing: .08em; display: block; }
.eyebrow + h2 { margin-top: 12px; }
.lede { font-size: var(--site-lede); line-height: 1.55; color: var(--sl-ink-2); max-width: var(--site-measure); }

/* ------------------------------------------------------------ the mark */
/* The symbol's fills sit on classes, not style attributes, so a content
   policy without 'unsafe-inline' still draws them. The custom properties
   inherit into each <use>, so the mark follows the theme. */
.mark { width: 24px; height: 24px; flex: 0 0 auto; display: block; }
.slm-ink { fill: var(--sl-ink); }
.slm-fold { fill: var(--sl-ink-3); }
.slm-line { fill: var(--sl-surface); }
.slm-brass { fill: var(--sl-brass); }
.wordmark {
  font-family: var(--sl-font-read); font-weight: 600; font-size: var(--sl-text-l);
  letter-spacing: -.005em; color: var(--sl-ink); white-space: nowrap;
}
.wordmark i { font-weight: 500; }

/* ----------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--sl-surface) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 2px solid var(--sl-brass);
}
.site-head .wrap { display: flex; align-items: center; gap: 12px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
/* The public header carries the brand larger than the app's 17px bar. */
.site-head .brand { gap: 12px; }
.site-head .mark { width: 32px; height: 32px; }
.site-head .wordmark { font-size: var(--sl-text-xl); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a.quiet {
  color: var(--sl-ink-2); text-decoration: none; font-size: var(--sl-text-m); font-weight: 500;
  padding: 6px 10px; border-radius: 6px;
}
.nav a.quiet:hover { background: var(--sl-surface-3); color: var(--sl-ink); }
/* Appearance: Auto, Light, Dark, as the viewer has it. Auto follows the
   device and is the default; a choice is remembered until Auto is chosen. */
.theme-seg {
  display: inline-flex; padding: 2px; gap: 2px;
  border: 1px solid var(--sl-control); border-radius: 6px; background: var(--sl-surface);
}
.theme-seg button {
  min-height: 28px; padding: 0 10px; border: 0; border-radius: 4px; background: transparent; cursor: pointer;
  font: 500 var(--sl-text-s) / 1 var(--sl-font-ui); color: var(--sl-ink-2);
}
.theme-seg button:hover { color: var(--sl-ink); background: var(--sl-surface-3); }
.theme-seg button[aria-pressed="true"] { background: var(--sl-accent); color: var(--sl-accent-ink); }

/* ----------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 6px;
  font: 500 var(--sl-text-m) / 1 var(--sl-font-ui); text-decoration: none; cursor: pointer;
  transition: background var(--sl-dur-quick) var(--sl-ease-standard);
}
.btn-primary { background: var(--sl-accent); color: var(--sl-accent-ink); border: 1px solid var(--sl-accent); }
.btn-primary:hover { background: var(--sl-accent-hover); color: var(--sl-accent-ink); }
.btn-ghost { background: transparent; color: var(--sl-ink); border: 1px solid var(--sl-control); }
.btn-ghost:hover { background: var(--sl-surface-3); color: var(--sl-ink); }
.btn-s { height: 34px; padding: 0 14px; font-size: var(--sl-text-s); }

/* -------------------------------------------------------------- hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 var(--site-section); }
/* Headline above, the demo full width below it, so the document pane has
   room for the status rows and their actions. */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 56px); }
.hero-copy { max-width: 820px; }
.hero h1 { margin: 14px 0 22px; }
.hero h1 em { font-style: italic; font-weight: 500; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero .fine { margin-top: 14px; font-size: var(--sl-text-s); color: var(--sl-ink-3); }

/* ---------------------------------------------------- the demo */
.demo {
  margin: 0; background: var(--sl-surface); border: 1px solid var(--sl-line);
  border-radius: 10px; box-shadow: var(--sl-elev-2); overflow: hidden;
}
.demo-bar .mark { width: 18px; height: 18px; }
.demo-bar {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-bottom: 1px solid var(--sl-line); background: var(--sl-surface);
}
.demo-bar .label { margin-left: auto; }
.demo-bar .fn { font-size: var(--sl-text-s); color: var(--sl-ink-2); font-weight: 500; }
.demo-bar .rule { width: 1px; height: 18px; background: var(--sl-line-2); }
.demo-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); }
.draft { padding: 22px 22px 24px; border-right: 1px solid var(--sl-line); }
.draft p {
  font-family: var(--sl-font-read); font-size: 17px; line-height: 1.7; color: var(--sl-ink);
}
.draft .num { font-family: var(--sl-font-mono); font-size: var(--sl-text-xs); color: var(--sl-ink-3); margin-right: 6px; }
.cite {
  color: inherit; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--sl-accent);
  text-underline-offset: .2em; text-decoration-thickness: 1.5px; border-radius: 3px;
}
.cite:hover { text-decoration-color: var(--sl-accent); }
.cite[aria-pressed="true"] { background: var(--sl-accent-wash); text-decoration-color: var(--sl-accent); }
.cite .ref {
  font-family: var(--sl-font-ui); font-size: 11px; font-weight: 600; color: var(--sl-accent);
  vertical-align: super; line-height: 0; margin-left: 1px;
}
.cite .ref.warn { color: var(--sl-fail); }

/* Saying plainly that the demo can be used: a prompt above it in the
   accent, which means "you can act here", and a pointer under the draft
   to the citation with a problem. Static: nothing moves on its own. */
.try { display: grid; gap: 12px; }
.try-prompt { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 15.5px; color: var(--sl-ink-2); }
.try-pill {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px;
  background: var(--sl-accent); color: var(--sl-accent-ink);
  font: 600 var(--sl-text-xs) / 1 var(--sl-font-mono); letter-spacing: .06em; text-transform: uppercase;
}
.draft .hint { margin-top: 18px; font-family: var(--sl-font-ui); font-size: 14px; line-height: 1.4; }
.hint-link {
  background: var(--sl-accent-wash); color: var(--sl-accent); border: 1px solid var(--sl-accent-line);
  border-radius: 6px; padding: 8px 12px; font: 500 14px / 1.35 var(--sl-font-ui); cursor: pointer; text-align: left;
}
.hint-link:hover { border-color: var(--sl-accent); }

.stage { background: var(--sl-ground); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
/* The document header, as the viewer draws it: the name in the reading
   serif, then its length and how often this draft cites it. */
.doc-head-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.doc-head-row .label { white-space: nowrap; }
.doc-head-name {
  font: 600 var(--sl-text-l) / 1.25 var(--sl-font-read); color: var(--sl-ink);
  overflow-wrap: anywhere;
}
.doc-head-meta { margin-top: 2px; font-size: var(--sl-text-xs); color: var(--sl-ink-2); }
.page {
  background: var(--sl-page); color: var(--sl-page-ink); box-shadow: var(--sl-page-shadow);
  padding: 22px 24px 26px; border-radius: 2px; min-height: 200px;
  font-family: var(--sl-font-read); font-size: 14.5px; line-height: 1.6;
}
.page .ph { font-family: var(--sl-font-ui); font-size: 10.5px; font-weight: 600; color: #585d6b; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.page p + p { margin-top: 7px; }
.page mark {
  background: var(--sl-highlight); color: inherit; padding: 1px 0;
  box-shadow: 0 0 0 1px var(--sl-highlight-edge); border-radius: 1px;
}

/* The status rows, as the viewer docks them under the page: who, the mark,
   the word, when; the reader's own actions at the right of their own row.
   Only the author's Verify is a settled row (wash and line). */
.lines { display: grid; gap: 6px; }
.line {
  display: grid; grid-template-columns: 74px 16px auto minmax(0, 1fr) auto;
  align-items: center; gap: 4px 10px;
  background: var(--sl-surface); border: 1px solid var(--sl-line-2); border-radius: 6px;
  padding: 8px 10px 8px 12px; font-size: var(--sl-text-m); min-height: 44px;
}
.line .who { font-weight: 600; color: var(--sl-ink); }
.line .word { font-weight: 500; }
.line .when { color: var(--sl-ink-3); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line .note { grid-column: 2 / -1; color: var(--sl-ink-2); font-size: 13.5px; }
.line .acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.line .acts button {
  height: 28px; padding: 0 10px; border-radius: 6px; cursor: pointer;
  font: 500 var(--sl-text-s) / 1 var(--sl-font-ui);
  background: var(--sl-surface); color: var(--sl-ink); border: 1px solid var(--sl-control);
}
.line .acts button:hover { background: var(--sl-surface-3); }
.line .acts button.danger { color: var(--sl-danger); }

.line.machine { background: var(--sl-surface-2); }
.line.machine .word { color: var(--sl-ink-3); }
.line.machine.fail .word { color: var(--sl-fail); }
.line.open .word { color: var(--sl-open); }
.line.verified { background: var(--sl-pass-wash); border-color: var(--sl-pass-line); }
.line.verified .word, .line.confirmed .word { color: var(--sl-pass); }
.line.confirmed { border-color: var(--sl-pass-line); }
.line.query { background: var(--sl-unshown-wash); border-color: var(--sl-unshown-line); }
.line.query .word { color: var(--sl-unshown); }
.line.notsupported { background: var(--sl-fail-wash); border-color: var(--sl-fail-line); }
.line.notsupported .word { color: var(--sl-fail); }

/* The status grammar: square is the machine, circle is a person;
   dashed has not happened; only a person's ruling is filled. */
.g { width: 14px; height: 14px; display: block; }
.g .shape { fill: none; stroke: currentColor; stroke-width: 1.5; }
.g .shape.filled { fill: currentColor; }
.g .shape.dash { stroke-dasharray: 2.5 2; }
.g .glyph { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.g .glyph.on-fill { stroke: var(--sl-surface); }
/* The machine's find is quiet: a smaller filled grey square, no tick, never
   the colour of done, which only the author's act earns. A problem keeps its
   colour. */
.g-machine { color: var(--sl-ink-3); }
.g-pass { color: var(--sl-pass); }
.g-fail { color: var(--sl-fail); }
.g-query { color: var(--sl-unshown); }
.g-open { color: var(--sl-open); }

.demo-foot { padding: 10px 14px; border-top: 1px solid var(--sl-line); font-size: var(--sl-text-xs); color: var(--sl-ink-3); }

/* ---------------------------------------------------------- sections */
section.band { padding: var(--site-section) 0; border-top: 1px solid var(--sl-line); }
section.band.raised { background: var(--sl-surface); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin: 12px 0 16px; }

/* The rule is ink: brass belongs to the mark and the highlight only. */
.quote {
  border-left: 3px solid var(--sl-ink); padding: 4px 0 4px 22px; max-width: 760px;
}
.quote + .prose { margin-top: 28px; }
.quote blockquote {
  margin: 0; font-family: var(--sl-font-read); font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3; font-style: italic; font-weight: 500;
}
.quote cite { display: block; margin-top: 12px; font-style: normal; font-size: var(--sl-text-s); color: var(--sl-ink-3); }
.prose { max-width: var(--site-measure); color: var(--sl-ink-2); }
.prose p + p { margin-top: 14px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }

/* How it works, kept to one line per participant: the demo shows the rest. */
.roles {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.roles li {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px;
  padding: 18px 20px; border: 1px solid var(--sl-line); border-radius: 10px; background: var(--sl-surface);
  font-size: 18px; line-height: 1.4;
}
.roles .g { width: 18px; height: 18px; align-self: center; }
.roles strong { font-weight: 600; }
.roles span { color: var(--sl-ink-2); }
.also {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; color: var(--sl-ink-3);
}
.also li { white-space: nowrap; }

.nots { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--sl-line); }
.nots li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--sl-line); }
.nots li strong { display: block; color: var(--sl-ink); font-weight: 600; margin-bottom: 2px; }
.nots li span { color: var(--sl-ink-2); }
.nots .n { font-family: var(--sl-font-mono); font-size: var(--sl-text-xs); font-weight: 600; color: var(--sl-ink-3); padding-top: 4px; }

.status-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.status-card { border: 1px solid var(--sl-line-2); border-radius: 10px; padding: 24px; background: var(--sl-surface); }
.status-card.planned { border-style: dashed; background: transparent; }
.status-card h3 { font-family: var(--sl-font-ui); font-size: 16px; font-weight: 600; letter-spacing: 0; margin: 10px 0 14px; }
.status-card ul { margin: 0; padding-left: 18px; color: var(--sl-ink-2); }
.status-card li + li { margin-top: 8px; }

.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); }
.about-aside { display: grid; gap: 18px; align-content: start; }
.about-main { display: grid; gap: 24px; align-content: start; }
.about-main .lede { color: var(--sl-ink); }
.about-main .card { border: 1px solid var(--sl-line); border-radius: 10px; padding: 20px; background: var(--sl-surface-2); max-width: var(--site-measure); }
.about-main .card p { color: var(--sl-ink-2); font-size: 15px; margin-top: 6px; }
/* The name, set as the wordmark is: semibold, with Legis in italic. */
.name-mark { font-size: var(--site-h2); letter-spacing: -.01em; }
.name-mark i { font-weight: 500; }

.cta { text-align: center; }
.cta h2 { margin: 12px auto 16px; max-width: 18ch; }
.cta .lede { margin: 0 auto; }
.cta .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cta .fine { margin-top: 14px; font-size: var(--sl-text-s); color: var(--sl-ink-3); }

/* Register interest. Fields take the app's control edge and focus ring. */
.interest {
  max-width: 520px; margin: 32px auto 0; text-align: left;
  display: grid; gap: 16px;
}
.field { display: grid; gap: 6px; }
.field label { font-size: var(--sl-text-m); font-weight: 500; color: var(--sl-ink); }
.field .opt { font-weight: 400; color: var(--sl-ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 42px; padding: 9px 12px; border-radius: 6px;
  border: 1px solid var(--sl-control); background: var(--sl-surface); color: var(--sl-ink);
  font: 400 16px / 1.4 var(--sl-font-ui);
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-radius: 6px; }
.field .hint { font-size: var(--sl-text-s); color: var(--sl-ink-3); }
.interest .btn { justify-self: start; }
.interest .fine { margin-top: 0; }
.form-status:empty { display: none; }
.form-status { font-size: var(--sl-text-m); font-weight: 500; }
.form-status.ok { color: var(--sl-pass); }
.form-status.err { color: var(--sl-fail); }
/* A field for bots only: off-screen, out of the tab order, hidden from readers. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------ footer */
.site-foot { border-top: 1px solid var(--sl-line); padding: 36px 0 48px; font-size: var(--sl-text-s); color: var(--sl-ink-3); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { color: var(--sl-ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--sl-ink); text-decoration: underline; }

/* -------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .hero-grid, .two, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .status-grid, .roles { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .demo-body { grid-template-columns: minmax(0, 1fr); }
  .draft { border-right: 0; border-bottom: 1px solid var(--sl-line); }
}
@media (max-width: 620px) {
  .nav a.quiet { display: none; }
  .demo-bar .fn, .demo-bar .rule { display: none; }
}
@media (max-width: 480px) {
  .line { grid-template-columns: 64px 16px auto minmax(0, 1fr); }
  .line .when { white-space: normal; overflow: visible; }
  .line .acts { grid-column: 1 / -1; justify-content: flex-start; }
}
