/* Adobe Acrobat Reader update page — Adobe Clean-inspired, no external assets. */
:root {
  --adobe-red: #fa0f00;
  --adobe-red-dark: #d40d00;
  --ink: #222;
  --ink-soft: #4b4b4b;
  --muted: #6e6e6e;
  --page: #f5f5f5;
  --card: #fff;
  --header: #1b1b1b;
  --info-bg: #f0f6ff;
  --info-line: #2680eb;
  --success: #12805c;
  --success-bg: #eef7f2;
  --error: #d7373f;
  --error-bg: #fdf0f0;
  --link: #1473e6;
  --radius: 14px;
  --font: "Adobe Clean", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--page); line-height: 1.55;
  min-height: 100vh; display: flex; flex-direction: column;
}
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

/* Header */
.site-header { background: var(--header); color: #fff; min-width: 0; }
.brand { display: flex; align-items: center; gap: .6rem; padding: 1.1rem 0; min-width: 0; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 1.9rem; height: 1.9rem; border-radius: 4px;
  background: var(--adobe-red); color: #fff;
  font-weight: 800; font-size: 1.3rem; line-height: 1;
}
.brand-name { font-size: 1.35rem; font-weight: 400; letter-spacing: .01em; }

/* Card */
main { flex: 1; min-width: 0; }
.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,.07), 0 12px 32px rgba(0,0,0,.06);
  max-width: 760px; margin: 2.5rem auto; padding: 3rem 3rem 2.75rem;
  text-align: center;
}
.state-icon { width: 76px; height: 76px; margin: 0 auto 1.4rem; display: block; }
h1.state-title { font-size: 2rem; line-height: 1.25; margin: 0 0 1rem; font-weight: 700; }
.state-lead { color: var(--ink); font-size: 1.06rem; margin: 0 auto 1.6rem; max-width: 60ch; }
.version-line { font-size: 1rem; color: var(--ink-soft); margin: -.9rem 0 1.6rem; }
.version-line strong { color: var(--ink); }
.ver-sep { margin: 0 .3em; }

/* Info panel ("Why update?") */
.info-panel {
  text-align: left; background: var(--info-bg);
  border-left: 5px solid var(--info-line);
  padding: 1.3rem 1.6rem; margin: 0 0 2rem;
}
.info-panel h2 { font-size: 1.15rem; margin: 0 0 .7rem; }
.info-panel ul { margin: 0; padding-left: 1.4rem; }
.info-panel li { margin: .3rem 0; }

/* Status panels */
.status-panel { border-radius: 10px; padding: 1.2rem 1.4rem; margin: 0 0 1.8rem; text-align: left; }
.status-panel.success { background: var(--success-bg); border-left: 5px solid var(--success); }
.status-panel.error { background: var(--error-bg); border-left: 5px solid var(--error); }
.status-panel h2 { margin: 0 0 .4rem; font-size: 1.15rem; }
.status-panel p { margin: .3rem 0; }

/* Countdown row */
.countdown { display: flex; align-items: center; justify-content: center; gap: .8rem; margin: 0 0 1.4rem; font-size: 1.05rem; }
.countdown strong { color: var(--adobe-red); font-size: 1.2em; }

/* Buttons */
.btn {
  font: inherit; font-weight: 700; cursor: pointer; border: 0; border-radius: 6px;
  padding: .85rem 2.6rem; font-size: 1.06rem; transition: background .15s ease, transform .05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--adobe-red); color: #fff; }
.btn-primary:hover { background: var(--adobe-red-dark); }
.btn-primary:disabled { background: #e08d88; cursor: wait; }
.btn-secondary { background: #eaeaea; color: var(--ink); }
.btn-secondary:hover { background: #ddd; }
.btn-secondary:disabled { opacity: .6; cursor: wait; }
.btn:focus-visible, .link-btn:focus-visible {
  outline: 3px solid var(--link); outline-offset: 2px;
}
.link-btn {
  background: none; border: 0; padding: 0; margin-top: 1.1rem;
  font: inherit; color: var(--link); cursor: pointer; font-size: 1rem;
}
.link-btn:hover { text-decoration: underline; }

/* Spinner */
.spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 4px solid #d7d7d7; border-top-color: var(--adobe-red);
  animation: spin 0.9s linear infinite; flex: none;
}
.spinner.lg { width: 46px; height: 46px; margin: 3.2rem auto; }
.spinner.sm { width: 26px; height: 26px; border-width: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 2s; }
  .btn { transition: none; }
}

/* Loading state: blank page, centered spinner only */
.loading-stage { min-height: 46vh; display: grid; place-items: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Download progress */
.progress { margin: 0 auto 1.5rem; max-width: 440px; text-align: left; }
.progress-track {
  height: 12px; border-radius: 999px; background: #e6e6e6; overflow: hidden;
}
.progress-fill {
  height: 100%; width: 0; border-radius: 999px;
  background: var(--adobe-red); transition: width .3s ease;
}
.progress-label { display: flex; justify-content: space-between; font-size: .95rem; color: var(--ink-soft); margin-top: .45rem; }

/* Footer */
.site-footer { text-align: center; color: var(--muted); font-size: .92rem; padding: 0 0 2.5rem; min-width: 0; overflow-wrap: break-word; }
.site-footer p { margin: .4rem 0; }
.trademark { font-size: .85rem; }

/* Responsive */
@media (max-width: 640px) {
  .card { margin: 1.25rem auto; padding: 2rem 1.25rem; }
  h1.state-title { font-size: 1.5rem; }
  .btn { width: 100%; padding: .9rem 1rem; }
  .countdown { font-size: .98rem; }
  .brand-name { font-size: 1.1rem; }
}

}
.info-panel h2 { font-size: 1.15rem; margin: 0 0 .7rem; }
.info-panel ul { margin: 0; padding-left: 1.4rem; }
.info-panel li { margin: .3rem 0; }
