:root {
  color-scheme: dark;
  --bg: #08090d;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f7f7fb;
  --muted: rgba(247, 247, 251, 0.68);
  --soft: rgba(247, 247, 251, 0.44);
  --blue: #0a84ff;
  --blue-soft: rgba(10, 132, 255, 0.18);
  --green: #83f0a2;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  letter-spacing: 0;
  background:
    radial-gradient(circle at 74% 12%, rgba(10, 132, 255, 0.17), transparent 30%),
    radial-gradient(circle at 16% 82%, rgba(255, 255, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #202735 0%, #0d1017 42%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand,
.hero-actions,
.phone-top,
.screen-card.stats,
.screen-card.apps,
.download,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 18px;
  font-weight: 850;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

.site-footer a {
  padding: 10px 12px;
  border-radius: 999px;
}

.site-footer a:hover {
  color: var(--text);
  background: var(--surface);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.74fr);
  gap: 44px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 62px 0 88px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

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

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(58px, 9.4vw, 126px);
  line-height: 0.92;
  font-weight: 920;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  font-weight: 900;
}

h3 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.05;
}

.hero-text,
.intro p,
.download p,
.legal-intro {
  color: var(--muted);
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.25;
  font-weight: 620;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.store-button,
.button-secondary {
  min-height: 58px;
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
}

.store-button {
  display: inline-grid;
  align-content: center;
  min-width: 192px;
  padding: 9px 22px 11px;
  color: white;
  background: #050506;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.store-button span {
  font-size: 12px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.72);
}

.store-button strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  font-weight: 850;
  backdrop-filter: blur(18px);
}

.hero-phone {
  position: relative;
  display: grid;
  justify-items: center;
}

.hero-phone::before {
  content: "";
  position: absolute;
  inset: 12% 0 auto;
  height: 72%;
  border-radius: 44px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  transform: rotate(-5deg);
  filter: blur(1px);
}

.phone-shell {
  position: relative;
  width: min(390px, 100%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 48px;
  background: linear-gradient(180deg, #252b36 0%, #11141b 56%, #07080b 100%);
  box-shadow: 0 44px 110px rgba(0, 0, 0, 0.48);
}

.phone-top {
  justify-content: space-between;
  padding: 5px 10px 26px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
}

.phone-top span:last-child {
  width: 54px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.screen-card,
.feature-card,
.download,
.legal-section {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 26px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px);
}

.screen-card {
  margin-bottom: 14px;
  padding: 22px;
  border-radius: 30px;
}

.screen-card.large {
  min-height: 238px;
}

.moon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 42px;
}

.screen-card h2 {
  margin-bottom: 10px;
  font-size: 36px;
  line-height: 1;
}

.screen-card p,
.screen-card span,
.feature-card p,
.step-list p,
.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.48;
}

.screen-card.stats {
  justify-content: space-between;
}

.screen-card.stats strong {
  display: block;
  margin-top: 8px;
  font-size: 50px;
  line-height: 1;
}

.shield {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.11);
}

.screen-card.apps {
  justify-content: space-between;
}

.app-icons {
  display: flex;
  gap: 10px;
}

.app-icons i {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08));
}

.section,
.feature-grid,
.steps,
.download,
.legal-page,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 92px 0 34px;
}

.intro {
  max-width: 900px;
  margin-left: max(16px, calc((100% - 1180px) / 2));
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 26px 0 92px;
}

.feature-card {
  overflow: hidden;
  min-height: 390px;
  padding: 26px;
  border-radius: 30px;
}

.feature-card img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: contain;
  margin-bottom: 22px;
}

.steps {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
  padding: 58px 42px;
  border: 1px solid var(--line);
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
}

.step-list {
  display: grid;
  gap: 12px;
}

.step-list div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.step-list span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--green);
  background: rgba(131, 240, 162, 0.12);
  font-size: 13px;
  font-weight: 900;
}

.step-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.download {
  justify-content: space-between;
  gap: 28px;
  margin-top: 92px;
  margin-bottom: 82px;
  padding: 38px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, var(--blue-soft), rgba(255, 255, 255, 0.08)),
    var(--surface);
}

.download p {
  max-width: 690px;
}

.large-store {
  flex: 0 0 auto;
  min-width: 224px;
  min-height: 72px;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 32px 0 42px;
  color: var(--soft);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.legal-page {
  max-width: 920px;
  padding: 74px 0 90px;
}

.legal-page h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 94px);
  line-height: 0.95;
}

.legal-intro {
  margin-bottom: 24px;
}

.legal-section {
  margin-top: 16px;
  padding: 26px;
  border-radius: 26px;
}

.legal-section h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-section a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 940px) {
  .hero,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

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

  .download {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .section,
  .feature-grid,
  .steps,
  .download,
  .legal-page,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(48px, 17vw, 78px);
  }

  h2 {
    font-size: clamp(36px, 12vw, 58px);
  }

  .hero-text,
  .intro p,
  .download p,
  .legal-intro {
    font-size: 19px;
  }

  .phone-shell {
    border-radius: 40px;
  }

  .steps,
  .download {
    padding: 26px;
    border-radius: 30px;
  }

  .store-button,
  .button-secondary {
    width: 100%;
  }
}
