*{box-sizing:border-box}
:root{--forest:#173b32;--cream:#faf9f4;--ink:#20362d;--muted:#637067;--border:#dcded3;--serif:Georgia,"Times New Roman",serif}
body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.5 "Segoe UI",Arial,sans-serif}
header,footer{position:fixed;z-index:2;left:0;right:0;display:flex;align-items:center;background:#fcfbf6;gap:16px;padding:14px 22px}
header .home-link{margin-left:auto;white-space:nowrap;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px;padding-block:8px}
@media(max-width:560px){header span{display:none}}
header{top:0;border-bottom:1px solid var(--border)}header a:first-child{font:600 1.65rem/1 var(--serif);letter-spacing:-.06em;color:var(--forest)}header a{font-size:17px;color:inherit;font-weight:750;text-decoration:none}header span{font-size:12px;border-left:1px solid var(--border);padding-left:16px}
main{max-width:520px;min-height:100dvh;display:flex;flex-direction:column;justify-content:center;margin:auto;padding:85px 24px 106px}
fieldset{padding:0;border:0;margin:0;min-width:0}h1,legend{font-family:var(--serif);color:var(--forest);font-size:clamp(1.9rem,4vw,2.65rem);font-weight:400;line-height:1.2;letter-spacing:-.025em;margin:0 0 18px;padding:0}
p{margin:0 0 16px;color:var(--muted)}a{color:#204b3d}label{display:block;margin-bottom:10px}
.choice{background:white;border:1px solid var(--border);border-radius:7px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer}
.choice:hover,.choice:has(:checked){border-color:var(--forest);background:#edf3ec}.choice:has(:checked){font-weight:650}
input{font:inherit;accent-color:var(--forest)}.choice input{width:21px;height:21px;flex-shrink:0}
input:not([type=radio],[type=checkbox],[type=hidden]){display:block;width:100%;border:1px solid #aaa;border-radius:10px;padding:12px;margin:4px 0 12px}.age{text-align:center;font-size:2rem}
footer{bottom:0;border-top:1px solid var(--border);padding-bottom:max(14px,env(safe-area-inset-bottom))}footer small{color:var(--muted)}button{border:0;border-radius:5px;font:inherit;font-weight:650;padding:12px 27px;cursor:pointer;background:var(--forest);color:white}.next{margin-left:auto;order:3}.back{background:#e9ede5;color:var(--forest);order:-1}
:focus-visible{outline:3px solid #bd8240;outline-offset:3px}

.age-picker{text-align:center}.age-wheel{width:100%;max-width:220px;border:1px solid var(--border);border-radius:12px;font:600 1.3rem "Segoe UI",Arial,sans-serif;text-align:center;color:#444;background:white}.age-wheel option{padding:6px}.age-wheel option:checked{background:#e5eee3;color:#111}.ages{display:flex;justify-content:center;gap:8px;margin:15px 0}.ages button{padding:6px 14px;background:#e9ede5;color:var(--forest)}
