:root {
  color-scheme: light dark;
  --bg: #f6faf7;
  --surface: #ffffff;
  --text: #17261d;
  --muted: #5b6b61;
  --line: #dfe8e2;
  --brand: #22a05a;
  --brand-strong: #17803f;
  --brand-soft: #e3f5ea;
  --link: #17803f;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1612;
    --surface: #17211b;
    --text: #e7efe9;
    --muted: #9db0a4;
    --line: #2a3a30;
    --brand: #3cc476;
    --brand-strong: #5fd892;
    --brand-soft: #1c3326;
    --link: #6fe0a0;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: var(--link); }
img { max-width: 100%; display: block; }

.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1rem; }
.prose { max-width: 44rem; margin: 0 auto; padding: 0 1rem 4rem; }

header.top {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
header.top .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 3.5rem;
}
.brand {
  display: flex; align-items: center; gap: .55rem;
  font-weight: 700; color: var(--text); text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
header.top nav { display: flex; gap: 1rem; font-size: .95rem; }
header.top nav a { text-decoration: none; color: var(--muted); }
header.top nav a:hover, header.top nav a[aria-current] { color: var(--text); }

/* Landing */
.hero { padding: 3rem 0 2rem; text-align: center; }
.hero .icon { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 1.25rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.hero h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); line-height: 1.15; margin: 0 0 .4rem; }
.hero .tagline { font-size: 1.2rem; color: var(--muted); margin: 0 0 1.5rem; }
.hero p.lead { max-width: 38rem; margin: 0 auto 1.75rem; font-size: 1.08rem; }
.cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--brand); color: #fff; text-decoration: none;
  font-weight: 700; padding: .85rem 1.5rem; border-radius: 999px;
}
.cta:hover { background: var(--brand-strong); }
@media (prefers-color-scheme: dark) { .cta { color: #0b1a11; } }
.cta-note { display: block; margin-top: .75rem; font-size: .9rem; color: var(--muted); }

.shots {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 1rem 1rem 1.5rem; margin: 0 -1rem;
}
.shots img {
  flex: 0 0 auto; width: min(62vw, 220px); height: auto;
  border-radius: 18px; scroll-snap-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

section.block { padding: 2.25rem 0; border-top: 1px solid var(--line); }
section.block h2 { font-size: 1.5rem; margin: 0 0 1rem; text-align: center; }
section.block > .wrap > p.intro { text-align: center; max-width: 40rem; margin: 0 auto 1.5rem; color: var(--muted); }

.grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 1.15rem 1.2rem;
}
.card h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card .emoji { font-size: 1.6rem; line-height: 1; margin-bottom: .5rem; }

.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 40rem; counter-reset: s; }
.steps li { position: relative; padding: 0 0 1rem 3rem; counter-increment: s; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-strong);
  font-weight: 700; display: grid; place-items: center;
}

.langs { text-align: center; max-width: 40rem; margin: 0 auto; }
.small { font-size: .92rem; color: var(--muted); }

footer {
  border-top: 1px solid var(--line); padding: 1.75rem 0 2.5rem;
  font-size: .92rem; color: var(--muted); text-align: center;
}
footer a { color: var(--muted); }

/* Policy / support pages */
.prose h1 { font-size: 1.9rem; line-height: 1.2; margin: 2.25rem 0 .25rem; }
.prose h2 { font-size: 1.2rem; margin-top: 2.2rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.prose h3 { font-size: 1.05rem; margin: 1.6rem 0 .3rem; }
.prose .sub { color: var(--muted); margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose code { font-size: .92em; }
