:root {
  --accent: #1FA2A6;
  --accent-dark: #178185;
  --accent-soft: #e3f6f6;
  --ink: #111114;
  --ink2: #71717a;
  --ink3: #a1a1aa;
  --line: #eaeaef;
  --bg-soft: #f5f5f7;
  --white: #ffffff;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-w: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a { color: var(--ink2); font-weight: 600; font-size: 14px; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; }
.btn-ghost { background: var(--bg-soft); color: var(--ink); }
.btn-ghost:hover { background: var(--line); text-decoration: none; }

/* Hero */
.hero {
  padding: 64px 0 40px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.hero h1 { font-size: 44px; line-height: 1.08; letter-spacing: -1.2px; font-weight: 800; margin: 0 0 20px; }
.hero h1 .accent { color: var(--accent); }
.hero p.lede { font-size: 18px; color: var(--ink2); max-width: 480px; margin: 0 0 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-art {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, #3FD0C9 100%);
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.hero-art .compass {
  width: 40%; opacity: 0.9;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.15));
}
.hero-art::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 60%);
}

/* Feature grid */
.section { padding: 56px 0; }
.section-title { font-size: 30px; font-weight: 800; letter-spacing: -0.6px; margin: 0 0 10px; text-align: center; }
.section-sub { color: var(--ink2); text-align: center; margin: 0 auto 40px; max-width: 520px; font-size: 16px; }

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  background: var(--bg-soft); border-radius: var(--radius-lg); padding: 28px;
}
.feature-card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.feature-card p { margin: 0; color: var(--ink2); font-size: 14px; line-height: 1.6; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; }
.step .num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: white;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 16px;
}
.step h3 { font-size: 16px; margin: 0 0 6px; }
.step p { color: var(--ink2); font-size: 14px; margin: 0; }

/* Download CTA band */
.cta-band {
  background: var(--ink); color: white; border-radius: var(--radius-xl);
  padding: 56px 40px; text-align: center; margin: 24px 0;
}
.cta-band h2 { font-size: 30px; margin: 0 0 12px; font-weight: 800; }
.cta-band p { color: #d4d4d8; margin: 0 0 28px; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .btn-ghost { background: rgba(255,255,255,0.12); color: white; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line); padding: 32px 0; margin-top: 40px;
}
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--ink2); font-size: 14px; }
.footer-links a:hover { color: var(--ink); }
.copyright { color: var(--ink3); font-size: 13px; }

/* Legal / support pages */
.doc {
  padding: 48px 0 80px;
  max-width: 720px; margin: 0 auto;
}
.doc h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.6px; margin: 0 0 6px; }
.doc .updated { color: var(--ink3); font-size: 14px; margin: 0 0 32px; }
.doc h2 { font-size: 18px; font-weight: 700; margin: 32px 0 8px; }
.doc p { color: var(--ink2); font-size: 15px; line-height: 1.7; margin: 0 0 4px; }
.doc ul { color: var(--ink2); font-size: 15px; line-height: 1.7; padding-left: 20px; }

.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; font-weight: 600; font-size: 14px; }

/* Support page */
.contact-card {
  background: var(--bg-soft); border-radius: var(--radius-lg); padding: 28px; margin: 24px 0;
  display: flex; align-items: center; gap: 16px;
}
.contact-card .icon { font-size: 28px; }
.contact-card a { font-weight: 700; font-size: 16px; }
.faq-item { margin-bottom: 20px; }
.faq-item h3 { font-size: 15px; margin: 0 0 6px; }
.faq-item p { margin: 0; color: var(--ink2); font-size: 14px; line-height: 1.6; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero h1 { font-size: 34px; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .cta-band { padding: 40px 24px; }
}
