:root {
  --dark: #0f2318;
  --forest: #1a3a2a;
  --mid: #2d6a4f;
  --accent: #52b788;
  --gold: #c9a84c;
  --light: #f0f7f2;
  --white: #ffffff;
  --muted: #7a9e8a;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }

/* NAV */
.page-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  background: rgba(15, 35, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(82, 183, 136, 0.1);
}
.nav-logo {
  font-family: var(--serif); font-size: 22px; font-weight: 900;
  letter-spacing: -0.5px; color: var(--white); text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; flex-wrap: wrap; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  text-decoration: none; letter-spacing: 0.02em; transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

/* Store badges */
.store-badges {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.app-store-badge,
.google-play-badge {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.app-store-badge:hover,
.google-play-badge:hover { opacity: 0.92; transform: translateY(-1px); }
.app-store-badge img {
  display: block;
  height: 40px;
  width: 120px;
  object-fit: contain;
  object-position: center;
}
.google-play-badge img {
  display: block;
  height: 52px;
  width: 156px;
  object-fit: contain;
  object-position: center;
}
.store-badges--nav .app-store-badge img { height: 32px; width: 96px; }
.store-badges--nav .google-play-badge img { height: 42px; width: 125px; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--muted);
  font-family: var(--sans); font-size: 15px; font-weight: 400;
  padding: 16px 24px; border-radius: 8px; text-decoration: none;
  border: 1px solid rgba(122,158,138,0.3); transition: all 0.2s;
}
.btn-secondary:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--dark);
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  padding: 16px 32px; border-radius: 8px; text-decoration: none;
  transition: all 0.2s; letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: #6dcfa0; transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(82,183,136,0.25);
}

/* HERO */
.page-hero {
  padding: 140px 48px 72px;
  position: relative;
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -160px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(82,183,136,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
}
.page-eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--accent); }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.page-hero .hero-support {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 12px;
  width: 100%;
}

/* SECTIONS */
.page-section {
  padding: 72px 48px;
  max-width: 920px;
  margin: 0 auto;
}
.page-section--alt {
  max-width: none;
  background: var(--forest);
  padding: 72px 48px;
}
.page-section--alt .section-inner {
  max-width: 920px;
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::after {
  content: ''; display: block; flex: 1; max-width: 40px; height: 1px; background: var(--accent);
}
.page-section h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.page-section p,
.page-section li {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}
.page-section p + p { margin-top: 16px; }
.page-section p a,
.page-section li a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(82,183,136,0.35);
}
.page-section p a:hover,
.page-section li a:hover { border-bottom-color: var(--accent); }
.prose-list {
  margin: 20px 0 0;
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.callout {
  margin-top: 24px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(82,183,136,0.15);
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.65;
}
.notice {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 3px solid var(--gold);
  background: rgba(201,168,76,0.08);
  color: var(--white);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}
.notice strong { color: var(--gold); font-weight: 500; }

/* Steps */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.flow-step {
  padding-top: 8px;
}
.flow-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1;
}
.flow-step h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.flow-step p {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}

/* Feature blocks */
.point-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 36px;
}
.point-item h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.point-item p {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
}

/* CTA band */
.cta-band {
  padding: 88px 48px;
  text-align: center;
  background: var(--forest);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(82,183,136,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-band p {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.cta-band-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.cta-band-actions .store-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* FAQ */
.faq-section {
  padding: 72px 48px 96px;
  max-width: 920px;
  margin: 0 auto;
}
.faq-section h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 32px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(82,183,136,0.12);
}
.faq-item {
  border-bottom: 1px solid rgba(82,183,136,0.12);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--accent);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer {
  padding: 0 0 22px;
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}
.faq-item .faq-answer a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(82,183,136,0.35);
}

/* Related links */
.related {
  padding: 0 48px 88px;
  max-width: 920px;
  margin: 0 auto;
}
.related h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}
.related-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.related-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  border-bottom: 1px solid rgba(82,183,136,0.2);
  padding-bottom: 12px;
}
.related-links a:hover { border-bottom-color: var(--accent); }

/* FOOTER */
.page-footer {
  background: var(--dark);
  border-top: 1px solid rgba(82,183,136,0.1);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-family: var(--serif); font-size: 18px; font-weight: 900;
  color: var(--white); text-decoration: none;
}
.footer-logo span { color: var(--accent); }
.footer-links {
  display: flex; align-items: center; gap: 24px; list-style: none; flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-row-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.footer-row-legal a {
  color: var(--accent);
  text-decoration: none;
}
.footer-row-legal a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .page-nav { padding: 16px 24px; flex-wrap: wrap; gap: 12px; }
  .nav-links { gap: 12px 18px; }
  .page-hero,
  .page-section,
  .faq-section,
  .related,
  .cta-band { padding-left: 24px; padding-right: 24px; }
  .page-section--alt { padding-left: 24px; padding-right: 24px; }
  .flow-steps { grid-template-columns: 1fr; gap: 28px; }
  .page-footer { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .page-nav { padding: 14px 20px; }
  .nav-links a { font-size: 13px; }
  .page-hero { padding-top: 128px; }
  .hero-actions { gap: 12px; }
  .btn-secondary { width: 100%; justify-content: center; }
}
