:root {
  --bg: #fbfaf7; --bg-alt: #f2efe8; --card: #ffffff; --text: #17191f; --muted: #5f6470; --line: #e3dfd6;
  --accent: #e8572a; --accent-ink: #ffffff; --accent-soft: #fde7de; --ink: #17191f; --todo: #b42318;
  --radius: 16px; --shadow: 0 1px 2px rgba(23,25,31,.06), 0 8px 24px rgba(23,25,31,.06);
}
/* тема: как на устройстве; кнопка в шапке ставит data-theme="light|dark" (site.js) */
:root { color-scheme: light dark; }
:root[data-theme="light"] { color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121317; --bg-alt: #191b21; --card: #1f2229; --text: #eceef2; --muted: #a2a7b3; --line: #2d313a;
    --accent: #ff7a4d; --accent-ink: #17191f; --accent-soft: #3a2219; --ink: #0b0c0f; --todo: #ff8a80;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121317; --bg-alt: #191b21; --card: #1f2229; --text: #eceef2; --muted: #a2a7b3; --line: #2d313a;
  --accent: #ff7a4d; --accent-ink: #17191f; --accent-soft: #3a2219; --ink: #0b0c0f; --todo: #ff8a80;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.defs { position: absolute; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.01em; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.025em; }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 19px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mt { margin-top: 32px; }
.todo { color: var(--todo); background: color-mix(in srgb, var(--todo) 10%, transparent); padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* кнопки */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 650; text-decoration: none;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { box-shadow: none; border-color: var(--text); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-light { background: #fff; color: #17191f; }

/* шапка */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 750; text-decoration: none; font-size: 18px; margin-right: auto; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background:
  linear-gradient(135deg, var(--accent) 0 50%, var(--text) 50% 100%); }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--text); }
.theme-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; padding: 0; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.theme-btn + .btn { margin-left: -12px; }
.theme-btn:hover { border-color: var(--text); }

/* кнопка «наверх» */
.to-top { position: fixed; z-index: 20; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 92%, transparent); color: var(--text); box-shadow: var(--shadow);
  backdrop-filter: blur(8px); cursor: pointer; }
.to-top[hidden] { display: none; }
.to-top:hover { border-color: var(--text); }
.theme-btn:focus-visible, .to-top:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* первый экран */
.hero { padding: 56px 0 72px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 650; color: var(--accent); background: var(--accent-soft);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 28px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 15px; }
.hero-facts b { color: var(--text); }

.hero-visual { display: grid; grid-template-columns: .8fr auto 2fr; align-items: center; gap: 14px; }
.arrow { font-size: 28px; color: var(--accent); font-weight: 700; }
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shot { margin: 0; }
.shot figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.shot-img { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
  display: flex; align-items: flex-end; justify-content: center; }
.product { width: 42%; height: 72%; margin-bottom: 10%; position: relative; z-index: 2; }
.shadow { position: absolute; bottom: 8%; left: 26%; right: 26%; height: 7%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.28), transparent); z-index: 1; }
.src-bg { background: linear-gradient(160deg, #b9b4aa, #8e8a82 60%, #a29c92); }
.src-bg .product { transform: rotate(-6deg); filter: saturate(.75) brightness(.9); }
.bg-studio { background: radial-gradient(120% 80% at 50% 30%, #ffffff, #eceae6); }
.bg-color { background: radial-gradient(120% 80% at 50% 25%, #ffd9c7, #f4a98a); }
.bg-life { background: linear-gradient(180deg, #dfe9ec 0 62%, #c9d6da 62% 100%); }
.bg-life .sill { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, #e8e4dc, #d4cec2); }
.bg-life::before { content: ""; position: absolute; top: 10%; left: 12%; width: 30%; height: 38%; border-radius: 6px;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.4)); }
.bg-life::after { content: ""; position: absolute; right: 10%; bottom: 20%; width: 18%; height: 30%;
  border-radius: 40% 40% 8px 8px; background: #7aa38a; opacity: .75; }
.bg-dark { background: radial-gradient(100% 70% at 30% 20%, #3a3f4b, #121317); }
.bg-dark .product { filter: drop-shadow(0 10px 18px rgba(0,0,0,.6)); }
.play { position: absolute; z-index: 3; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: rgba(255,255,255,.92); }
.play::after { content: ""; position: absolute; left: 17px; top: 13px; border-left: 14px solid #17191f;
  border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.dur { position: absolute; z-index: 3; right: 8px; bottom: 8px; font-size: 12px; font-weight: 650; color: #fff;
  background: rgba(0,0,0,.55); padding: 2px 7px; border-radius: 6px; }

/* блоки */
.block { padding: 72px 0; scroll-margin-top: 64px; }
.block-alt { background: var(--bg-alt); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.sub { margin-top: 40px; }

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink);
  color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 14px; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft); box-shadow: inset 0 0 0 5px var(--accent-soft), inset 0 0 0 8px var(--accent); }

.formats { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.formats li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.formats span { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }

.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; }

.packs { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.pack { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: grid; gap: 4px; }
.pack-title { font-weight: 700; font-size: 18px; }
.pack-credits { color: var(--muted); }
.pack-price { font-size: 30px; font-weight: 750; letter-spacing: -.02em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.pack-unit { color: var(--muted); font-size: 14px; }
.bonus { color: var(--accent); font-weight: 600; }

.table-wrap { overflow-x: auto; margin: 16px 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.tariffs { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.tariffs th, .tariffs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tariffs th { color: var(--muted); font-weight: 600; font-size: 14px; }
.tariffs tr:last-child td { border-bottom: 0; }
.tariffs td:nth-child(3), .tariffs td:nth-child(4), .tariffs th:nth-child(3), .tariffs th:nth-child(4) { text-align: right; }

.block-cta { background: var(--ink); color: #fff; padding: 56px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-in h2 { margin: 0; }
.block-cta .todo { color: #ffb4a8; }

.req { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.req dt { color: var(--muted); }
.req dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* документы (оферта, политика) */
.doc { max-width: 780px; padding: 40px 16px 64px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 8px; }
.doc h2 { font-size: 21px; margin-top: 32px; }
.doc p, .doc li { color: var(--text); }
.doc .draft { background: var(--accent-soft); border-radius: 12px; padding: 12px 16px; font-weight: 600; }

@media (max-width: 960px) {
  .hero-in, .two { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 32px 0 48px; }
  .block { padding: 48px 0; }
  .steps { grid-template-columns: 1fr; }
  .hero-visual { grid-template-columns: 1fr; }
  .shot-src { max-width: 46%; }
  .arrow { transform: rotate(90deg); justify-self: start; margin-left: 18%; }
  .req { grid-template-columns: 1fr; gap: 2px; }
  .req dd { margin-bottom: 10px; }
}

/* примеры фото: так / не так */
.doc-wide { max-width: 980px; }
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0 8px; }
.examples-mini { grid-template-columns: repeat(3, 1fr); align-self: center; }
.ex { margin: 0; }
.ex-img { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; display: flex; align-items: center;
  justify-content: center; border: 3px solid transparent; }
.ex-good .ex-img { border-color: #2e9d62; }
.ex-bad .ex-img { border-color: #d64545; }
.ex figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.ex figcaption b { display: block; font-size: 15px; }
.ex-good figcaption b { color: #2e9d62; }
.ex-bad figcaption b { color: #d64545; }
.ex-plain { background: linear-gradient(180deg, #f1efea, #e4e0d8); }
.ex-table { background: linear-gradient(180deg, #dfe7ea 0 60%, #c7b39b 60% 100%); }
.ex-product { width: 32%; height: 78%; }
.ex-tilt { transform: rotate(-4deg) translateY(4%); }
.ex-blur { filter: blur(3.5px); }
.ex-crop { transform: translate(55%, 22%) scale(1.5); }
.ex-dark .ex-product { filter: brightness(.35) contrast(1.2); }
.ex-dark { background: linear-gradient(180deg, #3d3a35, #22201d); }
.ex-dark::after { content: ""; position: absolute; top: 18%; right: 30%; width: 22%; height: 22%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0)); }
.ex-hand { position: absolute; width: 34%; height: 62%; bottom: -6%; left: 44%; transform: rotate(-12deg); }
@media (max-width: 720px) { .examples { grid-template-columns: repeat(2, 1fr); } .examples-mini { grid-template-columns: repeat(3, 1fr); } }
