:root {
  --green: #2f4a3e;
  --green-deep: #1f3329;
  --green-bright: #0f5132;
  --gold: #c9a86a;
  --gold-soft: #d8c39a;
  --cream: #f7f4ef;
  --ink: #20271f;
  --muted: #6f7a6f;
  --line: #e4ded3;
  --max: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand, .hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.01em;
}

a { color: var(--green-bright); }

/* Header */
.site-header { background: var(--green); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.brand {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav a {
  margin-left: 22px;
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  font-family: -apple-system, sans-serif;
}
.nav a:hover { color: #fff; }

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

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%);
  color: #fff;
  text-align: center;
  padding: 72px 24px 80px;
  overflow: hidden;
}
.hero .sprig { font-size: 30px; color: var(--gold); margin-bottom: 6px; }
.hero .app-icon {
  width: 104px;
  height: 104px;
  border-radius: 23px;
  margin: 0 auto 18px;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}
.hero h1 {
  font-size: 64px;
  margin: 0;
  color: #fff;
  font-weight: 700;
}
.hero .tagline {
  color: var(--gold-soft);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  margin: 8px 0 22px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
@media (max-width: 420px) {
  .hero .tagline { font-size: 14px; letter-spacing: 0.04em; }
}
.hero p.lead {
  font-size: 19px;
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  margin: 0 auto 30px;
}
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--green-deep);
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  font-family: -apple-system, sans-serif;
}
.btn:hover { background: var(--gold-soft); }
.btn.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  margin-left: 10px;
}
.hero .note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.6); }

/* Showcase image */
.showcase { padding: 0; background: var(--green-deep); }
.showcase img { width: 100%; max-width: 1024px; display: block; margin: 0 auto; }

/* Features — matches the in-app onboarding */
.app-features { padding: 60px 0; }
.features-heading {
  text-align: center;
  color: var(--green);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 34px;
}
.feature-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
}
.feature-card .fc-icon { font-size: 30px; line-height: 1.1; flex-shrink: 0; }
.feature-card h3 {
  margin: 0 0 6px;
  font-size: 21px;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 520px) {
  .features-heading { font-size: 21px; }
}

/* App screenshots showcase */
.screens { background: var(--green-deep); padding: 56px 0; }
.screens-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 26px;
  flex-wrap: wrap;
}
.screens-row img {
  width: 232px;
  max-width: 64vw;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
}
@media (max-width: 760px) {
  .screens-row { gap: 16px; }
  .screens-row img { width: 44vw; }
}

/* Screenshots embedded in doc pages (tutorials) */
main.doc .doc-screen {
  display: block;
  width: 258px;
  max-width: 72%;
  margin: 20px auto 30px;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 38px rgba(0,0,0,0.18);
}

/* CTA app icon */
.cta-icon {
  width: 76px;
  height: 76px;
  border-radius: 17px;
  margin: 0 auto 16px;
  display: block;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* CTA band */
.cta {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 56px 24px;
}
.cta h2 { color: #fff; margin: 0 0 10px; font-size: 28px; }
.cta p { color: rgba(255,255,255,0.85); margin: 0 0 22px; }

/* Doc pages */
main.doc { padding: 48px 0 72px; }
main.doc h1 { font-size: 34px; margin: 0 0 6px; color: var(--green); }
main.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 36px; font-family: -apple-system, sans-serif; }
main.doc h2 { font-size: 22px; margin: 36px 0 10px; color: var(--green); }
main.doc h3 { font-size: 17px; margin: 24px 0 6px; }
main.doc ul { padding-left: 22px; }
main.doc li { margin: 6px 0; }
main.doc .callout {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 20px 0;
}

/* Footer */
.site-footer {
  background: var(--green-deep);
  color: rgba(255,255,255,0.7);
  padding: 36px 24px;
  text-align: center;
  font-size: 14px;
  font-family: -apple-system, sans-serif;
}
.site-footer a { color: rgba(255,255,255,0.85); margin: 0 10px; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .social { margin-bottom: 14px; }
.site-footer .social a { font-size: 15px; }
.site-footer .copy { margin-top: 14px; color: rgba(255,255,255,0.45); }

@media (max-width: 520px) {
  .hero h1 { font-size: 46px; }
  .hero .tagline { font-size: 15px; }
  .nav a { margin-left: 14px; font-size: 14px; }
  .btn.secondary { margin-left: 0; margin-top: 10px; }
}
