:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f8;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #5459fa;
  --grad: linear-gradient(135deg, #3373ff 0%, #7840f2 100%);
  --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --bg-soft: #1a1a1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #8b8fff;
    --card: #1c1c20;
  }
}
* { 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", "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

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

/* Hero */
.hero { text-align: center; padding: 72px 0 40px; }
.hero .icon { width: 128px; height: 128px; margin: 0 auto 20px;
              filter: drop-shadow(0 14px 28px rgba(84, 89, 250, 0.35)); }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 16px; }
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 12px;
       background: var(--grad); color: #fff; font-weight: 600; box-shadow: 0 8px 24px rgba(84, 89, 250, 0.35); }
.cta:hover { text-decoration: none; filter: brightness(1.06); }
.note { margin-top: 12px; font-size: 14px; color: var(--muted); }

.shot { margin: 48px auto 0; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.25); }

/* Sections */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.015em; text-align: center; margin: 0 0 12px; }
.sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 44px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card .emoji { font-size: 26px; margin-bottom: 8px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.gallery img { border-radius: 12px; border: 1px solid var(--line); }

.price { max-width: 440px; margin: 0 auto; text-align: center; }
.price .amount { font-size: 56px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0; }
.price ul { list-style: none; padding: 0; margin: 20px 0 28px; text-align: left; }
.price li { padding: 7px 0 7px 30px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }

/* Text pages */
.doc { max-width: 720px; margin: 0 auto; padding: 56px 16px 80px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.02em; margin: 0 0 6px; }
.doc h2 { text-align: left; font-size: 21px; margin: 34px 0 8px; }
.doc .muted { color: var(--muted); }
.doc details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 10px 0; background: var(--card); }
.doc summary { cursor: pointer; font-weight: 600; }
.doc details p { color: var(--muted); margin: 10px 0 0; }
.contact { background: var(--bg-soft); border-radius: 16px; padding: 24px; margin-top: 32px; }

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: 12px 24px; justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 560px) {
  nav .links { gap: 14px; font-size: 14px; }
  nav .links .wide { display: none; }
  .hero { padding-top: 48px; }
  section { padding: 52px 0; }
}
