/* GreenlightSubs design system — no build step, plain CSS.
   Paper, ink and 1px rules. Signal colours (red / amber / green) are reserved for document status;
   the bright "lamp" green only appears in the logo mark and on dark surfaces. */
:root {
  /* Ink & paper */
  --ink: #17191c;
  --ink-2: #3b3f44;
  --muted: #5d6166;
  --paper: #f5f3ee;
  --paper-2: #ebe8e0;
  --card: #ffffff;
  --line: #d6d1c5;
  --line-2: #e8e4db;
  --line-strong: #8c8679;
  --bg: var(--paper);
  --dark: #141619;
  --dark-2: #23262a;
  --dark-line: #34383d;
  --dark-text: #c4c7cb;

  /* "Brand" is the ink. Older views reference these names. */
  --brand: var(--ink);
  --brand-600: #000000;
  --brand-700: var(--ink);
  --brand-50: #efece5;
  --brand-100: var(--line);
  --signal: #3ddc6e;          /* lamp green: logo + dark surfaces only (never text on light) */

  /* Status: a traffic-light system. --*-lamp is the lit indicator, --* is AA text on --*-bg. */
  --ok: #17703a;      --ok-bg: #e2f0e4;   --ok-lamp: #22a052;
  --warn: #8f5300;    --warn-bg: #fbeccc; --warn-lamp: #e9a11a;
  --bad: #b3261e;     --bad-bg: #fae3df;  --bad-lamp: #dc3a2e;
  --miss: #2f3237;    --miss-bg: #ffffff; --miss-lamp: #2f3237;  /* missing = lamp off: hollow, dashed */
  --info: #1f4e8c;    --info-bg: #e3eaf4; --info-lamp: #2f6fc4;

  --radius: 3px;
  --radius-sm: 2px;
  --shadow: none;
  --shadow-lg: 0 1px 0 rgba(23, 25, 28, .04);
  --font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --focus: #1f4e8c;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.5; font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-stretch: 82%; font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.012em; }
h1 { font-size: 1.95rem; font-weight: 800; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.1rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
small, .small { font-size: .85rem; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.mono { font-family: var(--font-mono); font-size: .86em; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
code { font-family: var(--font-mono); background: var(--paper-2); padding: 1px 5px; border-radius: 2px; font-size: .86em; }
.kicker { font-family: var(--font-display); font-stretch: 80%; font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo .word { font-family: var(--font-display); font-stretch: 78%; font-weight: 800; font-size: 1.32rem; letter-spacing: -0.01em; line-height: 1; }
.logo .word span { font-weight: 500; }
.mark { flex: none; display: block; }
.mark-housing { fill: var(--ink); }
.sidebar .mark-housing, .on-dark .mark-housing { fill: #2b2e33; stroke: #4a4e54; stroke-width: 1; }
/* Small numbered square (vendor-form steps) */
.logo-mark { display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-family: var(--font-mono); font-weight: 500; border-radius: 2px !important; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }
.container-tight { max-width: 460px; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-4, .grid-5 { grid-template-columns: 1fr; } .container { padding: 0 16px; } }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* ---------- Top nav (public) ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--ink); position: sticky; top: 0; z-index: 20; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--ink-2); font-weight: 500; white-space: nowrap; text-decoration: none; font-size: .94rem; }
.nav-links a:hover { color: var(--ink); text-decoration: underline; }
.nav-links a.btn { color: #fff; }
.nav-links a.btn:hover { text-decoration: none; }
@media (max-width: 640px) { .nav-links { gap: 14px; } .nav-links .hide-sm { display: none; } .site-header .container { height: 56px; } .logo .word { font-size: 1.2rem; } }

/* ---------- App shell ---------- */
.app-shell { display: grid; grid-template-columns: 228px 1fr; min-height: 100vh; background: linear-gradient(to right, var(--dark) 228px, var(--paper) 228px); }
.sidebar { background: var(--dark); color: var(--dark-text); padding: 18px 0 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; border-right: 1px solid #000; }
.sidebar .logo { color: #fff; margin: 2px 18px 22px; }
.sidebar .logo .word { font-size: 1.22rem; }
.side-nav { display: flex; flex-direction: column; }
.side-nav a { color: var(--dark-text); padding: 8px 18px; border-left: 3px solid transparent; display: flex; align-items: center; justify-content: space-between; font-weight: 500; font-size: .93rem; text-decoration: none; }
.side-nav a:hover { background: var(--dark-2); text-decoration: none; color: #fff; }
.side-nav a.active { background: var(--dark-2); color: #fff; border-left-color: var(--signal); font-weight: 600; }
.side-nav .count { background: var(--signal); color: #0b0c0d; border-radius: 2px; font-family: var(--font-mono); font-size: .72rem; padding: 0 6px; font-weight: 500; }
.side-section { margin: 20px 21px 6px; font-family: var(--font-display); font-stretch: 80%; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: #8d9197; font-weight: 700; }
.sidebar-foot { margin: auto 18px 0; padding: 14px 0 0; border-top: 1px solid var(--dark-line); font-size: .85rem; }
.sidebar-foot .muted { color: #9a9ea4; }
.sidebar-foot .plan-pill { display: inline-block; border: 1px solid var(--dark-line); color: #e6e8ea; border-radius: 2px; padding: 1px 8px; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.sidebar-foot button.linklike { color: #b4b8bd; text-decoration: underline; text-decoration-color: #555a60; text-underline-offset: 3px; }
.main { min-width: 0; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.topbar .inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; gap: 12px; flex-wrap: wrap; }
.page { padding: 26px 32px 64px; max-width: 1200px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.page-head h1 { margin-bottom: 4px; }
.mobile-nav { display: none; }
@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; background: var(--paper); }
  .sidebar { display: none; }
  .mobile-nav { display: flex; overflow-x: auto; gap: 0; background: var(--dark); padding: 0 8px; border-bottom: 1px solid #000; }
  .mobile-nav a { color: var(--dark-text); padding: 12px 10px 10px; border-bottom: 3px solid transparent; white-space: nowrap; font-size: .9rem; text-decoration: none; }
  .mobile-nav a.active { color: #fff; border-bottom-color: var(--signal); font-weight: 600; }
  .page, .topbar .inner { padding-left: 16px; padding-right: 16px; }
}

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.card-body { padding: 20px; }
.card-head { padding: 12px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; }
.card-head h2 { font-size: 1.15rem; }
.card-foot { padding: 12px 20px; border-top: 1px solid var(--line); background: #faf9f6; border-radius: 0 0 var(--radius) var(--radius); }
.stat { padding: 14px 16px; border-top: 3px solid var(--line-strong); }
.stat .label { color: var(--ink-2); font-family: var(--font-display); font-stretch: 80%; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.stat .value { font-family: var(--font-display); font-stretch: 80%; font-size: 2.15rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat .hint { color: var(--muted); font-size: .82rem; }
.stat.ok { border-top-color: var(--ok-lamp); } .stat.warn { border-top-color: var(--warn-lamp); } .stat.bad { border-top-color: var(--bad-lamp); } .stat.miss { border-top-color: var(--miss); } .stat.info { border-top-color: var(--info-lamp); }
.stat.ok .value { color: var(--ok); } .stat.warn .value { color: var(--warn); } .stat.bad .value { color: var(--bad); } .stat.miss .value { color: var(--miss); } .stat.info .value { color: var(--info); }
a.stat-link { color: inherit; display: block; text-decoration: none; }
a.stat-link:hover { text-decoration: none; }
a.stat-link:hover .card { border-color: var(--ink); }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty h3 { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: var(--radius); border: 1px solid var(--ink); font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; background: var(--ink); color: #fff; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.btn:hover { background: #000; border-color: #000; text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--paper); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: transparent; }
.btn-ghost:hover { background: var(--paper-2); border-color: transparent; }
.btn-danger { background: #fff; color: var(--bad); border-color: #e5a9a2; }
.btn-danger:hover { background: var(--bad-bg); border-color: var(--bad); }
.btn-go { background: var(--signal); color: #0b0c0d; border-color: var(--signal); }
.btn-go:hover { background: #5be585; border-color: #5be585; }
.btn-lg { padding: 12px 20px; font-size: 1rem; }
.btn-sm { padding: 6px 11px; font-size: .84rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .5; cursor: not-allowed; }
button.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
button.linklike:hover { text-decoration-color: currentColor; }
form.inline { display: inline; }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label, .label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink); }
.field .help { color: var(--muted); font-size: .82rem; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=number], input[type=search], input[type=tel], input[type=url], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 9px 11px; line-height: 1.4;
}
input[type=date] { font-family: var(--font-mono); font-size: .92rem; }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
input[type=file] { font: inherit; font-size: .9rem; max-width: 100%; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checkbox input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--ink); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 640px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } }
.search-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.search-bar input[type=search] { max-width: 320px; }
.search-bar select { width: auto; }

/* ---------- Alerts / flash ---------- */
.alert { border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 16px; border: 1px solid; border-left-width: 4px; font-size: .93rem; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-success { background: var(--ok-bg); border-color: var(--ok-lamp); color: #11502a; }
.alert-error { background: var(--bad-bg); border-color: var(--bad-lamp); color: #7d1a14; }
.alert-warn { background: var(--warn-bg); border-color: var(--warn-lamp); color: #643a00; }
.alert-info { background: var(--info-bg); border-color: var(--info-lamp); color: #183d6e; }
.banner-demo { background: var(--warn-bg); border-bottom: 1px solid var(--warn-lamp); color: #643a00; font-size: .85rem; text-align: center; padding: 6px 12px; }
.banner-demo a { color: inherit; }

/* ---------- Badges (status lamps) ---------- */
.badge { --lamp: currentColor; display: inline-flex; align-items: center; gap: 6px; border-radius: 2px; padding: 1px 8px 1px 7px; font-size: .78rem; font-weight: 600; white-space: nowrap; line-height: 1.6; border: 1px solid transparent; }
.badge::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--lamp); }
.badge-ok, .badge-active { background: var(--ok-bg); color: var(--ok); --lamp: var(--ok-lamp); }
.badge-expiring { background: var(--warn-bg); color: var(--warn); --lamp: var(--warn-lamp); }
.badge-expired { background: var(--bad-bg); color: var(--bad); --lamp: var(--bad-lamp); }
.badge-missing { background: var(--miss-bg); color: var(--miss); border: 1px dashed var(--miss); }
.badge-missing::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--miss); }
.badge-pending { background: var(--info-bg); color: var(--info); --lamp: var(--info-lamp); }
.badge-exempt, .badge-optional, .badge-neutral, .badge-superseded, .badge-rejected, .badge-withdrawn { background: var(--paper-2); color: var(--ink-2); --lamp: #a5a197; }
.badge.plain::before { display: none; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-family: var(--font-display); font-stretch: 80%; font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-2); font-weight: 700; padding: 9px 14px; border-bottom: 1px solid var(--ink); background: #faf9f6; white-space: nowrap; }
.table td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fbfaf7; }
.table .vendor-name { font-weight: 600; color: var(--ink); }
.table a.vendor-name, .table .vendor-name a { text-decoration: none; }
.table a.vendor-name:hover, .table .vendor-name a:hover { text-decoration: underline; }
.table .sub { color: var(--muted); font-size: .82rem; }
.doc-dots { display: flex; gap: 4px; flex-wrap: wrap; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-ok { background: var(--ok-lamp); } .dot-expiring { background: var(--warn-lamp); } .dot-expired { background: var(--bad-lamp); }
.dot-missing { background: transparent; box-shadow: inset 0 0 0 1.5px var(--miss); } .dot-exempt, .dot-optional { background: #cfcabe; }

/* ---------- Lists ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 12px 20px; border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.list li:last-child { border-bottom: 0; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 10px 20px; border-bottom: 1px solid var(--line-2); font-size: .9rem; }
.timeline li:last-child { border-bottom: 0; }
.timeline .when { color: var(--muted); font-size: .8rem; }
.list a:not(.btn), .timeline a:not(.btn), .table a:not(.btn), .card-head a:not(.btn) { text-decoration-color: transparent; }
.list a:not(.btn):hover, .timeline a:not(.btn):hover, .table a:not(.btn):hover, .card-head a:not(.btn):hover { text-decoration-color: currentColor; }

/* ---------- Doc item (vendor page & portal) ---------- */
.doc-item { padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.doc-item:last-child { border-bottom: 0; }
.doc-item .doc-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.doc-item .doc-title { font-weight: 700; }
.doc-item .doc-meta { color: var(--muted); font-size: .86rem; margin-top: 2px; }
.doc-item details { margin-top: 10px; }
.doc-item summary { cursor: pointer; color: var(--ink); font-weight: 600; font-size: .9rem; }
.doc-item .doc-form { margin-top: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.read-note { margin-top: 6px; background: var(--info-bg); border-left: 3px solid var(--info-lamp); border-radius: var(--radius-sm); padding: 6px 10px; font-size: .85rem; color: #183d6e; overflow-wrap: anywhere; }
.read-note.warn { background: var(--warn-bg); border-left-color: var(--warn-lamp); color: var(--warn); }
.read-note[hidden] { display: none; }
.pending-box { margin-top: 10px; background: var(--info-bg); border: 1px solid #b9c9e0; border-left: 4px solid var(--info-lamp); border-radius: var(--radius-sm); padding: 10px 12px; font-size: .88rem; color: #183d6e; }

/* ---------- Getting started (dashboard checklist) ---------- */
.gs-headbar { border-bottom: 0; flex-wrap: nowrap; }
.gs-head { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.gs-meter { height: 3px; background: var(--line-2); }
.gs-meter > span { display: block; height: 100%; background: var(--ink); }
.gs-hide { color: var(--ink-2); }
.gs-steps { list-style: none; margin: 0; padding: 0; }
.gs-step { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.gs-step:last-child { border-bottom: 0; }
.gs-mark { width: 26px; height: 26px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: .82rem; font-weight: 500; color: var(--ink-2); background: #fff; border: 1px solid var(--line-strong); }
.gs-step.is-done .gs-mark { background: var(--ink); border-color: var(--ink); color: #fff; font-family: var(--font); font-weight: 700; }
.gs-name { font-family: var(--font); font-stretch: 100%; font-size: .97rem; font-weight: 700; letter-spacing: 0; line-height: 1.35; margin: 3px 0 2px; }
.gs-text p { color: var(--muted); font-size: .9rem; max-width: 62ch; text-wrap: pretty; }
.gs-step.is-done .gs-name { color: var(--ink-2); }
.gs-act { display: flex; align-items: center; gap: 14px; justify-content: flex-end; min-height: 26px; padding-top: 1px; }
.gs-done-line { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding: 12px 20px; font-size: .93rem; }
@media (max-width: 640px) {
  .gs .card-head, .gs .card-foot { padding-left: 16px; padding-right: 16px; }
  .gs-step { grid-template-columns: 26px minmax(0, 1fr); padding: 14px 16px; gap: 4px 12px; }
  .gs-act { grid-column: 2; justify-content: flex-start; padding-top: 8px; }
  .gs-act:empty { display: none; }
}

/* ---------- Copy field ---------- */
.copy-field { display: flex; gap: 6px; }
.copy-field input { font-family: var(--font-mono); font-size: .82rem; background: var(--paper); }

/* ---------- Marketing ---------- */
.hero { padding: 56px 0 48px; background: var(--paper); border-bottom: 1px solid var(--ink); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-stretch: 72%; font-weight: 800; letter-spacing: -0.02em; line-height: .98; margin: 0 0 20px; max-width: 900px; text-wrap: balance; }
.hero .lede { font-size: 1.12rem; color: var(--ink-2); max-width: 620px; margin: 0 0 26px; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .fine { color: var(--muted); font-size: .86rem; margin-top: 12px; }
.eyebrow { display: inline-block; font-family: var(--font-display); font-stretch: 80%; font-size: .78rem; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; padding-top: 8px; border-top: 3px solid var(--ink); }
.section { padding: 64px 0; }
.section-alt { background: #fbfaf7; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-stretch: 76%; font-weight: 800; letter-spacing: -0.015em; line-height: 1.02; margin-bottom: 12px; text-wrap: balance; }
.section .sub { color: var(--ink-2); max-width: 620px; margin: 0 0 32px; font-size: 1.04rem; }
.feature { padding: 22px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.steps { counter-reset: step; }
.step { position: relative; padding: 20px 20px 20px 66px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 2px; background: var(--ink); color: #fff; font-family: var(--font-mono); font-weight: 500; display: flex; align-items: center; justify-content: center; }
.quote { font-size: 1.05rem; color: var(--ink-2); border-left: 3px solid var(--ink); padding: 4px 0 4px 16px; margin: 0; }
.quote cite { display: block; font-style: normal; color: var(--muted); font-size: .85rem; margin-top: 8px; }
.price-card { padding: 24px; display: flex; flex-direction: column; height: 100%; border-top: 3px solid var(--line-strong); }
.price-card.featured { border-top: 3px solid var(--ink); border-color: var(--ink); position: relative; }
.price-card .tag { align-self: flex-start; order: -1; margin: -6px 0 10px; background: var(--ink); color: #fff; font-family: var(--font-display); font-stretch: 80%; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 2px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.price-card .name { font-family: var(--font-display); font-stretch: 80%; font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; }
.price-card .price { font-family: var(--font-display); font-stretch: 78%; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 2px; line-height: 1.05; }
.price-card .price small { font-family: var(--font); font-stretch: 100%; font-size: .92rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price-card ul { list-style: none; padding: 0; margin: 16px 0 22px; flex: 1; border-top: 1px solid var(--line-2); }
.price-card li { padding: 7px 0 7px 22px; position: relative; font-size: .93rem; border-bottom: 1px solid var(--line-2); }
.price-card li::before { content: ''; position: absolute; left: 2px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok-lamp); }
.faq details { background: transparent; border: 0; border-top: 1px solid var(--line); padding: 16px 0; margin: 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-mono); font-weight: 400; color: var(--ink-2); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); max-width: 68ch; }
.site-footer { padding: 32px 0; color: var(--ink-2); font-size: .88rem; border-top: 1px solid var(--ink); background: var(--paper); }
.site-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: var(--ink-2); }
.site-footer .row { gap: 18px; }
.mock { border-radius: var(--radius); border: 1px solid var(--ink); background: #fff; overflow: hidden; }
.mock-bar { height: 32px; background: var(--paper-2); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: #cfcabe; }
.compare td:first-child { font-weight: 600; }
.auth-wrap { min-height: calc(100vh - 60px); display: flex; align-items: flex-start; justify-content: center; padding: 48px 16px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card > .text-center { text-align: left; }
.auth-card > .text-center h1 { font-size: 2.2rem; font-stretch: 74%; margin-top: 0 !important; }
.auth-card > p.text-center { text-align: left; }
.auth-card .card { border-top: 3px solid var(--ink); }
.auth-card .card-body { padding: 26px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose li { margin-bottom: 6px; }
.founder-note { max-width: 62ch; }
.founder-note p { margin: 0 0 12px; font-size: 1.04rem; color: var(--ink); }
.founder-note .founder-sig { margin: 0; font-size: .92rem; color: var(--ink-2); font-weight: 600; }

/* ---------- Portal ---------- */
.portal-header { background: #fff; border-bottom: 1px solid var(--ink); border-top: 4px solid var(--ink); padding: 16px 0; }
.portal-header .org { font-family: var(--font-display); font-stretch: 80%; font-weight: 800; font-size: 1.35rem; line-height: 1.15; }
.powered { color: var(--muted); font-size: .8rem; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.powered .mark { width: 8px; height: 13px; }

/* ---------- Print (compliance report) ---------- */
.report-page { background: #fff; padding: 32px; max-width: 1000px; margin: 0 auto; border: 1px solid var(--line); }
.report-page table.table td, .report-page table.table th { padding: 7px 10px; font-size: .84rem; }
@media print {
  body { background: #fff; font-size: 12px; }
  .no-print, .sidebar, .mobile-nav, .topbar, .banner-demo { display: none !important; }
  .app-shell { display: block; background: none !important; min-height: 0; }
  .main, .page { background: #fff; }
  .page { padding: 0; }
  .card { box-shadow: none; }
  .report-page { padding: 0; border: 0; }
  a { color: inherit; text-decoration: none; }
  .badge { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  tr { page-break-inside: avoid; }
}
.hero .cta form.inline { display: contents; }
