:root {
  --pine: #0f3a26;
  --pine-2: #144a31;
  --pine-3: #1c5c3d;
  --grass: #6db34a;
  --cream: #f4ebd4;
  --cream-dim: rgba(244, 235, 212, 0.74);
  --flag: #e8553f;
  --paper: #f7f2e6;
  --ink: #163a29;
  --ink-dim: #4c6457;
  --line: rgba(22, 58, 41, 0.14);
  --radius: 18px;
  --wrap: 1080px;
  --display: "Fraunces", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--pine);
}

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

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header { padding: 20px 0; }

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
}

.brand img { width: 40px; height: 40px; border-radius: 10px; }

.nav { display: flex; gap: 22px; font-size: 15px; }

.nav a { text-decoration: none; color: var(--cream-dim); }

.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); }

/* Hero */
.hero { padding: 40px 0 80px; }

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pine-3);
  color: var(--grass);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; }

.hero h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.02em; }

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

.hero p.lead { font-size: 19px; color: var(--cream-dim); max-width: 32em; margin: 20px 0 32px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--pine);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.store-button:hover { transform: translateY(-2px); }

.store-button svg { width: 20px; height: 20px; }

.cta-note { font-size: 14px; color: var(--cream-dim); }

.phone {
  justify-self: center;
  width: min(320px, 100%);
  padding: 10px;
  border-radius: 44px;
  background: #0a2419;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), inset 0 0 0 2px rgba(244, 235, 212, 0.08);
}

.phone img { width: 100%; border-radius: 34px; }

/* Sections */
section { padding: 72px 0; }

.section-head { max-width: 640px; margin-bottom: 40px; }

.section-head h2 { font-size: clamp(30px, 4vw, 42px); }

.section-head p { color: var(--cream-dim); margin: 14px 0 0; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.feature {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--pine-2);
  border: 1px solid rgba(244, 235, 212, 0.06);
}

.feature .dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--pine-3);
  color: var(--grass);
  font-weight: 700;
  font-size: 15px;
}

.feature h3 { font-size: 21px; margin-bottom: 8px; }

.feature p { margin: 0; color: var(--cream-dim); font-size: 16px; }

.week {
  background: var(--pine-2);
  border-top: 1px solid rgba(244, 235, 212, 0.06);
  border-bottom: 1px solid rgba(244, 235, 212, 0.06);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li { counter-increment: step; }

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-size: 40px;
  color: var(--flag);
  margin-bottom: 6px;
}

.steps h3 { font-size: 20px; margin-bottom: 6px; }

.steps p { margin: 0; color: var(--cream-dim); font-size: 16px; }

.closing { text-align: center; }

.closing h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }

.closing p { color: var(--cream-dim); margin: 0 auto 28px; max-width: 34em; }

.closing .cta-row { justify-content: center; }

/* Footer */
.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid rgba(244, 235, 212, 0.08);
  font-size: 14px;
  color: var(--cream-dim);
}

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

.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

.site-footer a { text-decoration: none; }

.site-footer a:hover { color: var(--cream); }

/* App Store handoff */
.download-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 24px 16px;
}

.download-card {
  width: min(100%, 440px);
  padding: clamp(24px, 7vw, 40px);
  border: 1px solid rgba(244, 235, 212, 0.14);
  border-radius: var(--radius);
  background: var(--pine-2);
  text-align: center;
}

.download-icon { margin: 0 auto 20px; border-radius: 22px; }
.download-card h1 { font-size: clamp(30px, 7vw, 40px); }
.download-card p { margin: 12px 0 24px; color: var(--cream-dim); }
.download-actions { margin-top: 12px; font-size: 14px; }

.download-actions a, .download-actions button, .download-home {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 10px 0;
}

.download-actions button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.download-actions [hidden] { display: none; }
.download-actions label { display: block; margin: 4px 0 12px; }
.download-actions input { width: 100%; margin-top: 6px; padding: 8px; font: inherit; }
.download-home { color: var(--cream-dim); font-size: 14px; }

/* Document pages (privacy, terms, support) */
body.doc { background: var(--paper); color: var(--ink); }

body.doc .site-header { background: var(--pine); color: var(--cream); }

body.doc .site-footer { background: var(--pine); border-top: 0; }

.doc-main { padding: 56px 0 80px; }

.doc-main .wrap { max-width: 760px; }

.doc-main h1 { font-size: clamp(34px, 5vw, 48px); color: var(--ink); }

.doc-main .updated { color: var(--ink-dim); font-size: 15px; margin: 10px 0 36px; }

.doc-main h2 { font-size: 24px; margin: 40px 0 12px; color: var(--ink); }

.doc-main h3 { font-family: var(--body); font-size: 17px; font-weight: 700; margin: 24px 0 6px; }

.doc-main p, .doc-main li { color: #24453a; }

.doc-main ul { padding-left: 22px; }

.doc-main li { margin: 6px 0; }

.doc-main a { color: #1f6b43; }

.doc-main .callout {
  padding: 18px 20px;
  border-radius: 14px;
  background: #ece4cf;
  border: 1px solid var(--line);
}

.doc-main .callout p { margin: 0; }

.faq { border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }

.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }

.faq details p { margin: 10px 0 0; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 16px; }
  .phone { width: min(290px, 100%); }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { gap: 14px; font-size: 14px; }
  section { padding: 56px 0; }
}

@media (max-width: 380px) {
  .brand span { display: none; }
}
