:root { font-family: system-ui, sans-serif; color: #19342d; background: #f4f5ef; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100% - 40px, 680px); margin: 12vh auto 48px; }
.eyebrow { font-size: .75rem; letter-spacing: .18em; font-weight: 700; color: #52735d; }
h1 { font-size: clamp(3.5rem, 11vw, 5.5rem); line-height: 1; letter-spacing: -.065em; margin: 30px 0 22px; }
.intro { max-width: 420px; line-height: 1.7; color: #607269; }
section { padding: 28px; margin-top: 42px; border: 1px solid #d7dfd3; border-radius: 16px; background: #fff; }
.section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
h2 { font-size: 1rem; margin: 0; }
#health { font-size: .75rem; color: #526659; background: #eef3eb; padding: 7px 10px; border-radius: 20px; }
label { display: block; font-size: .85rem; margin-bottom: 9px; }
.form-row { display: flex; gap: 10px; }
input, button { font: inherit; border-radius: 8px; padding: 12px 16px; }
input { width: 100%; min-width: 0; border: 1px solid #bdcbbf; background: #fafbf8; }
button { border: 0; color: #fff; background: #24563f; white-space: nowrap; cursor: pointer; }
button:hover { background: #173d2b; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid #85aa59; outline-offset: 3px; }
#result { min-height: 24px; font-size: .9rem; color: #526659; overflow-wrap: anywhere; margin-bottom: 0; }
footer { margin-top: 24px; font-size: .8rem; color: #607269; }
@media (max-width: 420px) { section { padding: 20px; } .form-row { flex-direction: column; } }
