:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --text: #1d1b19;
  --muted: #5f5a54;
  --accent: #e8560f;
  --accent-text: #ffffff;
  --border: #e3dfd9;
  --code-bg: #272522;
  --code-text: #f2eee8;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161412;
    --surface: #211e1b;
    --text: #efebe6;
    --muted: #a8a19a;
    --accent: #ff7a33;
    --accent-text: #1d1410;
    --border: #35302b;
    --code-bg: #0f0e0d;
    --code-text: #efebe6;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Cantarell, "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: 1.9rem; margin: 0 0 0.6rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }
p { margin: 0 0 1rem; }
code, pre { font-family: ui-monospace, "JetBrains Mono", "Fira Code", Menlo, Consolas, monospace; font-size: 0.92em; }
code { background: var(--border); padding: 0.1em 0.35em; border-radius: 4px; }
pre {
  background: var(--code-bg);
  color: var(--code-text);
  padding: 1rem 1.2rem;
  border-radius: 10px;
  overflow-x: auto;
  margin: 0 0 1rem;
}
pre code { background: none; padding: 0; color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 1rem; }
.brand { font-weight: 700; text-decoration: none; color: var(--text); white-space: nowrap; display: inline-flex; align-items: center; gap: 0.55rem; }
.brand img { border-radius: 6px; }
.brand span { color: var(--accent); }
nav a { color: var(--muted); text-decoration: none; margin-left: 1.1rem; font-size: 0.95rem; }
nav a:hover { color: var(--text); }
@media (max-width: 760px) { nav { display: none; } }
.hero { padding: 4.5rem 0 3rem; text-align: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 1rem; }
.hero .lead { font-size: 1.25rem; color: var(--muted); max-width: 720px; margin: 0 auto 1.8rem; }
.buttons { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 0.75rem 1.4rem; border-radius: 999px; text-decoration: none; font-weight: 600;
  border: 1px solid var(--border); color: var(--text); background: var(--surface);
}
.btn.primary { background: var(--accent); color: var(--accent-text); border-color: transparent; }
.hero .meta { margin-top: 1.2rem; color: var(--muted); font-size: 0.95rem; }
.hero-shot { margin: 2.5rem auto 0; max-width: 900px; }
section { padding: 3rem 0; border-top: 1px solid var(--border); }
.grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.3rem 1.4rem; }
.card p { margin: 0; color: var(--muted); }
figure { margin: 0; }
figure img { width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--border); }
figcaption { color: var(--muted); font-size: 0.95rem; margin-top: 0.6rem; }
.shots { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
ol.steps { padding-left: 1.3rem; }
ol.steps li { margin-bottom: 0.7rem; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0.9rem 1.2rem; margin-bottom: 0.8rem; }
details summary { cursor: pointer; font-weight: 600; }
details p, details pre { margin-top: 0.8rem; }
.note { border-left: 4px solid var(--accent); padding: 0.6rem 1rem; background: var(--surface); border-radius: 0 10px 10px 0; color: var(--muted); }
footer { padding: 2.5rem 0 3rem; color: var(--muted); font-size: 0.95rem; border-top: 1px solid var(--border); }
footer a { color: var(--muted); }
