:root {
  --bg: #f7f7fb;
  --surface: #ffffff;
  --text: #1d1d24;
  --muted: #5d5d6c;
  --line: #e3e3ec;
  --accent: #4f5ff0;
  --accent-2: #8a3fe0;
  --radius: 18px;
  --max: 1080px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111116;
    --surface: #1b1b23;
    --text: #f1f1f6;
    --muted: #a5a5b5;
    --line: #2c2c38;
    --accent: #7f8bff;
    --accent-2: #b07cff;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.site-header nav { display: flex; gap: 20px; font-size: 15px; }
.site-header nav a { color: var(--muted); }
.site-header nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { text-align: center; padding: 88px 0 72px; }
.hero img.icon { width: 152px; height: 152px; filter: drop-shadow(0 18px 30px rgba(79, 95, 240, .28)); }
.hero h1 {
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 24px 0 12px;
}
.hero .tagline {
  font-size: clamp(19px, 2.6vw, 24px);
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 32px;
}
.gradient-text {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta { display: inline-flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
}
.button:hover { text-decoration: none; filter: brightness(1.08); }
.button.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.meta { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Sections */
section { padding: 72px 0; }
section h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 12px;
  text-align: center;
}
section .lead { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 48px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card .emoji { font-size: 28px; line-height: 1; }
.card h3 { margin: 14px 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.step { position: relative; padding: 28px 28px 28px 76px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 26px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

.shots { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.shot {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  border: 1px dashed var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 15px;
  overflow: hidden;
}
.shot img { width: 100%; height: 100%; object-fit: cover; }

.privacy-band {
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), color-mix(in srgb, var(--accent-2) 12%, var(--surface)));
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
}
.privacy-band h2 { margin-bottom: 8px; }
.privacy-band p { color: var(--muted); max-width: 640px; margin: 0 auto 16px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin: 12px 0 0; }
.contact { text-align: center; margin-top: 36px; }

/* Text pages */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.015em; line-height: 1.1; margin: 0 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 40px; }
.doc h2 { font-size: 22px; margin: 40px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.placeholder { background: color-mix(in srgb, #ffcc00 35%, transparent); border-radius: 4px; padding: 0 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); }

@media (max-width: 640px) {
  .site-header nav a.hide-sm { display: none; }
  .hero { padding: 56px 0 48px; }
  section { padding: 56px 0; }
}
