/* ── Theme tokens ─────────────────────────────────── */
:root {
  --bg:        #0a0a14;
  --bg-2:      #0d0d18;
  --bg-card:   rgba(255,255,255,0.04);
  --text:      #ffffff;
  --text-2:    #888888;
  --text-3:    #555555;
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(255,255,255,0.18);
  --nav-bg:    rgba(10,10,20,0.85);
  --hero-from: #0a0a14;
  --hero-to:   #12122a;
  --btn-bg:    #ffffff;
  --btn-text:  #000000;
}

[data-theme="light"] {
  --bg:        #f5f5f7;
  --bg-2:      #ffffff;
  --bg-card:   rgba(0,0,0,0.04);
  --text:      #1d1d1f;
  --text-2:    #515154;
  --text-3:    #999999;
  --border:    rgba(0,0,0,0.08);
  --border-2:  rgba(0,0,0,0.18);
  --nav-bg:    rgba(245,245,247,0.85);
  --hero-from: #f5f5f7;
  --hero-to:   #e4e4f0;
  --btn-bg:    #1d1d1f;
  --btn-text:  #ffffff;
}

/* ── Reset ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
button { font-family: inherit; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Utilities ────────────────────────────────────── */
.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}

/* ── Screenshot placeholder ───────────────────────── */
.screenshot-placeholder {
  width: 200px;
  height: 390px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 12px;
}

.feature__img {
  width: 200px;
  border-radius: 36px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.hero__img {
  width: 220px;
  border-radius: 40px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.55);
  margin-top: 8px;
}

/* ── Nav ──────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}

.nav__icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__link {
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--text); }

.nav__toggle {
  font-size: 12px;
  color: var(--text-2);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.nav__toggle:hover { color: var(--text); border-color: var(--border-2); }

.nav__cta {
  font-size: 13px;
  font-weight: 600;
  background: var(--btn-bg);
  color: var(--btn-text);
  border-radius: 20px;
  padding: 6px 16px;
  transition: opacity 0.2s;
}
.nav__cta:hover { opacity: 0.8; }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--hero-from) 0%, var(--hero-to) 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero__title {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
}

.hero__sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 420px;
}

.badge img {
  height: 52px;
  width: auto;
  transition: opacity 0.2s;
}
.badge:hover img { opacity: 0.8; }

.hero__mockup { margin-top: 8px; }

/* ── Features ─────────────────────────────────────── */
.features {
  background: var(--bg-2);
  padding: 80px 0;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.feature:last-child { border-bottom: none; }

.feature--reverse .feature__media { order: -1; }

.feature__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.feature__desc {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
}

.feature__media {
  display: flex;
  justify-content: center;
}

.feature__media .screenshot-placeholder {
  width: 160px;
  height: 312px;
}

/* ── Feature cards ────────────────────────────────── */
.cards-section {
  background: var(--bg);
  padding: 64px 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--border-2); }

.card__icon { font-size: 28px; display: block; margin-bottom: 14px; }

.card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card__desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── Bottom CTA ───────────────────────────────────── */
.cta-section {
  background: linear-gradient(160deg, var(--hero-to) 0%, var(--hero-from) 100%);
  padding: 80px 0;
}

.cta-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.cta-section__title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -1px;
}

.cta-section__sub {
  font-size: 15px;
  color: var(--text-2);
}

/* ── Footer ───────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 13px;
  color: var(--text-3);
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__links a {
  font-size: 13px;
  color: var(--text-3);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--text); }

/* ── Prose (privacy page) ─────────────────────────── */
.prose {
  padding: 64px 0 80px;
  background: var(--bg);
}

.prose h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}

.prose__date {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 48px;
}

.prose h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
}

.prose p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 680px;
}

.prose a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Mobile (≤ 768px) ─────────────────────────────── */
@media (max-width: 768px) {
  .nav__link { display: none; }

  .nav__actions { gap: 10px; }

  .nav__toggle {
    font-size: 11px;
    padding: 3px 9px;
  }

  .nav__cta {
    font-size: 12px;
    padding: 5px 13px;
  }

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

  .hero__sub { font-size: 16px; }

  .feature {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }

  .feature--reverse .feature__media { order: unset; }

  .feature__media { order: -1; }

  .feature__media .screenshot-placeholder {
    width: 120px;
    height: 234px;
  }

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

  .footer__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
