:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --text: #16181d;
  --muted: #5d6573;
  --accent: #0a7aff;
  --line: #e3e7ee;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --bg-soft: #181b21;
    --text: #eef1f6;
    --muted: #9aa3b2;
    --accent: #3d9bff;
    --line: #2a2f38;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand:hover { text-decoration: none; }
nav a { margin-left: 18px; color: var(--muted); font-size: 15px; }

.hero { text-align: center; padding: 64px 0 40px; }
.hero img.icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
.hero h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.1; margin: 24px 0 12px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 620px; margin: 0 auto 28px; }
.badge {
  display: inline-block; padding: 12px 22px; border-radius: 12px;
  background: var(--text); color: var(--bg); font-weight: 600;
}
.badge:hover { text-decoration: none; opacity: .9; }
.pill { display: block; margin-top: 16px; font-size: 14px; color: var(--muted); }

.shots { display: flex; gap: 20px; justify-content: safe center; padding: 20px 20px 56px; overflow-x: auto; }
.shots img { width: 240px; max-width: 70vw; border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0, 0, 0, .12); }

section { padding: 48px 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: 30px; letter-spacing: -0.01em; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
section.soft .card { background: var(--bg); }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .ico { font-size: 26px; margin-bottom: 8px; }

.doc { padding: 48px 0 64px; }
.doc h1 { font-size: 36px; margin: 0 0 6px; letter-spacing: -0.01em; }
.doc .date { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
details { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 12px 0; background: var(--bg-soft); }
summary { font-weight: 600; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }
.contact { background: var(--bg-soft); border-radius: var(--radius); padding: 22px; margin-top: 36px; }

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