:root {
  --bg: #07111f;
  --surface: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f7f8fb;
  --muted: rgba(247, 248, 251, 0.72);
  --faint: rgba(247, 248, 251, 0.46);
  --accent: #18c48f;
  --accent-soft: #4fc3ff;
  --accent-glow: rgba(24, 196, 143, 0.35);
  --brand-gradient: linear-gradient(135deg, #0dce84 0%, #18c48f 40%, #4fc3ff 100%);
  --page-gradient:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 100% 0%, var(--accent-glow) 0%, rgba(255, 255, 255, 0) 28%),
    linear-gradient(180deg, #07111f 0%, #09172b 38%, #050b15 100%);
  --shadow-lg: 0 24px 100px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 18px 60px rgba(0, 0, 0, 0.24);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --nav-h: 72px;
  --container: 1180px;
  --font-display: "Plus Jakarta Sans", "SF Pro Display", "Segoe UI", sans-serif;
  --font-body: "Manrope", "SF Pro Text", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--page-gradient);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}

body::before {
  width: 20rem;
  height: 20rem;
  top: 8rem;
  right: -6rem;
  background: var(--accent-glow);
  filter: blur(80px);
  opacity: 0.7;
}

body::after {
  width: 18rem;
  height: 18rem;
  left: -5rem;
  bottom: 16rem;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(90px);
}

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

svg {
  display: block;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(4, 10, 22, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav__inner {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand__mark {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.95rem;
  display: grid;
  place-items: center;
  background: var(--brand-gradient);
  color: #08101b;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 16px 44px var(--accent-glow);
}

.app-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.app-logo--nav {
  border-radius: 0.95rem;
}

.brand__copy {
  display: grid;
  gap: 0.16rem;
}

.brand__title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
}

.brand__sub {
  color: var(--faint);
  font-size: 0.78rem;
}

.nav__links {
  display: none;
  gap: 1rem;
  align-items: center;
}

.nav__links a {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-weight: 700;
  font-size: 0.88rem;
}

.brand-partner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-partner__image {
  width: 16rem;
  height: 16rem;
  object-fit: contain;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.hero {
  padding: 2rem 0 1.5rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)), rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -2rem auto auto -3rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: var(--accent-glow);
  filter: blur(50px);
  opacity: 0.55;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.46rem 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow strong {
  color: var(--text);
}

.hero h1 {
  margin: 1rem 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 11vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.95rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease), opacity 220ms var(--ease);
}

.btn:hover,
.app-pick:hover,
.store-card:hover,
.platform-button:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--brand-gradient);
  color: #07111f;
  box-shadow: 0 16px 38px var(--accent-glow);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.meta-panel,
.grid-card,
.legal-card,
.callout,
.platform-button,
.store-card,
.app-pick,
.faq-item {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1rem;
}

.section {
  padding: 1rem 0 0.5rem;
}

.section-header {
  margin-bottom: 1rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 0.45rem 0 0.65rem;
}

.section-header p,
.grid-card p,
.legal-card p,
.copy-block p,
.store-card__desc,
.app-pick__tag,
.platform-button span {
  color: var(--muted);
  line-height: 1.65;
}

.stack,
.legal-stack,
.grid,
.selector-grid,
.store-grid,
.platform-switch {
  display: grid;
  gap: 0.9rem;
}

.grid-card__eyebrow {
  color: var(--accent-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.grid-card h3,
.legal-card h3 {
  margin: 0.55rem 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent-soft);
  font-size: 1.45rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0.9rem 0 0;
}

.app-pick,
.store-card,
.platform-button {
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}

.app-pick.active,
.platform-button.active {
  outline: 1px solid rgba(255, 255, 255, 0.24);
}

.app-pick__badge,
.store-card__mark {
  width: 5.8rem;
  height: 5.8rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-pick__name,
.store-card__name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
}

.store-card__cta {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
}

.store-card__hint {
  color: var(--accent-soft);
  font-size: 0.84rem;
  line-height: 1.5;
  font-weight: 700;
}

.store-card__status {
  display: inline-flex;
  width: fit-content;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.platform-button {
  cursor: pointer;
  text-align: left;
}

.platform-button--ios {
  background: linear-gradient(180deg, rgba(10, 132, 255, 0.18), rgba(255, 255, 255, 0.05));
  border-color: rgba(10, 132, 255, 0.34);
}

.platform-button--android {
  background: linear-gradient(180deg, rgba(61, 220, 132, 0.18), rgba(255, 255, 255, 0.05));
  border-color: rgba(61, 220, 132, 0.34);
}

.platform-button__row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.platform-button__icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
}

.platform-button__icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.callout strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.footer {
  padding: 2.2rem 0 2.8rem;
}

.footer__inner {
  display: grid;
  gap: 1rem;
}

.footer__copy {
  color: var(--faint);
  line-height: 1.65;
  font-size: 0.92rem;
}

.footer__brand {
  justify-self: center;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
}

.footer__nav a {
  color: var(--muted);
  font-size: 0.92rem;
}

.coming-soon {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.coming-soon.hidden {
  display: none;
}

.coming-soon__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 22, 0.78);
  backdrop-filter: blur(12px);
}

.coming-soon__dialog {
  position: relative;
  width: min(calc(100% - 2rem), 34rem);
  margin: 12vh auto 0;
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04)), rgba(7,14,30,0.95);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow-lg);
}

.coming-soon__dialog h2 {
  margin: 1rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.coming-soon__dialog p {
  color: var(--muted);
  line-height: 1.7;
}

.coming-soon__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal][data-delay="1"] {
  transition-delay: 120ms;
}

[data-reveal][data-delay="2"] {
  transition-delay: 220ms;
}

[data-reveal][data-delay="3"] {
  transition-delay: 320ms;
}

@media (min-width: 720px) {
  .container {
    width: min(calc(100% - 3rem), var(--container));
  }

  .nav__links {
    display: flex;
  }

  .hero-card {
    padding: 1.6rem;
  }

  .grid.two-up,
  .platform-switch,
  .selector-grid,
  .store-grid,
  .legal-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .hero {
    padding-top: 2.5rem;
  }

  .hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    gap: 1.5rem;
    align-items: start;
    padding: 2rem;
  }

  .selector-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .grid.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__inner {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
}
