:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: #fff;
  background: #0d0c12;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.kinopoisk {
  --page: #0e0c0b; --surface: #1b1715; --accent: #ff8b4a; --wash: #a23815;
  --action: #ff6a25; --action-ink: #1e0e07; --hero-end: #25140f;
}
.okko {
  --page: #0d0918; --surface: #181125; --accent: #c4aaff; --wash: #6142b3;
  --action: #d2bcff; --action-ink: #1c1035; --hero-end: #21143d;
}
.ivi {
  --page: #100c1e; --surface: #20162d; --accent: #ff8ba8; --wash: #a9285f;
  --action: #fa3d69; --action-ink: #190813; --hero-end: #35152d;
}
.wrap { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.topbar { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: clamp(18px, 4.5vw, 24px); font-weight: 780; letter-spacing: -.035em; text-decoration: none; }
.brand-icon { display: block; width: 34px; height: 34px; border-radius: 9px; object-fit: cover; flex: none; }
.concept { border: 1px solid #ffffff30; border-radius: 99px; padding: 5px 9px; color: #fff; font-size: 11px; text-align: center; }
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  min-height: 565px;
  border: 1px solid #ffffff18;
  border-radius: 28px;
  overflow: hidden;
  background: radial-gradient(ellipse at 82% 43%, var(--wash), transparent 57%), linear-gradient(125deg, var(--surface) 20%, var(--hero-end));
}
.hero-copy { position: relative; z-index: 2; padding: clamp(24px, 5.3vw, 68px); animation: rise .5s ease-out both; }
h1 { font-size: clamp(37px, 5.7vw, 76px); line-height: 1.01; letter-spacing: -.065em; }
.kinopoisk h1, .ivi h1 { line-height: 1.12; letter-spacing: -.025em; }
h1 em { color: var(--accent); font-style: normal; }
.intro { max-width: 43ch; margin-top: 20px; color: #f0ecf4; font-size: clamp(15px, 2vw, 18px); }
.offer {
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: 435px;
  margin-block: 24px 20px;
  border: 1px solid #ffffff29;
  border-radius: 17px;
  padding: 12px;
  background: #ffffff0d;
}
.offer-icon { display: grid; place-items: center; width: 43px; height: 43px; flex: none; border-radius: 12px; background: #ffffff17; color: var(--accent); }
.offer-icon svg { display: block; width: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.offer strong { display: block; font-size: 16px; line-height: 1.2; }
.offer p { color: #e2dbe8; font-size: 13px; margin-top: 5px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 13px; min-height: 53px; padding: 10px 17px; border: 0; border-radius: 13px; background: var(--action); color: var(--action-ink); font: inherit; font-weight: 760; font-size: 15px; cursor: pointer; transition: transform .2s, filter .2s; }
.button span { font-size: 20px; }
.button:hover { filter: brightness(1.12); transform: translateY(-2px); }
.install-dialog { width: min(390px, calc(100% - 36px)); padding: 24px; border: 1px solid #ffffff30; border-radius: 22px; color: #fff; background: var(--surface); }
.install-dialog::backdrop { background: #09060dcc; }
.install-dialog h2 { font-size: 27px; }
.install-dialog p { margin-block: 12px 20px; color: #e9e1ef; }
.stage { display: grid; place-items: center; min-height: 510px; position: relative; isolation: isolate; }
.ring { position: absolute; width: 88%; aspect-ratio: 1; border: 1px solid #ffffff2d; border-radius: 50%; background: #ffffff0a; }
.ring-inner { width: 68%; background: none; }
.phone {
  position: relative;
  width: clamp(172px, 23vw, 253px);
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  padding: 5px;
  background: #110f17;
  box-shadow: 0 22px 64px #09060da8, inset 0 0 0 1px #ffffff5c;
  animation: float 6s ease-in-out infinite;
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 19px; background: var(--surface); }
.okko .phone, .ivi .phone { width: clamp(188px, 24vw, 254px); padding: 0; background: transparent; box-shadow: 0 22px 64px #09060da8; border-radius: 19px; }
.reel, .ticket { position: absolute; display: grid; gap: 3px; border: 1px solid #ffffff40; border-radius: 15px; padding: 11px 15px; background: var(--surface); box-shadow: 0 8px 24px #0006; }
.reel { top: 12%; right: 10%; z-index: 1; color: var(--accent); font-size: 14px; transform: rotate(9deg); }
.reel span { font-size: 17px; }
.ticket { bottom: 13%; left: 8%; z-index: 1; color: var(--action-ink); background: var(--action); transform: rotate(-8deg); }
.ticket span { font-size: 11px; font-weight: 650; }
.ticket strong { font-size: 23px; line-height: 1.05; letter-spacing: -.04em; }
.features, .faq { padding-block: clamp(46px, 7vw, 88px); }
h2 { font-size: clamp(30px, 4.7vw, 51px); line-height: 1.05; letter-spacing: -.055em; }
.shelves { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; border: 0; }
.feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 7px 18px; padding: 24px 20px; border: 0; border-radius: 24px; background: #21192e; }
.feature svg { grid-row: span 2; width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: #ffffff0c; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; }
.feature h3 { font-size: 20px; line-height: 1.25; }
.feature p, .faq p { color: #d2cadc; font-size: 15px; }
.plans {
  margin-top: clamp(38px, 6vw, 72px);
  padding: clamp(20px, 4.5vw, 49px);
  border: 1px solid #ffffff24;
  border-radius: 25px;
  background: radial-gradient(ellipse at 94% 0, var(--hero-end), transparent 70%), var(--surface);
}
.plan-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 22px; }
.plan-option { position: relative; min-width: 0; cursor: pointer; }
.plan-option input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.plan-option span {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 78px;
  padding: 8px;
  border: 1px solid #ffffff2e;
  border-radius: 14px;
  background: radial-gradient(ellipse at top, var(--hero-end), transparent 95%);
  font-size: 14px;
  font-weight: 720;
  text-align: center;
  transition: background-color .2s, border-color .2s;
}
.plan-option svg { width: 34px; height: 37px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.plan-option input:checked + span { border-color: var(--accent); background-color: #ffffff12; }
.plan-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.plan-results { display: grid; margin-top: 13px; border: 1px solid #ffffff24; border-radius: 16px; background: var(--page); }
.plan { grid-area: 1 / 1; min-width: 0; padding: clamp(15px, 2.5vw, 26px); visibility: hidden; }
.plan-art {
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: radial-gradient(ellipse at center, var(--hero-end), var(--surface));
  color: var(--accent);
}
.plan-art svg { display: block; width: min(100%, 300px); height: clamp(86px, 13vw, 120px); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plan-art .art-fill { fill: currentColor; fill-opacity: .16; }
.plan.is-active { visibility: visible; }
.plans[data-interacted] .plan.is-active { animation: plan-enter .24s ease-out both; }
.plan h3 { font-size: clamp(20px, 2.5vw, 27px); line-height: 1.15; letter-spacing: -.03em; }
.plan h3 + p { margin-top: 6px; color: #d2cadc; font-size: 14px; }
.plan-genres { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; margin: 12px 0 0; padding: 0; }
.plan-genres li { padding: 4px 8px; border-radius: 20px; background: #ffffff0e; color: var(--accent); font-size: 12px; font-weight: 650; }
@keyframes plan-enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.viewing {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: clamp(18px, 4vw, 52px);
  align-items: center;
  padding: clamp(20px, 4.5vw, 49px);
  border-block: 1px solid #ffffff24;
}
.viewing p { max-width: 46ch; margin-top: 14px; color: #d2cadc; }
.install-guide-copy .button { margin-top: 18px; }
.install-steps {
  margin: 0;
  padding: 7px 16px 7px 38px;
  border: 1px solid #ffffff24;
  border-radius: 18px;
  background: var(--surface);
}
.install-steps li { padding: 12px 0 12px 3px; }
.install-steps li + li { border-top: 1px solid #ffffff24; }
.install-steps li::marker { color: var(--accent); font-weight: 750; }
.install-steps li p { margin-top: 3px; font-size: 14px; }
.closing-offer {
  --closing-wash: #743316;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 5vw, 58px);
  margin-bottom: clamp(36px, 6vw, 70px);
  padding: clamp(21px, 5vw, 54px);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 25px;
  background: radial-gradient(ellipse at 0 100%, var(--closing-wash), transparent 72%), var(--surface);
}
.okko .closing-offer { --closing-wash: #43296f; }
.ivi .closing-offer { --closing-wash: #6c2249; }
.closing-offer-mark {
  display: grid;
  place-items: center;
  width: clamp(66px, 12vw, 132px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent) 31%, transparent);
  border-radius: 25%;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  color: var(--accent);
}
.closing-offer-mark svg { display: block; width: 66%; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.closing-offer-copy h2 { line-height: 1.12; letter-spacing: -.035em; }
.closing-offer-copy h2 span { color: var(--accent); }
.closing-offer-copy p { max-width: 48ch; margin-top: 12px; color: #f0e1da; }
.closing-offer-copy .button { margin-top: 19px; }
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; }
.faq details { border-bottom: 1px solid #ffffff29; padding: 13px 0; }
.faq details:first-child { border-top: 1px solid #ffffff29; }
.faq summary { cursor: pointer; font-weight: 680; }
.faq p { margin-top: 10px; padding-left: 17px; }
.site-footer { border-top: 1px solid #ffffff24; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 10px; align-items: center; padding-block: 22px; }
.back { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 14px; font-weight: 700; text-decoration: none; }
.back span { display: grid; place-items: center; border-radius: 10px; width: 34px; height: 34px; background: #ffffff13; }
.footer-message { grid-column: 1 / -1; border-top: 1px solid #ffffff25; padding-top: 14px; }
.footer-message p { color: #d2cadc; font-size: 14px; margin-top: 4px; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-10px) rotate(-8deg); } }
@media (max-width: 760px) {
  .hero, .faq { grid-template-columns: 1fr; }
  .closing-offer { grid-template-columns: 1fr; }
  .closing-offer-mark { justify-self: start; }
  .closing-offer-copy h2 { font-size: clamp(23px, 7vw, 38px); }
  .hero { min-height: 0; }
  .hero-copy { padding: 24px 17px 4px; }
  .stage { min-height: 384px; }
  .ring { width: min(90%, 360px); }
  .ring-inner { width: min(70%, 280px); }
  .plan-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature p { font-size: 14px; }
  .viewing { grid-template-columns: 1fr; padding-inline: 6px; }
  .reel { right: 6%; }
  .ticket { left: 6%; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  .reel, .ticket { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy, .phone { animation: none; }
  .phone { transform: rotate(-8deg); }
  .button { transition: none; }
  .plan-option span { transition: none; }
  .plans[data-interacted] .plan.is-active { animation: none; }
}

/* Mobile hero spacing: bank-style outer gutters, content remains left aligned. */
@media(max-width:760px){
 .topbar.wrap{width:calc(100% - 46px);min-height:80px}
 .hero.wrap{width:calc(100% - 24px);margin-top:8px;padding-bottom:29px;border-radius:26px;min-height:0}
 .hero-copy{padding:38px 23px 4px}
 .hero .stage{width:calc(100% - 46px);min-height:360px;margin:18px 23px 0}
 .hero .phone{width:clamp(160px,46vw,188px)}
 .hero .ring{width:100%;max-width:330px}
 .hero .ring-inner{width:78%;max-width:258px}
 .hero .reel{right:0;top:12%}
 .hero .ticket{left:0;bottom:9%}
}