:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-alt: #eef5f1;
  --text: #18212b;
  --muted: #5c6875;
  --line: #d9e0e7;
  --accent: #116d5b;
  --accent-dark: #0b4f43;
  --action: #275cc7;
  --warning: #b84a1b;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: var(--action);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

code {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f7f9fb;
  padding: 2px 5px;
  font-size: 0.94em;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

pre {
  margin: 10px 0 0;
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f9fb;
  padding: 12px;
}

pre code {
  border: 0;
  background: transparent;
  padding: 0;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: stretch;
  min-height: 420px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 109, 91, 0.12), rgba(39, 92, 199, 0.08)),
    var(--surface);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-inline-size: 100%;
}

h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 10px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--accent-dark);
}

.button.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--surface);
}

.action-box .button {
  width: 100%;
  margin-top: 10px;
}

.status-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(17, 109, 91, 0.25);
  border-radius: 8px;
  background: var(--surface-alt);
}

.status-dot {
  width: 14px;
  height: 14px;
  margin-bottom: auto;
  border-radius: 50%;
  background: #1aa06d;
  box-shadow: 0 0 0 5px rgba(26, 160, 109, 0.16);
}

.status-label {
  margin: 28px 0 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.status-card strong {
  font-size: 2rem;
  line-height: 1;
}

.status-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  margin-top: 18px;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.section-heading {
  display: grid;
  gap: 2px;
  margin-bottom: 22px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step,
.check,
.support-box {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fbfcfd;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
}

.step p,
.check span,
.support-box p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 24px;
  align-items: center;
}

.split p {
  margin-bottom: 0;
  color: var(--muted);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.download-grid a {
  display: flex;
  align-items: center;
  min-height: 52px;
  min-width: 0;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #fbfcfd;
  font-weight: 750;
  text-decoration: none;
}

.checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.check {
  display: grid;
  gap: 8px;
}

.support {
  border-color: rgba(184, 74, 27, 0.28);
}

.support-box {
  background: #fff8f4;
}

@media (max-width: 860px) {
  .shell {
    width: 100%;
    max-width: 100vw;
    padding: 10px 10px 48px;
  }

  .hero,
  .split,
  .steps,
  .checks {
    grid-template-columns: 1fr;
  }

  .hero {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding: 18px;
  }

  .section {
    width: 100%;
    max-width: 100%;
    padding: 18px;
  }

  .status-card {
    min-height: 220px;
  }

  h1 {
    font-size: clamp(1.86rem, 9vw, 2.2rem);
    line-height: 1.04;
  }

  .lead {
    font-size: 1rem;
  }

  .button,
  .download-grid a {
    width: 100%;
    max-width: calc(100vw - 56px);
  }

  .actions {
    grid-template-columns: 1fr;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .status-card,
  .section-heading,
  .step,
  .check,
  .support-box,
  .split > div,
  h1,
  h2,
  h3,
  p {
    max-width: calc(100vw - 56px);
  }
}

@media (max-width: 520px) {
  .download-grid {
    grid-template-columns: 1fr;
  }
}
