/* ProofKit UI
 * Tokens, type and shadow language follow the same family as the rest of IT
 * Toolbox (copied from ittoolbox/static/app.css) so the tools read as one
 * shop, retinted to ProofKit's own hue: green, because this is the tool
 * that proves things are locked down. Bare :root is the complete light
 * palette. Dark redefines tokens only, guarded so an explicit light choice
 * beats a dark OS. Components read tokens and never declare a color inside a
 * media or [data-theme] block.
 */

@font-face {
  font-family: "Inter var";
  src: url("/static/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --page: #f2f4f7;
  --surface: #ffffff;
  --surface-2: #f7f9fb;
  --sunken: #eceff4;
  --ink: #111722;
  --ink-2: #414c5c;
  --muted: #737e8d;
  --line: #e0e5ec;
  --line-strong: #ccd4de;

  /* ProofKit's own hue: green, used for chrome, links and buttons */
  --accent: #15803d;
  --accent-2: #0e9f6e;
  --accent-hover: #0f6b31;
  --accent-quiet: rgba(21, 128, 61, 0.10);
  --on-accent: #ffffff;

  --good: #0d7a52;
  --good-quiet: rgba(13, 122, 82, 0.10);
  --warn: #a2650a;
  --warn-quiet: rgba(162, 101, 10, 0.12);
  --crit: #c0392f;
  --crit-quiet: rgba(192, 57, 47, 0.10);
  --on-crit: #ffffff;

  --grid: rgba(17, 23, 34, 0.07);
  --shadow: 0 1px 2px rgba(17, 23, 34, 0.05), 0 8px 24px rgba(17, 23, 34, 0.05);
  --shadow-lift: 0 12px 40px rgba(17, 23, 34, 0.14);
  --focus: #15803d;
  --sheen: none;

  --sans: "Inter var", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --radius: 10px;
  --radius-sm: 6px;
  --shell: 1080px;
  --rail: 232px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #0a0d13;
    --surface: #131a27;
    --surface-2: #1b2334;
    --sunken: #0f141c;
    --ink: #e7ebf2;
    --ink-2: #a9b4c4;
    --muted: #76828f;
    --line: #232c3a;
    --line-strong: #34404f;

    --accent: #4ade80;
    --accent-2: #34d399;
    --accent-hover: #6ee7a0;
    --accent-quiet: rgba(74, 222, 128, 0.16);
    --on-accent: #06231a;

    --good: #3cc78f;
    --good-quiet: rgba(60, 199, 143, 0.14);
    --warn: #e0a44a;
    --warn-quiet: rgba(224, 164, 74, 0.15);
    --crit: #f2695c;
    --crit-quiet: rgba(242, 105, 92, 0.15);
    --on-crit: #0c1017;

    --grid: rgba(231, 235, 242, 0.07);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lift: 0 12px 40px rgba(0, 0, 0, 0.55);
    --focus: #8fe0ab;
    --sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 46%);
  }
}

:root[data-theme="dark"] {
  --page: #0a0d13;
  --surface: #131a27;
  --surface-2: #1b2334;
  --sunken: #0f141c;
  --ink: #e7ebf2;
  --ink-2: #a9b4c4;
  --muted: #76828f;
  --line: #232c3a;
  --line-strong: #34404f;

  --accent: #4ade80;
  --accent-2: #34d399;
  --accent-hover: #6ee7a0;
  --accent-quiet: rgba(74, 222, 128, 0.16);
  --on-accent: #06231a;

  --good: #3cc78f;
  --good-quiet: rgba(60, 199, 143, 0.14);
  --warn: #e0a44a;
  --warn-quiet: rgba(224, 164, 74, 0.15);
  --crit: #f2695c;
  --crit-quiet: rgba(242, 105, 92, 0.15);
  --on-crit: #0c1017;

  --grid: rgba(231, 235, 242, 0.07);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lift: 0 12px 40px rgba(0, 0, 0, 0.55);
  --focus: #8fe0ab;
  --sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 46%);
}

/* ---------- base ---------- */

body {
  font-family: var(--sans);
  background: var(--page);
  color: var(--ink);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 2px; text-decoration: none; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 { line-height: 1.25; text-wrap: balance; font-weight: 650; }
h1 { font-size: 1.5rem; letter-spacing: -0.015em; }
h2 { font-size: 1.05rem; letter-spacing: -0.005em; }
h3 { font-size: 0.95rem; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }

.mono, .statnum, code, pre { font-family: var(--mono); font-variant-numeric: tabular-nums; }
/* Long unbroken monospace tokens (evidence hashes, resource ids) have no
   spaces to wrap on, so without this a narrow viewport overflows
   horizontally instead of wrapping the token onto more than one line. */
.mono, code { overflow-wrap: anywhere; }

/* ---------- shell ---------- */

.appshell { display: block; }
body.has-rail .appshell {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  min-height: 100vh;
}

.rail {
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 18px 14px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  padding: 0 8px;
}
.brand span { color: var(--accent); }
.brand::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: -1px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.navgroup { display: flex; flex-direction: column; gap: 2px; }
.navlabel {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--muted);
  padding: 0 8px 6px;
}
.navlink {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.9rem;
  border-left: 2px solid transparent;
}
.navlink:hover { background: var(--surface-2); color: var(--ink); }
.navlink.active {
  background: var(--accent-quiet);
  color: var(--accent);
  font-weight: 600;
  border-left-color: var(--accent);
}
.navlink .count { margin-left: auto; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.navlink.active .count { color: var(--accent); }

.railfoot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding-top: 16px; }
.railfoot .navlink { font-size: 0.85rem; }
.railuser { font-size: 0.75rem; color: var(--muted); padding: 0 9px; word-break: break-all; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 24px;
  background: color-mix(in srgb, var(--page) 78%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
body.has-rail .topbar { display: none; }
.navlinks { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.navlinks a { color: var(--ink-2); text-decoration: none; font-size: 0.92rem; }
.navlinks a:hover { color: var(--ink); }

.content { padding: 26px 28px 64px; min-width: 0; }
.container { max-width: 880px; margin: 0 auto; padding: 30px 20px 64px; }
.wide { max-width: 1120px; margin: 0 auto; }

.sitefoot { text-align: center; color: var(--muted); font-size: 0.82rem; padding: 28px 20px 40px; border-top: 1px solid var(--line); }
.sitefoot a { color: var(--muted); }

@media (max-width: 900px) {
  body.has-rail .appshell { grid-template-columns: minmax(0, 1fr); }
  body.has-rail .topbar { display: flex; }
  .rail {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px 12px;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  .rail .brand, .navlabel, .railuser { display: none; }
  .navgroup { flex-direction: row; gap: 4px; }
  .navlink { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .navlink.active { border-left: 0; border-bottom-color: var(--accent); }
  .railfoot { margin-top: 0; flex-direction: row; padding-top: 0; }
  .content { padding: 20px 16px 56px; }
}

/* ---------- cards and surfaces ---------- */

.card {
  background: var(--surface);
  background-image: var(--sheen);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.card > h2 { margin-bottom: 4px; }
.card > h2 + .muted, .card > h2 + p { margin-bottom: 12px; }
.card > table { margin-top: 12px; }
.card p + p { margin-top: 8px; }

.cardlist { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.rowcard {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  margin-bottom: 0;
  transition: border-color 0.12s ease, transform 0.12s ease;
}
.rowcard:hover { border-color: var(--line-strong); transform: translateY(-1px); color: var(--ink); }
.rowcard .rowmain { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rowcard .muted { margin-left: auto; }

.emptystate {
  text-align: center;
  padding: 34px 20px;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.emptystate h2 { color: var(--ink); margin-bottom: 6px; }
.emptystate p { max-width: 46ch; margin: 0 auto; }

/* ---------- buttons and controls ---------- */

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
  border: 1px solid transparent;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 650;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  transition: filter 0.12s ease, transform 0.12s ease;
}
.btn:hover { filter: brightness(1.1); color: var(--on-accent); transform: translateY(-1px); }
.btn-sm { padding: 6px 11px; font-size: 0.82rem; }
.btn-lg { padding: 11px 22px; font-size: 1rem; }
.btn-block { width: 100%; text-align: center; }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--accent-quiet); color: var(--accent); }
.btn-danger { background: var(--crit); color: var(--on-crit); }
.btn-danger:hover { background: var(--crit); filter: brightness(0.92); color: var(--on-crit); }

.linklike {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ink-2);
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.linklike:hover { color: var(--ink); }
.danger { color: var(--crit); }
.inline { display: inline; }
button[disabled] { opacity: 0.55; cursor: default; }

/* ---------- forms ---------- */

label { display: block; margin-bottom: 14px; font-weight: 600; font-size: 0.88rem; color: var(--ink); }
label.nomb { margin-bottom: 0; }
label .muted { font-weight: 400; }
label > .muted:not(.inline) { font-size: 0.82rem; }

input, select, textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.92rem;
  background: var(--surface-2);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { background: var(--surface); border-color: var(--accent); }
input::placeholder { color: var(--muted); }
.stacked button { margin-top: 6px; }
.formcard { max-width: 560px; }
.authbox { max-width: 400px; margin: 56px auto; }
.checkrow { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.checkrow input[type="checkbox"] { width: auto; margin-top: 0; }
.checkrow label { margin-bottom: 0; }

/* ---------- text utilities ---------- */

.center { text-align: center; }
.small { font-size: 0.84rem; }
.muted { color: var(--muted); font-weight: 400; }

.flash {
  background: var(--accent-quiet);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.flash-err { background: var(--crit-quiet); color: var(--crit); border-color: transparent; }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  vertical-align: middle;
}
.badge-pro { background: var(--accent); color: var(--on-accent); }
.badge-demo { background: var(--warn-quiet); color: var(--warn); }
.badge-alert { background: var(--crit-quiet); color: var(--crit); }

/* ---------- page head, stat row, score ---------- */

.pagehead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.pagehead h1 { margin-bottom: 0; }
.pagehead .subhead { color: var(--muted); font-size: 0.88rem; margin-top: 2px; }
.actionbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }

.statrow { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.stat {
  flex: 1 1 120px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.stat .muted { display: block; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.statnum { font-size: 1.5rem; font-weight: 700; }
.stat-good .statnum { color: var(--good); }
.stat-crit .statnum { color: var(--crit); }
.stat-warn .statnum { color: var(--warn); }

.scoreband { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; }
.scorering {
  --score: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: conic-gradient(var(--good) calc(var(--score) * 1%), var(--sunken) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.scorering::before {
  content: attr(data-score) "%";
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  font-family: var(--mono);
}
.scorebar { width: 100%; max-width: 360px; height: 10px; border-radius: 6px; background: var(--sunken); overflow: hidden; }
.scorebar > span { display: block; height: 100%; background: var(--good); }

/* ---------- family cards ---------- */

.famgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 22px; }
.famcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.famcard h3 { margin-bottom: 8px; }
.famcounts { display: flex; gap: 12px; font-size: 0.85rem; flex-wrap: wrap; }
.famcounts .fc-pass { color: var(--good); }
.famcounts .fc-fail { color: var(--crit); }
.famcounts .fc-warn { color: var(--warn); }
.famcounts .fc-na, .famcounts .fc-accepted { color: var(--muted); }

/* ---------- tables ---------- */

.tablewrap { overflow-x: auto; }
.metrictable { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.metrictable th, .metrictable td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.metrictable tbody tr:last-child td { border-bottom: 0; }
.metrictable th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; }
.metrictable td.num { font-variant-numeric: tabular-nums; text-align: right; }
.metrictable a { text-decoration: none; font-weight: 550; }
.metrictable a:hover { text-decoration: underline; }

.fwtabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.fwtab {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  text-decoration: none;
  background: var(--surface);
}
.fwtab:hover { border-color: var(--accent); color: var(--accent); }
.fwtab.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.fwcoverage { margin: 0 0 14px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.pill-pass { background: var(--good-quiet); color: var(--good); }
.pill-fail { background: var(--crit-quiet); color: var(--crit); }
.pill-warn { background: var(--warn-quiet); color: var(--warn); }
.pill-na { background: var(--sunken); color: var(--muted); }
.pill-error { background: var(--crit-quiet); color: var(--crit); }
.pill-accepted { background: var(--accent-quiet); color: var(--accent); }

.sevpill { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.sev-high { color: var(--crit); }
.sev-medium { color: var(--warn); }
.sev-low { color: var(--muted); }

/* ---------- code blocks (az cli commands) ---------- */

.codeblock { position: relative; margin: 14px 0; }
.codeblock pre {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 74px 14px 16px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.copybtn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.76rem;
  color: var(--ink-2);
  cursor: pointer;
}
.copybtn:hover { border-color: var(--accent); color: var(--accent); }
code { font-family: var(--mono); }

/* ---------- evidence / check page ---------- */

.evidencecard { margin-bottom: 18px; }
.reasonrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.reasonrow input[type="text"] { width: auto; flex: 1 1 200px; margin-top: 0; }
.mapgrid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 14px 0; }
.maprow { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; }
.maprow .muted { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }

/* ---------- danger zone ---------- */

.dangerzone {
  border: 1px solid var(--crit-quiet);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 26px;
}
.dangerzone h2 { color: var(--crit); }
.dangerzone p { color: var(--ink-2); font-size: 0.88rem; }
.dangerzone ul { margin: 8px 0 12px 20px; font-size: 0.88rem; color: var(--ink-2); }
.dangerzone li { margin: 3px 0; }

/* ---------- watermark (demo) ---------- */

.watermark {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--warn-quiet);
  color: var(--warn);
  font-weight: 700;
  font-size: 0.82rem;
  text-align: center;
  padding: 8px 12px;
  margin: -26px -28px 20px;
}
@media (max-width: 900px) { .watermark { margin: -20px -16px 20px; } }

/* ---------- busy overlay ---------- */

.busyoverlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 13, 19, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.busyoverlay[hidden] { display: none; }
.busycard {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
  box-shadow: var(--shadow-lift);
  max-width: 320px;
}
.busymsg { font-weight: 650; margin-bottom: 6px; }
.spinner {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin-bottom: 12px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- marketing (landing) ---------- */

.hero { padding: 56px 0 44px; max-width: 46rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); line-height: 1.1; letter-spacing: -0.035em; font-weight: 800; margin-bottom: 18px; }
.hero .sub { font-size: 1.08rem; color: var(--ink-2); max-width: 58ch; }
.herobtns { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

.pricegrid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 24px 0 40px; }
.plan { display: flex; flex-direction: column; }
.plan-featured { border-color: var(--accent); }
.planname { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; }
.price { display: block; font-size: 2rem; font-weight: 800; margin: 6px 0; font-family: var(--mono); }
.permo { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.planfor { color: var(--ink-2); font-size: 0.9rem; margin-bottom: 14px; }
.plan ul { list-style: none; margin-bottom: 18px; flex: 1; }
.plan li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 0.9rem; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.faqlist { display: flex; flex-direction: column; gap: 4px; margin: 20px 0 40px; }
.faqitem { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faqitem summary { cursor: pointer; font-weight: 650; list-style: none; }
.faqitem summary::-webkit-details-marker { display: none; }
.faqitem summary::after { content: "+"; float: right; color: var(--accent); font-weight: 700; }
.faqitem[open] summary::after { content: "\2212"; }
.faqitem p { margin-top: 10px; color: var(--ink-2); font-size: 0.92rem; }

.askgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 20px 0 40px; }
.askcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.askcard .q { font-weight: 650; margin-bottom: 6px; }
.askcard .a { color: var(--ink-2); font-size: 0.88rem; }
.askcard .a code { font-size: 0.82rem; }

.band { margin-top: 40px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.bandgrid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.bandgrid h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.bandgrid p { font-size: 0.92rem; color: var(--ink-2); }

.scopetable { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.92rem; }
.scopetable th, .scopetable td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.scopetable th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }

@media (max-width: 620px) {
  .hero { padding: 36px 0 32px; }
}
