/* =========================================================
   SVEDENIE24
   ========================================================= */
:root {
  --bg: #0a0a0a;
  --bg-2: #131313;
  --line: rgba(255, 255, 255, .1);
  --white: #f4f1ea;
  --muted: rgba(244, 241, 234, .58);
  --red: #e8261c;
  --red-hi: #ff4a3d;
  --wrap: 1200px;
  --head: "Unbounded", "Arial Black", sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
body::after { /* плёночное зерно */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

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

/* ---------- logo: box + 24 ---------- */
.logo { display: inline-flex; align-items: stretch; text-decoration: none; font: 900 15px/1 var(--head); letter-spacing: .02em; }
.logo__box { background: var(--red); color: #fff; padding: 8px 10px 7px; text-transform: uppercase; }
.logo__num { border: 2px solid var(--red); border-left: 0; padding: 6px 8px 5px; color: var(--white); }
.logo--sm { font-size: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 28px;
  background: var(--red); color: #fff;
  font: 700 15px/1.2 var(--body); text-decoration: none; text-align: center;
  border: 2px solid var(--red);
  transition: background .25s var(--ease), border-color .25s, transform .25s var(--ease);
}
.btn:hover { background: var(--red-hi); border-color: var(--red-hi); transform: translateY(-2px); }
.btn--line { background: transparent; border-color: var(--line); color: var(--white); }
.btn--line:hover { background: transparent; border-color: var(--white); }
.btn--line b { font-weight: 800; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--big { min-height: 68px; padding: 0 44px; font-size: 18px; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(10, 10, 10, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; gap: 32px; height: 68px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav a:hover { color: var(--white); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding-top: 68px; overflow: hidden; }
.hero__bg {
  position: absolute; right: -4vw; top: 50%; transform: translateY(-54%);
  font: 900 min(58vw, 760px)/.8 var(--head); letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(232, 38, 28, .28);
  pointer-events: none; user-select: none;
}
.hero__in { position: relative; flex: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.tc { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); color: var(--muted); margin-bottom: 28px; }
.tc__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hero__title { font: 900 clamp(38px, 6.2vw, 84px)/1.02 var(--head); letter-spacing: -.035em; text-transform: uppercase; }
.ln { display: block; overflow: hidden; padding-bottom: .04em; }
.ln > span { display: inline-block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
.ln + .ln > span { animation-delay: .12s; }
.ln--red { color: var(--red); }
@keyframes rise { to { transform: none; } }
.hero__lead { max-width: 520px; margin-top: 28px; font-size: 18px; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 36px 0 0; padding: 0; color: var(--muted); font-size: 14px; }
.facts b { color: var(--white); font-weight: 800; }

/* mixer card */
.desk { background: linear-gradient(180deg, #171717, #0f0f0f); border: 1px solid var(--line); padding: 22px 22px 18px; box-shadow: 0 40px 80px -30px rgba(232, 38, 28, .35); }
.desk__top { display: flex; justify-content: space-between; font: 500 12px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.desk__rec { color: var(--red-hi); }
.desk__ch { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ch { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ch__meters { display: flex; gap: 3px; height: 230px; }
.ch__m { position: relative; width: 7px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.ch__m i {
  position: absolute; inset: auto 0 0; height: 100%;
  background: linear-gradient(0deg, #f4f1ea 0 62%, #ffb23d 62% 82%, var(--red) 82%);
  clip-path: inset(var(--c, 100%) 0 0 0);
}
.ch__fader { position: relative; width: 100%; height: 6px; background: rgba(255, 255, 255, .08); }
.ch__fader::after { content: ""; position: absolute; left: var(--f, 60%); top: 50%; width: 16px; height: 22px; transform: translate(-50%, -50%); background: var(--white); box-shadow: inset 0 -2px 0 rgba(0,0,0,.3); }
.ch__name { font: 500 10px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ch--master .ch__name { color: var(--red-hi); }
.ch--master .ch__fader::after { background: var(--red); }

/* ticker */
.ticker { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 16px 0; }
.ticker__row { display: flex; align-items: center; gap: 28px; width: max-content; animation: run 34s linear infinite; font: 700 15px/1 var(--head); text-transform: uppercase; white-space: nowrap; }
.ticker__row i { width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: 120px 0; }
.sec--line { border-top: 1px solid var(--line); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 56px; }
.title { font: 900 clamp(32px, 4.6vw, 60px)/1.02 var(--head); letter-spacing: -.03em; text-transform: uppercase; }
.head__note { max-width: 380px; color: var(--muted); }

/* A/B */
.ab { border: 1px solid var(--line); background: var(--bg-2); padding: 28px; }
.ab__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.ab__track { padding: 10px 16px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--muted); transition: .2s; }
.ab__track:hover { color: var(--white); }
.ab__track.is-active { border-color: var(--white); color: var(--white); }
.ab__deck { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.ab__play { width: 64px; height: 64px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .2s; }
.ab__play:hover { transform: scale(1.06); }
.ab__play svg { width: 26px; fill: #fff; }
.ab__play .i-pause, .ab__play.is-playing .i-play { display: none; }
.ab__play.is-playing .i-pause { display: block; }
.ab__play.is-loading { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.ab__wave { display: flex; align-items: center; gap: 2px; height: 72px; cursor: pointer; }
.ab__wave span { flex: 1; height: var(--h); background: rgba(244, 241, 234, .2); transition: background .15s; }
.ab__wave span.is-past { background: var(--white); }
.ab.is-after .ab__wave span.is-past { background: var(--red); }
.ab__switch { display: flex; border: 1px solid var(--line); }
.ab__switch button { padding: 14px 22px; font-weight: 800; color: var(--muted); transition: .2s; }
.ab__switch button.is-on { background: var(--white); color: var(--bg); }
.ab.is-after .ab__switch button.is-on { background: var(--red); color: #fff; }
.ab__hint { margin-top: 18px; color: var(--muted); font-size: 14px; }
.ab.is-empty .ab__play { opacity: .4; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--bg); padding: 32px 28px 36px; }
.step__n { display: block; font: 900 44px/1 var(--head); color: transparent; -webkit-text-stroke: 1px var(--red); margin-bottom: 28px; }
.step h3 { font: 700 18px/1.25 var(--head); margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 15px; }

/* plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--bg-2); padding: 40px 36px 36px; }
.plan--hot { border-color: var(--red); }
.plan__tag { position: absolute; top: -1px; right: -1px; background: var(--red); color: #fff; font: 700 12px/1 var(--body); padding: 9px 12px; text-transform: uppercase; letter-spacing: .08em; }
.plan__name { font: 700 22px/1.2 var(--head); }
.plan__price { margin: 18px 0 14px; font: 900 64px/1 var(--head); letter-spacing: -.04em; }
.plan__price b { font-weight: 900; }
.plan__price small { font: 700 20px/1 var(--body); color: var(--muted); letter-spacing: 0; vertical-align: middle; }
.plan__what { color: var(--muted); }
.plan__list { list-style: none; margin: 26px 0 32px; padding: 0; display: grid; gap: 10px; }
.plan__list li { position: relative; padding-left: 22px; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
.plan .btn { margin-top: auto; }
.plans__more { margin-top: 24px; color: var(--muted); }
.plans__more b { color: var(--white); }

/* why cheaper */
.sec--red { background: var(--red); color: #fff; }
.why { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.why__text { font: 500 clamp(19px, 2vw, 24px)/1.5 var(--body); }

/* checklist */
.check__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: c; }
.check__list li { border-top: 2px solid var(--red); padding-top: 18px; color: var(--muted); font-size: 15px; }
.check__list b { display: block; color: var(--white); font: 700 16px/1.3 var(--head); margin-bottom: 8px; }

/* faq */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; font: 700 clamp(16px, 1.6vw, 19px)/1.35 var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 26px; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--muted); max-width: 680px; }

/* final */
.final { padding: 140px 0; border-top: 1px solid var(--line); text-align: center; }
.final__title { font: 900 clamp(30px, 5vw, 64px)/1.08 var(--head); letter-spacing: -.03em; text-transform: uppercase; margin-bottom: 48px; }
.final__title span { color: var(--red); }

.footer { border-top: 1px solid var(--line); padding: 28px 0 100px; color: var(--muted); font-size: 14px; }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* floating telegram */
.tg-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  background: var(--red); color: #fff; text-decoration: none;
  padding: 14px 20px 14px 16px; font-weight: 700; font-size: 15px;
  box-shadow: 0 16px 40px -12px rgba(232, 38, 28, .7);
  transform: translateY(calc(100% + 40px)); transition: transform .4s var(--ease);
}
.tg-float.is-on { transform: none; }
.tg-float svg { width: 22px; fill: #fff; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .header .btn { margin-left: auto; }
  .hero__in { grid-template-columns: 1fr; }
  .desk { max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .check__list { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav, .header .btn { display: none; }
  .header__in { height: 60px; justify-content: center; }
  .hero { padding-top: 60px; }
  .hero__in { padding-top: 28px; gap: 40px; }
  .hero__bg { font-size: 92vw; right: -10vw; top: 30%; }
  .hero__lead { font-size: 16px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .ch__meters { height: 150px; }
  .desk__ch { gap: 6px; }
  .ch__m { width: 5px; }
  .sec { padding: 80px 0; }
  .head { flex-direction: column; align-items: start; gap: 14px; margin-bottom: 36px; }
  .ab { padding: 18px; }
  .ab__deck { grid-template-columns: auto 1fr; }
  .ab__switch { grid-column: 1 / -1; }
  .ab__switch button { flex: 1; }
  .ab__wave { height: 56px; }
  .steps, .plans, .check__list { grid-template-columns: 1fr; }
  .plan { padding: 32px 22px 24px; }
  .plan__price { font-size: 52px; }
  .final { padding: 90px 0; }
  .btn--big { width: 100%; padding: 0 20px; }
  .tg-float { left: 16px; right: 16px; bottom: 16px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; transition-duration: .01s !important; }
}

/* ---------- подпись mixed by cthrx ---------- */
.desk { position: relative; }
.stamp { position: absolute; top: -78px; right: -60px; width: 140px; height: 140px; animation: spin 22s linear infinite; z-index: 2; }
.stamp text { font: 700 15.5px/1 var(--mono); letter-spacing: .14em; fill: var(--white); text-transform: uppercase; }
.stamp .stamp__mid { font: 900 30px/1 var(--head); letter-spacing: -.04em; fill: var(--red); text-transform: none; }
.stamp .stamp__bg { fill: var(--bg); stroke: var(--red); stroke-width: 2; }
@keyframes spin { to { transform: rotate(360deg); } }
.stamp .stamp__mid { transform-origin: 100px 100px; animation: spin 22s linear infinite reverse; }
.tk-sig { font-family: var(--mono); font-weight: 500; text-transform: lowercase; color: var(--red-hi); letter-spacing: .04em; }
.sig { font: 500 13px/1 var(--mono); color: var(--white); letter-spacing: .06em; }
.faq b { color: var(--white); font-family: var(--mono); font-weight: 500; }
@media (max-width: 760px) {
  .stamp { width: 104px; height: 104px; top: -64px; right: -6px; }
  .desk__top { padding-right: 84px; }
}
.desk__top { padding-right: 76px; }
.ch__name { font-size: 11px; letter-spacing: .08em; color: var(--white); }
.ch__db { font: 500 9px/1 var(--mono); color: var(--muted); margin-top: -6px; }

/* ---------- видео вместо микшера ---------- */
.desk { padding: 0; aspect-ratio: 16 / 10; max-width: 560px; justify-self: end; width: 100%; }
.desk__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.desk .desk__rec { position: absolute; left: 16px; bottom: 14px; font: 500 12px/1 var(--mono); letter-spacing: .12em; color: var(--red-hi); background: rgba(10,10,10,.6); padding: 7px 9px; }
@media (max-width: 1024px) { .desk { justify-self: start; } }
@media (max-width: 760px) { .desk { max-width: none; aspect-ratio: 4 / 3; } }
@media (max-width: 1024px) { .stamp { top: auto; bottom: -36px; right: -24px; } }
@media (max-width: 760px) { .stamp { bottom: -30px; right: -4px; } }
