/* ---------- tokens ---------- */
:root {
  --paper: #EDF0E2;
  --card: #F7F5EC;
  --pine: #1F3D2B;
  --ink: #26291F;
  --ink-soft: #5B5F4F;
  --line: #D8DCC9;
  --moss: #4C7A52;
  --mustard: #B8862A;
  --clay: #B85C38;
  --shadow: rgba(38,41,31,0.10);

  /* the hero band is a fixed deep-green moment, deliberately constant
     across light/dark, same as the mobile app's own Paywall/Recap
     screens, which are pine-dark regardless of anything else. Never
     touched by the theme blocks below. */
  --hero-bg: #1F3D2B;
  --hero-bg-deep: #142719;
  --hero-ink: #F7F5EC;
  --hero-ink-soft: #CFE0CD;
  --hero-mustard: #E3B94C;
  --hero-line: rgba(247,245,236,0.16);
  --hero-card: rgba(247,245,236,0.06);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #131D16;
    --card: #1B2A20;
    --pine: #DDEBE0;
    --ink: #EBEEE2;
    --ink-soft: #A9B49A;
    --line: rgba(247,245,236,0.12);
    --moss: #86B98D;
    --mustard: #E3B94C;
    --clay: #D68563;
    --shadow: rgba(0,0,0,0.45);
  }
}
:root[data-theme="dark"] {
  --paper: #131D16;
  --card: #1B2A20;
  --pine: #DDEBE0;
  --ink: #EBEEE2;
  --ink-soft: #A9B49A;
  --line: rgba(247,245,236,0.12);
  --moss: #86B98D;
  --mustard: #E3B94C;
  --clay: #D68563;
  --shadow: rgba(0,0,0,0.45);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { color-scheme: light dark; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
.eyebrow {
  font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
section { padding: 0 24px; }
.wrap { max-width: 1040px; margin: 0 auto; }

/* ---------- site header (every page) ---------- */
.site-header {
  width: 100%;
  box-sizing: border-box;
  padding: 26px 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--pine);
  text-decoration: none;
}
.nav-brand .brand-icon { font-size: 21px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--moss); }
.nav-links .nav-ig { display: inline-flex; align-items: center; }
.nav-links .nav-ig + .nav-ig { margin-left: -10px; }
.nav-links .nav-ig svg { display: block; }
.site-header.on-dark .nav-brand { color: var(--hero-ink); }
.site-header.on-dark .nav-links a { color: var(--hero-ink-soft); }
.site-header.on-dark .nav-links a:hover, .site-header.on-dark .nav-links a[aria-current="page"] { color: var(--hero-mustard); }

a:focus-visible, button:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 900px 520px at 18% -10%, rgba(227,185,76,0.12), transparent 60%),
    linear-gradient(165deg, var(--hero-bg) 0%, var(--hero-bg-deep) 100%);
  color: var(--hero-ink);
  padding: 0 24px 108px;
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  padding-top: 64px;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08;
  font-weight: 600;
  color: var(--hero-ink);
  opacity: 0;
}
.hero h1 em { font-style: italic; font-weight: 500; color: var(--hero-mustard); }
.hero-sub {
  margin-top: 22px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--hero-ink-soft);
  max-width: 46ch;
  opacity: 0;
}
.btn-primary {
  background: var(--hero-mustard);
  color: #241a05;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s ease;
}
.btn-primary:hover { transform: translateY(-1px); }
/* ---------- launch waitlist (hero + bottom band) ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.waitlist { margin-top: 32px; max-width: 470px; opacity: 0; }
.waitlist-row { display: flex; gap: 10px; }
.waitlist input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 15px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--hero-line);
  background: rgba(247,245,236,0.08);
  color: var(--hero-ink);
}
.waitlist input::placeholder { color: var(--hero-ink-soft); opacity: 0.75; }
.waitlist input:focus { outline: 2px solid var(--hero-mustard); outline-offset: 2px; }
.waitlist button {
  font: inherit;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 0;
  background: var(--hero-mustard);
  color: #241a05;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease;
}
.waitlist button:hover { transform: translateY(-1px); }
.waitlist button:disabled { opacity: 0.6; cursor: default; transform: none; }
.waitlist-note { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: var(--hero-ink-soft); opacity: 0.85; }
.waitlist-status { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--hero-mustard); min-height: 1em; }
.waitlist.done .waitlist-row, .waitlist.done .waitlist-note { display: none; }

/* ---------- app screenshots ---------- */
.phone {
  border-radius: 40px;
  border: 7px solid #0E1A12;
  overflow: hidden;
  background: #0E1A12;
  box-shadow: 0 30px 60px rgba(0,0,0,0.28);
}
.phone img { display: block; width: 100%; height: auto; }
.hero-phone { opacity: 0; display: flex; justify-content: center; }
.hero-phone .phone { width: 100%; max-width: 290px; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero h1, .hero-sub, .waitlist, .hero-phone {
  animation: rise 0.7s cubic-bezier(0.2,0.7,0.2,1) forwards;
}
.hero h1 { animation-delay: 0.05s; }
.hero-sub { animation-delay: 0.3s; }
.hero .waitlist { animation-delay: 0.42s; }
.hero-phone { animation-delay: 0.3s; }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- problem/solution ---------- */
.split { padding: 88px 24px; }
.split-head { text-align: center; margin-bottom: 52px; }
.split-head .eyebrow { color: var(--moss); }
.split-head h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 12px; max-width: 32ch; margin-inline: auto; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.split-col {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 30px 28px;
}
.split-col.no { border-left: 4px solid var(--clay); }
.split-col.yes { border-left: 4px solid var(--moss); }
.split-col .eyebrow { font-size: 10px; margin-bottom: 12px; }
.split-col.no .eyebrow { color: var(--clay); }
.split-col.yes .eyebrow { color: var(--moss); }
.split-col h3 { font-size: 20px; line-height: 1.3; margin-bottom: 12px; }
.split-col p { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }

/* ---------- features ---------- */
.features { padding: 20px 24px 96px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 48px; }
.feature-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--paper); border: 1.5px solid var(--mustard);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 17.5px; margin-bottom: 10px; line-height: 1.32; }
.feature-card p { font-size: 13.5px; line-height: 1.65; color: var(--ink-soft); }

/* ---------- pricing ---------- */
.pricing { padding: 20px 24px 100px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; margin-top: 48px; max-width: 1080px; margin-inline: auto; }
.price-card { background: var(--card); border: 1.5px solid var(--line); border-radius: 22px; padding: 30px 28px; }
.price-card.pro { background: var(--hero-bg); border-color: var(--hero-bg); color: var(--hero-ink); }
.price-card.lifetime { border-color: var(--mustard); }
.price-name { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss); }
.price-card.pro .price-name { color: var(--hero-mustard); }
.price-card.lifetime .price-name { color: var(--mustard); }
.price-amount { font-family: 'Fraunces', serif; font-size: 40px; margin-top: 10px; }
.price-amount span { font-family: 'Work Sans', sans-serif; font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.price-card.pro .price-amount span { color: var(--hero-ink-soft); }
.price-list { margin-top: 22px; display: flex; flex-direction: column; gap: 11px; }
.price-list div { font-size: 13.5px; line-height: 1.5; display: flex; gap: 9px; }
.price-card:not(.pro) .price-list div::before { content: '·'; color: var(--ink-soft); }
.price-card.pro .price-list div::before { content: '·'; color: var(--hero-mustard); }
.price-save {
  display: inline-block; margin-top: 14px; font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(227,185,76,0.16); color: var(--hero-mustard); padding: 4px 10px; border-radius: 999px;
}
.price-card.lifetime .price-save { background: rgba(184,134,42,0.12); color: var(--mustard); }

/* ---------- seed starting ---------- */
.seeds { padding: 96px 24px 24px; overflow: hidden; }
.seeds .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.seeds-copy .eyebrow { color: var(--moss); }
.seeds-copy h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; margin-top: 12px; color: var(--pine); }
.seeds-copy > p { margin-top: 18px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); max-width: 48ch; }
.seeds-copy > p strong { color: var(--ink); }
.step-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.step-list li {
  display: flex; gap: 14px; align-items: center;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px;
}
.step-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
  background: var(--paper); border: 1.5px solid var(--mustard);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.step-list strong { display: block; font-size: 15px; color: var(--ink); }
.step-list span:not(.step-icon) { display: block; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); margin-top: 2px; }
.seeds-phones { position: relative; display: flex; justify-content: center; padding: 10px 0 40px; }
.seeds-phones .phone { width: 58%; max-width: 270px; }
.seeds-phones .phone-back { transform: rotate(-4deg) translate(18%, 24px); opacity: 0.9; }
.seeds-phones .phone-front { transform: rotate(3deg) translateX(-16%); position: relative; z-index: 1; }

/* ---------- bottom waitlist band ---------- */
.cta-band {
  background: linear-gradient(165deg, var(--hero-bg) 0%, var(--hero-bg-deep) 100%);
  color: var(--hero-ink);
  padding: 72px 24px;
  text-align: center;
}
.cta-band .eyebrow { color: var(--hero-mustard); }
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 12px; color: var(--hero-ink); }
.cta-band .waitlist { opacity: 1; margin: 28px auto 0; }

/* ---------- footer ---------- */
footer.site-footer {
  padding: 44px 24px 40px;
  border-top: 1px solid var(--line);
  text-align: center;
}
footer.site-footer .wordmark {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
footer.site-footer .wordmark svg { flex-shrink: 0; }
footer.site-footer .tagline { margin-top: 6px; font-size: 12.5px; color: var(--ink-soft); }
footer.site-footer .social { margin-top: 18px; display: flex; justify-content: center; gap: 22px; }
footer.site-footer .social-link { color: var(--ink-soft); display: inline-flex; transition: color 0.15s ease; }
footer.site-footer .social-link:hover { color: var(--moss); }
footer.site-footer .social-link svg { display: block; }
footer.site-footer .copy { margin-top: 18px; font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--ink-soft); opacity: 0.8; }
footer.site-footer .copy a { color: var(--moss); text-decoration: underline; }

/* ---------- simple page header (privacy, blog index) ---------- */
.page-hero { padding: 56px 24px 44px; text-align: center; }
.page-hero .wrap { max-width: 660px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(30px, 4vw, 42px); color: var(--pine); margin-top: 10px; }
.page-hero .sub { margin: 12px auto 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); max-width: 56ch; }

/* ---------- privacy policy ---------- */
.doc-wrap { max-width: 660px; margin: 0 auto; padding: 0 24px 90px; }
.back-link { font-size: 13px; color: var(--ink-soft); text-decoration: none; display: inline-block; margin-bottom: 28px; }
.back-link:hover { color: var(--moss); }
.doc-updated {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-bottom: 34px;
}
.doc-intro { font-size: 15.5px; line-height: 1.7; color: var(--ink); margin-bottom: 40px; max-width: 62ch; }
.doc-wrap section { padding: 0; margin-bottom: 32px; }
.doc-wrap h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--pine);
  margin: 0 0 11px;
}
.doc-wrap p { font-size: 14.5px; line-height: 1.7; color: var(--ink); max-width: 62ch; margin: 0 0 11px; }
.doc-wrap ul { margin: 0 0 11px; padding-left: 20px; max-width: 62ch; }
.doc-wrap li { font-size: 14.5px; line-height: 1.7; color: var(--ink); margin-bottom: 4px; }
.service-list { list-style: none; padding: 0; margin: 14px 0; max-width: 62ch; }
.service-list li { background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 15px; margin-bottom: 8px; }
.service-name { font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 12.5px; color: var(--moss); }
.service-desc { font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }
.not-list { list-style: none; padding: 0; margin: 14px 0; max-width: 62ch; }
.not-list li { font-size: 14.5px; color: var(--ink); padding-left: 20px; position: relative; margin-bottom: 6px; }
.not-list li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--clay);
}
.contact-box { background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 18px 20px; max-width: 62ch; }
.contact-box p { margin: 0; }

/* ---------- blog index ---------- */
.post-grid {
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px 24px 100px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.post-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 26px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.post-card:hover { transform: translateY(-2px); border-color: var(--moss); }
.post-card .post-tag { color: var(--moss); }
.post-card h2 { font-size: 19px; line-height: 1.32; }
.post-card p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.post-card .post-meta {
  margin-top: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  opacity: 0.85;
}

/* ---------- blog post ---------- */
.article-hero { padding: 52px 24px 20px; }
.article-hero .wrap { max-width: 700px; margin: 0 auto; }
.article-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.article-hero h1 { font-size: clamp(28px, 4vw, 40px); color: var(--pine); margin-top: 8px; }
.article-dek { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
article.post-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 12px 24px 60px;
  font-size: 16px;
  line-height: 1.75;
}
article.post-body h2 {
  font-size: 23px;
  color: var(--pine);
  margin-top: 42px;
  margin-bottom: 14px;
}
article.post-body h3 {
  font-size: 18px;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 10px;
}
article.post-body p { margin-bottom: 16px; color: var(--ink); }
article.post-body ul, article.post-body ol { margin: 0 0 16px; padding-left: 22px; }
article.post-body li { margin-bottom: 8px; }
article.post-body strong { color: var(--pine); }
.table-wrap { overflow-x: auto; margin: 8px 0 20px; }
.timing-table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.timing-table th {
  text-align: left; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--moss);
  padding: 10px 12px; border-bottom: 1.5px solid var(--line);
}
.timing-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink); }
.timing-table td:first-child { font-weight: 600; }
.timing-table tbody tr:nth-child(odd) td { background: var(--card); }
article.post-body ol li { margin-bottom: 10px; }
.pull-note {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-left: 4px solid var(--moss);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 28px 0;
  font-size: 14.5px;
  line-height: 1.65;
}
.pull-note strong { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--moss); margin-bottom: 6px; }
.cta-box {
  background: var(--hero-bg);
  color: var(--hero-ink);
  border-radius: 20px;
  padding: 30px 28px;
  margin: 44px 0 8px;
}
.cta-box .eyebrow { color: var(--hero-mustard); margin-bottom: 10px; }
/* .post-body prefix needed so these beat article.post-body h3/p's own
   color rules on specificity — without it, blog posts' cta-box (nested
   inside .post-body) rendered its heading and paragraph in --ink (near-
   black) instead of the cream/sage meant for its dark background,
   making the text nearly unreadable. */
.post-body .cta-box h3 { font-size: 21px; color: var(--hero-ink); margin-bottom: 10px; }
.post-body .cta-box p { color: var(--hero-ink-soft); font-size: 14.5px; line-height: 1.6; margin-bottom: 18px; max-width: 50ch; }
.related {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.related h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.related-links { display: flex; flex-direction: column; gap: 10px; }
.related-links a {
  text-decoration: none;
  color: var(--pine);
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 15.5px;
}
.related-links a:hover { color: var(--moss); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-phone .phone { max-width: 240px; }
  .seeds .wrap { grid-template-columns: minmax(0, 1fr); }
  .seeds-phones { order: 2; }
  .split-grid, .feature-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .site-header { flex-wrap: wrap; gap: 14px; }
  .nav-links { gap: 16px; flex-wrap: wrap; }
  /* On phones the menu runs out of room and the icon wrapped onto its own
     line; the footer's Instagram link covers it there. */
  .nav-links .nav-ig { display: none; }
}

@media (max-width: 520px) {
  .waitlist-row { flex-direction: column; }
  .waitlist button { width: 100%; }
  /* Fit all four menu links on one line on a phone. */
  .site-header { padding: 22px 20px 0; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 10.5px; letter-spacing: 0.04em; }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero-sub, .waitlist, .hero-phone, .reveal {
    animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important;
  }
}
