:root {
  color-scheme: light;
  --navy: #06234a;
  --navy-soft: #123962;
  --teal: #0d8585;
  --teal-pale: #e5f5f4;
  --yellow: #fdba22;
  --ink: #10253d;
  --muted: #5f7083;
  --line: #dce5ec;
  --paper: #ffffff;
  --canvas: #f4f8fb;
  --shadow: 0 24px 70px rgba(6, 35, 74, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--canvas); }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 6%, rgba(13, 133, 133, 0.14), transparent 24rem),
    linear-gradient(180deg, #fff 0, var(--canvas) 32rem);
}

img { display: block; max-width: 100%; }

.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header { border-bottom: 1px solid rgba(6, 35, 74, 0.09); background: rgba(255,255,255,.84); backdrop-filter: blur(14px); }

.header-inner, .footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { width: 160px; height: 48px; }

.status-pill, .trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 8px 13px;
  color: var(--navy-soft);
  font-size: .82rem;
  font-weight: 700;
}

.status-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-pale); }

.page-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: 30px; padding-block: 76px 60px; }

.hero { align-self: center; padding: 34px 3vw 34px 0; }

.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

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

h1 { max-width: 760px; margin: 0; color: var(--navy); font-size: clamp(2.4rem, 5.4vw, 4.85rem); line-height: .99; letter-spacing: -.055em; }

.hero-copy { max-width: 680px; margin: 26px 0; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.28rem); line-height: 1.65; }

.trust-row { display: flex; flex-wrap: wrap; gap: 9px; }

.download-card, .steps, .support-card { border: 1px solid var(--line); border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); }

.download-card { padding: clamp(24px, 4vw, 38px); }

.card-heading, .section-heading, .support-card { display: flex; justify-content: space-between; gap: 24px; }

h2 { margin: 0; color: var(--navy); font-size: clamp(1.45rem, 2.3vw, 2rem); letter-spacing: -.03em; }

.android-mark { align-self: flex-start; border-radius: 10px; background: var(--teal-pale); padding: 9px 11px; color: var(--teal); font-size: .75rem; font-weight: 800; }

.release-details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 34px 0; }

.release-details div { min-width: 0; border-top: 1px solid var(--line); padding-top: 14px; }

.release-details .checksum { grid-column: 1 / -1; }

dt { margin-bottom: 7px; color: var(--muted); font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

dd { margin: 0; color: var(--ink); font-weight: 750; overflow-wrap: anywhere; }

.checksum dd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88rem; }

.download-button {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.download-button:not([aria-disabled="true"]):hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(253,186,34,.28); }

.download-button[aria-disabled="true"] { cursor: not-allowed; background: #e8edf1; color: #768494; }

.download-state { margin: 12px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.5; text-align: center; }

.guide-link {
  display: block;
  margin-top: 18px;
  color: var(--teal);
  font-size: .9rem;
  font-weight: 800;
  text-align: center;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.steps { grid-column: 1 / -1; margin-top: 18px; padding: clamp(26px, 4vw, 44px); }

.section-heading { align-items: end; }

.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }

.step-grid li { display: flex; gap: 15px; border-radius: 18px; background: var(--canvas); padding: 20px; }

.step-grid li > span { display: grid; flex: 0 0 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 850; }

.step-grid h3 { margin: 3px 0 8px; color: var(--navy); font-size: 1rem; }

.step-grid p, .support-card > p { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.55; }

.support-card { grid-column: 1 / -1; align-items: center; border-color: rgba(13,133,133,.3); background: var(--teal-pale); padding: clamp(24px, 4vw, 38px); box-shadow: none; }

.support-card > p { max-width: 520px; }

footer { border-top: 1px solid var(--line); background: var(--navy); color: rgba(255,255,255,.75); font-size: .82rem; }

@media (max-width: 820px) {
  .page-grid { grid-template-columns: 1fr; padding-block: 42px; }
  .hero { padding: 12px 0; }
  .step-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 68px; }
  .brand { width: 132px; }
  .status-pill { padding: 7px 10px; font-size: .72rem; }
  .page-grid { gap: 22px; padding-block: 28px 36px; }
  h1 { font-size: clamp(2.25rem, 12vw, 3.3rem); }
  .hero-copy { margin-block: 20px; }
  .download-card, .steps, .support-card { border-radius: 22px; }
  .release-details { grid-template-columns: 1fr; }
  .release-details .checksum { grid-column: auto; }
  .card-heading, .support-card, .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { justify-content: center; min-height: 100px; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
