:root {
  --bg:        #ffffff;
  --bg2:       #f5f5f7;
  --bg3:       #e8e8ed;
  --text:      #1d1d1f;
  --text2:     #515154;
  --text3:     #86868b;
  --accent:    #0071e3;
  --accent-dk: #0077ed;
  --border:    #d2d2d7;
  --card:      #ffffff;
  --radius:    14px;
  --nav-h:     60px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:     #000000;
    --bg2:    #1c1c1e;
    --bg3:    #2c2c2e;
    --text:   #f5f5f7;
    --text2:  #a1a1a6;
    --text3:  #636366;
    --accent: #2997ff;
    --border: #38383a;
    --card:   #1c1c1e;
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.3px;
}

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

.nav-links a {
  font-size: 0.9rem;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--accent); }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 760px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 22px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text2);
  max-width: 520px;
  margin: 0 auto 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 980px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  cursor: pointer;
}

.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: var(--bg3);
  color: var(--text);
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.app-store-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text3);
}

/* ── App icon placeholder ── */
.app-icon {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 26px;
  margin: 0 auto 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* ── Sections ── */
section { padding: 80px 24px; }

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

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

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text2);
  max-width: 540px;
  margin-bottom: 52px;
}

/* ── Feature grid ── */
.features-bg { background: var(--bg2); }

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

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

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.55;
}

/* ── How it works ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
}

.step {
  display: flex;
  gap: 20px;
  padding-bottom: 36px;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  padding-top: 8px;
}

.step-body p {
  font-size: 0.9rem;
  color: var(--text2);
}

/* ── FAQ ── */
.faq-bg { background: var(--bg2); }

.faq-list {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

details {
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

details:last-child { border-bottom: none; }

details summary {
  padding: 18px 22px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}

details summary::-webkit-details-marker { display: none; }

details summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--text3);
  flex-shrink: 0;
  transition: transform 0.2s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details .answer {
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.65;
}

details .answer p + p { margin-top: 10px; }

/* ── Privacy highlight band ── */
.privacy-band {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  color: #fff;
}

.privacy-band .section-label { color: #7ab8ff; }
.privacy-band .section-title { color: #fff; }
.privacy-band .section-sub { color: rgba(255,255,255,0.7); }

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

.pillar {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 22px;
}

.pillar-icon { font-size: 1.5rem; margin-bottom: 10px; }
.pillar h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.pillar p { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.55; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text3);
}

footer a { color: var(--text3); text-decoration: none; }
footer a:hover { color: var(--accent); }
footer .footer-links { margin-bottom: 10px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ── Privacy policy page ── */
.policy-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.policy-wrap h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.policy-meta {
  font-size: 0.85rem;
  color: var(--text3);
  margin-bottom: 48px;
}

.policy-wrap h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 36px 0 10px;
  letter-spacing: -0.01em;
}

.policy-wrap p, .policy-wrap li {
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.7;
}

.policy-wrap ul {
  padding-left: 22px;
  margin: 10px 0;
}

.policy-wrap li { margin-bottom: 6px; }

.policy-wrap a { color: var(--accent); }

/* ── Responsive ── */
@media (max-width: 600px) {
  nav { padding: 0 16px; }
  .nav-links { gap: 18px; }
  .hero { padding: 70px 16px 60px; }
  section { padding: 60px 16px; }
}
