:root {
  color: #302b12;
  background: #fff9dd;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --accent: #edb600;
  --accent-dark: #a87500;
  --panel: rgba(255, 255, 255, .9);
  --line: #ead992;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(circle at 82% 4%, #ffe47d 0, transparent 32%), #fff9dd; }
button, input { font: inherit; }
.shell { width: min(980px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; font-size: 19px; font-weight: 800; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: #302b12; color: #ffe05b; }
.environment { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.62); color: #6c5c20; font-size: 12px; font-weight: 700; }
.hero { width: min(720px, 100%); margin: 13vh auto 9vh; padding: clamp(26px, 6vw, 54px); border: 1px solid rgba(218, 190, 80, .62); border-radius: 28px; background: var(--panel); box-shadow: 0 28px 80px rgba(104, 82, 8, .13); }
.eyebrow { margin: 0 0 9px; color: var(--accent-dark); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(34px, 6vw, 58px); line-height: 1.03; letter-spacing: -.045em; }
.lead { max-width: 590px; margin: 18px 0 32px; color: #74672f; font-size: 15px; line-height: 1.65; }
form { display: grid; gap: 8px; }
label { font-size: 12px; font-weight: 800; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
input { min-width: 0; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 13px; outline: none; background: #fffdf4; color: inherit; font-size: 18px; font-weight: 750; text-transform: uppercase; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(237, 182, 0, .16); }
button { min-width: 132px; height: 52px; padding: 0 22px; border: 0; border-radius: 13px; background: #302b12; color: #fff2a6; font-weight: 800; cursor: pointer; }
button:hover { background: #171507; }
button:disabled { opacity: .6; cursor: wait; }
small { color: #81743c; }
.result { margin-top: 20px; padding: 15px 17px; border: 1px solid #cfe7ba; border-radius: 13px; background: #f1fae9; color: #315421; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.result.error { border-color: #efb8a8; background: #fff0ec; color: #8b3925; }
footer { display: flex; justify-content: space-between; gap: 20px; color: #74672f; font-size: 12px; }
footer a { color: #5b4800; font-weight: 800; }
@media (max-width: 600px) { .environment { display: none; } .hero { margin-top: 9vh; } .field-row { grid-template-columns: 1fr; } button { width: 100%; } footer { flex-direction: column; } }
