:root {
  color-scheme: dark;
  --ink: #18131d;
  --paper: #fff4e4;
  --muted: #cebcc6;
  --peach: #ffc19e;
  --line: #544252;
  background: var(--ink);
  color: var(--paper);
  font: 100%/1.5 Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea { font: inherit; }
button, .button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .72; }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 4px; }
.masthead { display: flex; justify-content: center; padding: .95rem 1rem; border-bottom: 1px solid var(--line); }
.brand { font-weight: 900; font-size: 1.35rem; letter-spacing: -.055em; }
.brand span { display: inline-block; width: .34em; height: .34em; margin-left: .18em; background: var(--peach); }
.hero { position: relative; isolation: isolate; min-height: 19rem; display: grid; align-items: end; overflow: hidden; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, var(--ink) 2%, #18131db3 32%, #18131d15 80%); }
.bell { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-copy, .workspace, footer, .admin { width: min(38rem, 100% - 2.25rem); margin-inline: auto; }
.hero-copy { padding: 4rem 0 .8rem; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(3rem, 10vw, 6.2rem); line-height: .91; letter-spacing: -.075em; }
.hero-copy p { color: var(--paper); max-width: 31rem; margin-top: .85rem; }
.workspace { min-height: 18rem; padding-block: 1.2rem 2rem; }
h2 { font-size: 1.75rem; line-height: 1.15; letter-spacing: -.04em; margin: 0 0 .5rem; }
.muted, footer { color: var(--muted); }
form { display: grid; gap: .6rem; margin-top: 1.1rem; }
label { font-weight: 700; display: block; }
input:not([type="radio"]):not([type="checkbox"]), textarea {
  width: 100%; padding: .66rem .76rem; border: 1px solid #866e80; border-radius: .15rem;
  color: var(--paper); background: #231a28;
}
textarea { resize: vertical; }
button, .button {
  min-height: 2.8rem; display: inline-flex; align-items: center; justify-content: center;
  padding: .55rem .9rem; width: fit-content; border: 1px solid transparent; border-radius: .15rem;
  background: var(--peach); color: #211721; font-weight: 750; text-decoration: none; transition: filter .15s;
}
button:hover, .button:hover { filter: brightness(1.1); }
.secondary { background: transparent; color: var(--paper); border-color: #866e80; }
.text-button { padding: 0; background: transparent; color: var(--muted); text-decoration: underline; }
.choices { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin: 0 0 .45rem; padding: 0; border: 0; }
.choices label { min-height: 2.1rem; display: inline-flex; align-items: center; gap: .25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.share-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: .7rem; }
.card-preview { display: block; width: min(100%, 25rem); margin: .7rem 0; }
#preview-button { margin-bottom: .8rem; }
#feedback, .notice { color: var(--peach); margin-top: .8rem; }
.notice { border-left: 2px solid var(--peach); padding-left: .65rem; }
footer { border-top: 1px solid var(--line); padding: .85rem 0 1.7rem; font-size: .875rem; }
.admin { padding: 2rem 0 3rem; }
.admin h1 { font-size: clamp(2.35rem, 7vw, 4rem); margin-bottom: .6rem; }
.admin > button { margin-top: .8rem; }
.review { border-top: 1px solid var(--line); padding: 1rem 0; }
.review > p, .review > a { margin-top: .45rem; }
.review > a { display: inline-block; margin-right: .6rem; }
.review label:has(input[type="checkbox"]) { min-height: 2.4rem; }
@media (min-width: 50rem) { .hero { min-height: 23rem; } .bell { object-position: center 30%; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
