:root {
  --bg-deep: #1a0033;
  --bg-mid: #24104a;
  --bg-card: rgba(36, 16, 74, 0.72);
  --accent: #a259ff;
  --accent-soft: rgba(162, 89, 255, 0.18);
  --splash: #2b1b7a;
  --text: #f5f0ff;
  --text-muted: rgba(245, 240, 255, 0.72);
  --text-subtle: rgba(245, 240, 255, 0.5);
  --border: rgba(162, 89, 255, 0.22);
  --radius: 16px;
  --max-width: 920px;
  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(162, 89, 255, 0.28), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(43, 27, 122, 0.5), transparent),
    linear-gradient(180deg, var(--bg-deep) 0%, #120022 100%);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  background: rgba(26, 0, 51, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

main {
  flex: 1;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
}

.hero {
  text-align: center;
  padding: 1.5rem 0 3.5rem;
}

.hero-icon {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  box-shadow: 0 20px 56px rgba(162, 89, 255, 0.4);
  margin-bottom: 1.75rem;
}

.hero-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 auto 1rem;
  max-width: 18ch;
  font-size: clamp(2.1rem, 5.5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero .tagline {
  margin: 0 auto 1rem;
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.hero .lead {
  margin: 0 auto 2rem;
  max-width: 38rem;
  color: var(--text-subtle);
}

.store-badges {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-accent {
  border-color: rgba(162, 89, 255, 0.45);
  background: var(--accent-soft);
  color: var(--text);
}

.beta-ad {
  position: relative;
  margin: 0 0 3rem;
  padding: 2.25rem 1.75rem;
  border-radius: calc(var(--radius) + 6px);
  border: 2px solid var(--accent);
  background:
    radial-gradient(ellipse 100% 140% at 50% 0%, rgba(162, 89, 255, 0.35), transparent 60%),
    linear-gradient(135deg, rgba(43, 27, 122, 0.85), rgba(26, 0, 51, 1));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 20px 50px rgba(162, 89, 255, 0.25);
}

.beta-ad::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, rgba(162, 89, 255, 0.8), rgba(162, 89, 255, 0.15));
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.beta-ad-content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.beta-ad-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.beta-ad-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.15;
  font-weight: 800;
}

.beta-ad-text {
  margin: 0 auto 1.25rem;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.beta-ad-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(162, 89, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.beta-ad-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(162, 89, 255, 0.45);
  text-decoration: none;
}

.section {
  margin-bottom: 3.5rem;
}

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

.section-header h2 {
  margin: 0 0 0.35rem;
  font-size: 1.6rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

.section-header-center {
  text-align: center;
}

.screenshots-section {
  width: min(100%, 1040px);
  margin-left: auto;
  margin-right: auto;
}

.screenshot-gallery {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  flex-wrap: wrap;
}

.screenshot-card {
  margin: 0;
  flex: 0 1 200px;
  text-align: center;
}

.screenshot-card-featured {
  flex-basis: 220px;
}

.screenshot-card figcaption {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.phone-frame {
  padding: 0.55rem;
  border-radius: 28px;
  border: 1px solid rgba(162, 89, 255, 0.35);
  background: linear-gradient(145deg, rgba(36, 16, 74, 0.95), rgba(26, 0, 51, 0.98));
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.screenshot-card-featured .phone-frame {
  padding: 0.65rem;
  border-radius: 32px;
  transform: translateY(-8px);
  box-shadow:
    0 32px 64px rgba(162, 89, 255, 0.18),
    0 24px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.phone-screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-mid);
}

.screenshot-card-featured .phone-screen {
  border-radius: 26px;
}

.screenshot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 100%;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(162, 89, 255, 0.12) 0%, transparent 45%),
    repeating-linear-gradient(
      -45deg,
      rgba(162, 89, 255, 0.06) 0,
      rgba(162, 89, 255, 0.06) 1px,
      transparent 1px,
      transparent 12px
    ),
    var(--bg-mid);
  border: 1px dashed rgba(162, 89, 255, 0.35);
}

.phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--bg-deep);
}

.screenshot-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.screenshot-hint {
  font-size: 0.65rem;
  color: var(--text-subtle);
  word-break: break-all;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.feature-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.feature-icon {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  color: var(--accent);
  line-height: 1;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.audience-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(43, 27, 122, 0.35), var(--bg-card));
}

.audience-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  color: var(--accent);
}

.audience-card p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.cta-section {
  margin-bottom: 3rem;
}

.cta-card {
  padding: 2rem 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(162, 89, 255, 0.35);
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(162, 89, 255, 0.2), transparent),
    var(--bg-card);
  text-align: center;
}

.cta-card h2 {
  margin: 0 auto 0.75rem;
  max-width: 22ch;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  line-height: 1.2;
}

.cta-card p {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  color: var(--text-muted);
}

.legal-doc {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin-bottom: 2rem;
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.legal-doc h2 {
  margin: 0 0 0.25rem;
  font-size: 1.4rem;
}

.legal-doc .effective-date {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-subtle);
}

.legal-doc .intro p,
.legal-doc section p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
}

.legal-doc section {
  margin-top: 1.5rem;
}

.legal-doc section h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: var(--text);
}

.contact-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(43, 27, 122, 0.55), var(--bg-card));
  text-align: center;
}

.contact-card p {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
}

.site-footer {
  width: 100%;
  margin-top: auto;
  padding: 2rem 1.25rem 2.5rem;
  border-top: 1px solid var(--border);
  background: rgba(18, 0, 34, 0.6);
  text-align: center;
  color: var(--text-subtle);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0.35rem 0;
}

.footer-brand {
  margin-bottom: 0.5rem !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.footer-brand a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-brand a:hover {
  color: var(--text);
}

.footer-company {
  margin: -0.15rem 0 0.5rem !important;
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  margin: 1rem 0 0.75rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-contact {
  margin-top: 0.5rem !important;
}

.footer-contact a {
  color: var(--text-subtle);
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    height: auto;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

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

  main {
    padding-top: 1.5rem;
  }

  .legal-doc {
    padding: 1.25rem;
  }

  .screenshot-card,
  .screenshot-card-featured {
    flex-basis: min(42vw, 180px);
  }

  .screenshot-card-featured .phone-frame {
    transform: none;
  }

  .screenshot-hint {
    display: none;
  }
}
