* { box-sizing: border-box; }
:root { --paper: #f5f3ec; --ink: #23382f; --muted: #59665e; --line: #ccd4c8; --accent: #2d5944; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
.shell { max-width: 844px; margin: auto; padding: 0 32px; }
a { color: inherit; }
header { padding: 32px 0; }
.brand { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-decoration: none; }
.hero { padding: 24px 0 25px; }
h1 { margin: 0 0 24px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(42px, 6.5vw, 64px); line-height: 1.08; font-weight: 400; letter-spacing: -2px; }
h1 em { color: var(--accent); font-weight: 400; }
.lead { max-width: 630px; font-size: 17px; line-height: 1.6; margin: 0 0 15px; }
.support { max-width: 620px; color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.choice { margin: 0 0 14px; font-size: 14px; }
.feedback { margin-bottom: 20px; font-size: 13px; }
summary { cursor: pointer; width: fit-content; color: var(--muted); padding: 5px 0; }
.feedback label { display: block; margin: 14px 0 8px; }
input, textarea { width: 100%; border: 1px solid #aeb9ad; border-radius: 5px; background: #fbfaf6; padding: 12px; font: inherit; font-size: 15px; color: var(--ink); }
input { height: 46px; }
textarea { resize: vertical; }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { padding: 23px; border: 1px solid var(--line); border-radius: 8px; display: flex; flex-direction: column; }
h2 { font: 400 24px Georgia, serif; margin: 0; }
.card p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 12px 0 20px; }
button, .button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; background: var(--accent); color: #fff; border: 0; border-radius: 5px; padding: 14px; font: 600 14px Arial, sans-serif; cursor: pointer; text-decoration: none; }
button { margin-top: 12px; }
.button { margin-top: auto; }
button:hover, .button:hover { background: #214834; }
button:disabled { opacity: .6; cursor: wait; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #aa701f; outline-offset: 4px; }
.trap, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#result { font-size: 14px; line-height: 1.6; margin: 16px 0 0; }
#result:empty { display: none; }
#result.error { color: #a13227; }
footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 20px 0 28px; color: var(--muted); font-size: 11px; line-height: 1.7; }
footer p { margin: 0 0 4px; }
@media (max-width: 600px) {
  .shell { padding: 0 22px; }
  header { padding: 24px 0; }
  .hero { padding-top: 16px; }
  h1 { letter-spacing: -1.5px; }
  .lead { font-size: 16px; }
  .paths { grid-template-columns: 1fr; gap: 12px; }
  .card { padding: 20px; }
}
