:root {
  --bg:         #0d0c0a;
  --bg-card:    #181614;
  --text:       #f0ece3;
  --text-muted: #8c8478;
  --text-dim:   #524e47;
  --accent:     #d4882a;
  --border:     #252220;
  --nav-h:      60px;
  --max-w:      1100px;
  --max-prose:  700px;
  --r:          14px;
  --px:         max(24px, 5vw);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Nav ─────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--px);
  background: rgba(13, 12, 10, .82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.035em;
  color: var(--text);
  text-decoration: none;
}

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

.nav-link {
  font-size: .875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}
.nav-link:hover,
.nav-link[aria-current="page"] { color: var(--text); }

/* ── Hero ─────────────────────────────── */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 110px) var(--px) 100px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at 50% 15%, rgba(212, 136, 42, .09) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
  opacity: .45;
}

.hero-icon {
  width: clamp(96px, 14vw, 128px);
  height: clamp(96px, 14vw, 128px);
  border-radius: 27%;
  display: block;
  margin: 0 auto 24px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .06),
    0 8px 32px rgba(0, 0, 0, .5),
    0 0 60px rgba(180, 100, 220, .18),
    0 0 120px rgba(212, 136, 42, .12);
}

.hero h1 {
  font-size: clamp(68px, 12vw, 108px);
  font-weight: 800;
  letter-spacing: -.048em;
  line-height: .93;
  margin-bottom: 24px;
  background: linear-gradient(165deg, #fff 25%, rgba(240, 236, 227, .5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(17px, 2.5vw, 22px);
  color: var(--text-muted);
  letter-spacing: -.01em;
  margin-bottom: 18px;
}
.hero-tagline strong { color: var(--text); font-weight: 500; }

.hero-desc {
  font-size: .9375rem;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

/* ── App Store Badge ─────────────────── */

.badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  color: #000;
  border-radius: 11px;
  padding: 10px 22px 10px 18px;
  text-decoration: none;
  user-select: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.app-store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
}
.app-store-badge:active { transform: none; }

.badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  color: #000;
}
.badge-text-small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .01em;
}
.badge-text-large {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.badge-note {
  font-size: .75rem;
  color: var(--text-dim);
  letter-spacing: .01em;
}

/* ── Features ────────────────────────── */

.features {
  padding: 80px var(--px);
}

.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  text-align: center;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  text-align: center;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 52px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-card);
  padding: 36px 30px;
  transition: background .15s;
}
.feature-card:hover { background: #1e1b17; }

.feature-icon {
  font-size: 26px;
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}

.feature-title {
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.015em;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Requirements ────────────────────── */

.requirements {
  padding: 16px var(--px) 80px;
  text-align: center;
}
.requirements p {
  font-size: .8125rem;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Footer ──────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding: 28px var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-copy {
  font-size: .8125rem;
  color: var(--text-dim);
}
.footer-link {
  font-size: .8125rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color .2s;
}
.footer-link:hover { color: var(--text-muted); }

/* ── Privacy page ────────────────────── */

.page-header {
  padding: calc(var(--nav-h) + 72px) 24px 52px;
  max-width: var(--max-prose);
  margin: 0 auto;
}

.page-label {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.page-header h1 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}

.effective-date {
  font-size: .875rem;
  color: var(--text-muted);
}

.rule {
  height: 1px;
  background: var(--border);
}

.prose {
  max-width: var(--max-prose);
  margin: 0 auto;
  padding: 52px 24px 100px;
}

.prose h2 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 14px;
}
.prose h2:first-child { margin-top: 0; }

.prose p {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.prose p:last-child { margin-bottom: 0; }

.prose a { color: var(--accent); text-decoration: none; }
.prose a:hover { text-decoration: underline; }

.prose strong { color: var(--text); font-weight: 600; }

.prose ul {
  list-style: none;
  margin-bottom: 16px;
}
.prose ul li {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 22px;
  position: relative;
  margin-bottom: 6px;
}
.prose ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-dim);
}

/* ── Support page ────────────────────── */

.support-header {
  padding: calc(var(--nav-h) + 64px) 24px 36px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.support-subtitle {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 12px;
}

.support-frame-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.support-frame {
  width: 100%;
  height: 820px;
  border: none;
  border-radius: var(--r);
  display: block;
  background: var(--bg-card);
}

/* ── Responsive ──────────────────────── */

@media (max-width: 720px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--nav-h) + 72px); }
  .badge-text-large { font-size: 17px; }
  .page-header { padding-inline: var(--px); }
  .prose { padding-inline: var(--px); }
  .support-frame { height: 900px; }
}
