:root {
  color-scheme: light;
  --navy: #09254d;
  --blue: #1769e8;
  --sky: #39bdf8;
  --pale: #edf6ff;
  --line: #d7e7f6;
  --muted: #5f7894;
  --white: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--navy); background: var(--white); }
a { color: inherit; }
.site-header, main, footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; letter-spacing: -.02em; }
.brand img { width: 44px; height: 44px; object-fit: cover; border-radius: 12px; }
nav { display: flex; gap: 30px; }
nav a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 700; }
nav a:hover { color: var(--blue); }
.hero { min-height: 660px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 50px; padding: 70px 0 100px; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 6px #39bdf81c; }
h1 { margin: 0; font-size: clamp(46px, 6vw, 78px); line-height: .99; letter-spacing: -.055em; }
h1 em { color: var(--blue); font-style: normal; }
.lead { max-width: 660px; margin: 28px 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border-radius: 14px; text-decoration: none; font-weight: 800; }
.button.primary { color: white; background: linear-gradient(135deg, var(--blue), #278cf0); box-shadow: 0 14px 30px #1769e82b; }
.button.secondary { border: 1px solid var(--line); background: white; }
.button:hover { transform: translateY(-2px); }
.trust-line { margin-top: 24px; color: var(--muted); font-size: 13px; font-weight: 650; }
.hero-mark { position: relative; display: grid; place-items: center; min-height: 430px; }
.hero-mark img { position: relative; width: min(390px, 90%); border-radius: 48px; filter: drop-shadow(0 28px 38px #1769e829); }
.glow { position: absolute; width: 390px; height: 390px; border-radius: 50%; background: radial-gradient(circle, #72d8ff55, #1769e80a 62%, transparent 70%); }
.section { padding: 100px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 700px; margin-bottom: 42px; }
h2 { margin: 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading > p:last-child { color: var(--muted); line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 250px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.feature-card.featured { color: white; border-color: var(--blue); background: linear-gradient(150deg, #0d3e7a, var(--blue)); box-shadow: 0 20px 60px #1769e82b; }
.number { color: var(--sky); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.feature-card h3 { margin: 70px 0 10px; font-size: 22px; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.feature-card.featured p { color: #dceeff; }
.downloads { border-radius: 34px; padding-inline: 48px; background: var(--pale); }
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.download-card { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: white; transition: .2s ease; }
.download-card.detected { border-color: var(--blue); box-shadow: 0 10px 32px #1769e81c; }
.platform-icon { display: grid; place-items: center; width: 48px; height: 48px; color: white; border-radius: 14px; background: linear-gradient(145deg, var(--sky), var(--blue)); font-weight: 900; }
.download-card h3, .download-card p { margin: 0; }
.download-card p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.status { padding: 7px 10px; color: var(--blue); border-radius: 999px; background: #e7f1ff; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.status.planned { color: var(--muted); background: #eef2f5; }
.download-button { display: inline-flex; flex-direction: column; align-items: center; min-width: 112px; padding: 10px 16px; color: white; border-radius: 12px; background: linear-gradient(135deg, var(--blue), #278cf0); box-shadow: 0 8px 20px #1769e82b; text-decoration: none; font-size: 13px; font-weight: 850; transition: .2s ease; }
.download-button span { margin-top: 2px; color: #dceeff; font-size: 10px; font-weight: 700; }
.download-button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px #1769e83b; }
.store-badge { display: inline-flex; min-width: 116px; flex-direction: column; padding: 7px 13px; color: white; border-radius: 10px; background: #132238; line-height: 1.05; }
.store-badge small { font-size: 8px; letter-spacing: .08em; }
.store-badge strong { margin-top: 3px; font-size: 14px; }
.store-badge.pending { opacity: .7; cursor: not-allowed; }
.android-icon { font-size: 14px; }
.install-note { margin: 20px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.device-note { min-height: 24px; margin: 22px 0 0; color: var(--blue); font-weight: 750; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.about > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
footer { min-height: 140px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer .brand { color: var(--navy); }

@media (max-width: 820px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-mark { min-height: 300px; order: -1; }
  .hero-mark img { width: 270px; }
  .feature-grid, .download-grid, .about { grid-template-columns: 1fr; }
  .about { gap: 28px; }
  .downloads { padding-inline: 24px; }
}

@media (max-width: 520px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .hero { min-height: auto; padding: 38px 0 80px; }
  .hero-mark { min-height: 240px; }
  .hero-mark img { width: 220px; border-radius: 34px; }
  .section { padding: 72px 0; }
  .download-card { grid-template-columns: auto 1fr; }
  .download-card .status { grid-column: 2; justify-self: start; }
  footer { flex-direction: column; justify-content: center; gap: 16px; text-align: center; }
}

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