:root {
  --bg: #f6f5fb;
  --surface: #ffffff;
  --text: #16142b;
  --muted: #5d5a78;
  --line: #e3e1f0;
  --accent: #4f46e5;
  --accent-2: #8b5cf6;
  --hero-from: #8b6cf6;
  --hero-to: #0f1580;
  --radius: 18px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b1a;
    --surface: #15152b;
    --text: #ecebff;
    --muted: #a6a4c8;
    --line: #26264a;
    --accent: #8f88ff;
    --accent-2: #b69cff;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  text-decoration: none;
}


nav a {
  margin-left: 20px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

nav a:hover, nav a[aria-current="page"] { color: var(--text); }

.hero {
  margin: 12px 0 56px;
  padding: 64px 28px;
  border-radius: 28px;
  text-align: center;
  color: #fff;
  background: linear-gradient(170deg, var(--hero-from), #3b3fe0 55%, var(--hero-to));
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero p {
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.86);
}

.badge {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  background: #fff;
  color: #16142b;
  font-weight: 600;
  text-decoration: none;
}

.badge small { display: block; font-weight: 400; font-size: 12px; color: #5d5a78; }

.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  margin: -24px 0 56px;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.shots img {
  flex: 0 0 auto;
  width: min(230px, 62vw);
  height: auto;
  aspect-ratio: 1320 / 2868;
  border-radius: 24px;
  border: 1px solid var(--line);
  scroll-snap-align: start;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 56px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.promise {
  margin-bottom: 64px;
  text-align: center;
}

.promise h2 { font-size: 28px; margin-bottom: 8px; }
.promise p { max-width: 620px; margin: 0 auto; color: var(--muted); }

.doc { max-width: 720px; margin: 24px auto 72px; }
.doc h1 { font-size: 38px; line-height: 1.15; margin-bottom: 6px; letter-spacing: -0.01em; }
.doc h2 { margin-top: 40px; font-size: 22px; }
.doc h3 { margin-top: 26px; font-size: 18px; }
.doc .meta { color: var(--muted); margin-top: 0; }
.doc li { margin-bottom: 6px; }

details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 14px 18px;
  margin-bottom: 10px;
}

summary { font-weight: 600; cursor: pointer; }
details p, details ol, details ul { color: var(--muted); }

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

footer.site a { color: var(--muted); }
