:root {
  --forest: #5B8C5A;
  --forest-dark: #3E6B3D;
  --forest-deep: #1F4D2E;
  --cream: #FBF7F4;
  --mint: #EAF4ED;
  --sand: #FDE9D9;
  --ink: #1F1B16;
  --muted: #6B6259;
  --line: #E6E0D8;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(31, 27, 22, 0.08);
  --shadow-sm: 0 6px 20px rgba(31, 27, 22, 0.06);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--forest-dark); text-decoration: none; }

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
.accent { color: var(--forest); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem;
  font-weight: 600; color: var(--forest-dark); margin: 0 0 14px;
}
.centered { text-align: center; }
.section-lede { font-size: 1.18rem; color: var(--muted); max-width: 720px; margin: 18px auto 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 600; font-size: 0.98rem; border-radius: 999px;
  padding: 11px 20px; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  cursor: pointer; white-space: nowrap; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--forest); color: var(--white); box-shadow: 0 8px 22px rgba(91,140,90,.32); }
.btn--primary:hover { background: var(--forest-dark); }
.btn--ghost { background: transparent; color: var(--forest-dark); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--forest); background: rgba(91,140,90,.06); }
.btn--lg { padding: 15px 28px; font-size: 1.05rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 244, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.brand__logo { border-radius: 8px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--ink); font-weight: 500; font-size: 0.96rem; opacity: .82; }
.nav__links a:hover { opacity: 1; color: var(--forest-dark); }
.nav__cta { display: flex; gap: 10px; }

/* Mobile hamburger toggle (hidden on desktop) */
.nav__toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 10px; -webkit-tap-highlight-color: transparent; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .25s ease, opacity .2s ease; }
.nav--open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown panel */
.mobile-menu { display: none; flex-direction: column; padding: 6px 24px 20px; background: rgba(251, 247, 244, 0.98); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.mobile-menu a:not(.btn) { padding: 15px 2px; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { width: 100%; margin-top: 10px; }
.mobile-menu .btn--ghost { margin-top: 16px; }
.nav--open .mobile-menu { display: flex; }

/* Hero */
.hero { padding: 64px 0 40px; background:
  radial-gradient(1200px 500px at 80% -10%, var(--mint) 0%, transparent 60%),
  radial-gradient(900px 400px at 0% 10%, var(--sand) 0%, transparent 55%); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.lede { font-size: 1.22rem; color: var(--muted); margin: 18px 0 28px; max-width: 540px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__note { margin-top: 18px; color: var(--muted); font-size: 0.92rem; }

/* Phone art — real app screenshot in a device frame */
.hero__art { display: flex; justify-content: center; }
.phone {
  width: clamp(230px, 26vw, 272px); padding: 12px; border-radius: 44px;
  background: linear-gradient(160deg, #2a2620, #14110d);
  box-shadow: var(--shadow);
}
.phone__shot { width: 100%; height: auto; display: block; border-radius: 32px; }

/* Sections */
section { padding: 64px 0; }
.why { text-align: center; }
.community { text-align: center; background: var(--mint); border-radius: 32px; margin: 0 16px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.step__num {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--forest); color: var(--white); font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.2rem; margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Features grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Story */
.story__grid { display: grid; grid-template-columns: 200px 1fr; gap: 44px; align-items: start; }
.story__avatar {
  width: 200px; height: 200px; border-radius: 28px;
  background: linear-gradient(160deg, var(--forest), var(--forest-deep));
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.story__avatar span { font-family: 'Fraunces', serif; color: var(--white); font-size: 4rem; font-weight: 700; }
.story__copy h2 { margin: 6px 0 16px; }
.story__copy p { color: var(--muted); margin: 0 0 14px; max-width: 640px; }
.signature { font-family: 'Fraunces', serif; font-style: italic; color: var(--ink) !important; font-size: 1.1rem; }

/* Download */
.download { background: linear-gradient(160deg, var(--forest-deep), var(--forest-dark)); border-radius: 32px; margin: 0 16px; color: var(--white); }
.download__grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.download h2 { color: var(--white); }
.download p { color: rgba(255,255,255,.86); max-width: 480px; }
.download strong { color: var(--white); }
.download__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.download .btn--primary { background: var(--white); color: var(--forest-deep); box-shadow: none; }
.download .btn--primary:hover { background: var(--cream); }
.download .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.download .btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.badge-soon { margin-top: 20px; font-size: 0.9rem; color: rgba(255,255,255,.8) !important; }
.download__qr { background: var(--white); border-radius: 22px; padding: 18px; text-align: center; box-shadow: var(--shadow); }
.download__qr img { border-radius: 8px; }
.download__qr span { display: block; margin-top: 10px; font-size: 0.84rem; font-weight: 600; color: var(--muted); }

/* FAQ */
.faq__list { max-width: 760px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; color: var(--forest); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 40px 0; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer__brand { display: flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.2rem; color: var(--white); }
.footer__brand img { border-radius: 7px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer__links a { color: rgba(255,255,255,.78); font-size: 0.92rem; }
.footer__links a:hover { color: var(--white); }
.footer__copy { font-size: 0.86rem; margin: 0; }

/* Responsive */
@media (max-width: 860px) {
  .nav__links { display: none; }
  /* Landing nav collapses into the hamburger; other pages keep their buttons. */
  .nav--landing .nav__cta { display: none; }
  .nav--landing .nav__toggle { display: block; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 1; } .hero__art { order: 2; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .steps, .grid { grid-template-columns: 1fr; }
  .story__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .story__copy p { margin-left: auto; margin-right: auto; }
  .download__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .download p, .download__actions { margin-left: auto; margin-right: auto; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  /* Keep Log in + Get the app both visible; tighten the header so they fit. */
  .container { padding: 0 16px; }
  .nav__inner { gap: 8px; }
  .brand__name { font-size: 1.15rem; }
  .nav__cta { gap: 8px; }
  .nav__cta .btn { padding: 9px 14px; font-size: 0.88rem; }
}
