:root { color-scheme: light; font-family: system-ui, sans-serif; color: #172e27; background: #f3f1e9; }
* { box-sizing: border-box; }
body { margin: 0; }
header, main, footer { max-width: 1080px; margin: auto; padding: 28px; }
header { display: flex; justify-content: space-between; border-bottom: 1px solid #ced5ca; }
a { color: inherit; }
.brand { font-weight: 800; text-decoration: none; }
.eyebrow { margin-top: 44px; font-size: .75rem; font-weight: 700; letter-spacing: .18em; }
h1 { font-size: clamp(2.8rem, 7vw, 5rem); line-height: 1.05; letter-spacing: -.05em; margin: 20px 0; }
.intro { font-size: 1.15rem; color: #476355; margin-bottom: 38px; }
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 22px; }
article { padding: 24px; border: 1px solid #cad3c7; border-radius: 12px; background: #fffdf7; }
.event-top { display: flex; justify-content: space-between; align-items: start; gap: 10px; font-size: .8rem; }
.badge { background: #e4edd3; padding: 5px 8px; border-radius: 20px; white-space: nowrap; }
h2 { font-size: 1.5rem; letter-spacing: -.03em; }
article p { line-height: 1.5; overflow-wrap: anywhere; }
.location { font-weight: 650; }
.capacity { font-size: .8rem; color: #496753; }
form { display: grid; gap: 12px; margin-top: 20px; }
label { font-size: .85rem; font-weight: 600; display: grid; gap: 5px; }
input, textarea, button { width: 100%; font: inherit; padding: 10px 12px; border-radius: 6px; border: 1px solid #acbbae; }
input, textarea { background: white; color: #172e27; }
button { background: #254d38; color: white; border: 0; cursor: pointer; font-weight: 650; }
button:hover { background: #163b29; }
button:disabled { opacity: .5; cursor: default; }
:focus-visible { outline: 3px solid #b47300; outline-offset: 3px; }
#message { overflow-wrap: anywhere; white-space: pre-wrap; }
#message:not(:empty) { padding: 20px; background: #e4edd3; border-radius: 8px; }
.tools { margin-top: 32px; display: grid; gap: 14px; }
details { padding: 20px; border: 1px solid #cad3c7; border-radius: 8px; }
summary { cursor: pointer; font-weight: 650; }
details form { max-width: 540px; }
footer { font-size: .85rem; color: #496753; padding-bottom: 48px; }
