/* ============================================================================
   Waysetters — waysetters.com
   Brand continuity note: colors and type below are pulled directly from the
   shipped app's data/theme.js, not invented fresh for this page. The app IS
   the product this site represents, so the site wears the same identity.
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg:           #0f1a0f;
  --surface:      #1c2b1c;
  --surface-alt:  #162016;
  --border:       #2a3d2a;
  --border-hover: #4a7a2a;
  --green:        #7ec850;
  --green-light:  #92d864;
  --text-primary: #e8f0e0;
  --text-muted:   #8a9e7a;
  --text-faint:   #5a6e4a;
  --amber:        #c8904a;

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'DM Sans', -apple-system, sans-serif;

  --max-w: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

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

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

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

/* ── NAV ─────────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 26, 15, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand img { width: 30px; height: 30px; flex-shrink: 0; }

.nav-brand span {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.nav-brand span em {
  font-style: normal;
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--text-muted);
}

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

/* ── HERO ────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 96px 0 80px;
  text-align: center;
  overflow: hidden;
}

/* Signature element: faint topographic contour lines drifting behind the
   hero — grounds the page in the trail-map / wayfinding identity of the
   product rather than a generic gradient glow. */
.topo {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 620px;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(126, 200, 80, 0.1);
  border: 1px solid rgba(126, 200, 80, 0.3);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 28px;
}

.logo-mark {
  width: clamp(140px, 18vw, 200px);
  height: clamp(140px, 18vw, 200px);
  margin: 0 auto 24px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(48px, 8vw, 84px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--green);
}

.hero p.lede {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-faint);
  cursor: default;
}

.btn-store .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.cta-sub {
  font-size: 13px;
  color: var(--text-faint);
}

/* ── SECTION SHARED ──────────────────────────────────────────────────────── */

section { padding: 88px 0; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 64px;
  font-size: 16px;
  line-height: 1.6;
}

/* ── HOW IT WORKS — the trail path ──────────────────────────────────────── */

.trail {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
}

.trail::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 2px;
  background-image: linear-gradient(to right, var(--border-hover) 60%, transparent 0%);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.step-num {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  color: var(--green-light);
}

.step h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.step p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 130px;
  line-height: 1.5;
}

/* ── FEATURES ────────────────────────────────────────────────────────────── */

.features {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-list {
  display: flex;
  flex-direction: column;
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 28px;
  border-top: 1px solid var(--border);
}

.feature:first-child { border-top: none; }

.feature .ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.feature-text h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── CLOSING CTA ─────────────────────────────────────────────────────────── */

.closing {
  text-align: center;
}

.closing h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 46px);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.closing h2 em { font-style: normal; color: var(--green); }

.closing p {
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto 36px;
  font-size: 16px;
}

/* ── FOOTER ──────────────────────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

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

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-faint);
}

.foot-brand img { width: 20px; height: 20px; opacity: 0.8; }

.foot-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-faint);
}

.foot-links a:hover { color: var(--text-muted); }

/* ── PRIVACY POLICY PAGE ─────────────────────────────────────────────────── */

.policy {
  padding: 64px 0 100px;
  max-width: 720px;
  margin: 0 auto;
}

.policy .eyebrow { text-align: left; }

.policy h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 44px);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.policy .updated {
  color: var(--text-faint);
  font-size: 13px;
  margin-bottom: 48px;
}

.policy h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  margin-top: 44px;
  margin-bottom: 14px;
  color: var(--green-light);
}

.policy p, .policy li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.policy ul { padding-left: 22px; margin-bottom: 14px; }

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

.policy a { color: var(--green-light); text-decoration: underline; text-underline-offset: 2px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.back-link:hover { color: var(--text-primary); }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .nav-links { gap: 16px; font-size: 13px; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .trail { flex-direction: column; gap: 28px; align-items: flex-start; }
  .trail::before { display: none; }
  .step { flex-direction: row; text-align: left; }
  .step p { max-width: none; }
  .feature { padding: 20px; }
}

/* ── REDUCED MOTION ──────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
