:root { color-scheme: light; --ink: #2d2c2b; --red: #9a3c35; --muted: #77736f; --line: #dedbd8; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font: 14px/1.7 Verdana, sans-serif; }
.page { max-width: 800px; margin: 0 auto; padding: 0 28px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0 20px; border-bottom: 3px solid var(--red); }
header img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
.back { font-size: 12px; text-decoration: none; }
main { padding: 38px 0 48px; }
h1, h2, h3 { font-family: 'Trebuchet MS', Arial, sans-serif; line-height: 1.2; }
h1 { margin: 8px 0 14px; font-size: clamp(32px, 6vw, 46px); font-weight: 700; }
h2 { margin: 8px 0 24px; font-size: 30px; }
h3 { font-size: 21px; }
p { margin: 0 0 16px; }
.eyebrow { margin: 0; color: var(--red); font-size: 10px; text-transform: uppercase; letter-spacing: 1.7px; }
.muted, .note { color: var(--muted); font-size: 12px; }
.intro > .muted { max-width: 650px; margin-top: 14px; line-height: 1.85; }
form { margin-top: 30px; }
label { display: block; margin-bottom: 9px; font-weight: bold; font-size: 12px; }
textarea { display: block; width: 100%; min-height: 120px; resize: vertical; padding: 15px; border: 1px solid #bdb8b4; border-radius: 0; background: #fff; color: var(--ink); font: inherit; }
textarea::placeholder { color: #99938f; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
button { border: 0; border-radius: 0; padding: 13px 21px; background: var(--red); color: #fff; font: bold 12px Verdana, sans-serif; cursor: pointer; }
button span { margin-left: 18px; }
button:hover { background: #7e2d28; }
button:disabled { cursor: wait; opacity: .6; }
#status { display: flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--muted); font-size: 12px; }
.spinner { width: 15px; height: 15px; flex-shrink: 0; border: 2px solid var(--line); border-top-color: var(--red); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#error { margin-top: 22px; color: var(--red); }
#result { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
#answer-title:focus { outline: none; }
#answer { font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
#answer h2 { margin: 28px 0 16px; font-size: 24px; }
#answer p, #answer ul, #answer ol { margin: 0 0 20px; }
#answer li + li { margin-top: 8px; }
#answer blockquote { margin: 20px 0; padding-left: 20px; border-left: 2px solid var(--red); }
.source-list { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 12px; }
.source-list h3 { margin: 0; color: var(--red); font: inherit; }
.source-list ul { padding-left: 20px; }
.source-list li { margin: 8px 0; overflow-wrap: anywhere; }
.note { margin-top: 26px; font-size: 11px; }
footer { border-top: 1px solid var(--line); padding: 20px 0 28px; color: var(--muted); font-size: 10px; }
[hidden] { display: none !important; }
@media (max-width: 480px) { .page { padding: 0 20px; } header img { width: 145px; } header { padding-top: 20px; } .back { font-size: 10px; } main { padding-top: 28px; } #answer { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
