@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/assets/fonts/Poppins-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("/assets/fonts/Poppins-Bold.ttf") format("truetype"); }

:root {
  --bg: #FAF6EE;
  --bg-alt: #F1EADC;
  --card: #FFFFFF;
  --ink: #17311E;
  --sub: #4A6351;
  --muted: #6F7F72;
  --accent: #3E7D4A;
  --accent-ink: #FFFFFF;
  --accent-soft: #E3EFE3;
  --line: #E4DCCB;
  --shadow: 0 1px 2px rgba(23, 49, 30, .06), 0 8px 24px rgba(23, 49, 30, .08);
  --radius: 18px;
  --head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111713;
    --bg-alt: #172019;
    --card: #1C261F;
    --ink: #E8F0E9;
    --sub: #B4C6B8;
    --muted: #8C9C90;
    --accent: #6DBA7A;
    --accent-ink: #0E1A11;
    --accent-soft: #213A27;
    --line: #2A362D;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 19px var(--head); }
.brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.header-cta { font: 600 15px var(--head); color: var(--accent-ink); background: var(--accent); padding: 8px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap; }

/* Hero */
.hero { padding: 56px 0 24px; text-align: center; }
.hero .eyebrow { display: inline-block; font: 600 14px var(--head); color: var(--accent); background: var(--accent-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 7vw, 64px); margin-bottom: 16px; }
.hero h1 span { color: var(--accent); }
.hero p.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--sub); max-width: 620px; margin: 0 auto 28px; }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; min-width: 190px; padding: 10px 20px 10px 16px; border-radius: 14px; background: #101412; color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s ease; }
.store-btn:hover { transform: translateY(-2px); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: 11px; line-height: 1.2; opacity: .8; }
.store-btn strong { display: block; font: 600 18px/1.2 var(--head); }
@media (prefers-color-scheme: dark) { .store-btn { background: #FFFFFF; color: #101412; } }

/* Screenshot rail */
.shots { margin: 48px 0 8px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shots ul { list-style: none; margin: 0; padding: 0 20px 16px; display: flex; gap: 16px; width: max-content; }
.shots li { scroll-snap-align: center; width: 240px; flex: none; }
.shots img { width: 240px; height: auto; aspect-ratio: 1320 / 2868; border-radius: 22px; box-shadow: var(--shadow); background: var(--bg-alt); }
@media (min-width: 1100px) {
  .shots { overflow: visible; }
  .shots ul { margin: 0 auto; width: auto; max-width: 1120px; justify-content: center; }
  .shots li, .shots img { width: 196px; }
  .shots li.extra { display: none; }
}

/* Sections */
section.block { padding: 56px 0; }
section.alt { background: var(--bg-alt); }
.section-title { text-align: center; font-size: clamp(28px, 4.5vw, 40px); margin-bottom: 12px; }
.section-lead { text-align: center; color: var(--sub); max-width: 620px; margin: 0 auto 36px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 19px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--sub); font-size: 16px; }
.card .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.card .ico svg { width: 22px; height: 22px; }

/* Pricing */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: 820px; margin: 0 auto; }
.plan { text-align: center; position: relative; }
.plan .price { font: 700 32px var(--head); margin: 6px 0 2px; }
.plan .per { color: var(--muted); font-size: 15px; }
.plan.best { border: 2px solid var(--accent); }
.plan .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); font: 600 12px var(--head); padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.fineprint { text-align: center; color: var(--muted); font-size: 14px; margin-top: 20px; }

/* CTA */
.cta { text-align: center; }
.cta img.icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 20px; box-shadow: var(--shadow); }

/* Legal / doc pages */
.doc { padding: 40px 0 64px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); }
.doc .updated { color: var(--muted); margin-bottom: 32px; }
.doc h2 { font-size: 23px; margin-top: 40px; }
.doc h3 { font-size: 18px; margin-top: 24px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-family: var(--head); font-weight: 600; }
.callout { background: var(--accent-soft); border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; }
.callout p:last-child { margin-bottom: 0; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 46px; margin: 14px 0 !important; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 600 15px var(--head); }
.btn { display: inline-block; font: 600 16px var(--head); color: var(--accent-ink); background: var(--accent); padding: 12px 22px; border-radius: 999px; text-decoration: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--sub); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* Mobile app banner (shown by banner.js on phones) */
.app-banner { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.app-banner.show { display: flex; animation: up .35s ease-out; }
.app-banner img { width: 44px; height: 44px; border-radius: 11px; flex: none; box-shadow: 0 0 0 1px var(--line); }
.app-banner .txt { flex: 1; min-width: 0; line-height: 1.25; }
.app-banner strong { display: block; font: 600 15px var(--head); }
.app-banner span { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-banner .get { font: 600 15px var(--head); color: var(--accent-ink); background: var(--accent); padding: 9px 18px; border-radius: 999px; text-decoration: none; flex: none; }
.app-banner .close { flex: none; width: 30px; height: 30px; border: 0; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 0; }
body.has-banner { padding-bottom: 90px; }
@keyframes up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 600px) {
  .hero { padding-top: 36px; }
  section.block { padding: 44px 0; }
  .header-cta { display: none; }
  .shots li, .shots img { width: 200px; height: auto; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
