/* TrustEvidence design system: tokens, app shell, components. Light + dark themes. No external dependencies. */

/* ======================================================================== tokens: light */
:root {
  color-scheme: light;
  --brand: #2563eb; --brand-600: #1d4ed8; --brand-700: #1e40af; --brand-50: #eff4ff; --brand-100: #dbe6fe; --on-brand: #fff;
  --accent: #10b981;
  --ink: #0f1419; --ink-2: #334155; --muted: #5f6b7a; --faint: #8b95a3;
  --bg: #f7f8fa; --panel: #ffffff; --panel-2: #fafbfc; --hover: #f2f4f7; --active: #eaeef3;
  --line: #e6e9ee; --line-2: #d5dbe3; --track: #edf0f4;
  --sidebar: #fbfbfc; --sidebar-ink: #3b4654; --sidebar-muted: #8a94a2; --sidebar-hover: #eff1f4; --sidebar-active: #e8ecf2; --sidebar-line: #eceef2;
  --pass: #15803d; --pass-bg: #ecfdf3; --pass-bd: #bbe5c9;
  --fail: #c0262d; --fail-bg: #fef1f1; --fail-bd: #f7c7c7;
  --review: #9a5b00; --review-bg: #fff8e6; --review-bd: #f5dc9e;
  --error: #6d3fc0; --error-bg: #f4effd; --error-bd: #ddd0f6;
  --insuff: #b45309; --insuff-bg: #fff3e8; --insuff-bd: #f8d3b0;
  --na: #5f6b7a; --na-bg: #f1f3f6;
  --critical: #9b1c1c; --high: #d92d20; --medium: #b76e00; --low: #2e6ecf; --info: #5f6b7a;
  --ring: rgba(37, 99, 235, .35);
  --radius: 12px; --radius-sm: 8px; --radius-xs: 6px;
  --shadow: 0 1px 2px rgba(15, 20, 25, .04), 0 0 0 1px rgba(15, 20, 25, .02);
  --shadow-lg: 0 12px 40px -8px rgba(15, 20, 25, .18), 0 2px 8px rgba(15, 20, 25, .06);
  --font: "Inter", "Inter Variable", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, Consolas, monospace;
  --sidebar-w: 256px; --rail-w: 64px; --topbar-h: 56px; --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ======================================================================== tokens: dark (explicit, or system when not forced light) */
:root[data-theme="dark"] {
  color-scheme: dark;
  --brand: #6b9bff; --brand-600: #8ab0ff; --brand-700: #a9c4ff; --brand-50: #16213a; --brand-100: #1d2c4d; --on-brand: #0a0f1a;
  --ink: #e8ecf2; --ink-2: #c3cbd6; --muted: #98a2b0; --faint: #6b7584;
  --bg: #0b0e13; --panel: #11151c; --panel-2: #141922; --hover: #19202a; --active: #1f2733;
  --line: #222a35; --line-2: #2e3847; --track: #1e2530;
  --sidebar: #0d1117; --sidebar-ink: #c3cbd6; --sidebar-muted: #6b7584; --sidebar-hover: #171d26; --sidebar-active: #1d2531; --sidebar-line: #1a212b;
  --pass: #4ade80; --pass-bg: #0f2a1b; --pass-bd: #1d4a31;
  --fail: #f87171; --fail-bg: #2d1416; --fail-bd: #5a2327;
  --review: #fbbf24; --review-bg: #2b2210; --review-bd: #54411a;
  --error: #b69cff; --error-bg: #211a36; --error-bd: #3d3062;
  --insuff: #fb923c; --insuff-bg: #2c1c10; --insuff-bd: #57361c;
  --na: #98a2b0; --na-bg: #19202a;
  --critical: #ff6b6b; --high: #f87171; --medium: #fbbf24; --low: #7aa7ff; --info: #98a2b0;
  --ring: rgba(107, 155, 255, .45);
  --shadow: 0 0 0 1px rgba(255, 255, 255, .02);
  --shadow-lg: 0 16px 48px -8px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .04);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --brand: #6b9bff; --brand-600: #8ab0ff; --brand-700: #a9c4ff; --brand-50: #16213a; --brand-100: #1d2c4d; --on-brand: #0a0f1a;
    --ink: #e8ecf2; --ink-2: #c3cbd6; --muted: #98a2b0; --faint: #6b7584;
    --bg: #0b0e13; --panel: #11151c; --panel-2: #141922; --hover: #19202a; --active: #1f2733;
    --line: #222a35; --line-2: #2e3847; --track: #1e2530;
    --sidebar: #0d1117; --sidebar-ink: #c3cbd6; --sidebar-muted: #6b7584; --sidebar-hover: #171d26; --sidebar-active: #1d2531; --sidebar-line: #1a212b;
    --pass: #4ade80; --pass-bg: #0f2a1b; --pass-bd: #1d4a31;
    --fail: #f87171; --fail-bg: #2d1416; --fail-bd: #5a2327;
    --review: #fbbf24; --review-bg: #2b2210; --review-bd: #54411a;
    --error: #b69cff; --error-bg: #211a36; --error-bd: #3d3062;
    --insuff: #fb923c; --insuff-bg: #2c1c10; --insuff-bd: #57361c;
    --na: #98a2b0; --na-bg: #19202a;
    --critical: #ff6b6b; --high: #f87171; --medium: #fbbf24; --low: #7aa7ff; --info: #98a2b0;
    --ring: rgba(107, 155, 255, .45);
    --shadow: 0 0 0 1px rgba(255, 255, 255, .02);
    --shadow-lg: 0 16px 48px -8px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .04);
  }
}

/* ======================================================================== base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--ink); background: var(--bg);
       font-feature-settings: "cv11", "ss01", "tnum" 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: var(--radius-xs); }
::selection { background: var(--brand-100); }
h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.25; color: var(--ink); }
h1 { font-size: 1.5rem; font-weight: 650; letter-spacing: -.022em; }
h2 { font-size: 1.02rem; font-weight: 620; letter-spacing: -.01em; }
h3 { font-size: .92rem; font-weight: 620; }
p { margin: 0 0 .75rem; }
code, pre, .mono { font-family: var(--mono); font-size: 12.5px; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: 12.5px; } .nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--panel); color: var(--ink); padding: 8px 12px; z-index: 200; border-radius: var(--radius-xs); box-shadow: var(--shadow-lg); }
.skip-link:focus { left: 8px; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 1.4rem; padding: 0 .35rem; height: 1.3rem; border: 1px solid var(--line-2);
       border-bottom-width: 2px; border-radius: 5px; font: 500 11px/1 var(--font); color: var(--muted); background: var(--panel); }
.kbd + .kbd { margin-left: .2rem; }

/* ======================================================================== app shell */
.shell { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); min-height: 100vh; transition: grid-template-columns .22s var(--ease); }
:root[data-sidebar="collapsed"] .shell { grid-template-columns: var(--rail-w) minmax(0, 1fr); }

.sidebar { background: var(--sidebar); color: var(--sidebar-ink); border-right: 1px solid var(--sidebar-line); display: flex; flex-direction: column;
           position: sticky; top: 0; height: 100vh; overflow: hidden auto; scrollbar-width: thin; z-index: 40; }
.sidebar-head { height: var(--topbar-h); display: flex; align-items: center; padding: 0 14px; flex: none; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 650; font-size: 1rem; letter-spacing: -.01em; min-width: 0; }
.brand img { width: 30px; height: 30px; object-fit: contain; flex: none; }
.brand:hover { text-decoration: none; }
.brand-name, .nav-label, .org-label, .org-switch select { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.org-switch { margin: 2px 10px 10px; position: relative; }
.org-switch select, .org-switch .org-name { width: 100%; display: flex; align-items: center; gap: .55rem; background: var(--panel); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .42rem .55rem .42rem 2.35rem; font: inherit; font-size: 13px; font-weight: 560; min-height: 38px; }
.org-switch .org-name { padding-left: .5rem; }
.org-switch select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.org-switch form .org-mark { position: absolute; left: .5rem; top: 50%; transform: translateY(-50%); pointer-events: none; }
.org-mark { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--brand), #7c3aed); color: #fff; display: inline-flex; align-items: center;
            justify-content: center; font-size: 11.5px; font-weight: 700; flex: none; }

.nav { flex: 1; padding: 0 8px 8px; }
.nav-group { padding: .35rem 0 .35rem; }
.nav-group h4 { color: var(--sidebar-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; margin: .55rem .6rem .3rem; font-weight: 600; white-space: nowrap; }
.nav-link { position: relative; display: flex; align-items: center; gap: .65rem; height: 34px; padding: 0 .6rem; margin: 1px 0; color: var(--sidebar-ink);
            font-size: 13.5px; font-weight: 500; border-radius: var(--radius-sm); transition: background .12s, color .12s; }
.nav-link .i { color: var(--sidebar-muted); transition: color .12s; }
.nav-link:hover { background: var(--sidebar-hover); color: var(--ink); text-decoration: none; }
.nav-link:hover .i { color: var(--ink-2); }
.nav-link[aria-current="page"] { background: var(--sidebar-active); color: var(--ink); font-weight: 600; }
.nav-link[aria-current="page"] .i { color: var(--brand); }
.nav-link[aria-current="page"]::before { content: ""; position: absolute; left: -8px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); }
.sidebar-foot { padding: 8px; border-top: 1px solid var(--sidebar-line); font-size: 12px; color: var(--sidebar-muted); }

/* collapsed rail (desktop) */
:root[data-sidebar="collapsed"] .sidebar .brand-name,
:root[data-sidebar="collapsed"] .sidebar .nav-label,
:root[data-sidebar="collapsed"] .sidebar .org-label,
:root[data-sidebar="collapsed"] .sidebar .nav-group h4 { display: none; }
:root[data-sidebar="collapsed"] .sidebar-head { justify-content: center; padding: 0; }
:root[data-sidebar="collapsed"] .org-switch { margin: 2px 8px 8px; }
:root[data-sidebar="collapsed"] .org-switch select { color: transparent; padding: 0; background-image: none; min-height: 38px; }
:root[data-sidebar="collapsed"] .org-switch select option { color: var(--ink); }
:root[data-sidebar="collapsed"] .org-switch form .org-mark { left: 50%; transform: translate(-50%, -50%); }
:root[data-sidebar="collapsed"] .org-switch .org-name { justify-content: center; padding: 0; }
:root[data-sidebar="collapsed"] .nav-group { border-top: 1px solid var(--sidebar-line); margin-top: .35rem; padding-top: .45rem; }
:root[data-sidebar="collapsed"] .nav-group:first-child { border-top: 0; margin-top: 0; }
:root[data-sidebar="collapsed"] .nav-link { justify-content: center; padding: 0; }
:root[data-sidebar="collapsed"] .nav-link[aria-current="page"]::before { left: -8px; }
:root[data-sidebar="collapsed"] .nav-link[data-tip]:hover::after {
  content: attr(data-tip); position: fixed; left: calc(var(--rail-w) + 6px); transform: translateY(0); margin-top: 0; padding: .3rem .55rem; border-radius: var(--radius-xs);
  background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 550; white-space: nowrap; box-shadow: var(--shadow-lg); z-index: 60; pointer-events: none; }

.scrim { position: fixed; inset: 0; background: rgba(8, 12, 18, .45); backdrop-filter: blur(2px); z-index: 45; opacity: 0; transition: opacity .2s; }
body.nav-open .scrim { opacity: 1; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 1.25rem 0 .75rem;
          background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px);
          border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.topbar-left { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.topbar .actions { display: flex; align-items: center; gap: .35rem; }
.crumbs { display: flex; align-items: center; gap: .45rem; font-size: 13.5px; min-width: 0; }
.crumb-org { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 24ch; }
.crumb-sep { color: var(--line-2); }
.crumb-page { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: var(--radius-sm);
            border: 1px solid transparent; background: transparent; color: var(--ink-2); cursor: pointer; transition: background .12s, color .12s; }
.icon-btn:hover { background: var(--hover); color: var(--ink); text-decoration: none; }
.theme-i { display: none; }
[data-mode="system"] .theme-i-system, [data-mode="light"] .theme-i-light, [data-mode="dark"] .theme-i-dark { display: block; }
.icon-btn:not([data-mode]) .theme-i-system { display: block; }
.bell .count { position: absolute; top: 3px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--fail); color: #fff;
               font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.search-btn { display: inline-flex; align-items: center; gap: .5rem; height: 34px; padding: 0 .45rem 0 .65rem; min-width: 250px; border: 1px solid var(--line);
              border-radius: var(--radius-sm); background: var(--panel); color: var(--faint); font: inherit; font-size: 13px; cursor: pointer; transition: border-color .12s, box-shadow .12s; }
.search-btn:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.search-btn .search-label { flex: 1; text-align: left; }
.menu-toggle { color: var(--muted); }

/* account menu */
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.avatar { width: 32px; height: 32px; margin-left: .25rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
          background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; font-size: 13px; font-weight: 650; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--line); }
.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); width: 260px; padding: 6px; background: var(--panel); border: 1px solid var(--line);
            border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 70; animation: pop .14s var(--ease); }
.menu-id { display: flex; flex-direction: column; gap: .15rem; padding: .55rem .6rem .7rem; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu-id .pill { align-self: flex-start; margin-top: .3rem; }
.menu-item { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .45rem .6rem; border-radius: var(--radius-xs); color: var(--ink-2);
             font: inherit; font-size: 13.5px; background: none; border: 0; cursor: pointer; text-align: left; }
.menu-item:hover { background: var(--hover); color: var(--ink); text-decoration: none; }
.menu-item .i { color: var(--muted); width: 16px; height: 16px; }
.menu-form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--line); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

/* command palette */
.cmdk { width: min(640px, calc(100vw - 2rem)); margin: 12vh auto auto; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
        color: var(--ink); box-shadow: var(--shadow-lg); }
.cmdk::backdrop { background: rgba(8, 12, 18, .4); backdrop-filter: blur(3px); }
.cmdk[open] { animation: pop .16s var(--ease); }
.cmdk-input-row { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.cmdk-input, .cmdk-input:focus { flex: 1; border: 0 !important; outline: 0 !important; background: transparent !important; padding: 0 !important; font-size: 15px !important; color: var(--ink); box-shadow: none; }
.cmdk-list { list-style: none; margin: 0; padding: 6px; max-height: min(420px, 55vh); overflow: auto; }
.cmdk-list a { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: var(--radius-sm); color: var(--ink-2); font-size: 14px; }
.cmdk-list a small { margin-left: auto; color: var(--faint); font-size: 11.5px; }
.cmdk-list a .i { color: var(--muted); }
.cmdk-list a:hover, .cmdk-list a[aria-selected="true"] { background: var(--hover); color: var(--ink); text-decoration: none; }
.cmdk-list a[aria-selected="true"] .i { color: var(--brand); }
.cmdk-empty { padding: 1.4rem; text-align: center; color: var(--muted); margin: 0; }
.cmdk-foot { display: flex; gap: 1.2rem; padding: .55rem 1rem; border-top: 1px solid var(--line); background: var(--panel-2); border-radius: 0 0 14px 14px; }

.content { padding: 1.6rem 2rem 3.5rem; max-width: 1360px; width: 100%; outline: none; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; flex-wrap: wrap; }
.page-head p { margin: .25rem 0 0; color: var(--muted); max-width: 72ch; }
.user-chip { font-size: 13px; color: var(--ink-2); }

/* ======================================================================== cards, grids */
.grid { display: grid; gap: 1rem; }
.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-main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: clip; }
.card-body { padding: 1.05rem 1.2rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1.2rem; border-bottom: 1px solid var(--line); }
.card-head h2, .card-head h3 { margin: 0; }
.stack > * + * { margin-top: 1rem; }
.stat { padding: 1.1rem 1.2rem; transition: border-color .15s, box-shadow .15s; }
.stat:hover { border-color: var(--line-2); }
.stat .label { color: var(--muted); font-size: 12.5px; font-weight: 550; display: flex; align-items: center; gap: .35rem; }
.stat .value { font-size: 1.95rem; font-weight: 680; letter-spacing: -.03em; margin-top: .2rem; font-variant-numeric: tabular-nums; }
.stat .sub { font-size: 12.5px; color: var(--muted); }
.meter { height: 6px; background: var(--track); border-radius: 99px; overflow: hidden; margin-top: .55rem; }
.meter > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 70%, #7c3aed)); }
.help { cursor: help; color: var(--faint); border: 1px solid var(--line-2); border-radius: 50%; width: 15px; height: 15px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 1rem 0; }

/* Governance */
.ack-form { display: flex; flex-direction: column; gap: .45rem; align-items: flex-start; max-width: 420px; }

/* Type II period */
.period-range { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: .6rem; }
.period-dates { font-size: 1.25rem; font-weight: 650; letter-spacing: -.02em; }
.day-strip { display: flex; gap: 1px; min-width: 180px; max-width: 420px; height: 16px; }
.day-strip .d { flex: 1; min-width: 2px; border-radius: 2px; background: var(--track); }
.d-PASS { background: var(--pass) !important; } .d-FAIL { background: var(--fail) !important; }
.d-ERROR, .d-INSUFFICIENT_EVIDENCE { background: var(--error) !important; } .d-NEEDS_REVIEW { background: var(--review) !important; }
.d-NOT_APPLICABLE { background: var(--line-2) !important; }

/* onboarding checklist */
.onboarding { margin-bottom: 1rem; }
.onboarding .card-head { border-bottom: 0; padding-bottom: .6rem; }
.checklist { list-style: none; margin: .8rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.checklist li { display: flex; align-items: center; gap: .85rem; padding: .7rem 1.2rem; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.check-dot { width: 26px; height: 26px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
             font-size: 12px; font-weight: 700; color: var(--muted); border: 1.5px solid var(--line-2); background: var(--panel); }
.check-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.checklist li.is-done .check-dot { background: var(--pass); border-color: var(--pass); color: #fff; }
.checklist li.is-done .check-text strong { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-2); }
.dismissed { display: none !important; }

/* ======================================================================== badges */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .08rem .5rem; border-radius: 999px; font-size: 12px; font-weight: 580; white-space: nowrap; border: 1px solid transparent; }
.badge .ico { font-size: 11px; font-weight: 700; }
.st-PASS { color: var(--pass); background: var(--pass-bg); border-color: var(--pass-bd); }
.st-FAIL { color: var(--fail); background: var(--fail-bg); border-color: var(--fail-bd); }
.st-NEEDS_REVIEW { color: var(--review); background: var(--review-bg); border-color: var(--review-bd); }
.st-ERROR { color: var(--error); background: var(--error-bg); border-color: var(--error-bd); }
.st-INSUFFICIENT_EVIDENCE { color: var(--insuff); background: var(--insuff-bg); border-color: var(--insuff-bd); }
.st-NOT_APPLICABLE, .st-NOT_TESTED { color: var(--na); background: var(--na-bg); border-color: var(--line-2); }
.sev { display: inline-flex; align-items: center; gap: .4rem; font-size: 12.5px; font-weight: 600; text-transform: capitalize; }
.sev::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
.sev-critical { color: var(--critical); } .sev-high { color: var(--high); } .sev-medium { color: var(--medium); } .sev-low { color: var(--low); } .sev-info { color: var(--info); }
.pill { display: inline-block; padding: .05rem .45rem; border-radius: var(--radius-xs); background: var(--na-bg); color: var(--ink-2); font-size: 11.5px; font-weight: 560; border: 1px solid var(--line); }
.pill-brand { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-ok { background: var(--pass); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pass) 20%, transparent); }
.dot-warn { background: #d49b00; } .dot-bad { background: var(--fail); } .dot-idle { background: var(--faint); }

/* ======================================================================== tables */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.table th { position: sticky; top: 0; text-align: left; font-weight: 600; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em;
            padding: .6rem .9rem; border-bottom: 1px solid var(--line); background: var(--panel-2); white-space: nowrap; z-index: 1; }
.table td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .1s; }
.table tbody tr:hover td { background: var(--hover); }
.table .title-cell a { font-weight: 580; color: var(--ink); }
.table .title-cell .sub { color: var(--muted); font-size: 12.5px; }
.kv { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: .5rem 1rem; margin: 0; font-size: 13.5px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; word-break: break-word; }

/* ======================================================================== forms & buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; height: 34px; padding: 0 .9rem; border-radius: var(--radius-sm);
       border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); font: inherit; font-weight: 560; font-size: 13.5px; cursor: pointer; white-space: nowrap;
       box-shadow: 0 1px 0 rgba(15, 20, 25, .03); transition: background .12s, border-color .12s, box-shadow .12s, transform .06s; }
.btn:hover { background: var(--hover); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); box-shadow: 0 1px 2px rgba(37, 99, 235, .25), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn-primary:hover { background: var(--brand-600); border-color: var(--brand-600); }
.btn-danger { background: var(--panel); border-color: var(--fail-bd); color: var(--fail); }
.btn-danger:hover { background: var(--fail-bg); }
.btn-ghost { border-color: transparent; background: transparent; color: var(--brand); box-shadow: none; }
.btn-ghost:hover { background: var(--brand-50); }
.btn-sm { height: 28px; padding: 0 .6rem; font-size: 12.5px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
form.inline { display: inline; margin: 0; }
.field { margin-bottom: .9rem; }
.field label, .label { display: block; font-weight: 560; font-size: 13px; margin-bottom: .35rem; color: var(--ink); }
.field .hint { color: var(--muted); font-size: 12.5px; margin-top: .3rem; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=date], input[type=search], input[type=url], input[type=number], select, textarea {
  width: 100%; min-height: 36px; padding: .45rem .65rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font: inherit; background: var(--panel); color: var(--ink);
  transition: border-color .12s, box-shadow .12s; }
input::placeholder, textarea::placeholder { color: var(--faint); }
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: 0; box-shadow: 0 0 0 3px var(--ring); }
input[type=checkbox], input[type=radio] { accent-color: var(--brand); }
.check { display: flex; gap: .5rem; align-items: flex-start; font-size: 13.5px; }
.check input { margin-top: .2rem; }
.filters { display: flex; gap: .6rem; flex-wrap: wrap; align-items: flex-end; margin-bottom: 1rem; }
.filters .field { margin: 0; min-width: 150px; }
.filters .grow { flex: 1; min-width: 200px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem; margin: 0 0 1rem; }
legend { font-weight: 600; font-size: 13px; padding: 0 .3rem; }
.checks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .25rem .75rem; max-height: 220px; overflow: auto; }

/* ======================================================================== callouts, alerts, empty */
.flash, .callout { border-radius: var(--radius-sm); padding: .75rem .95rem; margin-bottom: 1rem; border: 1px solid; font-size: 13.5px; }
.flash { display: flex; gap: .5rem; align-items: flex-start; animation: pop .2s var(--ease); }
.flash-success { background: var(--pass-bg); border-color: var(--pass-bd); color: var(--pass); }
.flash-error { background: var(--fail-bg); border-color: var(--fail-bd); color: var(--fail); }
.flash-info, .callout-info { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); }
.callout { background: var(--panel-2); border-color: var(--line); color: var(--ink-2); }
.callout-warn { background: var(--review-bg); border-color: var(--review-bd); color: var(--review); }
.callout-danger { background: var(--fail-bg); border-color: var(--fail-bd); color: var(--fail); }
.callout-info a, .callout-warn a, .callout-danger a { color: inherit; text-decoration: underline; }
.empty { text-align: center; padding: 2.6rem 1rem; color: var(--muted); }
.empty h3 { color: var(--ink); }
.disclaimer { font-size: 12px; color: var(--muted); border-left: 3px solid var(--line-2); padding: .3rem .75rem; margin: .5rem 0; }

/* ======================================================================== code, timeline, tabs, charts */
.code { position: relative; background: #0b1220; color: #d6e2f0; border: 1px solid #1c2638; border-radius: var(--radius-sm); padding: .85rem 1rem; overflow-x: auto;
        white-space: pre; font-family: var(--mono); font-size: 12.5px; line-height: 1.6; margin: .4rem 0 .8rem; }
.code-wrap { position: relative; }
.copy-btn { position: absolute; z-index: 1; top: .45rem; right: .45rem; background: #172238; color: #d6e2f0; border: 1px solid #2a3a55; border-radius: var(--radius-xs); padding: .15rem .55rem; font-size: 11.5px; cursor: pointer; }
.copy-btn:hover { background: #1f2d49; }
.json { max-height: 520px; overflow: auto; }
.steps { padding-left: 1.2rem; margin: .3rem 0 .8rem; } .steps li { margin: .3rem 0; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 .95rem 1.3rem; border-left: 2px solid var(--line); margin-left: .4rem; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: .32rem; width: 10px; height: 10px; border-radius: 50%; background: var(--panel); border: 2px solid var(--brand); }
.timeline .when { color: var(--muted); font-size: 12px; }
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; overflow-x: auto; }
.tabs a { padding: .55rem .8rem; color: var(--muted); border-bottom: 2px solid transparent; font-weight: 560; white-space: nowrap; }
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand); }
.bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 96px; padding-top: .5rem; }
.bar-chart .bar { flex: 1; height: 100%; display: flex; flex-direction: column-reverse; min-width: 10px; border-radius: 4px 4px 0 0; overflow: hidden; background: var(--track); }
.bar-chart .bar .p { background: var(--pass); } .bar-chart .bar .f { background: var(--fail); }
.legend { display: flex; gap: 1rem; font-size: 12px; color: var(--muted); margin-top: .5rem; }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; background: var(--c); }
.status-bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--track); margin: .55rem 0; gap: 2px; }
.status-bar span { display: block; height: 100%; }
.pager { display: flex; gap: .5rem; align-items: center; justify-content: flex-end; padding: .75rem 1rem; }

/* ======================================================================== public pages */
.public { min-height: 100vh; display: flex; flex-direction: column; background: var(--panel); overflow-x: clip; }
.public-nav { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; border-bottom: 1px solid var(--line); }
.public-nav .brand { color: var(--ink); padding: 0; }
.public-main { flex: 1; }
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem;
             background: radial-gradient(1200px 600px at 50% -10%, var(--brand-50), transparent 60%), var(--bg); }
.auth-card { width: min(100%, 420px); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 2rem; box-shadow: var(--shadow-lg); }
.auth-card .brand { color: var(--ink); padding: 0 0 1rem; }
.doc { max-width: 860px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.doc h2 { margin-top: 1.6rem; }
.public-foot { border-top: 1px solid var(--line); padding: 1.2rem 2rem; color: var(--muted); font-size: 12.5px; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; }

/* ======================================================================== responsive */
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-main { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1023px) {
  /* The sidebar becomes an off-canvas drawer opened from the menu button. */
  .shell, :root[data-sidebar="collapsed"] .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: min(86vw, 292px); height: 100dvh; transform: translateX(-102%); transition: transform .24s var(--ease);
             z-index: 50; box-shadow: none; }
  body.nav-open .sidebar { transform: none; box-shadow: var(--shadow-lg); }
  body.nav-open { overflow: hidden; }
  /* In the drawer the full labels always show, whatever the desktop rail preference. */
  :root[data-sidebar="collapsed"] .sidebar .brand-name, :root[data-sidebar="collapsed"] .sidebar .nav-label,
  :root[data-sidebar="collapsed"] .sidebar .org-label, :root[data-sidebar="collapsed"] .sidebar .nav-group h4 { display: initial; }
  :root[data-sidebar="collapsed"] .sidebar .nav-group h4 { display: block; }
  :root[data-sidebar="collapsed"] .sidebar-head { justify-content: flex-start; padding: 0 14px; }
  :root[data-sidebar="collapsed"] .nav-link { justify-content: flex-start; padding: 0 .6rem; }
  :root[data-sidebar="collapsed"] .nav-group { border-top: 0; margin-top: 0; }
  :root[data-sidebar="collapsed"] .nav-link[data-tip]:hover::after { display: none; }
  :root[data-sidebar="collapsed"] .org-switch select { color: var(--ink); padding: .42rem .55rem .42rem 2.35rem; }
  :root[data-sidebar="collapsed"] .org-switch form .org-mark { left: .5rem; transform: translateY(-50%); }
  :root[data-sidebar="collapsed"] .org-switch .org-name { justify-content: flex-start; padding: .42rem .5rem; }
  .search-btn { min-width: 0; }
  .search-btn .search-label, .search-btn .kbd { display: none; }
  .search-btn { width: 34px; padding: 0; justify-content: center; border-color: transparent; background: transparent; }
}
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4, .grid-main { grid-template-columns: minmax(0, 1fr); }
  .main, .content { min-width: 0; max-width: 100vw; }
  .content { padding: 1rem; } .topbar { padding: 0 .6rem; }
  .crumb-org, .crumb-sep { display: none; }
  .kv { grid-template-columns: 1fr; } .kv dt { margin-top: .4rem; }
  .user-chip { display: none; }
  .cmdk { margin-top: 8vh; } .cmdk-foot { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print {
  .sidebar, .topbar, .btn, form, .scrim, .cmdk { display: none !important; }
  .shell { display: block; } .card { box-shadow: none; break-inside: avoid; } body { background: #fff; color: #000; }
}

/* Trends: sparklines and 7-day deltas */
.spark { display: block; width: 100%; height: 32px; margin-top: .55rem; overflow: visible; }
.spark-empty { height: auto; }
.delta { font-size: 12px; font-weight: 600; white-space: nowrap; margin-left: .25rem; }
.delta-good { color: var(--pass); } .delta-bad { color: var(--fail); }
.history-row { display: flex; align-items: center; gap: 1rem; padding-top: .8rem; padding-bottom: .8rem; }
.history-row .day-strip { flex: 1; max-width: none; }

/* Work lists */
.work-list { list-style: none; margin: 0; padding: 0; }
.work-list li { display: flex; align-items: center; gap: .65rem; padding: .7rem 1.2rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.work-list li:first-child { border-top: 0; }
.work-list li > a { font-weight: 600; }
.work-list .grow { flex: 1; min-width: 12rem; }
.work-list .urgency { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); flex: none; }
.work-list li.u0 .urgency { background: var(--fail); } .work-list li.u1 .urgency { background: var(--review); }
.work-list-lg li { padding: .85rem 1.2rem; }
.work-counts { margin-bottom: .8rem; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .75rem; }
.link-grid a { display: flex; flex-direction: column; gap: .25rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; color: inherit; text-decoration: none; }
.link-grid a:hover { border-color: var(--accent); }

/* Finding ticket export */
details.ticket > summary { cursor: pointer; padding: .9rem 1.2rem; list-style-position: inside; }
details.ticket[open] > summary { border-bottom: 1px solid var(--line); }

/* Slide-out detail drawer */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100vw); z-index: 60; background: var(--panel);
  border-left: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateX(100%);
  transition: transform .18s ease-out; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-content { display: flex; flex-direction: column; min-height: 0; height: 100%; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: .15rem 0 0; font-size: 1.05rem; }
.drawer-body { padding: 1rem 1.2rem 2rem; overflow-y: auto; flex: 1; }
.drawer-body h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 1.2rem 0 .5rem; }
.drawer-body .day-strip { max-width: none; }
.drawer-list { list-style: none; margin: 0; padding: 0; }
.drawer-list li { display: flex; gap: .5rem; align-items: center; padding: .4rem 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.drawer-loading { padding: 2rem 1.2rem; }
.drawer-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(15, 23, 42, .28); }
details.raw { margin-top: 1.2rem; } details.raw summary { cursor: pointer; font-size: 13px; color: var(--muted); }
details.raw pre { max-height: 320px; overflow: auto; margin-top: .5rem; }
@media (prefers-reduced-motion: reduce) { .drawer { transition: none; } }
body.drawer-open { overflow: hidden; }

/* ======================================================================== landing page */
.public-nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--panel) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); gap: 1rem; }
.public-links { display: flex; gap: 1.6rem; margin-left: auto; margin-right: 1rem; }
.public-links a { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.public-links a:hover { color: var(--ink); }
.public-nav .nav-security { color: var(--ink-2); font-weight: 500; }
.btn-lg { height: 42px; padding: 0 1.15rem; font-size: 15px; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }

.lp-hero { max-width: 1200px; margin: 0 auto; padding: 4.5rem 2rem 3rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 3.5rem; align-items: center; }
.lp-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; margin: .8rem 0 1.1rem; }
.lp-lead { font-size: 1.12rem; line-height: 1.6; color: var(--ink-2); max-width: 34rem; margin: 0 0 1.6rem; }
.lp-facts { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: 0; margin: 1.1rem 0 0; color: var(--muted); font-size: 13.5px; }
.lp-facts li::before { content: "\2713"; color: var(--pass); font-weight: 700; margin-right: .4rem; }
.lp-note { font-size: 12.5px; color: var(--faint); margin: 1.2rem 0 0; max-width: 34rem; }

.lp-preview { margin: 0; position: relative; }
.lp-preview::before { content: ""; position: absolute; inset: -12% -8% -10% -6%; z-index: 0; border-radius: 40px;
  background: radial-gradient(60% 60% at 60% 40%, var(--brand-100), transparent 70%); opacity: .7; pointer-events: none; }
.pv-window { position: relative; z-index: 1; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.pv-bar { display: flex; align-items: center; gap: .4rem; padding: .65rem .9rem; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.pv-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.pv-bar em { font-style: normal; font-size: 12px; color: var(--muted); margin-left: .6rem; }
.pv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; padding: .9rem; }
.pv-stats > div { border: 1px solid var(--line); border-radius: 10px; padding: .6rem .7rem .4rem; min-width: 0; }
.pv-stats small { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-stats strong { display: block; font-size: 1.35rem; letter-spacing: -.02em; margin: .1rem 0 .15rem; }
.pv-stats svg { display: block; width: 100%; height: 26px; }
.pv-rows { list-style: none; margin: 0; padding: 0 .9rem .6rem; }
.pv-rows li { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 7.2rem; gap: .8rem; align-items: center; padding: .55rem 0; border-top: 1px solid var(--line); }
.pv-name { min-width: 0; display: flex; flex-direction: column; }
.pv-name b { font-size: 12px; font-weight: 650; }
.pv-name span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-rows .day-strip { min-width: 0; max-width: none; height: 12px; }
.pv-status { display: flex; justify-content: flex-end; }
.pv-status .badge { font-size: 11px; }
.lp-preview figcaption { position: relative; z-index: 1; font-size: 12px; color: var(--faint); margin-top: .7rem; text-align: center; }

.lp-connectors { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel-2); padding: 1.4rem 2rem; text-align: center; }
.lp-connectors p { margin: 0 0 .8rem; color: var(--ink-2); font-size: 14.5px; }
.lp-connectors ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 0; padding: 0; }
.lp-connectors li { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: .4rem .9rem; font-size: 14px; font-weight: 600; }
.lp-connectors li span { font-weight: 400; color: var(--muted); font-size: 12.5px; margin-left: .3rem; }

.lp-section { max-width: 1200px; margin: 0 auto; padding: 5rem 2rem 1rem; scroll-margin-top: 4rem; }
.lp-head { max-width: 42rem; margin-bottom: 2.2rem; }
.lp-head h2, .lp-band h2, .lp-cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; line-height: 1.15; margin: .5rem 0 .6rem; }
.lp-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.lp-steps li { position: relative; padding: 1.3rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.lp-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: var(--brand-50);
  color: var(--brand-700); font-weight: 700; font-size: 13px; border: 1px solid var(--brand-100); }
.lp-steps h3, .lp-features h3 { font-size: 1rem; margin: .8rem 0 .35rem; letter-spacing: -.01em; }
.lp-steps p, .lp-features p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; }
.lp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lp-features article { padding: 1.4rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: border-color .15s, box-shadow .15s; }
.lp-features article:hover { border-color: var(--brand-100); box-shadow: var(--shadow); }
.lp-features .i { width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: var(--brand-50); color: var(--brand-700);
  stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; box-shadow: inset 0 0 0 1px var(--brand-100); }

.lp-band { margin-top: 5rem; background: #0b1220; color: #e6ebf5; scroll-margin-top: 4rem; }
.lp-band-inner { max-width: 1200px; margin: 0 auto; padding: 4.5rem 2rem; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3rem; }
.lp-band .eyebrow { color: #8ab0ff; }
.lp-band h2 { color: #fff; }
.lp-checks { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .8rem; }
.lp-checks li { position: relative; padding-left: 1.8rem; color: #c9d3e6; line-height: 1.5; }
.lp-checks li::before { content: "\2713"; position: absolute; left: 0; top: .1rem; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: rgba(107, 155, 255, .18); color: #8ab0ff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.lp-wont { border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 1.6rem; background: rgba(255, 255, 255, .03); align-self: start; }
.lp-wont h3 { color: #fff; margin: 0 0 1rem; font-size: 1.05rem; }
.lp-wont ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.lp-wont li { color: #aab6cc; font-size: 14.5px; line-height: 1.5; }
.lp-wont strong { color: #fff; }

.lp-cta { max-width: 760px; margin: 0 auto; padding: 5rem 2rem; text-align: center; }
.lp-cta p { color: var(--muted); margin: 0 auto 1.6rem; }
.lp-cta .btn-row { justify-content: center; }

@media (max-width: 1023px) {
  .lp-hero { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-top: 3rem; }
  .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-band-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .public-links, .nav-security { display: none; }
  .public-nav { padding: .75rem 1rem; }
  .lp-hero, .lp-section, .lp-band-inner, .lp-cta { padding-left: 1rem; padding-right: 1rem; }
  .lp-section { padding-top: 3.5rem; }
  .lp-steps, .lp-features { grid-template-columns: minmax(0, 1fr); }
  .pv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-hide-sm { display: none; }
  .pv-rows li { grid-template-columns: minmax(0, 1fr) 7.2rem; }
  .pv-rows .day-strip { grid-column: 1 / -1; grid-row: 2; }
  .lp-connectors { padding: 1.2rem 1rem; }
}
