:root {
  --ink: #190a19;
  --ink-soft: #3a2438;
  --paper: #f4efe6;
  --paper-deep: #ebe3d4;
  --surface: #fffaf3;
  --muted: #8d989a;
  --body: color-mix(in srgb, #190a19 72%, #8d989a);
  --steel: #3f7bab;
  --steel-deep: #2c5d85;
  --terracotta: #d88746;
  --gold: #d1cb61;
  --wine: #9d1348;
  --agree: #49c219;
  --disagree: #ff3c41;
  --disagree-deep: #9d1348;
  --pass: #8d989a;
  --violet: #744da8;
  --rule: color-mix(in srgb, #190a19 14%, #f4efe6);
  --surface-2: #f7f1e7;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --box-h: 26rem;
  --shadow:
    0 3px 6px color-mix(in srgb, #190a19 10%, transparent),
    0 18px 40px color-mix(in srgb, #190a19 16%, transparent);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 72rem;
  --measure: 42rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--body);
  background:
    radial-gradient(1100px 520px at 8% -8%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 58%),
    radial-gradient(900px 480px at 100% 0%, color-mix(in srgb, var(--steel) 16%, transparent), transparent 55%),
    var(--paper);
  font: 17px/1.6 var(--font-body);
}
a { color: var(--steel-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }

.shell { position: relative; z-index: 1; }

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, var(--paper));
}
.top__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink-soft); }
.mark { width: 2rem; height: 2rem; flex-shrink: 0; }
.top__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.top__cta:hover { background: var(--ink-soft); color: #fff; }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
}
.hero > div { max-width: var(--measure); }
.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lede {
  margin: 0 0 1.5rem;
  max-width: var(--measure);
  font-size: 1.12rem;
  line-height: 1.65;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--terracotta);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.btn--primary:hover { filter: brightness(1.04); color: var(--ink); }
.btn--ghost {
  border-color: color-mix(in srgb, var(--ink) 18%, transparent);
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.btn--ghost:hover { border-color: var(--ink); }

.statement-card {
  display: flex;
  flex-direction: column;
  width: min(48.4rem, 100%);
  font-size: 16px;
  line-height: 1.55;
  height: auto;
  min-height: var(--box-h);
  max-height: none;
  padding: 2.4rem 2.6rem 1.8rem;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--steel);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.statement-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.statement-head .mark {
  width: 32px;
  height: 32px;
}
.statement-text {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 1.4rem 0.2rem 1.6rem;
  overflow: visible;
  width: 100%;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.17rem, 2.11vw, 1.54rem);
  font-weight: 560;
  line-height: 1.45;
}
.importance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
  font-size: 0.92rem;
  flex-shrink: 0;
}
.importance input { width: 1.05rem; height: 1.05rem; accent-color: var(--terracotta); }
.importance label { margin: 0; font-weight: 500; color: var(--body); }
.vote-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 1.4rem;
  flex-shrink: 0;
}
.vote {
  width: calc((100% - 1.4rem) * 0.8 / 3);
  flex: 0 0 auto;
  min-height: 2.85rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.vote-agree { color: var(--agree); border-color: var(--agree); }
.vote-agree:hover,
.vote-agree[aria-pressed="true"] { background: var(--agree); color: white; }
.vote-disagree { color: var(--disagree-deep); border-color: var(--disagree); }
.vote-disagree:hover,
.vote-disagree[aria-pressed="true"] { background: var(--disagree); color: white; }
.vote-pass { color: var(--pass); border-color: var(--pass); }
.vote-pass:hover,
.vote-pass[aria-pressed="true"] { background: var(--pass); color: white; }
.statement-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  flex-shrink: 0;
}
.remaining {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-style: normal;
  color: var(--muted);
}
.flag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
}
.muted { color: var(--muted); }
.statement-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.3rem;
  padding: 0.47rem 0.94rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
  box-shadow: none;
}
.statement-card .btn:hover { background: var(--surface-2); color: var(--ink); }
@media (max-width: 640px) {
  :root { --box-h: 24rem; }
  .statement-card { padding: 1.5rem 1.2rem 1.3rem; }
  .vote-row { flex-direction: column; align-items: center; }
  .vote { width: 80%; }
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 3.5rem;
}
.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.1rem;
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--ink) 5%, var(--paper));
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--ink);
}
.card p { margin: 0; font-size: 0.95rem; }
.kicker {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.split .card { background: color-mix(in srgb, var(--steel) 8%, var(--surface)); }

.cta-band {
  max-width: var(--max);
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
}
.cta-band__inner {
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: linear-gradient(135deg, var(--ink) 0%, color-mix(in srgb, var(--wine) 35%, var(--ink)) 100%);
  color: color-mix(in srgb, var(--paper) 92%, white);
  box-shadow: var(--shadow);
}
.cta-band h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: #fff;
}
.cta-band p { margin: 0 0 1.1rem; max-width: 36rem; opacity: 0.92; }
.cta-band a {
  color: var(--ink);
  background: var(--gold);
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.cta-band a:hover { filter: brightness(1.05); color: var(--ink); }

.waitlist {
  margin-top: 1.25rem;
  max-width: 28rem;
}
.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.65rem;
}
.waitlist-form input[type="email"] {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.65rem 0.9rem;
  border: 2px solid color-mix(in srgb, var(--ink) 12%, var(--paper));
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.waitlist-form input[type="email"]:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--steel) 45%, transparent);
  border-color: var(--steel);
}
.waitlist-note {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.waitlist-note[data-state="ok"] { color: var(--agree); }
.waitlist-note[data-state="err"] { color: var(--disagree); }
@media (max-width: 520px) {
  .waitlist-form { flex-direction: column; }
  .waitlist-form .btn--primary { width: 100%; justify-content: center; }
}

.site-footer {
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, var(--paper));
  padding: 1.5rem 1.25rem 2.5rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}
.site-footer a { color: var(--steel-deep); }
