* { box-sizing: border-box; }
:root { color-scheme: light; font: 15px/1.5 Inter, "Segoe UI", sans-serif; color: #272923; background: #f9f8f5; }
body { margin: 0; min-height: 100svh; }
header { padding: 24px clamp(22px, 5vw, 68px); border-bottom: 1px solid #dedcd3; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font: bold 25px/1 'PT Serif', Georgia, serif; text-decoration: none; }
main { width: min(100% - 44px, 1080px); margin: clamp(40px, 7vh, 80px) auto 56px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .85fr); gap: clamp(32px,7vw,90px); }
.welcome { align-self: start; }
.welcome h1 { max-width: 560px; font-size: clamp(40px,5vw,66px); }
.lead { font-size: 18px; max-width: 550px; line-height: 1.55; }
.examples { margin: 28px 0 12px; }
.examples dt { border-top: 1px solid #dcd9ce; padding-top: 12px; font-weight: 600; }
.examples dd { margin: 3px 0 12px; color: #50564d; }
.brand-pronunciation { color: #64675c; font-size: 13px; }
#cabinet { align-self: start; border: 1px solid #dedcd3; border-radius: 13px; padding: clamp(19px,3vw,32px); background: #fffefa; }
#form-title { margin: 0 0 10px; font: 400 34px/1.15 'PT Serif', Georgia, serif; }
.access-only main { display: block; max-width: 424px; }
.access-only .welcome { display: none; }
@media(max-width: 760px){ main { grid-template-columns: 1fr; gap: 24px; margin-top: 25px; } #cabinet { order: -1; } }
.section-name { color: #934123; font-weight: 600; margin: 0 0 5px; }
h1 { font: 400 clamp(38px, 7vw, 50px)/1.12 'PT Serif', Georgia, serif; letter-spacing: -.035em; margin: 0 0 14px; }
.intro { color: #575950; margin: 0; }
nav { display: flex; gap: 24px; border-bottom: 1px solid #dedcd3; margin: 28px 0 22px; }
button, input { font: inherit; }
button { cursor: pointer; }
nav button { color: #5b5c54; background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 0; margin-bottom: -1px; }
nav button[aria-pressed="true"] { border-color: #a14527; color: #82371e; font-weight: 600; }
label { display: block; margin: 15px 0 5px; font-weight: 600; }
input { background: #fffefa; border: 1px solid #aaa99e; border-radius: 7px; padding: 10px 12px; width: 100%; color: inherit; }
:focus-visible { outline: 3px solid #ab593a; outline-offset: 3px; }
.hint, #error { font-size: 13px; margin: 6px 0; }
.hint { color: #595b53; }
#error { color: #952f24; }
#submit { width: 100%; border: 0; background: #30352e; color: white; padding: 12px; border-radius: 8px; margin-top: 24px; font-weight: 600; }
#submit:hover { background: #424a3f; }
#submit:disabled { opacity: .65; cursor: progress; }
[hidden] { display: none !important; }
