:root {
  --bg: #131A26;
  --bg-deep: #0B1018;
  --surface: #181F2C;
  --surface-2: #1B2332;
  --card: #222A36;
  --card-inner: #202634;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #F5F7FB;
  --muted: rgba(233, 238, 246, 0.72);
  --muted-strong: rgba(233, 238, 246, 0.9);
  --blue: #8EC5FC;
  --blue-strong: #66A9FF;
  --mint: #9EE6D8;
  --warm: #FF9C55;
  --glow: linear-gradient(135deg, rgba(142, 197, 252, 0.26), rgba(158, 230, 216, 0.16));
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 40px;
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --shell: 1440px;
  --header-h: 94px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: #0C1118;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: #0C1118;
  background:
    radial-gradient(circle at 16% 12%, rgba(142, 197, 252, 0.14), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(255, 156, 85, 0.08), transparent 20%),
    linear-gradient(180deg, #121925 0%, #101722 46%, #0C1118 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 86%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 86%);
  opacity: 0.6;
  z-index: -2;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(142, 197, 252, 0.12), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(158, 230, 216, 0.06), transparent 18%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04), transparent 34%);
  opacity: 0.92;
  z-index: -1;
}

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

.section {
  padding: 120px 0;
}

.eyebrow {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(158, 230, 216, 0.58);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading h2 {
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.02;
  margin-bottom: 16px;
}

.button-row,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible,
.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.24);
  outline: none;
}

.button-primary {
  background: var(--glow);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.button-small {
  min-height: 46px;
  padding: 0 18px;
  font-size: 14px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.store-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(142, 197, 252, 0.28);
}

.store-button-badge {
  display: block;
  width: auto;
  height: 56px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.22));
}

.store-button-badge-google {
  height: 56px;
}

.store-button-badge-apple {
  height: 56px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 18px 0 0;
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 26px;
  background: rgba(19, 26, 38, 0.62);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled .header-row {
  border-color: var(--line);
  background: rgba(12, 17, 24, 0.82);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(91, 201, 255, 0.16);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-wordmark {
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  outline: none;
}

.store-note {
  color: var(--muted-strong);
  font-size: 14px;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.store-note.is-emphasized {
  color: var(--text);
  text-shadow: 0 0 24px rgba(142, 197, 252, 0.32);
}

.footer-row,
.footer-meta {
  color: var(--muted);
}

[data-motion="ready"] [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-motion="ready"] [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-motion="ready"] [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .header-row {
    grid-template-columns: auto;
  }

  .site-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(var(--shell), calc(100% - 24px));
  }

  body::before {
    background-size: 56px 56px;
    opacity: 0.18;
  }

  .page-glow {
    opacity: 0.72;
  }

  .section {
    padding: 84px 0;
  }

  .header-row {
    padding: 12px 14px;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .button-row,
  .cta-actions {
    flex-direction: column;
  }

  .store-button {
    width: auto;
    max-width: 100%;
  }

  .store-button-badge {
    height: 52px;
    max-width: 100%;
  }
}
