:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f4f1fc;
  --text: #1c1830;
  --muted: #5f5a75;
  --accent: #6650c4;
  --accent-text: #ffffff;
  --line: rgba(60, 40, 120, 0.12);
  --hero1: #6f57b6;
  --hero2: #2d2465;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0b16;
    --surface: #1a1630;
    --text: #f1eeff;
    --muted: #b3acd1;
    --accent: #8b76e8;
    --line: rgba(220, 210, 255, 0.12);
  }
}
* { 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, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 700px; }

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

.hero {
  color: #f4f0ff;
  background: radial-gradient(120% 140% at 15% 10%, var(--hero1) 0%, #45368f 45%, var(--hero2) 100%);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: -40%;
  background: repeating-radial-gradient(circle at 75% 50%, transparent 0 46px, rgba(234, 228, 250, 0.07) 46px 50px);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; padding: 72px 16px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.02em; margin: 16px 0 12px; }
.hero p.lead { font-size: clamp(18px, 2.4vw, 22px); color: #ddd6fb; margin: 0 0 28px; max-width: 32ch; }
.hero .icon { width: 88px; height: 88px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.hero .shot { justify-self: center; width: min(300px, 70vw); border-radius: 36px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; text-decoration: none;
  border-radius: 12px; padding: 10px 18px; font-weight: 600; border: 1px solid rgba(255, 255, 255, 0.25);
}
.badge small { display: block; font-weight: 400; font-size: 11px; opacity: 0.8; }

section { padding: 64px 0; }
section h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.01em; margin: 0 0 8px; }
section p.sub { color: var(--muted); margin: 0 0 32px; max-width: 60ch; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border-radius: 20px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shots img { border-radius: 22px; box-shadow: 0 12px 30px rgba(30, 20, 70, 0.18); }

.doc h1 { font-size: 34px; margin: 48px 0 4px; letter-spacing: -0.01em; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc .muted { color: var(--muted); }
.note { background: var(--surface); border-radius: 16px; padding: 16px 18px; margin-top: 32px; }

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

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 48px 16px; text-align: left; }
  .hero .shot { width: min(260px, 72vw); }
  .grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  nav a { margin-left: 12px; }
}
