:root {
  color-scheme: light;
  --paper: #f6f5ef;
  --ink: #283b33;
  --muted: #767a70;
  --green: #275c46;
  --rust: #aa6049;
  --line: #dedfd4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
button, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
button, a, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
[hidden] { display: none !important; }

.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; }
.site-header { padding: 36px 48px; }
.wordmark { display: inline-flex; align-items: center; font-size: 17px; font-weight: 750; letter-spacing: -1px; }
.wordmark span { font-weight: 400; }
.wordmark i { width: 5px; height: 5px; background: var(--rust); border-radius: 50%; margin-left: 5px; align-self: flex-end; margin-bottom: 4px; }
.header-note, .eyebrow, .site-footer { font-size: 10px; letter-spacing: 1.8px; }
.header-note { color: var(--muted); }
main { flex: 1; display: grid; place-items: center; padding: 45px 24px 72px; }
.question-section { width: min(100%, 580px); text-align: center; }
.eyebrow { margin: 0 0 26px; font-size: 9px; color: var(--muted); letter-spacing: 2.3px; }
.answer-stage { height: 163px; display: grid; place-items: center; }
h1, .answer { margin: 0; font-family: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif; font-size: clamp(96px, 16vw, 154px); font-weight: 400; line-height: 1; letter-spacing: -8px; }
h1 { display: flex; align-items: center; gap: 24px; }
.yes, .answer[data-answer="Yes"] { color: var(--green); }
.no, .answer[data-answer="No"] { color: var(--rust); }
.slash { color: #d1d1c5; font-size: .68em; font-weight: 400; transform: rotate(9deg); margin: 5px 0 0 3px; }
.answer { animation: answer-in 350ms ease-out both; }
.subtitle { margin: 21px 0 45px; font-size: 16px; font-weight: 400; color: #666c62; letter-spacing: -.2px; }
form { text-align: left; }
label { display: block; margin: 0 0 12px 1px; font-size: 12px; font-weight: 550; }
.input-shell { border: 1px solid #d2d6c9; border-radius: 16px; background: #fcfcf8; box-shadow: 0 5px 16px #283b3303; transition: border-color 180ms, box-shadow 180ms; }
.input-shell:focus-within { border-color: #829989; box-shadow: 0 0 0 3px #275c4607; }
textarea { width: 100%; display: block; border: 0; background: transparent; padding: 22px 22px 8px; color: var(--ink); line-height: 1.6; font-size: 16px; resize: vertical; min-height: 112px; max-height: 300px; border-radius: 16px; outline: none; }
textarea::placeholder { color: #999d91; }
textarea:disabled { opacity: .65; }
.input-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px 12px 22px; }
#character-count { font-size: 10px; color: #747b6d; font-variant-numeric: tabular-nums; }
#character-count span { color: #8c9286; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 42px; padding: 10px 17px; border: 0; border-radius: 9px; background: var(--green); color: #fff; font-size: 12px; cursor: pointer; transition: background 150ms, transform 150ms, opacity 150ms; }
button:hover:not(:disabled) { background: #194b36; transform: translateY(-1px); }
button:active:not(:disabled) { transform: translateY(0); }
button:disabled { cursor: default; opacity: .5; }
button svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.form-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 2px; }
.form-meta p { font-size: 10px; color: var(--muted); margin: 12px 0 0; }
.keyboard-hint span { margin-left: 7px; font-size: 14px; }
.request-status { min-height: 18px; margin: 12px 2px 0; color: var(--muted); font-size: 12px; }
.web-search-note { margin: 5px 2px 0; color: #666c62; font-size: 12px; line-height: 1.5; }
.error { margin: 5px 2px 0; font-size: 12px; line-height: 1.5; color: #9a432e; }
.site-footer { margin: 0 48px; padding: 24px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; letter-spacing: 1.2px; }
.site-footer a span { display: inline-block; margin-left: 5px; }
.powered-by { display: flex; align-items: center; gap: 7px; text-transform: none; letter-spacing: .1px; font-size: 11px; }
.powered-by i { width: 5px; height: 5px; border-radius: 50%; background: #719079; }
@keyframes answer-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }

@media (min-height: 850px) { main { padding-bottom: 115px; } }
@media (max-width: 600px) {
  .site-header { padding: 25px 24px; }
  .header-note { font-size: 8px; letter-spacing: 1.2px; }
  main { padding: 42px 24px 44px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.6px; margin-bottom: 23px; }
  .answer-stage { height: 125px; }
  h1, .answer { font-size: clamp(88px, 22vw, 125px); letter-spacing: -6px; }
  h1 { gap: 17px; }
  .subtitle { font-size: 14px; margin: 17px 0 36px; }
  .site-footer { margin: 0 24px; padding: 21px 0 24px; font-size: 8px; }
  .powered-by { font-size: 10px; }
  .keyboard-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
