/* Brahmasuite Forum. Tokens, faces and shapes come verbatim from fancy-landing
   (src/app/globals.css). Mobile first; square corners; hairlines instead of cards;
   one accent. The only dark block is the pain-of-the-week band (and the footer). */

@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-display: swap; src: url(/fonts/hanken-grotesk-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-display: swap; src: url(/fonts/hanken-grotesk-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 600; font-display: swap; src: url(/fonts/hanken-grotesk-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Spline Sans Mono"; font-weight: 400; font-display: swap; src: url(/fonts/spline-sans-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Spline Sans Mono"; font-weight: 500; font-display: swap; src: url(/fonts/spline-sans-mono-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); }

:root {
  --acc: #3b2bd9;
  --acc2: #7c5cff;
  --bg: #f1f0f7;
  --ink: #14122b;
  --body: #4a4668;
  --muted: #7b769b;
  --faint: #8a84ac;
  --surface: #fbfaff;
  --panel: #efedf9;
  --tint: #e9e7f5;
  --line: #dcd8ee;
  --line-soft: #cfcae6;
  --line-hair: #e3dff3;
  --grid: #e1def2;
  --lav: #b6aedc;
  --lav-deep: #9b93c4;
  --deep-1: #2a2555;
  --deep-2: #3a3272;
  --danger: #a3243b;

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-sans: "Hanken Grotesk", system-ui, sans-serif;
  --f-mono: "Spline Sans Mono", ui-monospace, monospace;
  --f-serif: "Instrument Serif", Georgia, serif;
  --gut: clamp(18px, 5vw, 60px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--acc); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
img { max-width: 100%; }
code { font-family: var(--f-mono); font-size: 0.88em; }
button { font-family: var(--f-mono); cursor: pointer; }
.mono { font-family: var(--f-mono); }
.muted { color: var(--muted); }
.acc { color: var(--acc); }
.inline { display: inline; margin: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; font-family: var(--f-mono); font-size: 12px; }
.skip-link:focus { left: 12px; top: 12px; padding: 12px 18px; background: var(--ink); color: var(--surface); }
.shell { max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }

.said {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.06em;
  letter-spacing: -0.005em;
  margin-left: 0.06em;
  padding-right: 0.02em;
}

@keyframes bsRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ page and header */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 620px at 78% -6%, rgba(124, 92, 255, 0.16), transparent 62%),
    radial-gradient(720px 520px at 2% 24%, rgba(59, 43, 217, 0.08), transparent 60%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--bg);
}
main { flex: 1; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(241, 240, 247, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 13px; padding-bottom: 13px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { width: 26px; height: 26px; flex: none; display: block; }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand-name-suite { font-weight: 600; }
.brand-tag {
  font-size: 11px;
  color: var(--body);
  border-left: 1px solid var(--line-soft);
  padding-left: 10px;
  margin-left: 2px;
  letter-spacing: 0.02em;
}
.nav { display: none; align-items: center; gap: 26px; font-size: 12px; letter-spacing: 0.02em; }
.nav a { color: var(--body); }
.nav a:hover { color: var(--acc); }
.header-cta {
  font-size: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--surface);
  transition: background 0.25s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--acc); color: var(--surface); }
.who-staff { color: var(--muted); }
.linkish { background: none; border: 0; padding: 0; font-size: 12px; color: var(--acc); }

/* ------------------------------------------------------------------ type and buttons */
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 12px; color: var(--body); letter-spacing: 0.01em; }
.eyebrow .rule { width: 28px; height: 1px; background: var(--acc); flex: none; }
.eyebrow a { color: var(--body); }
.hero-h1 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(40px, 7.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
  animation: bsRise 0.8s 0.1s both;
}
.page-h1 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h2 { margin: 0; font-family: var(--f-display); font-weight: 800; letter-spacing: -0.035em; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.05; text-wrap: balance; }
.h3 { margin: 0 0 14px; font-family: var(--f-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.lead { margin: 14px 0 0; max-width: 56ch; color: var(--body); font-size: clamp(16.5px, 1.4vw, 18.5px); line-height: 1.62; text-wrap: pretty; }
.hero-p { margin: 22px 0 0; max-width: 52ch; color: var(--body); font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.62; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-solid, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  font-family: var(--f-mono);
  font-size: 13px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-solid { background: var(--acc); color: var(--surface); box-shadow: 0 10px 26px -12px rgba(59, 43, 217, 0.8); }
.btn-solid:hover { background: var(--ink); color: var(--surface); }
.btn-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--surface); }
.btn-outline.danger { border-color: var(--danger); color: var(--danger); }
.btn-outline.danger:hover { background: var(--danger); color: var(--surface); }
.btn-small {
  display: inline-block;
  font-size: 11.5px;
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  color: var(--ink);
}
.btn-small:hover { border-color: var(--ink); }
.btn-small.solid { background: var(--acc); color: var(--surface); border-color: var(--acc); }
.btn-small.danger { color: var(--danger); border-color: #e3c2c9; }
.arr { font-family: var(--f-mono); transition: transform 0.25s; }

.chip {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  line-height: 1;
  padding: 5px 7px;
  border: 1px solid var(--line-soft);
  color: var(--body);
  background: var(--surface);
  letter-spacing: 0.02em;
  vertical-align: middle;
}
.chip-acc { border-color: var(--acc); color: var(--acc); }
.chip-demo { border-style: dashed; color: var(--muted); }

/* ------------------------------------------------------------------ home hero */
.hero-f { padding: clamp(44px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); }
.hero-f .eyebrow { animation: bsRise 0.7s both; }
.hero-f .hero-p { animation: bsRise 0.8s 0.2s both; }
.hero-f .hero-actions { animation: bsRise 0.8s 0.3s both; }

/* ------------------------------------------------------------------ pain of the week (the one dark band) */
.band {
  color: var(--surface);
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px) 0 0 / 56px 56px,
    radial-gradient(700px 420px at 88% 120%, rgba(124, 92, 255, 0.34), transparent 60%),
    var(--ink);
  padding: clamp(44px, 6vw, 88px) 0;
  scroll-margin-top: 60px;
}
.pain-grid { display: grid; gap: 30px; }
.pain-label { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 12px; color: var(--lav); letter-spacing: 0.02em; }
.pain-label .dot { width: 8px; height: 8px; background: var(--acc2); box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.22); }
.pain-label .chip { background: transparent; color: var(--lav); border-color: var(--deep-2); }
.band-line { margin: 0; font-family: var(--f-display); font-size: clamp(26px, 3.6vw, 44px); line-height: 1.06; letter-spacing: -0.035em; max-width: 22ch; text-wrap: balance; }
.band-quiet { font-weight: 700; color: var(--surface); }
.pain-meta { margin: 18px 0 0; font-size: 12px; }
.pain-meta a { color: var(--lav); border-bottom: 1px solid var(--deep-2); padding-bottom: 2px; }
.pain-meta a:hover { color: var(--surface); }

/* ------------------------------------------------------------------ polls */
.poll-q { margin: 0 0 6px; font-family: var(--f-display); font-weight: 700; font-size: clamp(19px, 2vw, 23px); line-height: 1.2; letter-spacing: -0.02em; }
.poll-hint { margin: 0 0 16px; font-size: 11.5px; color: var(--muted); }
.poll-options { display: grid; gap: 8px; margin-top: 14px; }
.poll-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  text-align: left;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.poll-opt:hover, .poll-opt:focus-visible { border-color: var(--acc); color: var(--acc); }
.poll-opt:hover .arr { transform: translateX(3px); }
.poll-opt.is-mine { border-color: var(--acc); }
.poll-dark .poll-q { color: var(--surface); }
.poll-dark .poll-hint { color: var(--lav-deep); }
.poll-dark .poll-opt { background: rgba(255, 255, 255, 0.04); border-color: var(--deep-2); color: var(--surface); }
.poll-dark .poll-opt:hover, .poll-dark .poll-opt:focus-visible { background: var(--surface); color: var(--ink); border-color: var(--surface); }
.poll-dark .poll-opt .arr { color: var(--acc2); }
.poll-results { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.pr-row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; font-size: 15.5px; }
.pr-num { font-size: 12px; color: var(--muted); white-space: nowrap; }
.pr-you { font-size: 10.5px; color: var(--acc); margin-left: 6px; }
.pr-track { height: 6px; margin-top: 7px; background: var(--tint); }
.pr-track i { display: block; height: 100%; width: 0; background: var(--lav); }
.poll-results li.mine .pr-track i { background: var(--acc); }
.poll-dark .pr-row { color: var(--surface); }
.poll-dark .pr-num { color: var(--lav); }
.poll-dark .pr-track { background: var(--deep-1); }
.poll-dark .pr-track i { background: var(--deep-2); }
.poll-dark .poll-results li.mine .pr-track i { background: var(--acc2); }
.poll-dark .pr-you { color: var(--acc2); }
.poll-foot { margin: 14px 0 0; font-size: 11.5px; color: var(--muted); }
.poll-dark .poll-foot { color: var(--lav-deep); }
.poll-change { margin-top: 14px; }
.poll-change summary, .email-opt summary, .about-opt summary, .report summary { cursor: pointer; font-size: 12px; color: var(--acc); list-style: none; }
.poll-change summary::-webkit-details-marker, .email-opt summary::-webkit-details-marker, .about-opt summary::-webkit-details-marker, .report summary::-webkit-details-marker { display: none; }
.poll-change summary::before, .email-opt summary::before, .about-opt summary::before { content: "+ "; }
details[open] > summary::before { content: "– "; }
.poll-dark .poll-change summary, .poll-dark .email-opt summary { color: var(--lav); }
.poll-wrap { margin: 36px 0 0; padding: 24px clamp(18px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 70px; }
.poll-wrap { position: relative; }
.poll-wrap::before { content: ""; position: absolute; left: -1px; top: -1px; width: 48px; height: 2px; background: var(--acc); }

/* "Answering as" inside a poll: quiet, one line */
.who { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.who legend { padding: 0; margin-bottom: 10px; font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em; }
.who-compact { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-hair); }
.who-compact .field { gap: 4px; }
.who-compact .hint { font-size: 12.5px; }
.poll-dark .who-compact { border-top-color: var(--deep-1); }
.poll-dark .who legend { color: var(--lav-deep); }
.poll-dark .field .label { color: var(--lav); }
.poll-dark input { background: rgba(255, 255, 255, 0.06); border-color: var(--deep-2); color: var(--surface); }
.poll-dark input::placeholder { color: var(--lav-deep); }
.poll-dark .hint, .poll-dark .check span { color: var(--lav-deep); }
.poll-dark .hint a, .poll-dark .check a { color: var(--lav); }
.email-opt { margin-top: 12px; }
.email-opt summary span, .about-opt summary span { color: var(--muted); }
.email-opt[open] { padding-bottom: 4px; }
.email-opt > .hint { margin: 10px 0 12px; }

/* ------------------------------------------------------------------ sections */
.section-f { padding: clamp(56px, 7vw, 104px) 0 0; }
.section-f:last-child { padding-bottom: clamp(56px, 7vw, 104px); }
.sec-head { margin-bottom: clamp(22px, 3vw, 36px); }
.sec-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }

.cat-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cat-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  grid-template-areas: "num main arr" "num count count";
  gap: 4px 12px;
  align-items: start;
  padding: 20px 2px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}
.cat-row:hover { background: rgba(251, 250, 255, 0.7); color: var(--ink); }
.cat-row:hover .arr { transform: translateX(4px); color: var(--acc); }
.cat-num { grid-area: num; font-size: 12px; color: var(--acc); padding-top: 6px; }
.cat-main { grid-area: main; display: flex; flex-direction: column; gap: 4px; }
.cat-name { font-family: var(--f-display); font-weight: 700; font-size: clamp(21px, 2.4vw, 27px); letter-spacing: -0.025em; line-height: 1.1; }
.cat-blurb { color: var(--body); font-size: 15.5px; line-height: 1.5; }
.cat-count { grid-area: count; font-size: 11.5px; color: var(--muted); }
.cat-row .arr { grid-area: arr; padding-top: 4px; color: var(--muted); }

.split-grid { display: grid; gap: 14px; }
.tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative;
  transition: border-color 0.25s;
}
a.tile:hover { border-color: var(--acc); color: var(--ink); }
a.tile:hover .arr { transform: translateX(4px); }
.tile::before { content: ""; position: absolute; left: -1px; top: -1px; width: 48px; height: 2px; background: var(--acc); }
.tile-quiet { background: var(--panel); }
.tile-quiet::before { background: var(--ink); }
.tile-kicker { margin: 0; font-size: 11.5px; color: var(--muted); }
.tile-title { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(21px, 2.3vw, 26px); line-height: 1.15; letter-spacing: -0.025em; max-width: 24ch; }
.tile-body { margin: 0; color: var(--body); max-width: 46ch; }
.tile-cta { margin-top: auto; padding-top: 10px; font-size: 13px; color: var(--acc); }
.tile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }

.thread-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.thread-row { display: flex; flex-direction: column; gap: 8px; padding: 18px 2px; border-bottom: 1px solid var(--line); }
.thread-row:hover { color: var(--ink); background: rgba(251, 250, 255, 0.7); }
.thread-row:hover .tr-title { color: var(--acc); }
.tr-title { font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.25; letter-spacing: -0.02em; transition: color 0.2s; }
.tr-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; font-size: 11.5px; color: var(--muted); }
.empty { color: var(--muted); padding: 18px 0; margin: 0; }

/* sector chips on inner pages: a horizontal scroll row on phones */
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 calc(var(--gut) * -1) 30px;
  padding: 0 var(--gut) 2px;
}
.chips::-webkit-scrollbar { display: none; }
.chip-link {
  flex: none;
  font-size: 12px;
  padding: 9px 13px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  color: var(--body);
}
.chip-link.is-on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.page-f { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(56px, 7vw, 96px); }
.pager { display: flex; justify-content: space-between; margin-top: 22px; font-size: 12.5px; }
.pager a { color: var(--acc); }

/* ------------------------------------------------------------------ thread */
.thread { max-width: 860px; }
.thread .page-h1 { max-width: 24ch; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; margin: 14px 0 0; font-size: 11.5px; color: var(--muted); }
.post-meta span:first-child { color: var(--ink); }
.prose { color: var(--body); font-size: 16.5px; line-height: 1.7; }
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--acc); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.prose h2 { margin: 2.4rem 0 0.8rem; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink); }
.prose ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.post-body { margin-top: 24px; font-size: 17.5px; max-width: 64ch; }
.post-tools { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 18px; margin-top: 14px; font-size: 12px; }
.own-link { color: var(--acc); font-size: 12px; }
.report summary, .report-link { color: var(--muted); font-size: 12px; }
.report[open] summary { color: var(--ink); }
.report-form { display: grid; gap: 10px; margin-top: 10px; max-width: 460px; }
.replies { margin-top: clamp(40px, 5vw, 60px); }
.reply-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.reply { padding: 20px 0 18px; border-bottom: 1px solid var(--line); }
.reply .post-meta { margin: 0 0 8px; }
.reply .prose { max-width: 64ch; }
.compose { margin-top: clamp(40px, 5vw, 60px); padding-top: 28px; border-top: 1px solid var(--ink); max-width: 640px; }
.notice { padding: 14px 16px; border-left: 2px solid var(--acc); background: var(--surface); color: var(--body); font-size: 15px; }

/* ------------------------------------------------------------------ forms */
.narrow { max-width: 680px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--gut) clamp(56px, 7vw, 96px); }
.form { display: grid; gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 6px; }
.label { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.opt { font-size: 11px; color: var(--muted); font-weight: 400; }
.hint { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 0; }
.hint a { color: var(--acc); }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--body) 50%), linear-gradient(135deg, var(--body) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--acc); outline-offset: 0; border-color: var(--acc); }
input::placeholder, textarea::placeholder { color: var(--faint); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--body); margin-top: 12px; cursor: pointer; }
.check input, .choice input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 1px 0 0; flex: none; border: 1px solid var(--line-soft); background: var(--surface); display: grid; place-content: center; }
.check input:checked { background: var(--acc); border-color: var(--acc); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--surface); border-bottom: 2px solid var(--surface); transform: rotate(-45deg) translate(1px, -1px); }
.check a { color: var(--acc); }
.field-error { margin: -8px 0 0; font-size: 13.5px; color: var(--danger); }
.counter { display: block; text-align: right; font-size: 11px; color: var(--muted); margin-top: 4px; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }

/* survey */
.survey .q { border: 0; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); min-width: 0; }
.survey .q legend { display: flex; gap: 12px; align-items: baseline; padding: 0; margin-bottom: 14px; }
.q-num { font-size: 12px; color: var(--acc); flex: none; }
.q-label { font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.25; letter-spacing: -0.02em; }
.choices { display: grid; gap: 8px; }
.choice {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 15.5px;
  line-height: 1.35;
  transition: border-color 0.2s;
}
.choice:hover { border-color: var(--acc); }
.choice input { border-radius: 50%; margin: 0; }
.choice input:checked { border: 6px solid var(--acc); }
.choice:has(input:checked) { border-color: var(--acc); box-shadow: inset 2px 0 0 var(--acc); }
.about-opt { border-top: 1px solid var(--line); padding-top: 18px; }
.about-grid { display: grid; gap: 14px; margin-top: 14px; }

/* after-submit manage link */
.manage-box { margin: 28px 0 8px; padding: 20px; background: var(--surface); border: 1px solid var(--line); position: relative; }
.manage-box::before { content: ""; position: absolute; left: -1px; top: -1px; width: 48px; height: 2px; background: var(--acc); }
.kicker { margin: 0 0 8px; font-size: 11.5px; color: var(--muted); }
.manage-url { margin: 0 0 10px; padding: 12px; background: var(--panel); word-break: break-all; font-size: 13.5px; user-select: all; }
.mine-list { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px solid var(--line); }
.mine-list li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.narrow .h3 { margin-top: 44px; }

/* ------------------------------------------------------------------ legal pages */
.legal-main { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) clamp(18px, 5vw, 32px) clamp(60px, 8vw, 96px); }
.legal-h1 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 5vw, 46px); line-height: 1.02; letter-spacing: -0.035em; }
.legal-updated { font-family: var(--f-mono); font-size: 11.5px; color: var(--faint); margin: 14px 0 clamp(32px, 4vw, 48px); }
.legal-main .prose ul { list-style: disc; }
.draft-note { padding: 12px 14px; border-left: 2px solid var(--acc); background: var(--surface); }
.legal-back { margin-top: clamp(40px, 5vw, 60px); padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; }
.legal-back a { color: var(--acc); }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: var(--faint); padding: 24px 0; border-top: 1px solid var(--deep-1); }
.footer-inner { display: flex; flex-direction: column; gap: 12px; font-family: var(--f-mono); font-size: 11.5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-inner a { color: var(--faint); }
.footer-inner a:hover { color: var(--surface); }

/* ------------------------------------------------------------------ admin */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1) 26px; padding: 0 var(--gut); }
.tabs a { flex: none; font-size: 12px; padding: 9px 13px; border: 1px solid var(--line-soft); background: var(--surface); color: var(--body); }
.tabs a.is-on { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.adm-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; font-size: 11.5px; color: var(--muted); }
.adm-stats span { padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); }
.adm-stats b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.adm-h1 { font-size: clamp(26px, 3.4vw, 34px); }
.adm-h2 { margin-top: 44px; font-size: clamp(22px, 3vw, 28px); }
.adm-list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.adm-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.adm-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 11px; color: var(--muted); }
.adm-title { margin: 10px 0 4px; font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: -0.015em; line-height: 1.25; }
.adm-title.muted { font-family: var(--f-sans); font-weight: 500; font-size: 14px; }
.adm-body { margin: 0; color: var(--body); font-size: 15px; white-space: pre-wrap; word-break: break-word; max-width: 75ch; }
.adm-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.adm-card { margin-top: 18px; padding: 20px; background: var(--surface); border: 1px solid var(--line); }
.adm-card .poll-results { margin-top: 12px; }
.exports { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12px; color: var(--muted); margin: 0 0 22px; }
.exports a { color: var(--acc); border-bottom: 1px solid var(--line-soft); }
.free-answers { margin: 10px 0 0; padding-left: 1.1rem; color: var(--body); font-size: 15px; }
.free-answers li { margin-bottom: 6px; }
.table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); background: var(--surface); }
.adm-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.adm-table th { text-align: left; font-family: var(--f-mono); font-weight: 500; font-size: 11px; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.adm-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-hair); vertical-align: top; }
.adm-table td.mono { font-size: 11.5px; white-space: nowrap; }
.admin-login { max-width: 460px; }

/* ------------------------------------------------------------------ wider screens */
@media (min-width: 720px) {
  .nav { display: flex; }
  .header-cta { padding: 11px 16px; }
  .split-grid { grid-template-columns: 1.1fr 0.9fr; }
  .about-grid { grid-template-columns: 1fr 1fr 1fr; }
  .thread-row { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 24px; }
  .tr-meta { justify-content: flex-end; flex: none; max-width: 48%; }
  .cat-row { grid-template-columns: 56px 1fr 130px 28px; grid-template-areas: "num main count arr"; align-items: center; padding: 26px 4px; }
  .cat-num { padding-top: 0; }
  .cat-count { text-align: right; }
  .cat-row .arr { padding-top: 0; text-align: right; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .chips { margin-left: 0; margin-right: 0; padding: 0; flex-wrap: wrap; }
  .tabs { margin-left: 0; margin-right: 0; padding: 0; }
  .poll-options { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .pain-grid { grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
  .pain-head { position: sticky; top: 100px; }
  .hero-f .hero-h1 { max-width: 14ch; }
}
@media (max-width: 380px) {
  .brand-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.link-form { display: flex; gap: 6px; align-items: center; min-width: 320px; }
.link-form select { min-height: 36px; padding: 6px 34px 6px 10px; font-size: 13px; background-position: calc(100% - 18px) 15px, calc(100% - 13px) 15px; }

/* ------------------------------------------------------------------ hero with the poll card (first screen) */
.hero-f { padding: clamp(28px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.hero-f-grid { display: grid; gap: 26px; }
.hero-f .hero-h1 { font-size: clamp(38px, 6.6vw, 72px); }
.hero-f .hero-p { margin-top: 16px; }
.hero-small { margin: 14px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.hero-actions-desk { display: none; }
.band.pain {
  margin: 0 calc(var(--gut) * -1);
  padding: 26px var(--gut) 24px;
  scroll-margin-top: 64px;
  animation: bsRise 0.8s 0.25s both;
}
.pain-title { margin: 0 0 18px; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.pain-title a { color: var(--lav); }
.pain-title a:hover { color: var(--surface); }
.pain .poll-q { font-size: clamp(19px, 2vw, 22px); }
.pain .pain-meta { margin-top: 18px; }
.pain .pain-meta .arr { color: var(--acc2); }
.pain .poll-options { grid-template-columns: 1fr; }

.quick { display: grid; gap: 0; margin-top: 4px; border-top: 1px solid var(--line); }
.quick-link {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--ink);
}
.quick-link:hover .arr { transform: translateX(4px); color: var(--acc); }
.quick-k { font-size: 11.5px; color: var(--acc); }

@media (min-width: 720px) {
  .band.pain { margin: 0; padding: 32px 34px 28px; }
  .quick { grid-template-columns: repeat(3, 1fr); gap: 0 28px; border-top: 0; }
  .quick-link { grid-template-columns: 1fr auto; grid-template-areas: "k arr" "t arr"; border-top: 1px solid var(--ink); border-bottom: 0; padding: 16px 0 0; gap: 4px 12px; }
  .quick-link .quick-k { grid-area: k; }
  .quick-link > span:nth-child(2) { grid-area: t; color: var(--body); }
  .quick-link .arr { grid-area: arr; }
}
@media (min-width: 1000px) {
  .hero-f-grid { grid-template-columns: 1fr 0.95fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
  .hero-actions-desk { display: flex; }
  .hero-f .hero-h1 { max-width: 11ch; }
}
.poll-who { margin: 12px 0 0; }
.poll-who > summary { cursor: pointer; list-style: none; font-size: 11.5px; color: var(--muted); }
.poll-who > summary::-webkit-details-marker { display: none; }
.poll-who > summary span { color: var(--acc); border-bottom: 1px solid var(--line-soft); }
.poll-dark .poll-who > summary { color: var(--lav-deep); }
.poll-dark .poll-who > summary span { color: var(--lav); border-bottom-color: var(--deep-2); }
.poll-who .who-compact { margin-top: 12px; padding-top: 0; border-top: 0; }
.poll-who .who-compact legend { display: none; }
.poll-who > .hint { margin-top: 10px; }
@media (max-width: 719px) {
  .hero-small { display: none; }
  .hero-f .hero-p { font-size: 16px; }
  .poll-opt { min-height: 50px; padding: 12px 16px; }
}
.thread .poll-wrap { margin: 26px 0 8px; max-width: 760px; }
.adm-card > p.mono { font-size: 11.5px; margin: 4px 0 0; }
.is-admin .nav { display: flex; gap: 12px; } .is-admin .who-staff { display: none; } @media (min-width: 720px) { .is-admin .who-staff { display: inline; } }
