* { box-sizing: border-box }
:root { color-scheme: light; --pine:#193e34; --ink:#1e322a; --paper:#f7f1e5; --white:#fffcf7; --red:#963f33; --muted:#53655a }
body { margin:0; font:1rem/1.55 system-ui,sans-serif; color:var(--ink); background:var(--paper) }
.masthead { background:var(--pine); color:#fff8eb; padding:1rem max(1rem,calc((100vw - 53rem)/2)) }
.masthead a { color:inherit; text-decoration:none; font-weight:750; white-space:nowrap }
.masthead span { display:inline-grid; place-items:center; border:1px solid #e5bd80; color:#f7cb8a; width:2rem; height:2rem; border-radius:50%; margin-right:.45rem }
main { width:min(53rem,calc(100% - 2rem)); margin:2rem auto 3rem }
.hero { position:relative; isolation:isolate; overflow:hidden; background:#f4ddc4; border-radius:2rem 2rem 5rem 2rem; padding:clamp(1.4rem,5vw,3.1rem); margin-bottom:1.45rem }
h1,h2 { font-family:Georgia,serif; color:var(--pine); line-height:1.04; margin:0 0 1rem }
h1 { font-size:clamp(2.35rem,6vw,4.15rem); letter-spacing:-.047em }
h2 { font-size:1.9rem; margin-bottom:1.3rem; letter-spacing:-.025em }
.hero p { max-width:33rem; margin:0 0 .5rem }
.ornament { z-index:-1; position:absolute; right:-2.8rem; top:-3rem; width:15rem; height:15rem; border-radius:50%; background:#ecc199; color:var(--red); display:grid; place-items:center; opacity:.8; transform:rotate(-12deg) }
.ornament b { font-size:7.5rem; line-height:1 }
.ornament i,.ornament em { position:absolute; font-style:normal; font-size:2.8rem }
.ornament i { left:2rem; bottom:1rem }
.ornament em { top:2rem; right:3rem }
.card { background:var(--white); border:1px solid #e1d6c4; border-radius:1.4rem; padding:clamp(1.15rem,4vw,2rem); margin-bottom:1rem }
.grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem }
.wide { grid-column:1/-1 }
label { display:block; font-weight:680 }
small,.privacy,.upload p { font-size:.9rem; font-weight:400 }
label small,.privacy,.upload p { color:var(--muted) }
input,select,textarea { display:block; width:100%; margin-top:.3rem; border:1px solid #a8b2a6; border-radius:.55rem; background:#fff; font:inherit; color:inherit; padding:.64rem .73rem }
textarea { resize:vertical }
button,.button { display:inline-block; width:fit-content; border:0; border-radius:2rem; background:var(--pine); color:white; padding:.7rem 1.15rem; font:inherit; font-weight:700; text-decoration:none; cursor:pointer }
button span { margin-left:.4rem }
.secondary { background:#e9e6da; color:var(--pine) }
a { color:var(--pine) }
:focus-visible { outline:3px solid var(--red); outline-offset:3px }
.upload { border:1px dashed #638976; border-radius:1rem; background:#ecf0e8; padding:1rem }
.upload p { margin:.2rem 0 .55rem }
.upload input { padding:.4rem; width:100% }
::file-selector-button { font:inherit; color:var(--pine); padding:.4rem .65rem; border:none; border-radius:.3rem; background:#e6eee7; cursor:pointer }
.error { color:#722e24; background:#ffe7de; border-radius:.85rem; padding:.8rem 1rem; margin-bottom:1rem }
.actions { display:flex; flex-wrap:wrap; gap:.6rem; margin-top:.9rem }
.narrow { max-width:32rem; margin:auto }
summary { cursor:pointer }
dl { display:grid; grid-template-columns:minmax(8rem,1fr) 2fr; gap:.5rem; overflow-wrap:anywhere }
dt { font-weight:700 }
dd { margin:0; white-space:pre-wrap }
footer { text-align:center; color:var(--muted); padding:0 1rem 1.5rem }
@media (max-width:570px) { main { margin-top:1rem } .grid,dl { grid-template-columns:1fr } .ornament { right:-6rem; opacity:.28 } }
