:root {
  color-scheme: dark;
  --bg: #08080c;
  --panel: #111118;
  --panel-soft: #171720;
  --line: #292938;
  --text: #f7f7fb;
  --muted: #aaaab9;
  --blue: #5956ff;
  --blue-light: #8d8aff;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 8, 12, .88);
  border-bottom: 1px solid rgba(41, 41, 56, .7);
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
nav { display: flex; gap: 28px; }
nav a, .footer-links a { color: var(--muted); text-decoration: none; font-weight: 650; font-size: .94rem; }
nav a:hover, nav a:focus-visible, .footer-links a:hover, .footer-links a:focus-visible { color: #fff; }

main, footer { max-width: var(--max); margin: 0 auto; }
.hero { min-height: 690px; padding: 76px 32px 88px; display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; overflow: hidden; }
.eyebrow { margin: 0 0 14px; color: var(--blue-light); font-size: .76rem; font-weight: 850; letter-spacing: .17em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(3.2rem, 7vw, 6.4rem); line-height: .92; letter-spacing: -.065em; }
h2 { margin-bottom: 16px; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.05em; }
h3 { margin-bottom: 10px; font-size: 1.25rem; line-height: 1.2; }
.hero-text { max-width: 650px; color: #ceced9; font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.hero-actions { margin: 34px 0 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-status, .button { min-height: 50px; padding: 13px 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; font-weight: 800; text-decoration: none; }
.store-status { color: #d7d6ff; background: #171631; border: 1px solid #3c397d; }
.button { color: #fff; background: var(--blue); border: 1px solid var(--blue); }
.button:hover, .button:focus-visible { background: #6c69ff; }
.button-secondary { background: transparent; border-color: var(--line); }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--panel-soft); }
.privacy-note { color: #858594; font-size: .9rem; }

.hero-art { position: relative; min-height: 460px; display: grid; place-items: center; }
.hero-art img { position: relative; z-index: 2; width: min(420px, 90%); filter: drop-shadow(0 32px 54px rgba(43, 39, 255, .3)); }
.shield-glow { position: absolute; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle, rgba(77, 72, 255, .32) 0, rgba(39, 34, 169, .11) 48%, transparent 72%); filter: blur(16px); }

.section { margin: 0 24px; padding: 96px 8px; border-top: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading > p:last-child, .trust-copy > p, .support p { color: var(--muted); font-size: 1.06rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { min-height: 220px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #14141c 0%, #0d0d12 100%); }
.feature-card p { color: var(--muted); }
.feature-number { display: inline-block; margin-bottom: 48px; color: var(--blue-light); font-size: .78rem; font-weight: 850; letter-spacing: .12em; }

.screen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.screen-grid figure { margin: 0; }
.screen-grid img { width: 100%; border: 1px solid #343447; border-radius: 22px; box-shadow: 0 18px 40px rgba(0, 0, 0, .33); }
.screen-grid figcaption { padding: 14px 4px 0; color: #c7c7d2; font-weight: 700; }

.trust { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.legal-links a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; color: #deddfd; text-decoration: none; font-weight: 700; }
.legal-links a:hover, .legal-links a:focus-visible { border-color: var(--blue); }
.support { margin-bottom: 88px; padding: 54px; display: flex; align-items: center; justify-content: space-between; gap: 38px; border: 1px solid #3b3979; border-radius: 24px; background: linear-gradient(125deg, #171634, #111117 65%); }
.support > div { max-width: 680px; }
.support h2 { font-size: clamp(2rem, 4vw, 3.4rem); }

footer { padding: 38px 24px 48px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; border-top: 1px solid var(--line); color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand span { display: block; color: var(--muted); font-size: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
footer > p { grid-column: 1 / -1; margin: 0; font-size: .82rem; }

@media (max-width: 880px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 56px; }
  .hero-art { min-height: 360px; order: -1; }
  .hero-art img { width: min(330px, 78vw); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .screen-grid { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr; gap: 22px; }
  .support { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .site-header { padding: 14px 18px; }
  .brand img { width: 42px; height: 42px; }
  .hero { padding: 44px 22px 68px; gap: 18px; }
  .hero-art { min-height: 290px; }
  .section { margin: 0 18px; padding: 72px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-number { margin-bottom: 28px; }
  .screen-grid { gap: 12px; }
  .screen-grid img { border-radius: 14px; }
  .screen-grid figcaption { font-size: .85rem; }
  .support { margin-bottom: 64px; padding: 32px 22px; }
  .support .button { width: 100%; font-size: .88rem; }
  footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
