:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --bg-elevated: #121621;
  --bg-soft: #171c28;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f4f7fb;
  --muted: #a2adbf;
  --accent: #62b0ff;
  --accent-strong: #86c2ff;
  --success: #7fd2b4;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(98, 176, 255, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(98, 176, 255, 0.08), transparent 30%, transparent 70%, rgba(98, 176, 255, 0.04)),
    linear-gradient(180deg, #0b0d12 0%, #090b10 100%);
  color: var(--text);
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

code {
  font-family: "SFMono-Regular", "Consolas", monospace;
}

.page-shell {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(98, 176, 255, 0.24), rgba(127, 210, 180, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--accent-strong);
  font-size: 0.95rem;
}

.footer-links a:hover,
.muted-link:hover {
  color: var(--accent-strong);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.04em;
  font-family: "Montserrat", "Inter", sans-serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wordmark__base {
  color: #f4f7fb;
}

.wordmark__accent {
  background: linear-gradient(180deg, #b9ebff 0%, #5ecbff 30%, #169cff 62%, #005fbc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.legal-header {
  padding: 32px 0 18px;
}

.legal-header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.legal-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.legal-brand__icon {
  width: clamp(128px, 20vw, 256px);
  height: clamp(128px, 20vw, 256px);
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
}

.legal-wordmark {
  font-size: clamp(2.15rem, 8vw, 5rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links--center {
  justify-content: center;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  padding: 84px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 52px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
}

.hero-logo {
  width: clamp(160px, 24vw, 256px);
  height: clamp(160px, 24vw, 256px);
  margin-bottom: 10px;
  object-fit: contain;
  filter: drop-shadow(0 24px 56px rgba(0, 0, 0, 0.42));
}

.hero-wordmark {
  display: block;
  margin: 0;
  line-height: 1;
  letter-spacing: 0.14em;
  text-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  margin: 0;
}

.hero-subhead {
  margin: 26px 0 18px;
  max-width: none;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  color: var(--text);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.04;
  white-space: nowrap;
}

.hero-support {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.45;
}

.hero-meta {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  margin-top: 8px;
  font-size: 1.2rem;
  line-height: 1.45;
}

.download-label {
  max-width: 520px;
  margin: 44px 0 0;
  color: var(--text);
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.04;
  white-space: nowrap;
}

.download-label__accent {
  background: linear-gradient(180deg, #b9ebff 0%, #5ecbff 30%, #169cff 62%, #005fbc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title__accent {
  background: linear-gradient(180deg, #b9ebff 0%, #5ecbff 30%, #169cff 62%, #005fbc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.store-badge {
  display: block;
  width: auto;
  height: 45px;
}

.store-badge--google {
  height: 45px;
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  font-weight: 600;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button--secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.section-card,
.legal-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18, 22, 33, 0.96), rgba(12, 15, 22, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.media-frame {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero .media-frame {
  width: min(100%, 320px);
  justify-self: center;
}

.media-frame video,
.media-frame img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.media-placeholder {
  display: grid;
  place-items: center;
  min-height: 540px;
  padding: 32px;
  color: var(--muted);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(98, 176, 255, 0.08), transparent),
    radial-gradient(circle at 50% 15%, rgba(127, 210, 180, 0.12), transparent 32%);
}

.section {
  padding: 28px 0;
}

.section h2,
.legal-card h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.section h2,
.closing-lines p {
  font-family: "Montserrat", "Inter", sans-serif;
  font-style: italic;
  font-weight: 600;
}

.section-intro,
.legal-intro {
  margin: 0 0 28px;
  max-width: 760px;
  color: var(--muted);
}

.legal-summary {
  margin: 0 0 34px;
  padding: 24px 24px 10px;
  border-radius: 24px;
  border: 1px solid rgba(98, 176, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    linear-gradient(90deg, rgba(98, 176, 255, 0.08), transparent 20%);
}

.legal-summary h2 {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 1.55rem;
}

.legal-summary__block+.legal-summary__block {
  margin-top: 18px;
}

.legal-summary__block h3 {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 1.02rem;
}

.legal-summary__block ul {
  margin: 0;
  padding-left: 20px;
}

.legal-summary__block li {
  color: var(--muted);
}

.closing-message {
  padding: 28px 0 8px;
}

.closing-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.closing-lines p {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.06;
}

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

.feature {
  padding: 24px;
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.legal {
  padding: 56px 0 80px;
}

.legal-card {
  padding: 34px 32px;
}

.legal-meta {
  margin: 0 0 28px;
  color: var(--muted);
}

.legal-section+.legal-section {
  margin-top: 28px;
}

.legal-section h2 {
  margin: 0 0 8px;
  font-size: 1.22rem;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
}

.legal-section ul {
  padding-left: 20px;
}

.site-footer {
  padding: 42px 0 34px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.muted-link {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero {
    padding-top: 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .media-placeholder {
    min-height: 360px;
  }

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

@media (min-width: 641px) and (max-width: 900px) {
  .hero-logo {
    width: clamp(176px, 30vw, 240px);
    height: clamp(176px, 30vw, 240px);
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 52px), var(--content-width));
  }

  .legal-header {
    padding-top: 24px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    padding: 8px 12px;
  }

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

  .hero-wordmark {
    letter-spacing: 0.11em;
  }

  .hero-logo {
    width: clamp(148px, 42vw, 224px);
    height: clamp(148px, 42vw, 224px);
    margin-bottom: 24px;
  }

  .hero-subhead {
    margin: 20px 0 16px;
    font-size: clamp(1.05rem, 5.2vw, 1.35rem);
    line-height: 1.08;
  }

  .download-label {
    font-size: clamp(1.05rem, 5.2vw, 1.35rem);
    line-height: 1.08;
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
  }

  .button {
    width: 100%;
  }

  .store-badge {
    height: 45px;
  }

  .store-badge--google {
    height: 45px;
    margin: 0;
  }

  .legal-card {
    padding: 26px 20px;
  }
}
