/* ==========================================================================
   Avero — site styles
   Тёмная тема, лаймовый акцент, шрифт Onest. Без фреймворков.
   ========================================================================== */

:root {
  --bg: #07090a;
  --bg-2: #0c0f10;
  --bg-3: #121617;
  --card: rgba(243, 245, 239, 0.035);
  --card-2: rgba(243, 245, 239, 0.06);
  --line: rgba(243, 245, 239, 0.09);
  --line-2: rgba(243, 245, 239, 0.16);
  --tx: #f3f5ef;
  --tx-2: #bcc2bd;
  --tx-3: #7e8581;
  --lime: #cef500;
  --lime-2: #b8db00;
  --lime-soft: rgba(206, 245, 0, 0.12);
  --acc: #cef500;
  --prose: #d6dbd3;
  --hdr-bg: rgba(7, 9, 10, 0.72);
  --pop: rgba(14, 17, 18, 0.96);
  --pop-solid: rgba(7, 9, 10, 0.98);
  color-scheme: dark;
  --ink: #131609;
  --paper: #f3f5ef;
  --paper-2: #e6e9e1;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 30px;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(76px, 10vw, 148px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --hdr: 72px;
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 20px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
body::before {
  /* лёгкое зерно поверх всего */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  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");
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); position: relative; z-index: 2; }
.sec { padding: var(--sec) 0; position: relative; }
.sec-tight { padding: calc(var(--sec) * 0.6) 0; }
.sec + .sec { padding-top: 0; }
.sec.sec-line { border-top: 1px solid var(--line); padding-top: var(--sec); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-3);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); }
.display { font-size: clamp(42px, 7.6vw, 116px); letter-spacing: -0.05em; line-height: 0.94; }
.h1 { font-size: clamp(40px, 6.2vw, 88px); letter-spacing: -0.045em; line-height: 0.98; }
.h2 { font-size: clamp(32px, 4.6vw, 64px); letter-spacing: -0.04em; line-height: 1.02; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.025em; line-height: 1.15; }
.lead { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.5; color: var(--tx-2); max-width: 46ch; }
.muted { color: var(--tx-2); }
.dim { color: var(--tx-3); }
.lime { color: var(--acc); }
.mono { font-family: var(--mono); }
.hl { color: var(--acc); }
.stroke { -webkit-text-stroke: 1.2px var(--tx); color: transparent; }

.sec-head { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .lead { max-width: 52ch; }
@media (min-width: 960px) {
  .sec-head.split { grid-template-columns: 1.15fr 0.85fr; align-items: end; }
  .sec-head.split .lead { justify-self: end; }
}

/* ---------- buttons ---------- */
.btn {
  --h: 58px;
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: var(--h); padding: 0 8px 0 26px; border-radius: 999px;
  font-weight: 500; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}
.btn .ar {
  width: calc(var(--h) - 16px); height: calc(var(--h) - 16px); border-radius: 50%;
  display: grid; place-items: center; flex: none;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease);
}
.btn .ar svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover .ar svg { transform: rotate(45deg); }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 10px 40px -12px rgba(206, 245, 0, 0.55); }
.btn-lime .ar { background: var(--ink); color: var(--lime); }
.btn-lime:hover { background: #dcff2e; box-shadow: 0 16px 50px -10px rgba(206, 245, 0, 0.7); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--tx); background: var(--card); backdrop-filter: blur(8px); }
.btn-ghost .ar { background: var(--card-2); }
.btn-ghost:hover { border-color: var(--tx); }
.btn-ghost:hover .ar { background: var(--lime); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--lime); }
.btn-ink .ar { background: var(--lime); color: var(--ink); }
.btn-sm { --h: 44px; font-size: 15px; padding-left: 18px; gap: 10px; }
.btn-plain { height: auto; padding: 0; gap: 10px; color: var(--tx); border-bottom: 1px solid var(--line-2); padding-bottom: 6px; border-radius: 0; }
.btn-plain:hover { border-color: var(--acc); color: var(--acc); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.tlink { display: inline-flex; align-items: center; gap: 8px; color: var(--tx-2); font-size: 15px; transition: color 0.2s; }
.tlink:hover { color: var(--acc); }
.tlink svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.scrolled { background: var(--hdr-bg); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.hdr.hide { transform: translateY(-100%); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo svg { width: 118px; height: auto; }
.nav { display: none; margin-left: auto; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: 15px; color: var(--tx-2); transition: color 0.2s, background 0.2s;
}
.nav > a:hover, .nav .dd > button:hover, .nav .dd.open > button { color: var(--tx); background: var(--card-2); }
.nav > a[aria-current="page"], .nav .dd.cur > button { color: var(--tx); }
.nav > a[aria-current="page"]::after, .nav .dd.cur > button::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.nav .dd { position: relative; }
.nav .dd > button svg { width: 12px; height: 12px; transition: transform 0.25s; }
.nav .dd.open > button svg { transform: rotate(180deg); }
.dd-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  width: 560px; padding: 10px; border-radius: var(--r); background: var(--pop);
  border: 1px solid var(--line-2); backdrop-filter: blur(20px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-menu a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 14px; transition: background 0.2s; }
.dd-menu a:hover { background: var(--card-2); }
.dd-menu .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--lime-soft); color: var(--acc); }
.dd-menu .ic svg { width: 20px; height: 20px; }
.dd-menu b { display: block; font-weight: 500; font-size: 15px; color: var(--tx); }
.dd-menu small { display: block; font-size: 13px; line-height: 1.4; color: var(--tx-3); margin-top: 2px; }
.hdr-cta { display: none; }
.burger { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--tx); position: relative; transition: transform 0.3s var(--ease), background 0.3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--tx); transition: transform 0.3s var(--ease); }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .hdr-cta { display: inline-flex; }
  .burger { display: none; }
}

/* mobile menu */
.mnav {
  position: fixed; inset: 0; z-index: 49; background: var(--pop-solid); backdrop-filter: blur(20px);
  padding: calc(var(--hdr) + 16px) var(--gut) 32px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.menu-open .mnav { opacity: 1; visibility: visible; }
.mnav a.big { font-size: 30px; letter-spacing: -0.03em; padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mnav a.big small { font: 500 11px var(--mono); color: var(--tx-3); letter-spacing: 0.1em; }
.mnav .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.mnav .sub a { padding: 14px; border-radius: 14px; background: var(--card-2); font-size: 15px; }
.mnav .btn { margin-top: 20px; justify-content: space-between; }
body.menu-open { overflow: hidden; }

/* ---------- hero (home) ---------- */
.hero { position: relative; padding: calc(var(--hdr) + clamp(28px, 6vw, 72px)) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px;
  background: radial-gradient(closest-side, rgba(206, 245, 0, 0.16), rgba(206, 245, 0, 0.03) 55%, transparent 72%);
  filter: blur(10px); pointer-events: none;
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1080px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; } .hero .match { margin-top: -96px; max-width: 580px; } }
.hero h1 { margin: 22px 0 26px; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero.ready h1 .ln > span { transform: none; }
.hero.ready h1 .ln:nth-child(2) > span { transition-delay: 0.12s; }
.hero .lead { margin-bottom: 34px; }
.hero-sub { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 30px; color: var(--tx-3); font-size: 14px; }
.hero-sub span { display: inline-flex; align-items: center; gap: 8px; }
.hero-sub svg { width: 16px; height: 16px; color: var(--acc); }

.aud-cta { display: grid; gap: 12px; max-width: 560px; }
@media (min-width: 560px) { .aud-cta { grid-template-columns: 1fr 1fr; } }
.aud-cta a {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  min-height: 128px; padding: 20px 20px 18px; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line-2); background: var(--card); transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s;
}
.aud-cta a:hover { transform: translateY(-4px); border-color: var(--tx-3); }
.aud-cta a.pri { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.aud-cta a.pri:hover { background: #dcff2e; }
.aud-cta .k { font: 500 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
.aud-cta b { font-weight: 500; font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.aud-cta b svg { width: 22px; height: 22px; flex: none; transition: transform 0.35s var(--ease); }
.aud-cta a:hover b svg { transform: rotate(45deg); }

/* match visual */
.match { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 620px; margin: 0 auto; perspective: 1200px; }
.match-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.6s var(--ease); }
.match svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.match .wire { fill: none; stroke: rgba(243, 245, 239, 0.12); stroke-width: 1.2; }
.match .wire.on { stroke: url(#wireGrad); stroke-width: 1.6; }
.match .pulse { fill: var(--lime); filter: drop-shadow(0 0 6px var(--lime)); }
.match .ring { fill: none; stroke: rgba(206, 245, 0, 0.35); transform-origin: 300px 300px; animation: ring 4s var(--ease) infinite; }
.match .ring.r2 { animation-delay: 2s; }
@keyframes ring { 0% { transform: scale(0.55); opacity: 0.9; } 100% { transform: scale(1.5); opacity: 0; } }
.match .core { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%) translateZ(40px); border-radius: 30%; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 20%, rgba(243, 245, 239, 0.1), rgba(243, 245, 239, 0.02) 60%), #0b0e0f; border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 80px -20px rgba(206, 245, 0, 0.35); }
.match .core svg { width: 58%; height: auto; filter: drop-shadow(0 0 18px rgba(206, 245, 0, 0.35)); }
.chip {
  position: absolute; transform: translate(-50%, -50%) translateZ(70px); min-width: 0; padding: 10px 14px 10px 12px; border-radius: 14px;
  background: rgba(16, 20, 21, 0.78); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; gap: 10px; white-space: nowrap; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.chip i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--card-2); color: var(--tx-2); flex: none; transition: background 0.4s, color 0.4s; }
.chip i svg { width: 16px; height: 16px; }
.chip b { display: block; font-weight: 500; font-size: 14px; line-height: 1.2; }
.chip small { display: block; font: 500 10.5px/1.3 var(--mono); color: var(--tx-3); letter-spacing: 0.04em; }
.chip.on { border-color: rgba(206, 245, 0, 0.6); box-shadow: 0 0 0 4px rgba(206, 245, 0, 0.08), 0 18px 40px -18px rgba(0, 0, 0, 0.9); }
.chip.on i { background: var(--lime); color: var(--ink); }
.deal {
  position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%) translateZ(90px); width: min(92%, 380px);
  padding: 14px 16px; border-radius: 16px; background: rgba(16, 20, 21, 0.86); border: 1px solid var(--line-2); backdrop-filter: blur(14px);
}
.deal .t { display: flex; justify-content: space-between; font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 10px; }
.deal .t em { font-style: normal; color: var(--acc); }
.deal ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.deal li { font-size: 12px; color: var(--tx-3); }
.deal li::before { content: ""; display: block; height: 4px; border-radius: 4px; background: var(--line-2); margin-bottom: 7px; transition: background 0.5s; }
.deal li.done { color: var(--tx-2); }
.deal li.done::before { background: var(--lime); }
.deal li.cur { color: var(--tx); }
.deal li.cur::before { background: linear-gradient(90deg, var(--lime) 50%, var(--line-2) 50%); background-size: 200% 100%; animation: fill 2.4s linear infinite; }
@keyframes fill { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (max-width: 700px) {
  .hero .match { margin-bottom: 84px; }
  .deal { bottom: -15%; }
}
@media (max-width: 560px) {
  .chip { padding: 7px 10px 7px 8px; gap: 7px; border-radius: 11px; }
  .chip i { width: 24px; height: 24px; border-radius: 7px; }
  .chip b { font-size: 12px; }
  .chip small { font-size: 9px; }
  .deal { padding: 10px 12px; }
  .deal li { font-size: 10.5px; }
}

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; position: relative; z-index: 2; }
.marquee .track { display: flex; width: max-content; animation: mq 40s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .grp { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee span { font-size: clamp(20px, 2.4vw, 32px); letter-spacing: -0.02em; color: var(--tx-2); white-space: nowrap; }
.marquee span.s { color: var(--acc); font-size: 18px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- cinematic band ---------- */
.band { position: relative; min-height: clamp(460px, 70vw, 760px); display: flex; align-items: flex-end; overflow: hidden; border-radius: 0; }
.band .slot { position: absolute; inset: -12% 0 -12% 0; border-radius: 0; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(7, 9, 10, 0.2) 30%, rgba(7, 9, 10, 0.25) 60%, var(--bg) 100%), linear-gradient(90deg, rgba(7, 9, 10, 0.85), transparent 70%); z-index: 1; }
.band .wrap { padding-bottom: clamp(40px, 7vw, 100px); }
.band h2 { max-width: 14ch; }
.band .roles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.band .roles span { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(7, 9, 10, 0.5); backdrop-filter: blur(10px); font-size: 15px; }
.band .roles span b { color: var(--acc); font-weight: 500; font-family: var(--mono); font-size: 12px; margin-right: 8px; }

/* ---------- image slots + generated art ---------- */
.slot { position: relative; overflow: hidden; border-radius: var(--r); background: var(--bg-3); isolation: isolate; margin: 0; }
.dir .slot, .band .slot, .final .slot { aspect-ratio: auto; }
.slot > img, .slot > .art, .slot > .art svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot > img { z-index: 1; }
.slot .tag { position: absolute; left: 10px; top: 10px; z-index: 3; font: 500 10px var(--mono); padding: 4px 7px; border-radius: 6px; background: rgba(0, 0, 0, 0.7); color: var(--acc); display: none; }
.show-slots .slot .tag { display: block; }
.r-16x9 { aspect-ratio: 16 / 9; }
.r-4x3 { aspect-ratio: 4 / 3; }
.r-4x5 { aspect-ratio: 4 / 5; }
.r-1x1 { aspect-ratio: 1 / 1; }
.r-21x9 { aspect-ratio: 21 / 9; }
.r-3x2 { aspect-ratio: 3 / 2; }

/* ---------- audience tabs ---------- */
.tabs { display: inline-flex; padding: 6px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); position: relative; }
.tabs button { position: relative; z-index: 1; height: 48px; padding: 0 24px; border-radius: 999px; font-size: 16px; color: var(--tx-2); transition: color 0.3s; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs .pill { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 999px; background: var(--lime); transition: transform 0.45s var(--ease), width 0.45s var(--ease); }
.tabpanes { margin-top: 40px; }
.tabpane { display: none; }
.tabpane.on { display: grid; animation: fadeUp 0.6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.aud-grid { gap: 20px; }
@media (min-width: 960px) { .aud-grid { grid-template-columns: 0.9fr 1.1fr; gap: 28px; } }
.aud-main { padding: clamp(26px, 3.5vw, 44px); border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(206, 245, 0, 0.1), rgba(206, 245, 0, 0.01) 50%), var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.aud-main h3 { font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -0.035em; line-height: 1.05; }
.aud-main p { color: var(--tx-2); }
.aud-main .btn { align-self: flex-start; margin-top: auto; }
.aud-list { display: grid; gap: 12px; }
@media (min-width: 640px) { .aud-list { grid-template-columns: 1fr 1fr; } }

/* ---------- cards ---------- */
.card { position: relative; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease); }
.card:hover { border-color: var(--line-2); background: var(--card-2); }
.card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--lime-soft); color: var(--acc); margin-bottom: 22px; }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 10px; }
.card p { color: var(--tx-2); font-size: 16px; line-height: 1.55; }
.card .num { font: 500 12px var(--mono); color: var(--tx-3); letter-spacing: 0.1em; position: absolute; top: clamp(22px, 2.6vw, 32px); right: clamp(22px, 2.6vw, 32px); }
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }

/* bento */
.bento { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento > .b-2 { grid-column: span 2; }
  .bento > .b-3 { grid-column: span 3; }
  .bento > .b-4 { grid-column: span 4; }
  .bento > .b-6 { grid-column: span 6; }
}
.card.feat { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.card.feat p { color: rgba(19, 22, 9, 0.75); }
.card.feat .ic { background: var(--ink); color: var(--lime); }

/* ---------- process ---------- */
.steps { position: relative; display: grid; gap: 14px; counter-reset: st; }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 14px; } }
.steps .rail { display: none; }
@media (min-width: 1040px) {
  .steps .rail { display: block; position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
  .steps .rail i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--lime), #e9ff7a); }
}
.step { position: relative; padding-top: 0; }
.step .dot { position: relative; z-index: 1; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line-2); font: 500 15px var(--mono); color: var(--tx-2); transition: all 0.5s var(--ease); margin-bottom: 22px; }
.step.lit .dot { background: var(--lime); color: var(--ink); border-color: var(--lime); box-shadow: 0 0 0 8px rgba(206, 245, 0, 0.1); }
.step h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 10px; }
.step p { color: var(--tx-2); font-size: 15.5px; }
.step .t { display: inline-block; margin-top: 14px; font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tx-3); padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; }
@media (max-width: 1039px) {
  .step { display: grid; grid-template-columns: 68px 1fr; gap: 0 18px; padding-bottom: 26px; }
  .step .dot { grid-row: span 3; margin: 0; }
  .step::before { content: ""; position: absolute; left: 33px; top: 68px; bottom: 0; width: 2px; background: var(--line); }
  .step:last-of-type::before { display: none; }
}

/* ---------- compare table ---------- */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; }
.cmp-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); }
.cmp th, .cmp td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { font: 500 12px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-3); background: var(--card); }
.cmp tbody th { font-weight: 500; color: var(--tx); width: 22%; }
.cmp td { color: var(--tx-2); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp .us { background: rgba(206, 245, 0, 0.06); color: var(--tx); position: relative; }
.cmp thead .us { color: var(--acc); }
.cmp .yes::before, .cmp .no::before, .cmp .mid::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; vertical-align: 1px; }
.cmp .yes::before { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.cmp .no::before { background: #5a605d; }
.cmp .mid::before { background: #a5ab7d; }
@media (max-width: 720px) {
  .cmp-wrap { border: 0; background: none; overflow: visible; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp thead { display: none; }
  .cmp tr { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); margin-bottom: 10px; overflow: hidden; }
  .cmp tbody th { width: 100%; padding: 16px 18px 10px; border: 0; font-size: 17px; }
  .cmp td { border: 0; padding: 8px 18px; display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
  .cmp td::before { margin: 0; }
  .cmp td { position: relative; padding-left: 18px; }
  .cmp td::after { content: attr(data-label); grid-row: 1; grid-column: 1; font: 500 10.5px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--tx-3); padding-top: 3px; }
  .cmp td.us { padding-bottom: 16px; padding-top: 12px; margin-top: 6px; }
  .cmp td.us::after { color: var(--acc); }
  .cmp td.yes::before, .cmp td.no::before, .cmp td.mid::before { position: absolute; left: 116px; top: 15px; }
  .cmp td.us.yes::before { top: 19px; }
  .cmp td { padding-left: 18px; }
  .cmp td > * { grid-column: 2; }
}

/* ---------- direction cards ---------- */
.dirs { display: grid; gap: 16px; }
@media (min-width: 900px) { .dirs { grid-template-columns: 1fr 1fr; } }
.dir { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(580px, 46vw, 620px); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.dir .slot { position: absolute; inset: 0; border-radius: 0; z-index: -2; transition: transform 1.2s var(--ease); }
.dir:hover .slot { transform: scale(1.04); }
.dir::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 9, 10, 0) 25%, rgba(7, 9, 10, 0.92) 78%); }
.dir .k { font: 500 12px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc); margin-bottom: 14px; }
.dir h3 { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.04em; margin-bottom: 14px; }
.dir p { color: var(--tx-2); max-width: 42ch; margin-bottom: 22px; }
.dir ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.dir li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(243, 245, 239, 0.08); border: 1px solid var(--line); backdrop-filter: blur(6px); }

/* ---------- page hero (inner) ---------- */
.phero { position: relative; padding: calc(var(--hdr) + clamp(30px, 6vw, 80px)) 0 clamp(50px, 7vw, 100px); overflow: hidden; }
.phero::before { content: ""; position: absolute; right: -15%; top: -30%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(206, 245, 0, 0.13), transparent 70%); pointer-events: none; }
.phero-grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 1040px) { .phero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.phero h1 { margin: 22px 0 24px; }
.phero .lead { margin-bottom: 32px; }
.phero .slot { border: 1px solid var(--line); }
.phero-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; margin-top: 48px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--line); }
.phero-facts div { background: var(--bg); padding: 20px 22px; }
.phero-facts b { display: block; font-weight: 500; font-size: 20px; letter-spacing: -0.02em; margin-bottom: 4px; }
.phero-facts span { font-size: 14px; color: var(--tx-3); line-height: 1.45; display: block; }

/* breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 12px var(--mono); letter-spacing: 0.06em; color: var(--tx-3); text-transform: uppercase; }
.crumbs a:hover { color: var(--acc); }
.crumbs li { list-style: none; display: inline-flex; gap: 8px; align-items: center; }
.crumbs li + li::before { content: "/"; opacity: 0.5; }

/* ---------- prose (статьи и SEO-тексты) ---------- */
.prose { font-size: 18px; line-height: 1.72; color: var(--prose); max-width: 720px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 2.8vw, 36px); color: var(--tx); letter-spacing: -0.03em; line-height: 1.15; margin-top: 2.2em; }
.prose h3 { font-size: 22px; color: var(--tx); letter-spacing: -0.02em; line-height: 1.25; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose a { color: var(--acc); border-bottom: 1px solid rgba(206, 245, 0, 0.35); transition: border-color 0.2s; }
.prose a:hover { border-color: var(--acc); }
.prose strong { color: var(--tx); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose ul li::marker { color: var(--acc); }
.prose ol li::marker { color: var(--tx-3); font-family: var(--mono); font-size: 0.85em; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 20px 24px; border-left: 3px solid var(--lime); background: var(--card); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--tx); font-style: normal; }
.prose .callout { padding: 22px 24px; border-radius: var(--r); background: var(--lime-soft); border: 1px solid rgba(206, 245, 0, 0.25); color: var(--tx); }
.prose .example { padding: 22px 24px; border-radius: var(--r); background: var(--card); border: 1px dashed var(--line-2); }
.prose .tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; display: block; overflow-x: auto; }
.prose .tbl th, .prose .tbl td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; min-width: 140px; }
.prose .tbl thead th { font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tx-3); border-bottom-color: var(--line-2); }
.prose .tbl td { color: var(--tx-2); }
.prose ol.checklist { list-style: none; padding: 0; counter-reset: ck; }
.prose ol.checklist li { position: relative; padding: 14px 16px 14px 52px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); counter-increment: ck; }
.prose ol.checklist li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 22px; height: 22px; border-radius: 7px; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131609' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.prose ol.checklist li + li { margin-top: 8px; }
.prose .faq { margin-top: 3em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; color: var(--tx); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 1px solid var(--line-2); background: linear-gradient(var(--tx), var(--tx)) center / 13px 1.6px no-repeat, linear-gradient(var(--tx), var(--tx)) center / 1.6px 13px no-repeat; transition: transform 0.35s var(--ease), background-color 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--lime-soft); }
.faq details > *:not(summary) { padding: 0 48px 24px 0; color: var(--tx-2); font-size: 16.5px; line-height: 1.65; }
.faq details > p + p { margin-top: -12px; }
.faq-wrap { max-width: 900px; }
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 1040px) { .faq-grid { grid-template-columns: 0.75fr 1.25fr; gap: 64px; } .faq-grid .sec-head { position: sticky; top: calc(var(--hdr) + 32px); align-self: start; } }

/* ---------- article layout ---------- */
.art-hero { padding: calc(var(--hdr) + clamp(28px, 5vw, 64px)) 0 clamp(30px, 4vw, 56px); position: relative; }
.art-hero h1 { font-size: clamp(36px, 5.2vw, 68px); letter-spacing: -0.04em; line-height: 1.02; margin: 22px 0 22px; max-width: 18ch; }
.art-hero .lead { max-width: 60ch; }
.art-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--tx-3); }
.art-meta .cat { color: var(--ink); background: var(--lime); padding: 4px 9px; border-radius: 6px; }
.art-cover { margin-top: clamp(30px, 4vw, 52px); }
.art-cover .slot { border: 1px solid var(--line); border-radius: var(--r-lg); }
.art-layout { display: grid; gap: 48px; padding: clamp(40px, 6vw, 80px) 0 var(--sec); }
@media (min-width: 1100px) { .art-layout { grid-template-columns: 260px minmax(0, 720px) 1fr; gap: 64px; } }
.toc { display: none; }
@media (min-width: 1100px) {
  .toc { display: block; position: sticky; top: calc(var(--hdr) + 28px); align-self: start; max-height: calc(100vh - var(--hdr) - 56px); overflow: auto; }
}
.toc .k { font: 500 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 14px; }
.toc ol { list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--tx-3); transition: color 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--tx); }
.toc a.on { color: var(--tx); border-left-color: var(--acc); }
.toc-m { display: block; margin-bottom: 32px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.toc-m summary { list-style: none; cursor: pointer; padding: 16px 20px; font: 500 12px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-2); display: flex; justify-content: space-between; }
.toc-m summary::-webkit-details-marker { display: none; }
.toc-m ol { padding: 0 20px 16px 36px; font-size: 15px; color: var(--tx-2); }
.toc-m li + li { margin-top: 6px; }
@media (min-width: 1100px) { .toc-m { display: none; } }
.art-side { display: none; }
@media (min-width: 1100px) { .art-side { display: block; position: sticky; top: calc(var(--hdr) + 28px); align-self: start; } }
.side-cta { padding: 24px; border-radius: var(--r); background: linear-gradient(160deg, rgba(206, 245, 0, 0.14), rgba(206, 245, 0, 0.02)), var(--bg-2); border: 1px solid var(--line); }
.side-cta b { display: block; font-weight: 500; font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 10px; }
.side-cta p { font-size: 14.5px; color: var(--tx-2); margin-bottom: 18px; line-height: 1.5; }
.share { display: flex; gap: 8px; margin-top: 16px; }
.share button, .share a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 13px; color: var(--tx-2); transition: all 0.2s; }
.share button:hover, .share a:hover { color: var(--tx); border-color: var(--tx-3); }
.share svg { width: 16px; height: 16px; }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 60; transform-origin: left; transform: scaleX(0); background: var(--lime); }

.cta-inline { margin: 2.2em 0 !important; padding: 26px 26px; border-radius: var(--r); background: var(--bg-3); border: 1px solid var(--line-2); display: grid; gap: 16px; position: relative; overflow: hidden; }
.cta-inline::before { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; background: radial-gradient(closest-side, rgba(206, 245, 0, 0.22), transparent); }
.cta-inline b { font-weight: 500; font-size: 21px; color: var(--tx); letter-spacing: -0.02em; line-height: 1.25; position: relative; }
.cta-inline p { font-size: 16px; color: var(--tx-2); margin: 0; position: relative; }
.cta-inline .btn { justify-self: start; position: relative; border-bottom: 0; }
.prose .cta-inline a.btn { color: var(--ink); border: 0; }

.author { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--r); border: 1px solid var(--line); margin-top: 48px; }
.author .av { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; }
.author .av svg { width: 30px; }
.author b { display: block; font-weight: 500; }
.author span { font-size: 14px; color: var(--tx-3); }

/* ---------- blog cards ---------- */
.posts { display: grid; gap: 20px; }
@media (min-width: 720px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post { display: flex; flex-direction: column; gap: 18px; border-radius: var(--r); transition: transform 0.45s var(--ease); }
.post:hover { transform: translateY(-4px); }
.post .slot { border: 1px solid var(--line); }
.post .slot img, .post .slot .art { transition: transform 1s var(--ease); }
.post:hover .slot img, .post:hover .slot .art { transform: scale(1.05); }
.post .m { display: flex; gap: 12px; align-items: center; font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tx-3); }
.post .m .c { color: var(--acc); }
.post h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.22; transition: color 0.2s; }
.post:hover h3 { color: var(--acc); }
.post p { color: var(--tx-2); font-size: 15.5px; line-height: 1.55; }
.post.big { display: grid; gap: 24px; }
@media (min-width: 960px) { .post.big { grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: center; } .post.big h3 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.035em; line-height: 1.08; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 36px; }
.filters a, .filters button { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; color: var(--tx-2); display: inline-flex; align-items: center; transition: all 0.2s; }
.filters a:hover, .filters button:hover { color: var(--tx); border-color: var(--tx-3); }
.filters [aria-current="page"], .filters .on { background: var(--tx); color: var(--bg); border-color: var(--tx); }
.search { margin-left: auto; position: relative; flex: 1 1 240px; max-width: 320px; }
.search input { width: 100%; height: 42px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; padding: 0 16px 0 42px; font-size: 15px; }
.search input::placeholder { color: var(--tx-3); }
.search svg { position: absolute; left: 14px; top: 12px; width: 18px; height: 18px; color: var(--tx-3); }
.empty { padding: 40px; text-align: center; color: var(--tx-3); border: 1px dashed var(--line-2); border-radius: var(--r); display: none; }

/* ---------- brief builder ---------- */
.brief-sec { position: relative; }
.brief-grid { display: grid; gap: 40px; }
@media (min-width: 1040px) { .brief-grid { grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; } }
.brief-aside h2 { margin: 18px 0 20px; }
.brief-aside .lead { margin-bottom: 30px; }
.brief-aside ul { list-style: none; display: grid; gap: 14px; margin-bottom: 30px; }
.brief-aside li { display: flex; gap: 12px; color: var(--tx-2); }
.brief-aside li svg { width: 20px; height: 20px; color: var(--acc); flex: none; margin-top: 3px; }
.tg-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line-2); transition: border-color 0.2s, background 0.2s; }
.tg-card:hover { border-color: var(--acc); background: var(--card); }
.tg-card .i { width: 48px; height: 48px; border-radius: 50%; background: #2aabee; display: grid; place-items: center; color: #fff; flex: none; }
.tg-card .i svg { width: 24px; height: 24px; }
.tg-card b { display: block; font-weight: 500; }
.tg-card span { font-size: 14px; color: var(--tx-3); }
.brief { position: relative; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.8); overflow: hidden; }
.brief::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--lime), transparent); opacity: 0.7; }
.brief-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tx-3); }
.brief-bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 30px; }
.brief-bar i { display: block; height: 100%; width: 20%; background: var(--lime); border-radius: 4px; transition: width 0.5s var(--ease); }
.bstep { display: none; }
.bstep.on { display: block; animation: fadeUp 0.5s var(--ease); }
.bstep h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; margin-bottom: 8px; }
.bstep > p { color: var(--tx-3); font-size: 15px; margin-bottom: 22px; }
.opts { display: grid; gap: 10px; }
@media (min-width: 560px) { .opts.c2 { grid-template-columns: 1fr 1fr; } .opts.c3 { grid-template-columns: repeat(3, 1fr); } }
.opt { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color 0.2s, background 0.2s; user-select: none; }
.opt:hover { border-color: var(--tx-3); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .bx { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); flex: none; display: grid; place-items: center; transition: all 0.2s; }
.opt input[type="radio"] + .bx { border-radius: 50%; }
.opt .bx svg { width: 12px; height: 12px; color: var(--ink); opacity: 0; transition: opacity 0.2s; }
.opt b { display: block; font-weight: 500; font-size: 16px; line-height: 1.3; }
.opt small { display: block; font-size: 13px; color: var(--tx-3); line-height: 1.35; margin-top: 2px; }
.opt:has(input:checked) { border-color: var(--acc); background: rgba(206, 245, 0, 0.06); }
.opt input:checked + .bx { background: var(--lime); border-color: var(--lime); }
.opt input:checked + .bx svg { opacity: 1; }
.opt input:focus-visible + .bx { outline: 2px solid var(--lime); outline-offset: 3px; }
.fields { display: grid; gap: 12px; }
@media (min-width: 560px) { .fields { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
.fld label { display: block; font-size: 13px; color: var(--tx-3); margin-bottom: 7px; }
.fld label em { font-style: normal; color: var(--acc); }
.fld input, .fld textarea { width: 100%; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); padding: 14px 16px; font-size: 16px; transition: border-color 0.2s, background 0.2s; }
.fld textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--acc); background: rgba(206, 245, 0, 0.03); }
.fld.err input, .fld.err textarea { border-color: #ff6b5a; background: rgba(255, 107, 90, 0.06); }
.fld .msg { display: none; font-size: 13px; color: #ff8a7c; margin-top: 6px; }
.fld.err .msg { display: block; }
.brief-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.brief-nav .back { color: var(--tx-3); font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.brief-nav .back:hover { color: var(--tx); }
.brief-nav .back[hidden] { visibility: hidden; display: inline-flex; }
.brief-hint { font-size: 13px; color: #ff8a7c; min-height: 18px; margin-top: 12px; }
.brief-sum { white-space: pre-wrap; font: 400 14.5px/1.6 var(--mono); color: var(--tx-2); background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; max-height: 280px; overflow: auto; }
.brief-done .btn-row { margin-top: 20px; }
.brief-note { font-size: 13px; color: var(--tx-3); margin-top: 16px; line-height: 1.5; }

/* ---------- final CTA ---------- */
.final { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); min-height: 520px; display: flex; align-items: flex-end; padding: clamp(28px, 5vw, 72px); isolation: isolate; }
.final .slot { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 9, 10, 0.95) 0%, rgba(7, 9, 10, 0.6) 55%, rgba(7, 9, 10, 0.2)); }
.final h2 { max-width: 13ch; margin-bottom: 22px; }
.final p { max-width: 44ch; color: var(--tx-2); margin-bottom: 32px; font-size: 18px; }

/* ---------- events ---------- */
.ev-list { display: grid; gap: 12px; }
.ev { display: grid; gap: 14px 28px; padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); transition: border-color 0.2s, background 0.2s; }
.ev:hover { border-color: var(--line-2); background: var(--card-2); }
@media (min-width: 900px) { .ev { grid-template-columns: 170px 1fr auto; align-items: center; } }
.ev .d { font: 500 13px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--acc); text-transform: uppercase; }
.ev .d small { display: block; color: var(--tx-3); font-size: 11px; margin-top: 4px; }
.ev h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 6px; }
.ev p { color: var(--tx-2); font-size: 15px; line-height: 1.5; }
.ev .loc { font-size: 14px; color: var(--tx-3); margin-bottom: 8px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ev .pill { font: 500 10.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--tx-3); }
.ev .pill.t { border-style: dashed; }
.ev-month { font: 500 12px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-3); margin: 34px 0 12px; }
.ev-month:first-child { margin-top: 0; }

/* ---------- footer ---------- */
.ftr { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0 32px; margin-top: 0; overflow: hidden; }
.ftr-top { display: grid; gap: 40px; }
@media (min-width: 960px) { .ftr-top { grid-template-columns: 1.2fr 2fr; gap: 64px; } }
.ftr-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (min-width: 720px) { .ftr-cols { grid-template-columns: repeat(4, 1fr); } }
.ftr h4 { font: 500 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 16px; }
.ftr ul { list-style: none; display: grid; gap: 10px; }
.ftr ul a { color: var(--tx-2); font-size: 15px; transition: color 0.2s; }
.ftr ul a:hover { color: var(--acc); }
.ftr-pitch p { color: var(--tx-2); max-width: 36ch; margin: 18px 0 24px; }
.ftr-big { margin: clamp(48px, 7vw, 96px) 0 24px; }
.ftr-big svg { width: 100%; height: auto; opacity: 0.95; }
.ftr-bot { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--tx-3); font-size: 13px; border-top: 1px solid var(--line); padding-top: 24px; }
.ftr-bot .age { display: inline-flex; align-items: center; gap: 10px; }
.ftr-bot .age b { font: 600 12px var(--mono); border: 1.5px solid var(--tx-3); border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; color: var(--tx-2); }

/* sticky mobile CTA */
.mcta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: var(--pop); border: 1px solid var(--line-2); backdrop-filter: blur(16px); transform: translateY(140%); transition: transform 0.45s var(--ease); }
.mcta.show { transform: none; }
.mcta .btn { flex: 1; justify-content: space-between; --h: 50px; }
.mcta .tg { width: 50px; height: 50px; border-radius: 50%; background: #2aabee; display: grid; place-items: center; color: #fff; flex: none; }
.mcta .tg svg { width: 22px; height: 22px; }
@media (min-width: 1080px) { .mcta { display: none; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); z-index: 70; padding: 12px 18px; border-radius: 12px; background: var(--tx); color: var(--bg); font-size: 14px; opacity: 0; pointer-events: none; transition: all 0.3s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- misc ---------- */
.pill-note { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--tx-2); background: var(--card); }
.pill-note b { font: 600 10.5px var(--mono); background: var(--lime); color: var(--ink); padding: 3px 7px; border-radius: 999px; letter-spacing: 0.06em; }
.split2 { display: grid; gap: 40px; }
@media (min-width: 1000px) { .split2 { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--tx-2); }
.checks li b { color: var(--tx); font-weight: 500; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 7px; background: var(--lime-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cef500' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks.x li::before { background: rgba(255, 107, 90, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a7c' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 12px no-repeat; }
.panel { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-2); }
.kv { display: grid; gap: 0; border-top: 1px solid var(--line); }
.kv > div { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .kv > div { grid-template-columns: 220px 1fr; gap: 24px; } }
.kv b { font-weight: 500; }
.kv span { color: var(--tx-2); }
.seo-text { columns: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a, .tags span { font-size: 13.5px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--tx-2); transition: all 0.2s; }
.tags a:hover { color: var(--acc); border-color: var(--acc); }
.legal h2 { font-size: 24px; margin-top: 2em; }
.e404 { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--hdr) var(--gut) 40px; }
.e404 .big { font-size: clamp(120px, 26vw, 320px); letter-spacing: -0.07em; line-height: 0.85; color: var(--acc); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .ln > span { transform: none; }
  .marquee .track { animation: none; }
}

/* ---------- фиксы ширины на мобильных ---------- */
.art-layout > *, .tabpane > *, .hero-grid > *, .phero-grid > *, .split2 > *, .brief-grid > *, .faq-grid > *, .ftr-top > * { min-width: 0; }
@media (max-width: 560px) {
  .btn { white-space: normal; height: auto; min-height: var(--h); padding-top: 6px; padding-bottom: 6px; line-height: 1.25; }
  .btn-sm { padding-top: 4px; padding-bottom: 4px; }
}
@media (max-width: 420px) {
  .chip small { display: none; }
  .chip b { font-size: 11.5px; }
}
.ev .loc svg { width: 15px; height: 15px; flex: none; color: var(--acc); }
.toc-m summary svg { width: 16px; height: 16px; }
.phero .h1 { font-size: clamp(38px, 5.4vw, 78px); }

/* ==========================================================================
   Переключатели: язык и тема
   ========================================================================== */
.hdr-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.burger { margin-left: 8px; }
@media (min-width: 1080px) { .hdr-tools { margin-left: 8px; } }
.mnav-tools { display: none; }
.lsw { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); }
.lsw a { font: 600 11.5px/1 var(--mono); letter-spacing: 0.06em; padding: 8px 9px; border-radius: 999px; color: var(--tx-3); transition: color 0.2s, background 0.2s; }
.lsw a:hover { color: var(--tx); }
.lsw a[aria-current] { background: var(--tx); color: var(--bg); }
.thm { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--tx-2); transition: color 0.2s, border-color 0.2s, transform 0.4s var(--ease); }
.thm:hover { color: var(--tx); border-color: var(--tx-3); transform: rotate(20deg); }
.thm svg { width: 18px; height: 18px; }
.thm .i-moon { display: none; }
:root[data-site-theme="light"] .thm .i-sun { display: none; }
:root[data-site-theme="light"] .thm .i-moon { display: block; }
.logo, .ftr-big { color: var(--tx); }
.match .core, .author .av { color: #f3f5ef; }
@media (max-width: 380px) { .lsw a { padding: 7px; } .thm { width: 34px; height: 34px; } .logo svg { width: 100px; } }

/* ==========================================================================
   Светлая («дневная») тема. Тёмная — по умолчанию.
   ========================================================================== */
:root[data-site-theme="light"] {
  --bg: #f3f5ef;
  --bg-2: #eaede5;
  --bg-3: #e1e5db;
  --card: rgba(19, 22, 9, 0.035);
  --card-2: rgba(19, 22, 9, 0.065);
  --line: rgba(19, 22, 9, 0.11);
  --line-2: rgba(19, 22, 9, 0.2);
  --tx: #0e110f;
  --tx-2: #3b423e;
  --tx-3: #667069;
  --acc: #587000;
  --lime-soft: rgba(160, 200, 0, 0.18);
  --prose: #252a27;
  --hdr-bg: rgba(243, 245, 239, 0.82);
  --pop: rgba(250, 251, 248, 0.97);
  --pop-solid: rgba(243, 245, 239, 0.98);
  color-scheme: light;
}
/* тёмные «острова»: картинки и схема сделки остаются тёмными в любой теме */
:root[data-site-theme="light"] :is(.band, .final, .dir, .match) {
  --bg: #07090a; --bg-2: #0c0f10; --bg-3: #121617;
  --card: rgba(243, 245, 239, 0.035); --card-2: rgba(243, 245, 239, 0.06);
  --line: rgba(243, 245, 239, 0.09); --line-2: rgba(243, 245, 239, 0.16);
  --tx: #f3f5ef; --tx-2: #bcc2bd; --tx-3: #7e8581;
  --acc: #cef500; --lime-soft: rgba(206, 245, 0, 0.12);
  color: var(--tx);
}
:root[data-site-theme="light"] .band { background: #07090a; }
:root[data-site-theme="light"] .match { background: radial-gradient(90% 90% at 50% 40%, #151a1b, #07090a 75%); border-radius: 36px; box-shadow: 0 40px 90px -40px rgba(19, 22, 9, 0.45); }
:root[data-site-theme="light"] .hl { color: var(--tx); background: linear-gradient(180deg, transparent 58%, var(--lime) 58%, var(--lime) 90%, transparent 90%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
:root[data-site-theme="light"] .eyebrow::before { background: var(--acc); box-shadow: none; }
:root[data-site-theme="light"] .hero::before, :root[data-site-theme="light"] .phero::before { opacity: 0.55; }
:root[data-site-theme="light"] .brief { box-shadow: 0 30px 80px -40px rgba(19, 22, 9, 0.25); }
:root[data-site-theme="light"] .dd-menu { box-shadow: 0 30px 80px -30px rgba(19, 22, 9, 0.3); }
:root[data-site-theme="light"] .checks li::before { background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131609' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
:root[data-site-theme="light"] .card:not(.feat) .ic, :root[data-site-theme="light"] .dd-menu .ic { background: var(--lime); color: var(--ink); }
:root[data-site-theme="light"] .dir .ic { background: var(--lime-soft); color: var(--acc); }
:root[data-site-theme="light"] .prose a { border-bottom-color: rgba(88, 112, 0, 0.35); }
:root[data-site-theme="light"] .btn-lime { box-shadow: 0 10px 30px -14px rgba(120, 150, 0, 0.6); }
:root[data-site-theme="light"] body::before { opacity: 0.035; }
body { transition: background-color 0.35s var(--ease), color 0.35s var(--ease); }
@media (min-width: 1080px) { :root[data-site-theme="light"] .hero .match { margin-top: 0; max-width: 540px; } }

/* ---------- картинки Claude Design: подгонка кадра ---------- */
.band h2.h1 { font-size: clamp(34px, 4.6vw, 66px); max-width: 12ch; }
.band .slot > img { object-position: 0% 50%; }
.dir .slot > img { object-position: 50% 0%; }
@media (max-width: 700px) {
  .dir { min-height: 660px; }
  .dir::after { background: linear-gradient(180deg, rgba(7, 9, 10, 0) 30%, rgba(7, 9, 10, 0.88) 55%, rgba(7, 9, 10, 0.96) 100%); }
}
