/* Общие стили посадочных (/ и /subpodryad). Layout: полноэкранные полосы с точечной сеткой (шартрёз ↔ голубой), рой плоских пчёл поверх, центрированные заголовки средней жирности. Одна тема по замыслу бренда. */
:root {
  --chartreuse: #D7D72E;
  --chartreuse-soft: #D9DD8E;
  --ink: #231E1E;
  --blue: #D7E7F6;
  --lime: #E6F23A;
  --orange: #F83205;
  --white: #FFFFFF;
  --muted: rgba(35, 30, 30, .6);
  --hair: rgba(35, 30, 30, .12);
  --dot: rgba(35, 30, 30, .16);

  --f-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html {
  background-color: var(--chartreuse);
  background-image: radial-gradient(var(--dot) 1.1px, transparent 1.5px), linear-gradient(var(--chartreuse), var(--chartreuse));
  background-size: 28px 28px, 100% 100%;
  background-position: 14px 14px, 0 0;
  background-repeat: repeat, no-repeat;
  background-attachment: fixed;
  scroll-behavior: smooth;
}
body { margin: 0; background: transparent; color: var(--ink); font-family: var(--f-sans); font-size: 17px; line-height: 1.45; letter-spacing: -.015em; overflow-x: clip; }
.wrap { max-width: 1240px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; }
.mono { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.dots { background-image: radial-gradient(var(--dot) 1.1px, transparent 1.5px); background-size: 28px 28px; background-position: 14px 14px; }
.sec { position: relative; padding-block: clamp(80px, 12vw, 150px); }
.sec.center { text-align: center; }
.sec .lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.4; max-width: 46ch; margin: 22px auto 0; }
/* Цвет полос ведёт фиксированный фон: секции прозрачные, оттенок плывёт со скроллом. */
.g-cb, .g-sb, .g-b, .g-bc, .g-c { background: none; }

/* swarm — только первый экран */
.hero { position: relative; }
#swarm { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.lift { position: relative; z-index: 2; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 10; padding-top: calc(env(safe-area-inset-top, 0px) + 18px);
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
  display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.nav > * { pointer-events: auto; }
.logo { display: block; width: 68px; height: 44px; }
.nav-r { display: flex; gap: 10px; align-items: center; }
.round { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.round svg { width: 22px; height: 22px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 13px 26px;
  font: 500 1.15rem var(--f-sans); letter-spacing: -.03em; text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--chartreuse); border: 0; transition: background-color .16s, color .16s;
}
.pill.light { color: var(--white); }
.pill.secondary { background: var(--white); color: var(--ink); }
/* after every colour variant: the hover must win, or white text sits on the white fill */
.pill:hover { background: var(--white); color: var(--ink); }
.pill.secondary:hover { background: var(--blue); }
.pill svg { width: 12px; height: 12px; }

/* grain wordmark */
.grain { filter: url(#grain); }
.grain-soft { filter: url(#grain-soft); }

/* hero */
.hero { min-height: min(100vh, 980px); display: grid; align-items: center; padding-block: 120px 80px; }
.hero .wrap { max-width: none; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; width: 100%; transform: translateY(var(--hy, 0px)); }
.word { position: relative; font-size: clamp(72px, 13.5vw, 300px); font-weight: 700; letter-spacing: -.065em; line-height: .85; margin-left: -.02em; }
.word .grain { display: inline-block; transform-origin: center center; }
.word .tag { position: absolute; left: .04em; top: 100%; margin-top: 18px; font-family: var(--f-mono); font-size: 14px; font-weight: 400; letter-spacing: .14em; line-height: 1.2; filter: none; }
.hero-side { text-align: center; }
.hero-copy { font-size: clamp(1.5rem, 2.6vw, 2.6rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; max-width: 20ch; }
.hero .access-form { margin: 28px 0 0; max-width: 520px; }
.form .hint { margin: 0; font-size: .95rem; color: var(--muted); }
.hero-sub { margin-top: 18px; font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.4; color: var(--muted); max-width: 34ch; margin-inline: auto; }
/* Подсказка прокрутки: подпись и стрелка видны сразу, без неё первый экран читается как вся страница. */
.hero-cue { position: absolute; left: 50%; bottom: 20px; z-index: 4; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 0; border-radius: 999px; background: var(--white); color: var(--ink); font: 500 1.05rem var(--f-sans); letter-spacing: -.02em; white-space: nowrap; cursor: pointer; text-decoration: none; animation: cue-bob 5.6s ease-in-out 1.2s infinite; }
.hero-cue svg { width: 18px; height: 18px; display: block; }
.hero-cue:hover { background: var(--ink); color: var(--chartreuse); }

/* events: простые карточки «что случилось → кому это повод» */
.events { list-style: none; margin: clamp(40px, 6vw, 72px) auto 0; padding: 0; max-width: 1100px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
.events li { background: var(--white); border-radius: 22px; padding: 22px 24px 24px; display: grid; gap: 8px; align-content: start; }
.events .type { color: var(--muted); }
.events h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.03em; }
.events p { font-size: 1rem; line-height: 1.35; }
.events p b { font-weight: 600; }
/* Источник ещё не подключён: карточка остаётся видна, но не выдаёт себя за работающий поток. */
.events li.soon { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(35, 30, 30, .16); }
.events li.soon h3, .events li.soon p { color: var(--muted); }
.soon-tag { justify-self: start; font: 600 .7rem var(--f-sans); padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--chartreuse); }
.events-note { margin: 22px auto 0; max-width: 60ch; font-size: .95rem; color: var(--muted); }

.type { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.type::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.win { font-size: .74rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.win.now { background: var(--orange); color: var(--white); }
.win.plan { background: var(--ink); color: var(--chartreuse); }
.win.watch { border: 1.5px dashed var(--muted); color: var(--muted); }
.meta { font-size: .76rem; color: var(--muted); }

/* steps: как это работает, раз-два-три */
#how { scroll-margin-top: 18px; }
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: clamp(48px, 7vw, 96px) 0 0; text-align: left; }
.card { background: var(--white); border-radius: 26px; padding: 30px 34px 36px; display: flex; flex-direction: column; gap: 14px; }
.card .num { font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 700; letter-spacing: -.06em; line-height: 1; }
.card h3 { margin-top: 18px; font-size: 1.45rem; }
.card p { font-size: 1.05rem; line-height: 1.45; }
/* cabinet: что клиент получит, схемы вместо персонажей */
.cab-title { margin-top: clamp(64px, 8vw, 110px); font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.cab { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: clamp(28px, 4vw, 48px) 0 0; text-align: left; }
.cab li { background: var(--white); border-radius: 22px; padding: 14px 14px 22px; display: grid; gap: 8px; align-content: start; }
.cab svg { width: 100%; height: auto; display: block; margin-bottom: 8px; }
.cab h3 { padding-inline: 8px; font-size: 1.2rem; }
.cab p { padding-inline: 8px; font-size: .98rem; line-height: 1.38; color: var(--muted); }

/* one event, different honey */
.event-hero { max-width: 760px; margin: clamp(40px, 6vw, 72px) auto 0; background: var(--ink); color: var(--white); border-radius: 26px; padding: 22px 26px; display: grid; gap: 8px; text-align: left; }
.event-hero .type { color: var(--white); }
.event-hero h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.03em; }
.event-hero .meta { color: rgba(255, 255, 255, .6); }
.arrows { display: flex; justify-content: center; padding-block: 10px; }
.arrows svg { width: 40px; height: 40px; }
.honey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; text-align: left; }
.hcard { background: var(--white); border-radius: 22px; padding: 20px; display: grid; gap: 10px; align-content: start; min-height: 220px; }
.hcard .who { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hcard p { font-size: 1.05rem; line-height: 1.35; letter-spacing: -.02em; }
.hcard.no { background: transparent; border: 1.5px dashed var(--muted); }
.hcard.no p { color: var(--muted); }
.hcard .win { justify-self: start; margin-top: auto; }


/* form */
.form { display: grid; gap: 14px; width: 100%; max-width: 460px; margin: 36px auto 0; }
.form input { width: 100%; height: 66px; border-radius: 999px; border: 1.5px solid transparent; background: var(--white); color: var(--ink); padding: 0 24px; font: 400 1.15rem var(--f-sans); letter-spacing: -.02em; text-align: center; outline: none; }
.form input::placeholder { color: rgba(35, 30, 30, .45); }
.form input:focus { border-color: var(--ink); }
.form .pill { height: 66px; margin-top: 10px; font-size: 1.2rem; width: 100%; }
.form .msg { min-height: 1.4em; font-weight: 500; }

/* offer: what beats the tender bases, then the founder price */
.offer-kicker { margin-bottom: 18px; }
.vs { list-style: none; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0; max-width: 980px; display: grid; gap: 10px; text-align: left; }
.vs li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; align-items: center; background: var(--white); border-radius: 22px; padding: 18px 26px; line-height: 1.3; }
.vs li > span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(35, 30, 30, .3); }
.vs li > b { font-weight: 600; letter-spacing: -.02em; }
.vs li:first-child { background: none; padding-block: 0 4px; }
.vs li:first-child span { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.vs li:first-child span:last-child { color: var(--ink); }
.offer { max-width: 980px; margin: clamp(48px, 6vw, 80px) auto 0; background: var(--ink); color: var(--white); border-radius: 34px; padding: clamp(26px, 4vw, 52px); display: grid; gap: 22px; text-align: center; }
.offer-head .mono { color: var(--chartreuse); }
.offer-head h3 { margin: 12px 0 0; font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.offer-head p:last-child { margin: 14px auto 0; max-width: 52ch; color: rgba(255, 255, 255, .72); line-height: 1.4; }
.tariffs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tariff { background: var(--white); color: var(--ink); border-radius: 24px; padding: 24px; display: grid; gap: 8px; }
.tariff span:first-child { font-weight: 600; }
.tariff span:last-child { color: var(--muted); font-size: .95rem; }
.tariff b { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.tariff small { font-size: 1rem; font-weight: 500; letter-spacing: -.01em; color: var(--muted); margin-left: 4px; }
.tariff-note { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .72); }
.guarantee { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; background: var(--chartreuse); color: var(--ink); border-radius: 999px; padding: 14px 24px; line-height: 1.3; }
.guarantee b { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.offer .offer-cta { justify-self: center; background: var(--chartreuse); color: var(--ink); font-size: 1.15rem; }
.offer .offer-cta:hover { background: var(--white); color: var(--ink); }

/* finale */
.finale { min-height: min(100vh, 900px); display: grid; place-items: center; overflow: hidden; padding-block: 120px 120px; }
.finale .ghost { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); font-size: clamp(180px, 34vw, 640px); font-weight: 700; letter-spacing: -.07em; line-height: .8; color: #E1EBEF; white-space: nowrap; pointer-events: none; user-select: none; }
.finale h2 { position: relative; font-size: clamp(2.4rem, 5.6vw, 5.4rem); }
.finale .ctas { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

@media (max-width: 1099px) {
  .honey, .events, .cab { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .vs li, .tariffs { grid-template-columns: minmax(0, 1fr); }
  .vs li { gap: 6px; }
  .vs li:first-child { display: none; }
  .guarantee { border-radius: 22px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 72px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .nav .pill { padding: 11px 18px; font-size: 1rem; }
  .round { width: 44px; height: 44px; }
}
@media (max-width: 560px) {
  .nav-r { gap: 8px; }
  .nav .pill { padding-inline: 12px; white-space: nowrap; }
  .honey, .events, .cab { grid-template-columns: minmax(0, 1fr); }
}

/* Секции поднимаются со скролла. */
#access { scroll-margin-top: 110px; }
@keyframes cue-bob {
  0%, 14.1%, 100% { transform: translateX(-50%) translateY(0); }
  3.5%, 10.6% { transform: translateX(-50%) translateY(-8px); }
  7.1% { transform: translateX(-50%) translateY(0); }
}

html.js .reveal { opacity: 0; transform: translateY(var(--rise, 28px)); pointer-events: none; transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
html.js .reveal.in { opacity: 1; transform: none; pointer-events: auto; }

.ghost-marquee { display: none; }
.marquee-track { display: flex; width: max-content; animation: lead-marquee 42s linear infinite; }
.marquee-track span { font-size: clamp(180px, 46vw, 640px); font-weight: 700; letter-spacing: -.07em; line-height: .8; color: #E1EBEF; white-space: nowrap; padding-right: .18em; }
@keyframes lead-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 1100px) {
  .finale .ghost { display: none; }
  .ghost-marquee { display: flex; align-items: center; position: absolute; inset: 0; overflow: hidden; pointer-events: none; user-select: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .hero-cue { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; pointer-events: auto; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.access-form { max-width: 640px; margin: 0 auto; }
.access-form input { text-overflow: ellipsis; }
.access-form button:disabled { opacity: .6; cursor: progress; }
/* product demo: живой кабинет в iframe. Ширина держит всю сцену в одном экране; играет, пока блок на экране.
   Панель со сценами и подписью липнет к низу экрана, как субтитры: она видна всё время, пока видно демо. */
.demo-stage { container-type: inline-size; margin-top: clamp(36px, 5vw, 60px); }
.demo-frame { width: min(100%, max(880px, (100svh - 36px) * 1440 / 1192)); margin-inline: auto; aspect-ratio: 1440 / 1192; -webkit-mask-image: linear-gradient(#000 calc(100% - 44px), transparent); mask-image: linear-gradient(#000 calc(100% - 44px), transparent); }
.demo-frame iframe { display: block; width: 100%; height: 100%; border: 0; background: transparent; color-scheme: light; }
.demo-bar { position: sticky; bottom: 18px; z-index: 3; width: min(100% - 32px, 720px); margin: -84px auto 0; padding: 6px 6px 12px; background: var(--ink); color: var(--white); border-radius: 30px; box-shadow: 0 18px 40px rgba(35, 30, 30, .22); }
.demo-tabs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.demo-tabs button { width: 100%; border: 0; border-radius: 999px; padding: 8px 8px; background: none; color: rgba(255, 255, 255, .72); font: 500 1.05rem var(--f-sans); letter-spacing: -.02em; white-space: nowrap; cursor: pointer; transition: background-color .25s, color .25s; }
.demo-tabs button:hover { color: var(--white); background: rgba(255, 255, 255, .1); }
.demo-tabs button[aria-current="true"] { background: var(--chartreuse); color: var(--ink); }
.demo-tabs button:focus-visible { outline-color: var(--white); }
.demo-note { margin: 10px 0 0; padding-inline: 16px; font-size: .92rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255, 255, 255, .86); }
#product-demo { padding-top: 0; }
#product-demo[data-scene="chatgpt"] .demo-frame { max-width: 900px; aspect-ratio: 900 / 742; mask-image: none; -webkit-mask-image: none; }
#product-demo[data-scene="chatgpt"] .demo-bar { position: static; margin-top: 12px; }
@container (width < 610px) {
  #product-demo[data-scene="chatgpt"] .demo-frame { max-width: 358px; aspect-ratio: 358 / 708; }
}
@media (max-width: 600px) {
  .demo-frame { -webkit-mask-image: none; mask-image: none; }
  .demo-bar { position: static; width: 100%; margin-top: 12px; border-radius: 20px; }
  .demo-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-tabs button { min-height: 44px; white-space: normal; }
  .demo-note { padding-inline: 8px; white-space: normal; overflow: visible; }
}

/* Посадочная под одну аудиторию: заголовок-слоган вместо вордмарка в h1 и быстрый выбор вида работ. */
.kinds { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.kinds button { border: 1.5px solid var(--hair); background: rgba(255, 255, 255, .55); color: var(--ink); border-radius: 999px; padding: 7px 14px; font: 500 .95rem var(--f-sans); letter-spacing: -.02em; cursor: pointer; }
.kinds button:hover, .kinds button[aria-pressed="true"] { background: var(--ink); color: var(--chartreuse); border-color: var(--ink); }
