:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #27312b;
  background: #f5f6f2;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; }
.page { min-height: 100vh; display: grid; place-items: center; padding: 32px 20px; }
.download { width: min(100%, 560px); padding: 44px; background: #fff; border-radius: 22px; }
h1 { margin: 0 0 30px; text-align: center; font-size: clamp(1.4rem, 5vw, 1.8rem); font-weight: 550; letter-spacing: -.035em; }
form { display: grid; gap: 14px; }
input { width: 100%; min-height: 62px; padding: 0 20px; border: 1px solid #e1e5df; border-radius: 12px; background: #fbfcfa; color: inherit; font: inherit; font-size: 1rem; outline: none; }
input::placeholder { color: #9aa39b; }
input:focus-visible { border-color: #78917c; box-shadow: 0 0 0 3px #78917c22; }
button { min-height: 58px; border: 0; border-radius: 12px; background: #718d76; color: #fff; font: inherit; font-size: .94rem; font-weight: 650; letter-spacing: .055em; cursor: pointer; transition: background .15s ease; }
button:hover:not(:disabled) { background: #607c65; }
button:focus-visible { outline: 3px solid #344b38; outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .7; }
#status { min-height: 1.35em; margin: 2px 0 0; color: #657168; text-align: center; font-size: .9rem; }
#status.error { color: #a4443e; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 520px) { .page { padding: 20px 16px; } .download { padding: 34px 22px; border-radius: 18px; } h1 { margin-bottom: 25px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
