:root {
  color-scheme: light;
  --ink: #101827;
  --muted: #607086;
  --line: #d9e2ef;
  --panel: #ffffff;
  --soft: #eef4fb;
  --brand: #0f1728;
  --accent: #148a42;
  --accent-dark: #0f7136;
  --warning: #7a2d12;
  --warning-bg: #fff4e7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fbff 0%, #eaf1f8 100%);
  color: var(--ink);
}

.page-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 42px;
}

.hero {
  text-align: center;
  padding: 34px 16px 24px;
}

.app-icon {
  display: inline-grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 26px;
  background: var(--brand);
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(16, 24, 39, 0.2);
}

.eyebrow {
  margin: 22px 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(42px, 8vw, 74px);
  line-height: 0.95;
}

h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.intro {
  max-width: 720px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
  font-weight: 650;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #e9f7ef;
  color: var(--accent-dark);
  font-weight: 900;
}

.version-pill.error {
  background: var(--warning-bg);
  color: var(--warning);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.info-card,
.notice,
.download-panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: 0 18px 45px rgba(16, 24, 39, 0.08);
}

.info-card {
  position: relative;
  min-height: 190px;
  padding: 26px;
}

.step-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--soft);
  color: #2458c8;
  font-size: 19px;
  font-weight: 950;
}

.info-card p,
.notice p,
.download-panel p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 650;
}

.notice {
  margin-top: 16px;
  padding: 24px 26px;
  border-color: #ffd9b5;
  background: var(--warning-bg);
}

.notice h2 {
  color: var(--warning);
}

.download-panel {
  position: sticky;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 24px;
  padding: 22px;
}

.download-panel .eyebrow {
  margin-top: 0;
}

.download-panel h2 {
  margin-bottom: 6px;
}

.download-panel p {
  margin-bottom: 0;
}

.download-button {
  display: inline-flex;
  min-width: 245px;
  min-height: 70px;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 950;
  box-shadow: 0 16px 32px rgba(20, 138, 66, 0.22);
}

.download-button:hover {
  background: var(--accent-dark);
}

.download-button.disabled {
  pointer-events: none;
  background: #9aa6b5;
  box-shadow: none;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 520px);
    padding-top: 20px;
  }

  .hero {
    padding-top: 20px;
  }

  h1 {
    font-size: 50px;
  }

  .intro {
    font-size: 18px;
  }

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

  .download-panel {
    position: static;
    display: block;
    padding: 20px;
  }

  .download-button {
    width: 100%;
    margin-top: 18px;
  }
}
