@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600&display=swap');

/* ── Tokens ─────────────────────────────────────── */
:root {
  --bg0: #0B0D12;
  --bg1: #11141B;
  --bg2: #181C25;
  --bg3: #20242F;
  --line: rgba(255,255,255,0.06);
  --line-strong: rgba(255,255,255,0.12);
  --text1: #ECEEF3;
  --text2: #A8AEBE;
  --text3: #6B7286;
  --text4: #4A5060;
  --accent: #979DE8;
  --accent-soft: rgba(151,157,232,0.14);
  --accent-glow: rgba(151,157,232,0.35);
  --gold: #D4B94A;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg0);
  color: var(--text1);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── Layout ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,13,18,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  text-decoration: none;
}

.nav-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-wordmark {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 20px;
  color: var(--text1);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text3);
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--text1);
  text-decoration: none;
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  padding: 80px 0 64px;
  text-align: center;
}

.hero-icon {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  margin: 0 auto 28px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 16px 40px rgba(0,0,0,0.5);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(151,157,232,0.22);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(38px, 8vw, 60px);
  color: var(--text1);
  line-height: 1.08;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.55;
  max-width: 480px;
  margin: 0 auto 36px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg0);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, box-shadow 0.15s;
  box-shadow: 0 0 0 0 var(--accent-glow);
  text-decoration: none;
}

.btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 20px var(--accent-glow);
  text-decoration: none;
}

.store-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badges a {
  display: inline-block;
  transition: opacity 0.15s, transform 0.15s;
}

.store-badges a:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.badge-appstore {
  height: 44px;
  width: auto;
}

.badge-googleplay {
  height: 44px;
  width: auto;
}

/* ── Section ──────────────────────────────────────── */
.section {
  padding: 56px 0;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text4);
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(26px, 5vw, 36px);
  color: var(--text1);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
  max-width: 520px;
}

/* ── Feature cards ────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.feature-card {
  background: var(--bg1);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--line-strong);
}

.feature-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(151,157,232,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 18px;
}

.feature-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 19px;
  color: var(--text1);
  margin-bottom: 6px;
  line-height: 1.2;
}

.feature-body {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.55;
}

/* ── Divider ──────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--line);
  margin: 0;
}

/* ── Privacy ──────────────────────────────────────── */
.policy-intro {
  background: var(--bg1);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 16px;
}

.policy-intro-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(151,157,232,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}

.policy-intro-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 30px;
  color: var(--text1);
  line-height: 1.1;
  margin-bottom: 10px;
}

.policy-intro-sub {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.55;
}

.policy-section {
  background: var(--bg1);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px 20px;
  margin-bottom: 12px;
}

.policy-section-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 20px;
  color: var(--text1);
  line-height: 1.15;
  margin-bottom: 8px;
}

.policy-section-body {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

/* ── Page header (privacy / inner pages) ─────────── */
.page-header {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text3);
  margin-bottom: 20px;
  transition: color 0.15s;
  text-decoration: none;
}

.back-link:hover { color: var(--text1); text-decoration: none; }

.back-link::before { content: '←'; }

/* ── Footer ───────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  margin-top: 48px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text4);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-size: 12px;
  color: var(--text3);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text1); text-decoration: none; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 540px) {
  .nav-links { display: none; }
  .hero { padding: 52px 0 44px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
