:root {
  --paper: #fff;
  --ink: #161616;
  --muted: #6d675f;
  --line: rgba(22, 22, 22, 0.1);
  --card: #fffcf8;
  --dark: #121212;
  --display: "Unbounded", "Manrope", sans-serif;
  --text: "Manrope", sans-serif;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#result { scroll-margin-top: 32px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand img { height: 18px; width: auto; display: block; }
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}
.nav a:hover { color: #000; }
.nav a.btn {
  min-height: 46px;
  padding: 0 22px;
  color: #fff;
  background: #111;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.22);
}
.nav a.btn:hover {
  color: #fff;
  background: #000;
}
.nav a.btn.ghost {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}
.nav a.btn.ghost:hover {
  color: var(--ink);
  background: rgba(22, 22, 22, 0.05);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
}
.btn:hover { background: #000; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(22, 22, 22, 0.16);
}
.btn.ghost:hover { background: rgba(22, 22, 22, 0.04); }
.btn.light {
  background: #fff;
  color: var(--ink);
}
.btn.light:hover { background: #f3efe8; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: wait; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 36px;
}
.kicker {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: 0.08em; }
h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.08;
}
.lead {
  margin: 22px 0 0;
  max-width: 38rem;
  font-size: 19px;
  color: #3c3833;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.cover {
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 60px rgba(40, 30, 16, 0.12);
}
.cover img { display: block; width: 100%; height: auto; }

.section { padding: 56px 0; }
.section h2 {
  margin: 8px 0 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
}
.sub {
  margin: 14px 0 0;
  max-width: 40rem;
  color: var(--muted);
}

.result-layout {
  display: grid;
  grid-template-columns: min(360px, 100%) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}
.result { width: min(360px, 100%); }
.shot { margin: 0; }
.result-points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.result-points li {
  padding-left: 16px;
  position: relative;
  color: #3c3833;
}
.result-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
.result-copy .btn { margin-top: 26px; }

.film {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  margin: 14px 0 0;
}
.film button {
  aspect-ratio: 1;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  opacity: 0.62;
}
.film button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.film button:hover { opacity: 0.9; }
.film button[aria-selected="true"] {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink);
}
.film button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.ba {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 24px 60px rgba(40, 30, 16, 0.12);
  --pos: 50%;
}
.ba img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 787 / 1400;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.ba .before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0);
}
.ba::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.ba input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: none;
}
.ba .handle {
  position: absolute;
  left: var(--pos);
  top: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: -0.08em;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.ba .tag {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.62);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba .tag.do { left: 12px; }
.ba .tag.posle { right: 12px; }
.ba,
.ba:focus-within,
.ba input[type="range"]:focus { outline: none; }
.hint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.prose p { margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }

.packs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.pack {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pack.featured {
  background: var(--dark);
  color: #f6f2eb;
  border-color: transparent;
}
.pack .who {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pack.featured .who { color: rgba(246, 242, 235, 0.62); }
.pack h3 { margin: 8px 0 0; font-size: 34px; }
.price {
  margin: 0;
  font-family: var(--display);
  font-size: 48px;
  letter-spacing: 0.08em;
  line-height: 1.05;
}
.pack ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.pack li {
  padding-left: 22px;
  position: relative;
}
.pack li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
}
.once { margin: 0; color: var(--muted); font-size: 14px; }
.pack.featured .once { color: rgba(246, 242, 235, 0.62); }

.steps, .faq {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.steps { grid-template-columns: repeat(3, 1fr); }
.card, .faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
.num {
  margin: 0;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.card h3, .faq summary {
  margin: 8px 0 0;
  font-size: 20px;
}
.card p, .faq p { margin: 8px 0 0; color: #4d4944; }
.faq details { padding: 0; }
.faq summary {
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq p { padding: 0 22px 18px; }

.fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.fit article {
  border-radius: var(--radius);
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
}
.fit article.warn { background: transparent; }

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}
.footer p { margin: 8px 0 0; color: var(--muted); max-width: 36rem; }
.footer a { color: var(--ink); }
.footer p.footer-quiet {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(22, 22, 22, 0.35);
}
.footer-links { font-size: 14px; font-weight: 600; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.legal {
  width: min(760px, calc(100% - 40px));
  margin: 48px auto 80px;
}
.legal h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.12; }
.legal h2 { margin: 34px 0 0; font-size: 22px; line-height: 1.25; }
.legal p, .legal li { color: #3c3833; }
.legal ul { margin: 10px 0 0; padding-left: 1.15em; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--ink); }
.legal-meta { margin-top: 14px; color: var(--muted); }

.agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.agree input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.agree a { color: var(--ink); }
.agree + .btn { margin-top: 16px; }
.agree + .btn { margin-top: 16px; }

.pay-layout {
  width: min(560px, calc(100% - 40px));
  margin: 36px auto 72px;
}
.back {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.chooser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 22px 0;
}
.chooser button {
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  cursor: pointer;
}
.chooser button[aria-pressed="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.chooser strong { display: block; font-size: 16px; }
.chooser span { color: var(--muted); font-size: 14px; }
.field { display: grid; gap: 8px; margin: 18px 0; }
.field span { font-weight: 700; }
.field input[type="email"] {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  min-height: 58px;
  padding: 0 16px;
  outline: none;
}
.field input:focus { border-color: var(--ink); }
.methods { display: grid; gap: 10px; margin: 8px 0 18px; }
.method {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  cursor: pointer;
}
.method:has(input:checked) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.method input { accent-color: var(--ink); width: 18px; height: 18px; }
.method small { display: block; color: var(--muted); font-weight: 500; }
.note, .error {
  margin: 12px 0 0;
  font-size: 14px;
}
.note { color: var(--muted); }
.error {
  background: #fff;
  border: 1px solid #e4b4a8;
  color: #8a341f;
  border-radius: 14px;
  padding: 12px 14px;
}
.status-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 22px;
}
.status-card h1 { font-size: 40px; }

@media (max-width: 980px) {
  .hero, .split, .packs, .steps, .fit, .result-layout { grid-template-columns: 1fr; }
  .result-copy { order: -1; }
  .result { width: min(360px, 100%); margin: 0 auto; }
  .hero { padding-top: 36px; gap: 28px; }
  .footer .wrap { flex-direction: column; align-items: start; }
}
@media (max-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 28px)); }
  .nav a:not(.btn) { display: none; }
  .result-layout { gap: 28px; }
  .film { gap: 8px; }
  .chooser { grid-template-columns: 1fr; }
  h1 { font-size: 36px; }
  .price { font-size: 40px; }
}
