:root {
  color-scheme: light;
  --navy: #0f172a;
  --blue: #2563eb;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --ink: #111827;
  --muted: #667085;
  --line: #e5e7eb;
  --soft: #f4f7fb;
  --card: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(37, 99, 235, 0.14), transparent 34rem),
    linear-gradient(180deg, #f7faff 0%, #eef3fb 100%);
  color: var(--ink);
}

.download-page {
  width: min(1040px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 56px 0;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-content: center;
}

.hero,
.download-card,
.guide-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.11);
}

.hero {
  min-height: 520px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-mark {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  font-size: 34px;
  font-weight: 800;
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.28);
}

.eyebrow {
  margin: 30px 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 620px;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 0.94;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.status-row {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill,
.badge {
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 800;
}

.pill {
  background: #eef4ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
}

.download-card,
.guide-card {
  padding: 28px;
}

.download-card {
  align-self: end;
}

.guide-card {
  grid-column: 2;
  align-self: start;
}

.docs-card {
  grid-column: 1 / -1;
}

.card-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.card-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.card-head h2 {
  margin-top: 6px;
  font-size: 34px;
  line-height: 1.05;
}

.badge-soft {
  background: #ecfdf3;
  color: var(--green);
}

.badge-required {
  background: #fef3c7;
  color: var(--amber);
}

.status-text {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.primary-button {
  width: 100%;
  min-height: 58px;
  margin-top: 24px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: white;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 32px rgba(37, 99, 235, 0.24);
}

.primary-button.disabled {
  pointer-events: none;
  background: #94a3b8;
  box-shadow: none;
}

.secondary-link {
  min-height: 48px;
  margin-top: 18px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.notes {
  margin-top: 24px;
  padding: 18px;
  border-radius: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.notes h3,
.guide-card h2 {
  font-size: 18px;
}

.notes p,
.guide-card li,
.small-note {
  color: var(--muted);
  line-height: 1.6;
}

.notes p {
  margin-top: 8px;
  white-space: pre-line;
}

.guide-card ol {
  margin: 16px 0 0;
  padding-left: 22px;
}

.guide-card li + li {
  margin-top: 10px;
}

.small-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.small-note.no-border {
  margin-top: 10px;
  padding-top: 0;
  border-top: 0;
}

.doc-links {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.doc-links a {
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  padding: 10px 13px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.error {
  color: var(--red);
}

@media (max-width: 860px) {
  .download-page {
    grid-template-columns: 1fr;
    padding: 24px 0;
  }

  .hero {
    min-height: auto;
    padding: 28px;
  }

  .download-card,
  .guide-card {
    grid-column: auto;
  }
}
