:root {
  --bg: #ffffff;
  --ink: #171b18;
  --muted: #5f6b63;
  --subtle: #93a098;
  --border: #e6ece8;
  --accent: #099250;
  --accent-deep: #087443;
  --accent-soft: #edfcf2;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101512;
    --ink: #ecf1ed;
    --muted: #9aa79e;
    --subtle: #6d7a71;
    --border: #263028;
    --accent: #2fbf71;
    --accent-deep: #2fbf71;
    --accent-soft: #16241b;
  }
}
* { box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
.page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}
.masthead {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}
.masthead a { text-decoration: none; }
.mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.brand {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.doc-type {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
}
h1 {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 2.25rem 0 0.4rem;
  text-wrap: balance;
}
.updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.intro {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0 0 1rem;
}
h2 {
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.015em;
  margin: 2.5rem 0 0.6rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  text-wrap: balance;
}
p { margin: 0 0 0.9rem; }
ul { margin: 0 0 0.9rem; padding-left: 1.15rem; }
li { margin-bottom: 0.45rem; }
li::marker { color: var(--accent); }
a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact-card {
  margin-top: 2.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--accent-soft);
  font-size: 0.95rem;
}
.contact-card p { margin: 0.15rem 0; }
.contact-card .who { font-weight: 750; }
footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--subtle);
}
footer nav { display: flex; gap: 1rem; margin-bottom: 0.5rem; }
.hero { padding: 4rem 0 2rem; }
.hero .emoji { font-size: 2.6rem; margin: 0 0 0.75rem; }
.hero h1 { margin-top: 0; }
.tagline { font-size: 1.15rem; color: var(--muted); max-width: 32rem; }
.support-card {
  margin-top: 2.5rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.support-card h2 { border: none; padding-top: 0; margin-top: 0; }

/* ===== Landing page (index.html) ===================================== */
:root {
  --wrap: 1120px;
  --gutter: 1.25rem;
  --ink-soft: #2b332d;
  --tile: #f4f7f5;
  --shadow: 0 24px 60px rgba(9, 146, 80, .14);
}
@media (prefers-color-scheme: dark) {
  :root { --ink-soft: #cfd8d2; --tile: #161d18; --shadow: 0 24px 60px rgba(0, 0, 0, .5); }
}
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--border); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.top-nav { display: flex; align-items: center; gap: 1.4rem; }
.top-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.top-nav a:hover { color: var(--ink); }
@media (max-width: 700px) { .top-nav a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: #fff !important; border-radius: 999px; padding: .6rem 1.1rem; font-weight: 700; text-decoration: none; transition: background .15s ease; }
.btn:hover { background: var(--accent-deep); }
.btn-small { padding: .5rem 1rem; font-size: .9rem; }

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 6vw, 4rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center; }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 4.6rem); font-weight: 900; }
.hero h1 em { font-style: italic; color: var(--accent); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); margin-top: 1.25rem; max-width: 34rem; line-height: 1.55; }
.cta-row { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
.cta-note { color: var(--subtle); font-size: .9rem; }
.cta-note a { color: var(--accent-deep); font-weight: 600; }

.store-badge { display: inline-flex; align-items: center; gap: .7rem; background: #000; color: #fff; text-decoration: none; border-radius: 14px; padding: .8rem 1.35rem .8rem 1.05rem; line-height: 1.05; transition: transform .15s ease, opacity .15s ease; }
.store-badge:hover { opacity: .9; transform: translateY(-1px); }
.store-badge svg { width: 30px; height: 30px; fill: #fff; flex: none; }
.store-badge span { display: block; font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }
.store-badge small { display: block; font-size: .7rem; font-weight: 500; opacity: .85; margin-bottom: 2px; }
@media (prefers-color-scheme: dark) { .store-badge { background: #fff; color: #000; } .store-badge svg { fill: #000; } }

.help { display: none; margin-top: 1rem; padding: .85rem 1rem; border-radius: 12px; background: var(--accent-soft); border: 1.5px solid var(--accent); color: var(--ink); font-size: .95rem; max-width: 34rem; }
.help.show { display: block; }
.dots { display: inline-block; font-weight: 800; letter-spacing: 1px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 0 6px; }

.proof { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: var(--ink-soft); font-size: .95rem; font-weight: 600; }
.proof li { display: inline-flex; align-items: center; gap: .45rem; }
.proof span { font-size: 1.1rem; }

.hero-shot { display: flex; justify-content: center; }
.hero-shot img { width: min(100%, 340px); border-radius: 28px; border: 1px solid var(--border); box-shadow: var(--shadow); transform: rotate(-2deg); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-shot img { width: min(80%, 300px); transform: none; }
}

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; border-top: 1px solid var(--border); }
.section-tone { background: var(--tile); }
.section-lede { color: var(--muted); font-size: 1.1rem; margin-top: .75rem; }

.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.steps li { background: var(--tile); border: 1px solid var(--border); border-radius: 20px; padding: 1.5rem; }
.section-tone .steps li, .section-tone .feature { background: var(--bg); }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 1rem; }
.steps h3 { margin-bottom: .5rem; }
.steps p { color: var(--muted); font-size: .98rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: flex; gap: 1.1rem; overflow-x: auto; padding: 2.25rem var(--gutter) .5rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { flex: 0 0 auto; width: min(64vw, 250px); margin: 0; scroll-snap-align: center; }
.gallery img { border-radius: 22px; border: 1px solid var(--border); box-shadow: 0 14px 34px rgba(0,0,0,.10); }
.gallery figcaption { text-align: center; margin-top: .7rem; font-weight: 600; color: var(--ink-soft); font-size: .95rem; }
@media (min-width: 1200px) { .gallery { justify-content: center; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.feature { background: var(--tile); border: 1px solid var(--border); border-radius: 20px; padding: 1.5rem; }
.feature-emoji { font-size: 1.8rem; display: block; margin-bottom: .8rem; }
.feature h3 { margin-bottom: .45rem; }
.feature p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* FAQ */
details { border-top: 1px solid var(--border); padding: 1rem 0; }
details:last-of-type { border-bottom: 1px solid var(--border); }
#faq h2 { margin-bottom: 1.5rem; }
summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 500; flex: none; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: .75rem; max-width: 60ch; }
details a { color: var(--accent-deep); }

/* Final CTA */
.final { background: var(--accent-soft); text-align: center; }
.final-inner { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.final-icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: var(--shadow); }
.final h2 { max-width: 20ch; }

/* Footer */
.foot { padding: 2.5rem 0 3.5rem; border-top: 1px solid var(--border); color: var(--subtle); font-size: .85rem; }
.foot-row { display: flex; flex-direction: column; gap: 1rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.foot a { color: var(--muted); text-decoration: none; font-weight: 600; }
.foot a:hover { color: var(--ink); }
.foot p a { font-weight: 500; }
