/* Pavel Speaks — синий «кибертрак»: сталь, углы, сетка */
:root {
  --blue: #264A94;
  --blue-2: #1b3672;
  --deep: #0a1640;
  --night: #060d29;
  --red: #ff3b2f;
  --ink: #f3f5fa;
  --mute: #a9b6d8;
  --line: rgba(190, 205, 255, .16);
  --steel: linear-gradient(180deg, #ffffff 0%, #d9dee6 45%, #8e98a8 100%);
  --cut: 18px;
  --head: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--night);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* сетка на фоне */
.grid-bg {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
}

.label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}
.label b { color: var(--red); font-weight: 500; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 5.4vw, 60px); margin: 14px 0 18px; }
.steel { background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; }
.red { color: var(--red); }

/* кнопки со срезанными углами */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 600; font-size: 15px;
  padding: 17px 26px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: transform .15s, filter .15s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-red { background: var(--red); color: #fff; }
.btn-steel { background: var(--steel); color: var(--deep); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

.todo {
  display: inline-block;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em;
  color: #ffd166; border: 1px dashed #ffd166; padding: 2px 8px; border-radius: 4px;
  vertical-align: middle;
}

/* ---------- шапка ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 13, 41, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--head); font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.logo span { color: var(--red); }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--mute); }
.nav-links a:hover { color: var(--ink); }
.nav .btn { padding: 12px 18px; font-size: 13px; --cut: 10px; }
.burger { display: none; background: none; border: 0; color: var(--ink); font-size: 26px; cursor: pointer; }

/* ---------- первый экран ---------- */
.hero { position: relative; background: var(--blue); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; min-height: min(calc(100svh - 68px), 860px); }
.hero-text { padding: 64px 0 56px; z-index: 2; }
.hero h1 { font-size: clamp(40px, 6.4vw, 88px); margin: 20px 0 10px; }
.hero h1 .line { display: block; }
.hero .sub { font-family: var(--head); font-weight: 600; font-size: clamp(20px, 2.3vw, 30px); margin-bottom: 22px; color: #e6ecff; }
.hero .sub b { color: #fff; background: var(--red); padding: 0 10px; font-weight: 700; }
.hero h1 .strike { color: var(--red); }
.hero .lead { font-size: clamp(16px, 1.4vw, 18px); max-width: 560px; color: #dfe6fb; }
.hero .lead b { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-photo { position: relative; align-self: stretch; margin-right: calc((min(1200px, 100vw - 32px) - 100vw) / 2); }
.hero-photo img {
  position: absolute; bottom: 0; right: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 25%;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%, 0 12%);
}
.hero-tag {
  position: absolute; left: -8px; bottom: 34px; z-index: 3;
  background: var(--night); color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  padding: 10px 14px; border-left: 3px solid var(--red);
}

/* цифры */
.stats { background: var(--deep); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-family: var(--head); font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); line-height: 1; }
.stat p { color: var(--mute); font-size: 14px; margin-top: 8px; }

/* ---------- секции ---------- */
section.block { padding: clamp(72px, 10vw, 128px) 0; }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head p { color: var(--mute); font-size: 18px; }

/* три входа */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.door {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 26px 26px; min-height: 420px;
  background: linear-gradient(160deg, #13235e, #0b1640);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
  transition: transform .2s;
}
.door:hover { transform: translateY(-6px); }
.door::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.door .n { font-family: var(--mono); color: var(--red); font-size: 13px; }
.door h3 { font-size: 30px; margin: 54px 0 6px; }
.door .who { font-family: var(--head); color: var(--mute); font-size: 16px; margin-bottom: 18px; }
.door p { color: #cfd8f2; font-size: 16px; }
.door .chip { margin-top: 18px; align-self: flex-start; font-family: var(--mono); font-size: 12px; padding: 6px 10px; background: rgba(255,255,255,.07); }
.door .go { margin-top: auto; padding-top: 26px; font-family: var(--head); font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.door .go i { font-style: normal; width: 44px; height: 44px; display: grid; place-items: center; background: var(--steel); color: var(--deep); }
.door.hot { background: var(--blue); }
.door.hot .who, .door.hot p { color: #e6ecff; }
.door.hot .go i { background: var(--red); color: #fff; }

.group-strip {
  margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 22px 26px; border: 1px dashed rgba(190,205,255,.35);
}
.group-strip b { font-family: var(--head); font-size: 20px; }
.group-strip span { color: var(--mute); }

/* стена */
.wall { display: flex; flex-wrap: wrap; gap: 10px; }
.wall .who {
  display: flex; align-items: baseline; gap: 10px;
  padding: 14px 18px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line);
}
.wall .who b { font-family: var(--head); font-weight: 600; font-size: 17px; }
.wall .who small { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.wall .who.big { background: var(--blue); box-shadow: none; }
.wall .who.big small { color: #dfe6fb; }
.wall .who.more { background: none; box-shadow: none; color: var(--mute); }

/* кейсы */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case { background: #0d1a4d; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px var(--line); }
.case .shot { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: #000; }
.case .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.case:hover .shot img { transform: scale(1.04); }
.case .shot .tag { position: absolute; top: 12px; left: 12px; background: var(--night); font-family: var(--mono); font-size: 11px; padding: 6px 9px; letter-spacing: .08em; }
.case .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.case .big { font-family: var(--head); font-weight: 800; font-size: 44px; line-height: 1; }
.case .big-sub { color: var(--mute); font-size: 14px; margin-top: 6px; }
.case h3 { font-size: 19px; margin: 20px 0 4px; }
.case h3 small { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--mute); margin-left: 6px; }
.case p { color: #cfd8f2; font-size: 15px; }
.case .did { margin-top: auto; padding-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--mute); }
.case .did b { color: var(--red); font-weight: 500; }
.center { text-align: center; margin-top: 36px; }

/* обо мне */
.about { background: var(--blue); position: relative; overflow: hidden; }
.about .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; clip-path: polygon(0 0, 88% 0, 100% 10%, 100% 100%, 12% 100%, 0 90%); }
.about .lead { font-size: 19px; color: #e6ecff; margin-bottom: 18px; }
.about ul { list-style: none; display: grid; gap: 10px; margin-top: 24px; }
.about li { padding: 14px 16px; background: rgba(6,13,41,.35); display: flex; gap: 14px; }
.about li b { font-family: var(--head); min-width: 92px; }
.quote { margin-top: 26px; font-family: var(--head); font-size: 22px; line-height: 1.25; border-left: 4px solid var(--red); padding-left: 18px; }

/* мастермайнды */
.mm { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.mm img { width: 100%; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%); }

/* бот */
.bot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feat { background: var(--night); padding: 26px 22px; }
.feat .ic { font-family: var(--mono); color: var(--red); font-size: 13px; }
.feat h3 { font-size: 18px; margin: 14px 0 8px; }
.feat p { color: var(--mute); font-size: 15px; }
.styles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.styles span { font-family: var(--mono); font-size: 12px; padding: 8px 12px; border: 1px solid var(--line); color: var(--mute); }
.bot-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 36px; }

/* финал */
.final { background: var(--red); color: #fff; text-align: center; position: relative; overflow: hidden; }
.final h2 { font-size: clamp(34px, 7vw, 92px); }
.final p { font-size: 19px; max-width: 620px; margin: 0 auto 30px; }
.final .word { display: inline-block; background: var(--night); padding: 2px 14px; font-family: var(--head); }
.final .btn-steel { font-size: 17px; }

footer { padding: 34px 0 44px; color: var(--mute); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }

/* появление */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.on { opacity: 1; transform: none; }

/* ---------- мобильная ---------- */
@media (max-width: 960px) {
  .nav-links, .nav .btn { display: none; }
  .burger { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0; background: var(--night); border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links a { padding: 16px; border-top: 1px solid var(--line); color: var(--ink); }

  .hero .wrap { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero-text { padding: 40px 0 8px; }
  .hero-photo { height: 440px; margin: 0 -16px; }
  .hero-photo img { right: 0; width: 100%; object-position: 40% 15%; clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); }
  .hero-tag { left: 16px; bottom: 18px; }

  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 0 22px 16px; border-top: 1px solid var(--line); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n+2) { border-top: 0; }

  .doors, .cases { grid-template-columns: 1fr; }
  .door { min-height: 0; }
  .door h3 { margin-top: 30px; }
  .about .wrap, .mm { grid-template-columns: 1fr; gap: 32px; }
  .bot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .bot-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .about li { flex-direction: column; gap: 2px; }
}

/* ================= ДВИЖУХА ================= */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.in { animation: rise .8s cubic-bezier(.2,.8,.2,1) var(--d, 0s) both; }

.rec { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: #fff; }
.rec i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: blink 1s steps(2) infinite; }
.rec em { font-style: normal; color: #c8d3f3; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
@keyframes blink { 50% { opacity: .15; } }

.rotator { position: relative; }
.rot-word { display: inline-block; transition: transform .45s cubic-bezier(.6,0,.2,1), opacity .45s, filter .45s; }
.rot-word.out { transform: translateY(-60%) rotateX(70deg); opacity: 0; filter: blur(6px); }
.rot-word.pre { transform: translateY(60%) rotateX(-70deg); opacity: 0; filter: blur(6px); transition: none; }

.hero-photo img { animation: photoIn 1.1s cubic-bezier(.2,.8,.2,1) .2s both; }
@keyframes photoIn { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%, 100% 100%); transform: scale(1.12); } }

.pill {
  position: absolute; z-index: 4;
  font-family: var(--head); font-weight: 700; font-size: 16px;
  background: rgba(255,255,255,.92); color: var(--deep);
  padding: 10px 16px; border-radius: 40px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  animation: pop .6s cubic-bezier(.3,1.6,.5,1) var(--pd) both, bob 4s ease-in-out calc(var(--pd) + .6s) infinite;
}
.pill.red-pill { background: var(--red); color: #fff; }
.pill.p1 { --pd: 1.1s; top: 18%; left: 4%; }
.pill.p2 { --pd: 1.5s; top: 44%; right: 6%; animation-duration: .6s, 5s; }
.pill.p3 { --pd: 1.9s; bottom: 22%; left: 12%; animation-duration: .6s, 4.5s; }
@keyframes pop { from { opacity: 0; transform: scale(.3) rotate(-10deg); } }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-2deg); } }

/* ленты */
.tapes { position: relative; height: 330px; overflow: hidden; background: var(--deep); }
.tape { position: absolute; left: -5%; width: 110%; overflow: hidden; }
.track { display: flex; width: max-content; animation: scroll 60s linear infinite; }
.tape-reels { top: 22px; transform: rotate(-2.5deg); background: var(--night); padding: 14px 0; border-block: 2px solid var(--red); z-index: 1; }
.tape-reels .track { gap: 12px; animation-duration: 70s; }
.reel { position: relative; width: 132px; height: 222px; flex: none; overflow: hidden; border-radius: 10px; background: #000; }
.reel img { width: 100%; height: 100%; object-fit: cover; }
.reel b { position: absolute; left: 8px; bottom: 8px; font-family: var(--head); font-size: 14px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.tape-words { bottom: 26px; transform: rotate(2deg); background: var(--red); padding: 14px 0; z-index: 2; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.tape-words .track { animation-direction: reverse; animation-duration: 40s; }
.tape-words span { font-family: var(--head); font-weight: 800; font-size: 26px; text-transform: uppercase; white-space: nowrap; padding: 0 22px; color: #fff; }
.tape-words span::after { content: "✦"; margin-left: 44px; color: var(--deep); }
@keyframes scroll { to { transform: translateX(-50%); } }
.tapes:hover .track { animation-play-state: paused; }

/* миссия */
.mission { background: var(--night); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; padding: 28px 24px 30px; background: #0d1a4d; box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s, background .25s; }
.step:hover { transform: translateY(-6px) rotate(-1deg); background: var(--blue); }
.step .n { font-family: var(--mono); color: var(--red); font-size: 13px; }
.step h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 40px 0 10px; }
.step p { color: #cfd8f2; }
.step.hot { background: var(--red); }
.step.hot .n { color: var(--deep); }
.step.hot p { color: #fff; }

/* забавный кейс */
.fun {
  margin-top: 28px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center;
  background: #eef2fb; color: var(--deep); padding: clamp(28px, 4vw, 52px);
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
}
.fun-label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.fun h3 { font-size: clamp(28px, 3.6vw, 46px); margin: 14px 0 16px; color: var(--blue-2); }
.fun p { font-size: 17px; color: #2b3a66; }
.fun-nums { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 22px; }
.fun-nums b { display: block; font-family: var(--head); font-size: 34px; color: var(--blue); line-height: 1; }
.fun-nums span { font-size: 13px; color: #5a6890; }
.fun-pics { position: relative; height: 420px; }
.polaroid { position: absolute; width: 46%; background: #fff; padding: 10px 10px 34px; box-shadow: 0 20px 40px rgba(10,22,64,.25); transition: transform .3s; }
.polaroid img { width: 100%; aspect-ratio: 9/14; object-fit: cover; }
.polaroid figcaption { position: absolute; bottom: 10px; left: 12px; font-family: var(--head); font-weight: 700; color: var(--deep); }
.polaroid.a { left: 6%; top: 6px; transform: rotate(-6deg); z-index: 2; }
.polaroid.b { right: 4%; top: 40px; transform: rotate(5deg); }
.fun:hover .polaroid.a { transform: rotate(-9deg) translateY(-6px); }
.fun:hover .polaroid.b { transform: rotate(8deg) translateY(-6px); }
.sticker {
  position: absolute; z-index: 3; right: 6%; bottom: 0;
  background: var(--red); color: #fff; font-family: var(--head); font-weight: 800; font-size: 14px; line-height: 1.15; text-align: center;
  width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center;
  transform: rotate(-12deg); animation: wobble 3s ease-in-out infinite;
}
@keyframes wobble { 50% { transform: rotate(-4deg) scale(1.06); } }

.row-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step h3 { margin-top: 22px; }
  .fun { grid-template-columns: 1fr; }
  .tapes { height: 290px; }
  .reel { width: 112px; height: 190px; }
  .tape-words span { font-size: 20px; }
  .pill { font-size: 14px; padding: 8px 13px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .fun-pics { height: 340px; }
  .sticker { width: 100px; height: 100px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= ВНУТРЕННИЕ СТРАНИЦЫ ================= */
.nav-links a.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); padding-bottom: 4px; }

.page-hero { position: relative; background: var(--blue); overflow: hidden; padding: clamp(56px, 9vw, 110px) 0 clamp(56px, 8vw, 96px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(90deg, #000 30%, transparent 85%);
}
.page-hero .wrap { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(38px, 6vw, 80px); margin: 18px 0 18px; }
.page-hero .lead { font-size: clamp(17px, 1.5vw, 20px); color: #e6ecff; max-width: 620px; }
.page-hero .hero-cta { margin-top: 30px; }
.page-hero .side { position: relative; }
.big-word { font-family: var(--head); font-weight: 800; font-size: clamp(90px, 16vw, 220px); line-height: .85; letter-spacing: -.04em; color: rgba(255,255,255,.1); text-align: right; user-select: none; }

/* шаги «как это работает» */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: f; }
.flow > div { position: relative; padding: 30px 26px; background: #0d1a4d; box-shadow: inset 0 0 0 1px var(--line); }
.flow > div::before { counter-increment: f; content: "0" counter(f); font-family: var(--head); font-weight: 800; font-size: 56px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(190,205,255,.45); }
.flow h3 { font-size: 22px; margin: 18px 0 8px; }
.flow p { color: #cfd8f2; }
.flow > div:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 40px; z-index: 2; width: 28px; height: 28px; display: grid; place-items: center; background: var(--red); font-weight: 700; }

/* список с галочками */
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding: 14px 16px 14px 46px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); }
.ticks li::before { content: "✓"; position: absolute; left: 16px; top: 13px; color: var(--red); font-weight: 700; }
.ticks li b { color: #fff; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* пакеты */
.packs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pack { display: flex; flex-direction: column; padding: 24px 20px; background: #0d1a4d; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.pack.hit { background: var(--blue); box-shadow: none; }
.pack .badge { position: absolute; top: -12px; right: 14px; background: var(--red); font-family: var(--mono); font-size: 11px; padding: 4px 8px; letter-spacing: .08em; }
.pack h3 { font-size: 20px; }
.pack .units { font-family: var(--head); font-weight: 800; font-size: 46px; line-height: 1; margin: 18px 0 2px; }
.pack .units small { font-size: 14px; font-weight: 600; color: var(--mute); margin-left: 4px; }
.pack.hit .units small { color: #dfe6fb; }
.pack ul { list-style: none; margin: 16px 0 18px; display: grid; gap: 7px; font-size: 14px; color: #cfd8f2; }
.pack ul li::before { content: "+ "; color: var(--red); font-weight: 700; }
.pack ul li.no { color: rgba(207,216,242,.35); }
.pack ul li.no::before { content: "– "; color: inherit; }
.pack .price { margin-top: auto; font-family: var(--head); font-weight: 700; font-size: 20px; }
.pack .price small { display: block; font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--mute); margin-top: 4px; }
.note { margin-top: 18px; color: var(--mute); font-size: 15px; }
.note b { color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: 8px; max-width: 860px; }
.faq details { background: #0d1a4d; box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-family: var(--head); font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: #cfd8f2; }

/* «нужно от Павла» — пустой блок */
.placeholder { border: 1px dashed rgba(255,209,102,.6); padding: 32px; text-align: center; color: #ffd166; font-family: var(--mono); font-size: 14px; }
.placeholder b { display: block; font-family: var(--head); font-size: 20px; color: var(--ink); margin-bottom: 8px; }

/* цепочка клуба */
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chain span { font-family: var(--head); font-weight: 700; font-size: clamp(14px, 1.5vw, 18px); padding: 14px 18px; background: #0d1a4d; box-shadow: inset 0 0 0 1px var(--line); }
.chain i { font-style: normal; color: var(--red); font-weight: 700; }
.chain span:last-child { background: var(--red); box-shadow: none; }
.chain .reveal:nth-child(n) { transition-delay: calc(var(--i, 0) * 80ms); }

/* вкладки клуба */
.tabs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tabs-grid div { background: var(--night); padding: 24px 20px; }
.tabs-grid .e { font-size: 28px; }
.tabs-grid h3 { font-size: 18px; margin: 12px 0 6px; }
.tabs-grid p { color: var(--mute); font-size: 15px; }

/* правила */
.rules { counter-reset: r; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.rules div { padding: 22px 18px; background: #0d1a4d; box-shadow: inset 0 0 0 1px var(--line); }
.rules div::before { counter-increment: r; content: counter(r); display: block; font-family: var(--head); font-weight: 800; font-size: 34px; color: var(--red); }
.rules h3 { font-size: 17px; margin: 10px 0 6px; }
.rules p { color: var(--mute); font-size: 14px; }

/* лента уроков */
.lessons { display: flex; flex-wrap: wrap; gap: 8px; }
.lessons span { padding: 10px 14px; border: 1px solid var(--line); color: #cfd8f2; font-size: 15px; }

/* большие кейсы */
.bigcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.bigcase:nth-child(even) .bc-media { order: 2; }
.bc-media { display: grid; gap: 10px; }
.bc-media img { width: 100%; max-height: 440px; object-fit: cover; object-position: top; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.bc-media.two { grid-template-columns: 1fr 1fr; align-items: start; }
.bc-num { font-family: var(--head); font-weight: 800; font-size: clamp(48px, 7vw, 92px); line-height: .95; }
.bc-sub { color: var(--mute); margin-top: 6px; }
.bigcase h3 { font-size: clamp(24px, 2.6vw, 34px); margin: 26px 0 4px; }
.bigcase .handle { font-family: var(--mono); font-size: 13px; color: var(--mute); }
.bigcase p.txt { margin-top: 14px; font-size: 17px; color: #cfd8f2; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.facts span { font-family: var(--mono); font-size: 13px; padding: 8px 12px; background: rgba(255,255,255,.06); }
.facts span b { color: var(--red); font-weight: 500; }
.casenav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.casenav a { font-family: var(--mono); font-size: 12px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.3); }
.casenav a:hover { background: #fff; color: var(--blue); }

/* полоса CTA */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 44px); background: var(--red); }
.cta-band h3 { font-size: clamp(22px, 3vw, 36px); }
.cta-band p { margin-top: 6px; opacity: .9; }

@media (max-width: 1100px) { .packs { grid-template-columns: repeat(3, 1fr); } .rules { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
  .page-hero .wrap, .cols-2, .bigcase { grid-template-columns: 1fr; }
  .page-hero .side { display: none; }
  .flow { grid-template-columns: 1fr; }
  .flow > div:not(:last-child)::after { right: auto; left: 26px; top: auto; bottom: -14px; content: "↓"; }
  .tabs-grid { grid-template-columns: 1fr 1fr; }
  .bigcase:nth-child(even) .bc-media { order: 0; }
}
@media (max-width: 620px) {
  .packs { grid-template-columns: 1fr 1fr; }
  .rules { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) { .packs, .tabs-grid { grid-template-columns: 1fr; } }

/* канал */
.channel { background: var(--blue); }
.channel-box { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.channel-box > div { max-width: 640px; }
.channel-box h2 { margin-bottom: 12px; }
.channel-box p { font-size: 18px; color: #e4eaf8; }
.channel .label { color: #cdd8f3; }
footer a[data-channel] { text-decoration: underline; text-underline-offset: 3px; }
