* { box-sizing: border-box; }
body { margin: 0; background: #f7f5ed; color: #172f36; font: 1rem/1.55 system-ui, sans-serif; }
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem max(5vw, 1rem); background: #092b31; color: #fff8e5; }
header a { color: inherit; font-weight: 700; text-decoration: none; }
select, button, textarea { font: inherit; }
select { margin-left: .4rem; padding: .4rem; border-radius: .45rem; }
main { max-width: 47rem; margin: clamp(1.25rem, 5vw, 4rem) auto; padding: 0 1rem; }
.intro { padding: clamp(1.25rem, 4vw, 2.5rem); background: linear-gradient(115deg,#11363c,#135851); color: #fff8e5; border-radius: 1.4rem; }
h1, h2, p { margin: 0; }
h1 { font: normal clamp(2.2rem,6vw,3.5rem)/1.1 Georgia,serif; }
.intro p { margin-top: .75rem; max-width: 36rem; }
form, #answer { padding: clamp(1rem,3vw,1.75rem); background: #fffdf8; border: 1px solid #d7ded3; border-radius: 1.15rem; margin-top: 1rem; }
form label { display: block; font-weight: 700; margin-bottom: .55rem; }
textarea { display: block; width: 100%; resize: vertical; padding: .8rem; border: 1px solid #728884; border-radius: .7rem; background: #fff; color: inherit; }
button { cursor: pointer; border-radius: .7rem; padding: .6rem .85rem; }
.examples { display: flex; flex-wrap: wrap; gap: .45rem; margin: .7rem 0 1.2rem; }
.examples button { border: 1px solid #d4ded4; background: #eef3ec; color: #154744; font-size: .87rem; }
.submit { background: #125450; color: white; border: 0; font-weight: 700; }
h2 { font-size: 1.2rem; margin-bottom: .5rem; }
.note { margin: 1rem .25rem; color: #516764; font-size: .9rem; }
:focus-visible { outline: 3px solid #ad791f; outline-offset: 3px; }
