:root {
    color-scheme: light;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #112d26;
    background: #f0f5f1;
    --deep: #133e32;
    --muted: #465d53;
    --line: #c8d6ce;
    --surface: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
body.seprona { --deep: #334421; --muted: #4d5d47; background: #f3f6ef; }
[hidden], .hidden { display: none !important; }
a { color: var(--deep); text-decoration-thickness: .12em; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
button, .button {
    color: #fff; background: var(--deep); border: 1px solid var(--deep); border-radius: .7rem;
    padding: .7rem 1.15rem; min-height: 2.75rem; width: fit-content; font-weight: 650;
    text-decoration: none; cursor: pointer;
}
button:disabled { opacity: .6; cursor: wait; }
button.subtle { color: var(--deep); background: #fff; }
:focus-visible { outline: 3px solid #906627; outline-offset: 3px; }
p, li { line-height: 1.6; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.5rem, 7vw, 5.1rem); line-height: 1; letter-spacing: -.053em; }
h2 { font-size: 1.45rem; letter-spacing: -.025em; }
h3 { font-size: 1rem; }
.topbar {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1rem max(1rem, calc((100% - 76rem) / 2)); border-bottom: 1px solid var(--line);
    background: #ffffffb5;
}
.wordmark { font-size: 1.25rem; font-weight: 780; letter-spacing: -.035em; text-decoration: none; }
.language, .tabs, .actions { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.language a, .tabs a { display: block; border-radius: .6rem; text-decoration: none; padding: .53rem .72rem; }
[aria-current="page"] { background: var(--deep); color: #fff; }
.visitor-shell { display: grid; gap: 1.35rem; max-width: 49rem; margin: auto; padding: 2.7rem 1rem 1.5rem; }
.intro {
    padding: clamp(1.5rem, 6vw, 3.35rem);
    background: radial-gradient(ellipse at 100% 0, #416c57, transparent 70%), #12372c;
    color: #fff; border-radius: 1.4rem; display: grid; gap: 1.1rem;
}
.seprona .intro { background: radial-gradient(ellipse at 100% 0, #526940, transparent 72%), #25351e; }
.intro p { max-width: 36rem; color: #f1f6f2; font-size: 1.05rem; }
.intro .eyebrow { font-size: .875rem; font-weight: 700; }
.panel {
    background: var(--surface); border: 1px solid var(--line); border-radius: 1.15rem;
    padding: clamp(1rem, 4vw, 1.8rem); box-shadow: 0 8px 28px #17322508;
}
.flow { display: grid; gap: 1rem; align-content: start; min-width: 0; }
label { display: grid; gap: .4rem; font-weight: 590; }
label.check { display: flex; align-items: flex-start; gap: .75rem; line-height: 1.5; font-weight: 450; }
input[type="checkbox"] { accent-color: var(--deep); margin: .18em 0 0; width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
input:not([type="checkbox"], [type="hidden"]), select, textarea {
    width: 100%; min-width: 0; border: 1px solid var(--line); padding: .67rem .72rem;
    border-radius: .62rem; background: #fafcfa; color: #112d26;
}
textarea { resize: vertical; }
.compose { display: grid; grid-template-columns: 1fr auto; gap: .85rem; align-items: end; }
.messages { display: grid; gap: .55rem; max-height: 28rem; overflow: auto; }
.messages:empty { display: none; }
.messages p { padding: .7rem .85rem; border-radius: .7rem; white-space: pre-wrap; overflow-wrap: anywhere; background: #edf4ee; }
.messages .question { background: var(--deep); color: white; justify-self: end; }
.feedback { background: #fff4d9; color: #593a0e; padding: .8rem 1rem; border-radius: .7rem; }
.portrait { display: block; max-width: min(100%, 29rem); max-height: 31rem; border-radius: .85rem; object-fit: contain; }
footer { display: flex; flex-wrap: wrap; gap: .9rem; color: var(--muted); }
@media (max-width: 32rem) {
    .visitor-shell { padding-top: 1.25rem; }
    .compose { grid-template-columns: 1fr; }
}

body.seprona { background: #f5f1e7; color: #233527; --deep: #203d2c; }
.seprona .topbar { background: #15291e; border-color: #314335; padding-inline: max(1.25rem, calc((100% - 65rem) / 2)); }
.seprona .topbar a { color: #fff7de; }
.seprona .wordmark { letter-spacing: .12em; font-size: 1rem; }
.seprona .language [aria-current="page"] { color: #202c1d; background: #e4bb77; }
.seprona .visitor-shell { max-width: 67rem; padding-top: clamp(1rem, 3vw, 2.4rem); }
.field-welcome { background: #fffaf0; border: 1px solid #d5ccba; border-radius: 1rem; overflow: hidden; }
.field-cover { position: relative; isolation: isolate; overflow: hidden; background: #24352a; height: clamp(20rem, 49vw, 29rem); }
.field-frames { position: absolute; inset: 0; display: flex; }
.field-frames i { flex: 1; background: url('/landing/field-guide.webp') left 45% / 300% auto no-repeat; animation: frame-arrive .95s both; }
.field-frames i:nth-child(2) { background-position: center 45%; animation-delay: .35s; }
.field-frames i:nth-child(3) { background-position: right 45%; animation-delay: .75s; }
.field-frames::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#0c2118 0%,#122019a6 23%,transparent 65%); }
.field-cover::before {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
    background-image: linear-gradient(0deg,#12251ce8,transparent 58%), url('/landing/field-guide.webp');
    background-size: 100% 100%, 300% auto;
    animation: wildlife-montage 2s linear both;
}
@keyframes wildlife-montage {
    0%, 23% { opacity: 1; background-position: center, left 46%; }
    30% { opacity: 0; background-position: center, left 46%; }
    31% { opacity: 0; background-position: center, center 43%; }
    37%, 56% { opacity: 1; background-position: center, center 43%; }
    63% { opacity: 0; background-position: center, center 43%; }
    64% { opacity: 0; background-position: center, right 38%; }
    71%, 83% { opacity: 1; background-position: center, right 38%; }
    100% { opacity: 0; background-position: center, right 38%; }
}
.cover-title { position: absolute; z-index: 2; bottom: clamp(1rem,4vw,2.4rem); left: clamp(1rem,4vw,2.4rem); color: #fff9e9; }
.cover-title p { font-size: clamp(.65rem,1.4vw,.85rem); font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.cover-title h1 { font-family: Georgia,serif; font-size: clamp(3.1rem,8vw,6.6rem); font-weight: 500; letter-spacing: -.055em; }
.cover-title h1 span { font-size: .54em; letter-spacing: -.025em; font-style: italic; display: block; margin: .5rem 0 .15rem; }
.welcome-message { display: flex; gap: 1.6rem; align-items: center; justify-content: space-between; padding: clamp(1rem,3vw,2rem); animation: message-in .4s both; }
.guide-bubble { display: flex; align-items: flex-start; gap: .85rem; max-width: 35rem; }
.guide-avatar { position: relative; flex: 0 0 3.2rem; height: 3.2rem; border-radius: 50%; background: url('/landing/field-guide.webp') 0 44% / 300% auto; }
.guide-avatar::after { content: ''; position: absolute; bottom: 0; right: 0; width: .68rem; height: .68rem; background: #559b58; border: 2px solid #fffaf0; border-radius: 50%; }
.guide-name { font-size: .68rem; letter-spacing: .1em; font-weight: 750; color: #506446; }
.guide-line { font-family: Georgia,serif; font-size: 1.13rem; line-height: 1.4; margin-top: .2rem; }
.welcome-message button { flex-shrink: 0; border-radius: 2rem; }
button.listen { padding: .25rem 0; min-height: 2rem; border: 0; color: #345637; background: transparent; text-decoration: underline; font-size: .84rem; }
@keyframes frame-arrive { from { opacity: 0; transform: scale(1.22) translateY(3%); } 42% { opacity: 1; } 66% { opacity: .63; } to { opacity: 1; transform: none; } }
@keyframes message-in { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: none; } }
@media (max-width: 38rem) {
    .welcome-message { flex-direction: column; align-items: stretch; gap: 1rem; }
    .welcome-message #welcome-start { width: 100%; }
    .field-frames i { background-size: auto 113%; }
    .field-cover { height: clamp(18rem,75vw,24rem); }
}
@media (prefers-reduced-motion: reduce) { .field-frames i, .field-cover::before, .welcome-message { animation: none; } }

.visitor-quota { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; font-size: .94rem; font-variant-numeric: tabular-nums; color: var(--deep); }
