:root {
  --bg: #f7f5f0;
  --card: #efebe3;
  --ink: #1f2328;
  --mute: #6b6760;
  --line: #e2ddd3;
  --accent: #c0563f;
  --serif: ui-serif, "New York", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --card: #1d2024;
    --ink: #e6e2d9;
    --mute: #9a958c;
    --line: #2b2e33;
    --accent: #d96e57;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }

/* Header & footer */
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--serif); font-size: 20px; font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 22.37%; }
header nav a { color: var(--mute); margin-left: 20px; font-size: 15px; }
footer { border-top: 1px solid var(--line); margin-top: 96px; padding: 28px 0 48px; color: var(--mute); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer nav a { color: var(--mute); margin-right: 20px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 56px 0 24px; }
.hero h1 { font-size: 64px; margin: 0 0 20px; }
.lead { font-size: 20px; color: var(--mute); margin: 0 0 32px; }
.badge { display: inline-block; padding: 12px 22px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 600; }
.badge:hover { text-decoration: none; }
.note { font-size: 14px; color: var(--mute); margin-top: 14px; }

.shot { width: 280px; margin: 0 auto; border: 6px solid #1f2328; border-radius: 44px; overflow: hidden; background: #1f2328; box-shadow: 0 24px 48px -24px rgba(31, 35, 40, .35); }
@media (prefers-color-scheme: dark) { .shot { border-color: #33363c; box-shadow: none; } }

/* Features */
.features { margin-top: 64px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature:nth-child(even) .text { order: 2; }
.feature h2 { font-size: 36px; margin: 0 0 14px; }
.feature p { color: var(--mute); margin: 0 0 12px; }

/* Steps */
.section-title { font-size: 36px; margin: 96px 0 32px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--card); border-radius: 16px; padding: 22px; counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-family: var(--serif); font-size: 28px; color: var(--accent); margin-bottom: 8px; }
.steps b { display: block; margin-bottom: 4px; }
.steps span { color: var(--mute); font-size: 15px; }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--mute); }
details[open] summary::after { content: "−"; }
details p { color: var(--mute); margin: 10px 0 0; }

/* Text pages */
.doc { padding-top: 40px; }
.doc h1 { font-size: 44px; margin: 0 0 8px; }
.doc h2 { font-size: 26px; margin: 44px 0 10px; }
.doc .meta { color: var(--mute); margin: 0 0 32px; }
.doc li { margin-bottom: 6px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero, .feature { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 24px; }
  .hero h1 { font-size: 44px; }
  .lead { font-size: 18px; }
  .feature { padding: 40px 0; }
  .feature:nth-child(even) .text { order: 0; }
  .feature h2, .section-title { font-size: 30px; }
  .section-title { margin-top: 64px; }
  .steps { grid-template-columns: 1fr; }
  .shot { width: 240px; border-radius: 38px; }
  .doc h1 { font-size: 36px; }
}
