:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #173d30;
  background: #eaf3da;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body {
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: radial-gradient(ellipse at 50% 0%, #f8f2e7 0%, transparent 68%);
}
.download-card {
  width: 100%;
  max-width: 520px;
  padding: 34px 42px 26px;
  background: #fff;
  border: 1px solid #d7dfd5;
  border-radius: 24px;
  box-shadow: 0 16px 60px #173d300c;
  text-align: center;
}
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 10px; font-weight: 700; letter-spacing: 1.3px; color: #526157; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #14533f; flex-shrink: 0; }
.logo { display: block; max-width: 100%; object-fit: cover; margin: 3px auto -5px; }
h1 { margin: 0; font-size: clamp(27px, 6.7vw, 35px); line-height: 1.18; letter-spacing: -1.1px; font-weight: 750; }
.intro { margin: 16px 0 20px; color: #526157; font-size: 16px; line-height: 1.6; }
.file-info { display: flex; gap: 10px; justify-content: center; color: #526157; font-size: 13px; }
form { margin-top: 30px; text-align: left; }
label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 9px; }
.password-field { display: flex; border: 1px solid #aebbaf; border-radius: 12px; overflow: hidden; background: #fff; }
.password-field:focus-within { outline: 3px solid #d9ebb5; border-color: #14533f; }
.password-field:has([aria-invalid="true"]) { border-color: #943a26; }
input { min-width: 0; width: 100%; min-height: 52px; padding: 13px 14px; background: transparent; border: 0; color: #173d30; font: inherit; font-size: 16px; }
input:focus { outline: none; }
input::placeholder { color: #637269; font-size: 14px; }
button { font: inherit; cursor: pointer; }
.visibility-button { flex-shrink: 0; border: 0; background: transparent; min-height: 48px; padding: 0 14px; font-size: 12px; font-weight: 650; color: #14533f; }
.field-help { margin: 9px 0 20px; font-size: 12px; line-height: 1.5; color: #526157; }
.download-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; border: 0; border-radius: 12px; color: #fff; background: #14533f; font-size: 16px; font-weight: 650; transition: background 150ms; }
.download-button:hover { background: #0e3f30; }
.download-button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid #315b78; outline-offset: 4px; }
.download-status { text-align: center; color: #526157; font-size: 13px; line-height: 1.5; margin: 12px 0 0; }
.download-status:empty { display: none; }
.error, .download-status.error { color: #943a26; }
progress { display: block; width: 100%; height: 7px; margin: 16px 0 0; accent-color: #14533f; }
[hidden] { display: none !important; }
.save-again { display: block; margin-top: 10px; text-align: center; color: #14533f; font-size: 14px; text-underline-offset: 3px; }
details { margin-top: 27px; padding: 19px 0; border-top: 1px solid #d7dfd5; border-bottom: 1px solid #d7dfd5; text-align: left; color: #526157; font-size: 13px; line-height: 1.7; }
summary { cursor: pointer; color: #173d30; font-weight: 600; padding: 3px 0; }
ol { padding-left: 20px; margin: 15px 0 0; }
li + li { margin-top: 8px; }
details p { margin-bottom: 0; }
footer { padding-top: 22px; font-size: 12px; color: #526157; }
@media (max-width: 440px) {
  body { padding: 20px 14px; }
  .download-card { padding: 27px 23px 24px; border-radius: 20px; }
  .eyebrow { font-size: 9px; letter-spacing: 1px; }
  .intro { font-size: 15px; }
  .desktop-break { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
