/* Vote for it — manila ballot paper, brown-black ink, one orange marker. */

:root {
  --bg: #f2e4b0; /* manila ballot paper */
  --surface: #faf2d3;
  --ink: #21180b;
  --muted: #6b5a38;
  --rule: #dcc98e;
  --rule-strong: #c2aa6a;
  --accent: #c94a04; /* marker orange */
  --accent-ink: #ffffff;
  --accent-text: #9c3800; /* orange dark enough to read as text on paper */
  --bar: #e9d99f;
  --bar-mine: color-mix(in oklab, var(--accent) 24%, var(--surface));
  --danger: #a3201a;

  --font: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --step--1: 0.8125rem; /* 13 */
  --step-0: 1rem; /* 16 */
  --step-1: 1.1875rem; /* 19 */
  --step-2: 1.5rem; /* 24 */
  --step-3: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);

  --col: 40rem;
  --gutter: 1rem;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1409; /* the same paper at night */
    --surface: #2a1f0f;
    --ink: #f6e9c2;
    --muted: #bba674;
    --rule: #44341a;
    --rule-strong: #614b25;
    --accent: #ff8a3b;
    --accent-ink: #1b1409;
    --accent-text: var(--accent);
    --bar: #3a2b14;
    --bar-mine: color-mix(in oklab, var(--accent) 34%, var(--surface));
    --danger: #ff8a7a;
    color-scheme: dark;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  font-feature-settings: 'tnum' 0;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

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

.sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  z-index: 10;
}
.skip:focus {
  top: 1rem;
}

[hidden] {
  display: none !important;
}

/* ---------- Frame ---------- */

.site-header,
main,
.site-footer {
  width: 100%;
  max-width: calc(var(--col) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
  font-size: var(--step-1);
}

.mark {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
}

.site-header nav {
  display: flex;
  gap: 1.25rem;
  font-size: var(--step-0);
}
.site-header nav a {
  text-decoration: none;
  color: var(--muted);
}
.site-header nav a:hover {
  color: var(--ink);
}

main {
  flex: 1;
  padding-bottom: 4rem;
}

.site-footer {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: var(--step--1);
}
.site-footer p {
  margin: 0;
}

/* ---------- Controls ---------- */

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 1.5px solid var(--rule-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: var(--step-0);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.1s, opacity 0.15s;
}
.btn:hover {
  border-color: var(--ink);
}
.btn:active {
  transform: translateY(1px);
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.btn.primary:hover {
  background: color-mix(in oklab, var(--accent) 88%, var(--ink));
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.btn.busy {
  cursor: progress;
  opacity: 0.7;
}

.link {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--accent-text);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
.link.quiet {
  color: var(--muted);
}

.hint {
  color: var(--muted);
  font-size: var(--step--1);
  margin: 0;
}

.form-error {
  color: var(--danger);
  font-size: var(--step-0);
  font-weight: 550;
  margin: 0;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

select {
  appearance: none;
  width: 100%;
  min-height: 2.75rem;
  padding: 0 2.25rem 0 0.875rem;
  border: 1.5px solid var(--rule);
  border-radius: 8px;
  background: var(--surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236b5a38' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 0.875rem center;
  font-size: var(--step-0);
  cursor: pointer;
}
select:hover {
  border-color: var(--rule-strong);
}

/* Segmented links / buttons */
.seg {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.seg > a,
.seg > button {
  appearance: none;
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.seg > a:hover,
.seg > button:hover {
  color: var(--ink);
}
.seg > [aria-current='true'],
.seg > [aria-pressed='true'] {
  background: var(--ink);
  color: var(--bg);
}

/* ---------- Home: hero ---------- */

.hero {
  padding: 1.5rem 0 1.75rem;
}

.noise-title {
  margin: 0;
  position: relative;
  line-height: 0;
}
.noise {
  display: none;
  width: 100%;
  aspect-ratio: 4 / 1;
  image-rendering: pixelated;
}
.noise-fallback {
  display: block;
  line-height: 1;
  font-size: clamp(3rem, 1rem + 10vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}
/* With script and motion allowed, the noise field replaces the plain type
   (which stays in the page for screen readers). */
.js:not(.reduce-motion) .noise-title:not(.no-noise) .noise {
  display: block;
}
.js:not(.reduce-motion) .noise-title:not(.no-noise) .noise-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.lede {
  margin: 1.25rem 0 0;
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--muted);
  max-width: 32em;
  text-wrap: pretty;
}

/* The wordmark as a bot recovers it from motion. Deliberately raw: white
   paper, black pixels, a red frame, as it first appeared while testing. */
.decoded {
  margin: 4rem 0 0;
}
.decoded-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 1;
  image-rendering: pixelated;
  background: #fff;
  border: 2px solid #f0301e;
}
.decoded figcaption {
  margin-top: 0.625rem;
  color: var(--muted);
  font-size: var(--step--1);
  max-width: 34em;
}

/* ---------- Home: composer ---------- */

.composer {
  background: var(--surface);
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  scroll-margin-top: 1rem;
}
.composer:focus-within,
.composer.open {
  border-color: var(--ink);
}

.composer-q {
  display: block;
  width: 100%;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0;
  font-size: var(--step-2);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.25;
  min-height: 1.25em;
  overflow: hidden;
}
.composer-q::placeholder {
  color: var(--muted);
  opacity: 0.75;
}

/* Collapsed until someone starts asking. The grid trick animates height. */
.composer-body {
  display: grid;
  gap: 1.25rem;
  padding-top: 1rem;
}
.js .composer:not(.open) .composer-body {
  display: none;
}
.js .composer.opening .composer-body {
  animation: unfold 0.35s var(--ease);
}
@keyframes unfold {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.add-details {
  justify-self: start;
  font-size: var(--step--1);
  margin-top: -0.5rem;
}

.composer-details {
  width: 100%;
  resize: vertical;
  border: 1.5px solid var(--rule);
  border-radius: 8px;
  padding: 0.625rem 0.75rem;
  background: var(--bg);
  font-size: var(--step-0);
  line-height: 1.45;
}
.composer-details:focus {
  outline: 0;
  border-color: var(--ink);
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
legend {
  padding: 0;
  font-weight: 650;
  font-size: var(--step--1);
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.answer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.answer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1.5px solid var(--rule);
  border-radius: 12px;
  padding: 0 0.5rem 0 0.875rem;
  min-height: 3.25rem;
  background: var(--surface);
  transition: border-color 0.15s;
}
.answer:focus-within {
  border-color: var(--ink);
}
.answer-box {
  width: 1.375rem;
  height: 1.375rem;
  flex: none;
  border: 2px solid var(--rule-strong);
  border-radius: 5px;
}
.answer input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0.75rem 0;
  font-size: var(--step-0);
}
.answer-remove {
  appearance: none;
  border: 0;
  background: none;
  color: var(--muted);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  font-size: 1.375rem;
  line-height: 1;
  cursor: pointer;
}
.answer-remove:hover {
  background: var(--bar);
  color: var(--ink);
}
.answer.enter {
  animation: unfold 0.25s var(--ease);
}
.answers-hint {
  margin-top: 0.5rem;
}

.settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.field {
  display: grid;
  gap: 0.375rem;
}
.field > span {
  font-weight: 650;
  font-size: var(--step--1);
  color: var(--muted);
}

.more summary {
  cursor: pointer;
  font-weight: 600;
  font-size: var(--step-0);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.more summary::-webkit-details-marker {
  display: none;
}
.more summary::after {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.more[open] summary::after {
  transform: translateY(1px) rotate(-135deg);
}
.more-body {
  display: grid;
  gap: 0.75rem;
  padding-top: 1rem;
}

.toggle,
.choice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: var(--step-0);
  line-height: 1.4;
}
.toggle input,
.choice input {
  margin: 0.15rem 0 0;
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--accent);
  flex: none;
}
.strictness {
  display: grid;
  gap: 0.625rem;
  padding-top: 0.5rem;
}
.choice b {
  font-weight: 650;
  margin-right: 0.25rem;
}

.composer-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.human:empty {
  display: none;
}

/* ---------- Home: lists ---------- */

.yours,
.polls {
  margin-top: 3.5rem;
}

.yours h2,
.polls h2 {
  font-size: var(--step-2);
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 0;
}

.polls-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.polls-head h2 {
  margin-right: auto;
}
/* Narrow screens: title on its own line, both switches share the next one,
   so neither is left stranded beside the title. */
@media (max-width: 40rem) {
  .polls-head {
    justify-content: space-between;
    gap: 0.625rem 0.5rem;
  }
  .polls-head h2 {
    flex-basis: 100%;
    margin-right: 0;
  }
  .polls-head .seg > a {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
  }
}

.feed {
  list-style: none;
  margin: 0;
  padding: 0;
}
.yours .feed {
  margin-top: 0.75rem;
}
.feed li + li {
  border-top: 1px solid var(--rule);
}
.feed-item {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  text-decoration: none;
}
.feed-q {
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.feed-item:hover .feed-q {
  color: var(--accent-text);
}
.feed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  color: var(--muted);
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
}
.ended {
  font-weight: 600;
}

.empty {
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
  color: var(--muted);
}
.empty p {
  margin: 0 0 1rem;
}

/* ---------- Poll ---------- */

.poll,
.manage {
  padding-top: 1.5rem;
}

.scope {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: var(--step-0);
  font-weight: 550;
}

.question {
  margin: 0;
  font-size: var(--step-3);
  line-height: 1.12;
  font-weight: 780;
  letter-spacing: -0.028em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.details {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: var(--step-1);
  line-height: 1.5;
  white-space: pre-line;
  max-width: 34em;
}

.ballot {
  margin-top: 2rem;
}
.pick-hint {
  margin-bottom: 0.75rem;
}

.opts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.625rem;
}

.opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.opt label {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.875rem;
  min-height: 3.75rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--rule);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.15s, background-color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.opt label:hover {
  border-color: var(--rule-strong);
}
.opt input:checked + label {
  border-color: var(--accent);
}
.opt input:focus-visible + label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.opt-label {
  font-size: var(--step-1);
  font-weight: 550;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* The ballot box and its hand-drawn X */
.box {
  position: relative;
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid var(--rule-strong);
  border-radius: 6px;
  transition: border-color 0.15s, opacity 0.3s;
}
.opt input:checked + label .box {
  border-color: var(--ink);
}
.x {
  position: absolute;
  inset: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  overflow: visible;
}
.x path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  /* A zero-length dash still draws its round cap, so hide undrawn strokes. */
  opacity: 0;
  transition: stroke-dashoffset 0.14s ease-in, opacity 0s 0.14s;
}
.opt input:checked + label .x path,
.opt.mine .x path {
  stroke-dashoffset: 0;
  opacity: 1;
}
.opt input:checked + label .x path:first-child {
  transition: stroke-dashoffset 0.16s ease-out, opacity 0s;
}
.opt input:checked + label .x path + path {
  transition: stroke-dashoffset 0.16s ease-out 0.12s, opacity 0s 0.12s;
}

.opt-stat,
.bar {
  display: none;
}

/* Results: every row becomes a bar. */
.poll[data-state='results'] .opt label {
  cursor: default;
  border-color: var(--rule);
}
.poll[data-state='results'] .opt.mine label {
  border-color: var(--accent);
}
.poll[data-state='results'] .opt:not(.mine) .box {
  opacity: 0.35;
}
.poll[data-state='results'] .bar {
  display: block;
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pct);
  background: var(--bar);
  z-index: -1;
  transition: width 0.8s var(--ease);
}
.poll[data-state='results'] .opt.mine .bar {
  background: var(--bar-mine);
}
.poll[data-state='results'] .opt-stat {
  display: grid;
  justify-items: end;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.opt-pct {
  font-size: var(--step-1);
  font-weight: 750;
  letter-spacing: -0.01em;
}
.opt-count {
  font-size: var(--step--1);
  color: var(--muted);
}
.poll[data-state='results'] .opt.lead .opt-label {
  font-weight: 700;
}

.ballot-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.vote-btn {
  min-height: 3.25rem;
  font-size: var(--step-1);
}
.poll[data-state='results'] .ballot-actions {
  display: none;
}

@media (max-width: 40rem) {
  .ballot-actions {
    position: sticky;
    bottom: 0;
    padding: 1rem 0 max(1rem, env(safe-area-inset-bottom));
    background: linear-gradient(to top, var(--bg) 70%, transparent);
    margin-bottom: -1rem;
  }
}

.poll-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: var(--step-0);
}
.poll-note:empty {
  display: none;
}

.poll-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: var(--step-0);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.share-btn {
  margin-left: auto;
  font-weight: 600;
}

.breakdown {
  margin-top: 2.5rem;
}
.breakdown h2 {
  font-size: var(--step-1);
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.countries {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  font-size: var(--step-0);
  font-variant-numeric: tabular-nums;
}
.countries li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--rule);
}
.countries button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.countries button:hover {
  color: var(--accent-text);
  text-decoration: underline;
}
.countries .n {
  color: var(--muted);
}

.report-row {
  margin-top: 3rem;
  font-size: var(--step--1);
}

/* ---------- Dialog & toast ---------- */

dialog {
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  padding: 1.5rem;
  width: min(26rem, calc(100vw - 2rem));
}
dialog::backdrop {
  background: color-mix(in oklab, var(--bg) 40%, transparent);
  backdrop-filter: blur(3px);
}
dialog h2 {
  margin: 0 0 0.5rem;
  font-size: var(--step-2);
  letter-spacing: -0.02em;
}
dialog p {
  margin: 0 0 1rem;
  color: var(--muted);
}
.report-form {
  display: grid;
  gap: 0.625rem;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  translate: -50% 0;
  background: var(--ink);
  color: var(--bg);
  padding: 0.75rem 1.125rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--step-0);
  z-index: 20;
  animation: toast-in 0.25s var(--ease);
  max-width: calc(100vw - 2rem);
}
.toast.out {
  opacity: 0;
  translate: -50% 8px;
  transition: opacity 0.2s, translate 0.2s;
}
@keyframes toast-in {
  from {
    opacity: 0;
    translate: -50% 8px;
  }
}

/* ---------- Manage ---------- */

.manage .poll-meta {
  margin-top: 1rem;
}
.manage-body {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}
.manage-locked {
  margin-top: 2rem;
}
.linkbox h2 {
  font-size: var(--step-1);
  margin: 0 0 0.5rem;
}
.linkbox .hint {
  margin-bottom: 0.75rem;
}
.linkbox > a {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
}
.copyrow {
  display: flex;
  gap: 0.5rem;
}
.copyrow input {
  flex: 1;
  min-width: 0;
  min-height: 2.75rem;
  border: 1.5px solid var(--rule);
  border-radius: 8px;
  background: var(--surface);
  padding: 0 0.75rem;
  font-size: var(--step-0);
  color: var(--muted);
}
.danger {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.danger .form-error {
  flex-basis: 100%;
}
.danger-btn {
  color: var(--danger);
}
.danger-btn:hover {
  border-color: var(--danger);
}

/* ---------- Prose ---------- */

.prose {
  padding-top: 1.5rem;
  max-width: 36em;
}
.prose h1 {
  font-size: var(--step-3);
  letter-spacing: -0.028em;
  line-height: 1.12;
  margin: 0 0 1rem;
}
.prose h2 {
  font-size: var(--step-1);
  margin: 2.25rem 0 0.5rem;
}
.prose p,
.prose li {
  line-height: 1.6;
}
.prose ul {
  padding-left: 1.25rem;
  display: grid;
  gap: 0.75rem;
}
.prose b {
  font-weight: 650;
}
.message .btn {
  margin-top: 0.5rem;
}

/* ---------- Small screens ---------- */

@media (max-width: 30rem) {
  .site-header nav a[href='/#ask'] {
    display: none;
  }
  .settings {
    grid-template-columns: 1fr;
  }
  .composer {
    padding: 1rem;
    border-radius: 14px;
  }
  .opt label {
    padding: 0.75rem 0.875rem;
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
