:root {
  --bg: #f6f8f7;
  --surface: #ffffff;
  --text: #17201d;
  --muted: #55625d;
  --line: #dde5e1;
  --brand: #0b6b53;
  --brand-2: #17a27c;
  --gold: #d69a1f;
  --radius: 16px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1614;
    --surface: #17211e;
    --text: #e8efec;
    --muted: #9fb0a9;
    --line: #26332f;
    --brand: #3cc89f;
    --brand-2: #17a27c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
a { color: var(--brand); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

header.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 18px; padding-bottom: 18px;
}
header.top .brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
header.top .brand img { width: 32px; height: 32px; }
header.top nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
header.top nav a { color: var(--muted); text-decoration: none; }
header.top nav a:hover, header.top nav a[aria-current] { color: var(--text); }

.hero {
  text-align: center; padding-top: 48px; padding-bottom: 32px;
}
.hero img.icon { width: 148px; height: 148px; filter: drop-shadow(0 12px 24px rgba(0,0,0,.18)); }
.hero h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.1; margin: 18px 0 10px; letter-spacing: -0.02em; }
.hero p.lead { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 680px; margin: 0 auto 26px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none;
  background: var(--brand-2); color: #fff;
}
.button.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.note { color: var(--muted); font-size: 14px; margin-top: 12px; }

.shots { display: grid; gap: 18px; margin: 24px 0 8px; }
.shots img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.14); display: block; }

section { padding: 36px 0; }
section h2 { font-size: 30px; margin: 0 0 18px; letter-spacing: -0.01em; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

article.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px clamp(18px, 4vw, 44px); margin: 12px 0 40px; }
article.doc h1 { font-size: 34px; line-height: 1.2; margin: 0 0 6px; }
article.doc h2 { font-size: 22px; margin: 28px 0 8px; }
article.doc .meta { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
article.doc li { margin: 4px 0; }
details { border-top: 1px solid var(--line); padding: 12px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p, details ol, details ul { color: var(--muted); }
code { background: color-mix(in srgb, var(--line) 60%, transparent); padding: 1px 6px; border-radius: 6px; font-size: .92em; }

footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 600px) {
  header.top { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 24px; }
}
