/* ============================================================
   Anonymous Voting — "Make your mark"
   Ballot-paper design system
   Paper + ink + a single vermillion stamp accent
   ============================================================ */

/* Fonts load via <link rel="preconnect"> + stylesheet in the HTML <head>
   (faster than @import, which blocks render until this CSS is fetched first). */

:root {
  /* ---- Paper & ink ---- */
  --paper:        oklch(0.974 0.012 82);   /* warm cream page */
  --paper-2:      oklch(0.955 0.013 82);   /* slightly deeper paper */
  --card:         oklch(0.992 0.006 86);   /* raised sheet, near-white warm */
  --ink:          oklch(0.235 0.012 68);   /* warm near-black text */
  --ink-soft:     oklch(0.415 0.012 68);   /* secondary text */
  --ink-faint:    oklch(0.46 0.012 70);    /* captions / meta (darkened for WCAG contrast) */
  --line:         oklch(0.885 0.013 78);   /* hairlines */
  --line-strong:  oklch(0.82 0.014 78);

  /* ---- The stamp ---- */
  --stamp:        oklch(0.565 0.176 33);   /* vermillion */
  --stamp-deep:   oklch(0.495 0.168 33);
  --stamp-tint:   oklch(0.93 0.045 40);    /* faint wash for fills */
  --stamp-line:   oklch(0.80 0.10 36);

  /* ---- ink wash for bars / secondary fills ---- */
  --ink-wash:     oklch(0.90 0.012 80);

  /* ---- type ---- */
  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans:  'Public Sans', system-ui, sans-serif;
  --mono:  'Spline Sans Mono', ui-monospace, monospace;

  /* ---- shape ---- */
  --r-sm: 4px;
  --r:    7px;
  --r-lg: 12px;

  --shadow-sm: 0 1px 2px oklch(0.3 0.02 70 / 0.06), 0 1px 1px oklch(0.3 0.02 70 / 0.04);
  --shadow:    0 2px 4px oklch(0.3 0.02 70 / 0.05), 0 8px 22px oklch(0.3 0.02 70 / 0.07);
  --shadow-lg: 0 4px 10px oklch(0.3 0.02 70 / 0.06), 0 24px 56px oklch(0.3 0.02 70 / 0.12);

  --maxw: 1140px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--paper);
  /* faint paper grain */
  background-image:
    radial-gradient(oklch(0.5 0.02 70 / 0.025) 0.5px, transparent 0.6px);
  background-size: 4px 4px;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--stamp); color: #fff; }

a { color: inherit; text-decoration: none; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 760px; }

section { position: relative; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.08; letter-spacing: -0.012em; }

.display {
  font-size: clamp(2.7rem, 6.2vw, 4.7rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.02em;
}
.display em { font-style: italic; font-weight: 500; color: var(--stamp); }

h2.section-title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); letter-spacing: -0.018em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stamp-deep);
}
.eyebrow.muted { color: var(--ink-faint); }

.lede { font-size: clamp(1.08rem, 1.5vw, 1.32rem); color: var(--ink-soft); line-height: 1.55; text-wrap: pretty; }

.meta { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.02em; color: var(--ink-faint); }

/* ---------- stamp mark (the brand glyph) ---------- */
.mark {
  display: inline-grid;
  place-items: center;
  width: 1.65em; height: 1.65em;
  border: 1.5px solid var(--stamp);
  border-radius: 50%;
  color: var(--stamp);
  flex: none;
  position: relative;
}
.mark svg { width: 0.95em; height: 0.95em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--sans); font-size: 0.98rem; font-weight: 600;
  padding: 0.82em 1.4em;
  border-radius: var(--r);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  line-height: 1;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--stamp);
  color: #fff;
  box-shadow: 0 1px 0 var(--stamp-deep), var(--shadow-sm);
}
.btn-primary:hover { background: var(--stamp-deep); box-shadow: 0 6px 18px oklch(0.565 0.176 33 / 0.32); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--card); }

.btn-lg { font-size: 1.05rem; padding: 0.95em 1.7em; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.974 0.012 82 / 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--serif); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.01em; }
.brand .mark { width: 30px; height: 30px; border-width: 1.5px; }
.brand .mark svg { width: 16px; height: 16px; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a.navlink { font-size: 0.93rem; font-weight: 500; color: var(--ink-soft); transition: color 0.15s; }
.nav a.navlink:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 1.4rem; display: inline-block; }
.hero-copy .display { margin-bottom: 2.6rem; }
.hero-copy .lede { max-width: 30ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.hero-reassure { margin-top: 1.6rem; display: flex; align-items: center; gap: 0.55rem; color: var(--ink-faint); }
.hero-reassure svg { width: 15px; height: 15px; flex: none; color: var(--stamp-deep); }

/* ---------- ballot card visual ---------- */
.ballot-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px 30px 26px;
  position: relative;
  transform: rotate(-1.1deg);
}
.ballot-card::before {
  /* perforated top edge feel */
  content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px;
}
.ballot-card .bc-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1.5px dashed var(--line-strong); margin-bottom: 18px; }
.ballot-card .bc-title { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; }
.ballot-card .bc-q { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.bc-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r);
  margin-bottom: 10px; font-weight: 500; transition: border-color 0.18s, background 0.18s;
}
.bc-opt .dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; display: grid; place-items: center; }
.bc-opt.is-marked { border-color: var(--stamp); background: var(--stamp-tint); }
.bc-opt.is-marked .dot { border-color: var(--stamp); background: var(--stamp); }
.bc-opt.is-marked .dot svg { width: 11px; height: 11px; color: #fff; }
.bc-foot { margin-top: 16px; display: flex; align-items: center; gap: 8px; }

/* the wax-stamp "VOTED" badge over the card */
.voted-stamp {
  position: absolute; right: -18px; bottom: 26px;
  width: 104px; height: 104px; border-radius: 50%;
  border: 2.5px solid var(--stamp);
  color: var(--stamp);
  display: grid; place-items: center; text-align: center;
  font-family: var(--mono); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em;
  transform: rotate(11deg);
  background: oklch(0.974 0.012 82 / 0.6);
  box-shadow: var(--shadow);
  line-height: 1.4;
}
.voted-stamp span { text-transform: uppercase; }
.voted-stamp .big { display: block; font-size: 0.92rem; letter-spacing: 0.16em; }

/* ---------- generic section padding ---------- */
.band { padding: clamp(64px, 9vw, 112px) 0; }
.band.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .eyebrow { display: inline-block; margin-bottom: 1rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin-top: 0.9rem; text-wrap: pretty; }

/* ---------- trust / mechanism ---------- */
.trust-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.trust-col { padding: clamp(28px, 3.5vw, 44px); }
.trust-col h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.trust-col .meta { margin-bottom: 1.4rem; }
.trust-divider { width: 1px; background: repeating-linear-gradient(to bottom, var(--line-strong) 0 6px, transparent 6px 12px); position: relative; }
.trust-divider .seal {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%; background: var(--card);
  border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: var(--ink-soft);
}
.trust-divider .seal svg { width: 22px; height: 22px; }
.ledger-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 0.96rem; }
.ledger-row:last-child { border-bottom: 0; }
.ledger-row .who { font-weight: 600; }
.ledger-row .tag { margin-left: auto; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; border: 1px solid var(--line-strong); color: var(--ink-faint); }
.ledger-row .tag.ok { color: var(--stamp-deep); border-color: var(--stamp-line); background: var(--stamp-tint); }
.ballot-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 0.96rem; }
.ballot-row:last-child { border-bottom: 0; }
.ballot-row .qmark { font-family: var(--mono); color: var(--ink-faint); }
.ballot-row .anon { color: var(--ink-faint); font-style: italic; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.step { position: relative; }
.step .num { font-family: var(--serif); font-size: 3.4rem; font-weight: 600; color: var(--stamp); line-height: 1; letter-spacing: -0.03em; opacity: 0.9; }
.step h3 { font-size: 1.28rem; margin: 0.7rem 0 0.55rem; }
.step p { color: var(--ink-soft); font-size: 1rem; }
.step .rule { height: 1px; background: var(--line); margin-top: 20px; }

/* ---------- who it's for ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.tag-pill {
  font-size: 0.98rem; font-weight: 500; padding: 0.6em 1.05em;
  border: 1px solid var(--line-strong); border-radius: 100px; background: var(--card);
  color: var(--ink); transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.tag-pill:hover { border-color: var(--stamp); color: var(--stamp-deep); background: var(--stamp-tint); }

/* ---------- form / ballot builder ---------- */
.form-shell { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(28px, 4vw, 52px); }
.field { margin-bottom: 22px; }
.field label, .label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; letter-spacing: -0.005em; }
.label .opt { font-weight: 400; color: var(--ink-faint); font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; }
input[type=text], input[type=email], textarea, select {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: var(--r);
  padding: 0.72em 0.9em; transition: border-color 0.16s, box-shadow 0.16s, background 0.16s;
}
input::placeholder, textarea::placeholder { color: var(--ink-faint); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--stamp); box-shadow: 0 0 0 3px var(--stamp-tint); background: var(--card); }
textarea { resize: vertical; min-height: 92px; line-height: 1.5; }

.q-block { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin-bottom: 18px; background: var(--paper); position: relative; }
.q-block .q-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.q-block .q-num { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stamp-deep); }
.q-remove { background: none; border: 0; color: var(--ink-faint); font-family: var(--mono); font-size: 0.78rem; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: var(--r-sm); }
.q-remove:hover { color: var(--stamp-deep); background: var(--stamp-tint); }

/* segmented control */
.seg { display: inline-flex; border: 1.5px solid var(--line-strong); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.seg button { font-family: var(--sans); font-size: 0.9rem; font-weight: 500; padding: 0.5em 1em; background: transparent; border: 0; cursor: pointer; color: var(--ink-soft); transition: background 0.15s, color 0.15s; }
.seg button[aria-pressed=true] { background: var(--ink); color: var(--paper); }

.add-q { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--sans); font-weight: 600; font-size: 0.95rem; color: var(--stamp-deep); background: var(--stamp-tint); border: 1.5px dashed var(--stamp-line); border-radius: var(--r); padding: 0.7em 1.1em; cursor: pointer; transition: background 0.16s; width: 100%; justify-content: center; }
.add-q:hover { background: oklch(0.90 0.06 40); }

.form-divider { height: 1px; background: var(--line); margin: 28px 0; }

/* ---------- voter ballot page ---------- */
.ballot-page { padding: clamp(36px, 6vw, 72px) 0 80px; }
.privacy-banner {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--stamp-tint); border: 1px solid var(--stamp-line); border-radius: var(--r-lg);
  padding: 18px 22px; margin-bottom: 36px;
}
.privacy-banner .mark { border-color: var(--stamp); color: var(--stamp); width: 34px; height: 34px; flex: none; }
.privacy-banner .mark svg { width: 17px; height: 17px; }
.privacy-banner b { color: var(--ink); }
.privacy-banner p { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.5; }

.vote-q { margin-bottom: 40px; }
.vote-q .q-title { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; margin-bottom: 4px; }
.vote-q .q-rule { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 20px; text-transform: uppercase; }
.vote-opt {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  background: var(--card); border: 1.5px solid var(--line-strong); border-radius: var(--r);
  padding: 18px 20px; margin-bottom: 12px; cursor: pointer; font: inherit; color: inherit;
  transition: border-color 0.16s, background 0.16s, box-shadow 0.16s, transform 0.12s;
}
.vote-opt:hover { border-color: var(--ink-soft); }
.vote-opt .box { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; display: grid; place-items: center; transition: all 0.16s; }
.vote-opt.checkbox .box { border-radius: 6px; }
.vote-opt .box svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(0.5); transition: all 0.16s; }
.vote-opt .label-txt { font-size: 1.08rem; font-weight: 500; }
.vote-opt[aria-checked=true] { border-color: var(--stamp); background: var(--stamp-tint); box-shadow: 0 0 0 1px var(--stamp); }
.vote-opt[aria-checked=true] .box { background: var(--stamp); border-color: var(--stamp); }
.vote-opt[aria-checked=true] .box svg { opacity: 1; transform: scale(1); }

/* ---------- results page ---------- */
.result-status { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line-strong); border-radius: 100px; padding: 0.45em 0.95em; background: var(--card); }
.result-status .pip { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-faint); }
.turnout { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px); padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 30px 0 48px; }
.turnout .stat .n { font-family: var(--serif); font-size: 2.5rem; font-weight: 600; line-height: 1; }
.turnout .stat .k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 8px; }
.turnout .stat .n em { color: var(--stamp); font-style: normal; }

.result-q { margin-bottom: 46px; }
.result-q h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 4px; }
.result-q .q-meta { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.05em; color: var(--ink-faint); text-transform: uppercase; margin-bottom: 22px; }
.res-row { margin-bottom: 16px; }
.res-row .res-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 7px; }
.res-row .res-name { font-weight: 600; font-size: 1.05rem; display: flex; align-items: center; gap: 0.5rem; }
.res-row .res-name .win { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; color: var(--stamp-deep); border: 1px solid var(--stamp-line); background: var(--stamp-tint); border-radius: 100px; padding: 2px 7px; text-transform: uppercase; }
.res-row .res-val { font-family: var(--mono); font-size: 0.95rem; color: var(--ink-soft); }
.res-row .res-val b { color: var(--ink); font-weight: 600; }
.bar { height: 13px; border-radius: 100px; background: var(--ink-wash); overflow: hidden; }
.bar .fill { height: 100%; border-radius: 100px; background: var(--line-strong); transition: width 1s cubic-bezier(0.16,1,0.3,1); }
.res-row.winner .bar .fill { background: var(--stamp); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 56px; margin-top: 24px; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .brand { font-size: 1.05rem; }
.footer-note { display: flex; align-items: center; gap: 0.55rem; color: var(--ink-faint); font-size: 0.9rem; max-width: 46ch; }
.footer-note svg { width: 14px; height: 14px; color: var(--stamp-deep); flex: none; }

/* ---------- entrance animation ----------
   Removed transform/opacity reveal: it can freeze mid-transition in non-painting
   contexts (background tabs, print/PDF, image capture) and leave content shifted.
   Content sits at its natural, correct position in every context. */

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .ballot-card { transform: rotate(-0.6deg); max-width: 440px; margin: 0 auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-divider { width: auto; height: 1px; background: repeating-linear-gradient(to right, var(--line-strong) 0 6px, transparent 6px 12px); }
  .trust-divider .seal { width: 48px; height: 48px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .nav .navlink { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .voted-stamp { width: 86px; height: 86px; right: 8px; }
}

/* ============================================================
   App integration — no-JS native controls & utility styles
   ============================================================ */

/* Native radio/checkbox dressed as the ballot's .vote-opt (CSS-only) */
.vote-opt { position: relative; }
.vote-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.vote-opt.checkbox .box { border-radius: 6px; }
.vote-opt:hover { border-color: var(--ink-soft); }
.vote-opt:has(input:focus-visible) { border-color: var(--ink-soft); box-shadow: 0 0 0 3px var(--stamp-tint); }
.vote-opt:has(input:checked) { border-color: var(--stamp); background: var(--stamp-tint); box-shadow: 0 0 0 1px var(--stamp); }
.vote-opt:has(input:checked) .box { background: var(--stamp); border-color: var(--stamp); }
.vote-opt:has(input:checked) .box svg { opacity: 1; transform: scale(1); }

/* kind <select> sits inline, sized to content */
.kind-select { width: auto; min-width: 220px; }

/* notices */
.notice-error { background: var(--stamp-tint); border: 1px solid var(--stamp-line); border-radius: var(--r); padding: 14px 18px; margin-bottom: 22px; color: var(--ink); }
.notice-error ul { margin: 0; padding-left: 1.1rem; }
.notice-error li { margin: 2px 0; }

/* generic inner page + panel (manage, confirmations, guide) */
.page { padding: clamp(36px, 6vw, 72px) 0 80px; }
.page h1.display { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 0.4rem 0 0.6rem; }
.card-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
.stack > * + * { margin-top: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* roster table on the manage page */
.roster { width: 100%; border-collapse: collapse; margin: 14px 0; }
.roster th, .roster td { text-align: left; padding: 9px 10px; border-bottom: 1px dashed var(--line); font-size: 0.96rem; }
.roster th { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.roster .tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; border: 1px solid var(--line-strong); color: var(--ink-faint); }
.roster .tag.ok { color: var(--stamp-deep); border-color: var(--stamp-line); background: var(--stamp-tint); }

/* article (guide) */
.article { padding: clamp(36px, 6vw, 64px) 0 80px; }
.article h2 { font-size: 1.5rem; margin: 2rem 0 0.6rem; }
.article h1 { margin-bottom: 1rem; }
.article p, .article li { color: var(--ink-soft); }
.article ol, .article ul { margin: 0.5rem 0 1rem 1.2rem; }
.article li { margin: 0.4rem 0; }
.article a { color: var(--stamp-deep); text-decoration: underline; text-underline-offset: 2px; }
