/* CodyVibeCode — оформление. Палитра из комнаты Вовчика: сиреневые обои ночью, мятное худи, рассвет, энергетик. */
:root {
  --bg: #221a2e;
  --bg2: #2c2240;
  --stripe: rgba(190, 160, 230, 0.05);
  --paper: #fff6e6;
  --paper2: #f3e6cf;
  --ink: #2a1d17;
  --text: #f4ecff;
  --muted: #b9a9d0;
  --mint: #9fd8c6;
  --mint2: #5fbfa8;
  --dawn: #f4b5a0;
  --sun: #ffd36b;
  --red: #e2493a;
  --green: #6fd07a;
  --r: 22px;
  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --head: 'Balsamiq Sans', 'Montserrat', sans-serif;
  --body: 'Montserrat', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 500 15px/1.55 var(--body);
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(90deg, var(--stripe) 0 34px, transparent 34px 68px),
    radial-gradient(1200px 600px at 80% -10%, rgba(244, 181, 160, 0.16), transparent 60%);
  min-height: 100vh;
}
body::after { /* зерно */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07;
  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='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
/* текст не выделяется и не копируется — кроме того, что нужно копировать */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.code, pre, .keybox, input, textarea, select, .selectable { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
img, svg { -webkit-user-drag: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(32px, 4.4vw, 52px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.hl { color: var(--mint); }
.hl-dawn { color: var(--dawn); }
.kicker { font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--dawn); margin-bottom: 14px; }
section { padding: 52px 0; }
[id] { scroll-margin-top: 90px; }

/* ---------- шапка ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(34, 26, 46, .86); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo .face { width: 46px; height: 46px; border-radius: 14px; background: var(--mint); border: var(--line); overflow: hidden; }
.logo b { font: 700 21px/1 var(--head); display: block; }
.logo small { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 9px 14px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--muted); }
.nav a:hover, .nav a.on { color: var(--text); background: rgba(255,255,255,.07); }
.login-a { margin-left: 8px; padding: 9px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--ink); background: var(--mint); border: 2px solid var(--ink); white-space: nowrap; }
.burger { display: none; margin-left: auto; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 16px; border: var(--line);
  background: var(--sun); color: var(--ink); font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.mint { background: var(--mint); }
.btn.ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.25); box-shadow: none; }
.btn.ghost:hover { border-color: var(--text); }
.btn[disabled], .btn.off { background: #b9b0c4; cursor: default; }

/* ---------- переключатель Обучение / Стили ---------- */
.switch { display: flex; justify-content: center; padding-top: 26px; }
.switch div { display: flex; gap: 6px; padding: 6px; border-radius: 20px; background: var(--bg2); border: 1px solid rgba(255,255,255,.08); }
.switch a { text-decoration: none; text-align: center; padding: 10px 34px; border-radius: 15px; min-width: 170px; }
.switch a b { display: block; font: 700 18px/1.1 var(--head); }
.switch a small { font-size: 12px; color: var(--muted); }
.switch a.on { background: var(--mint); color: var(--ink); border: var(--line); }
.switch a.on small { color: #3c4f49; }

/* ---------- первый экран ---------- */
.hero { padding: 44px 0 30px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 17px; color: #e1d6f0; max-width: 560px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 28px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.ticks li::before { content: '✓ '; color: var(--mint); font-weight: 700; }
.price-line { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.price-line .from { font: 700 30px/1 var(--head); }
.price-line .from small { display: block; font: 500 13px/1.4 var(--body); color: var(--muted); }

/* сцена с Вовчиком */
.stage { position: relative; height: 560px; }
.note { position: absolute; left: 0; top: 190px; width: calc(100% - 170px); max-width: 320px; padding: 22px 22px 18px; background: var(--paper); color: var(--ink);
  border: var(--line); border-radius: 18px; box-shadow: var(--shadow); transform: rotate(-3deg); z-index: 2; }
.note h3 { font-size: 30px; margin-bottom: 10px; }
.note .flow { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; flex-wrap: wrap; }
.note .flow i { font-style: normal; color: var(--mint2); }
.note .chips { display: flex; gap: 10px; margin-top: 14px; }
.chip { display: inline-flex; flex-direction: column; padding: 6px 10px; border-radius: 10px; border: 2px solid var(--ink); font-size: 11px; line-height: 1.2; }
.chip b { font: 700 18px/1 var(--head); }
.chip.y { background: var(--sun); } .chip.m { background: var(--mint); } .chip.p { background: var(--dawn); }
.vov { position: absolute; right: 0; bottom: 0; width: 215px; }
.vov svg { width: 100%; height: auto; }
.bubble { position: absolute; right: 175px; top: 30px; padding: 12px 16px; background: var(--paper); color: var(--ink); border: var(--line);
  border-radius: 18px; font: 700 17px/1.2 var(--head); transform: rotate(3deg); }
.bubble::after { content: ''; position: absolute; right: 26px; bottom: -16px; width: 22px; height: 22px; background: var(--paper);
  border-right: var(--line); border-bottom: var(--line); transform: rotate(45deg) skew(10deg, 10deg); }

/* ---------- ролики ---------- */
.reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; }
.reel { position: relative; border-radius: var(--r); border: var(--line); overflow: hidden; background: #000; box-shadow: var(--shadow);
  aspect-ratio: 9 / 16; cursor: pointer; }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.reel:hover img { transform: scale(1.03); }
.reel .play { position: absolute; left: 50%; top: 50%; width: 66px; height: 66px; margin: -33px; border-radius: 50%; background: var(--paper);
  border: var(--line); display: grid; place-items: center; }
.reel .play::before { content: ''; margin-left: 6px; border-left: 22px solid var(--ink); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.reel .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; color: #fff;
  background: linear-gradient(transparent, rgba(12,8,18,.8) 38%, rgba(12,8,18,.95)); font-weight: 700; padding-top: 70px; }
.reel .cap em { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font: 500 12px/1.35 var(--body); opacity: .9; margin: 4px 0 2px; }
.reel .cap small { display: block; font-weight: 500; opacity: .75; font-size: 12px; }
.reel .badge { position: absolute; left: 12px; top: 12px; padding: 4px 9px; border-radius: 8px; background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); font: 700 12px/1.2 var(--body); }
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(15, 10, 22, .82); display: grid; place-items: center; padding: 16px; }
.modal-box { position: relative; width: min(400px, 100%); height: min(760px, calc(100vh - 32px)); border-radius: 18px; overflow: hidden; border: var(--line); background: #fff; }
.modal-box iframe { width: 100%; height: 100%; border: 0; }
.modal-x { position: absolute; right: 8px; top: 8px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); font: 700 24px/1 var(--body); cursor: pointer; }

.reel-art { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; color: var(--ink);
  background: repeating-linear-gradient(135deg, var(--c) 0 26px, color-mix(in srgb, var(--c) 82%, #fff) 26px 52px); padding-bottom: 150px; text-align: center; }
.reel-art b { font: 700 20px/1 var(--head); }
.reel-art small { font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.reel .badge + .play, .reel-art + .badge { }
.launch { display: inline-block; margin-left: 10px; padding: 4px 8px; border-radius: 8px; background: var(--red); color: #fff; font: 700 11px/1 var(--body); vertical-align: 8px; transform: rotate(-3deg); }
.plan .launch { margin-left: 0; align-self: flex-start; }
.plan.best { background: #fff0d6; outline: 4px solid var(--sun); outline-offset: -12px; }
.bundle-hint { margin: 16px 0 0; font-size: 14px; color: #6b5a48; }

.buy-box { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 28px; border-radius: 24px;
  background: var(--paper); color: var(--ink); border: var(--line); box-shadow: var(--shadow); display: grid; gap: 12px; }
.buy-box .sum { font: 700 36px/1 var(--head); }
.buy-box .sum small { font: 500 15px var(--body); color: #7b6a58; text-decoration: line-through; }
.fld { display: grid; gap: 6px; font-size: 13px; color: #6b5a48; }
.fld input { font: 500 16px var(--body); padding: 12px 14px; border-radius: 12px; border: 2px solid var(--ink); background: #fff; color: var(--ink); width: 100%; }
.agree { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.agree input { width: 18px; height: 18px; }
.err { color: var(--red); font-weight: 700; margin: 0; min-height: 1em; font-size: 14px; }
.buy-box .bnote { font-size: 12px; color: #7b6a58; margin: 0; }
.kin { font: 500 16px var(--body); padding: 14px 16px; border-radius: 14px; border: 2px solid rgba(255,255,255,.25); background: var(--bg2); color: var(--text); }
.keybox { font: 700 16px/1.4 ui-monospace, Menlo, monospace; word-break: break-all; padding: 14px 16px; border-radius: 12px; background: #fff; border: 2px dashed var(--ink); color: var(--ink); }

/* ---------- витрина стилей ---------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 30px; }
.tab { padding: 10px 18px; border-radius: 14px; border: 2px solid rgba(255,255,255,.18); background: transparent; color: var(--text);
  font: 700 15px/1 var(--head); cursor: pointer; }
.tab.on { background: var(--paper); color: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.tab .soon { font: 600 10px/1 var(--body); margin-left: 6px; padding: 3px 6px; border-radius: 6px; background: var(--dawn); color: var(--ink); vertical-align: 2px; }
.style-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 34px; background: var(--paper); color: var(--ink); border: var(--line);
  border-radius: 28px; box-shadow: 8px 8px 0 var(--ink); padding: 32px; }
.style-card .tag { display: inline-block; padding: 5px 10px; border-radius: 8px; border: 2px solid var(--ink); font: 700 12px/1 var(--body); margin-bottom: 14px; }
.style-card h3 { font-size: 34px; }
.style-card ul { margin: 0 0 20px; padding-left: 20px; }
.style-card li { margin: 4px 0; }
.style-card .buy { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 18px; border-top: 2px dashed #cdbca0; }
.style-card .buy .sum { font: 700 32px/1 var(--head); }
.style-card .buy small { display: block; font: 500 12px/1.4 var(--body); color: #7b6a58; }
.style-card .reels { grid-template-columns: repeat(2, 1fr); gap: 16px; align-content: start; }
.style-card .reel { box-shadow: 4px 4px 0 var(--ink); }

/* ---------- шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: s; }
.step { position: relative; padding: 18px 16px; border-radius: 18px; background: var(--bg2); border: 1px solid rgba(255,255,255,.08); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px;
  background: var(--mint); color: var(--ink); border: 2px solid var(--ink); font: 700 17px/1 var(--head); margin-bottom: 12px; }
.step b { display: block; font-family: var(--head); font-size: 17px; }
.step span { font-size: 13px; color: var(--muted); }
.step:nth-child(3)::before { background: var(--sun); }
.step:last-child::before { background: var(--dawn); }

/* ---------- блоки ---------- */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.box { padding: 26px; border-radius: var(--r); background: var(--bg2); border: 1px solid rgba(255,255,255,.08); }
.box.paper { background: var(--paper); color: var(--ink); border: var(--line); box-shadow: var(--shadow); }
.box h3 { margin-bottom: 8px; }
.need li { margin: 6px 0; }
.stat { font: 700 32px/1 var(--head); color: var(--mint); }

/* ---------- вопросы ---------- */
.faq details { border-bottom: 1px solid rgba(255,255,255,.1); }
.faq summary { cursor: pointer; padding: 15px 0; font: 700 17px/1.3 var(--head); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--mint); font-size: 26px; line-height: .8; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: #ddd1ec; padding-bottom: 14px; max-width: 760px; }

/* ---------- цены ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.plan { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 26px; background: var(--paper); color: var(--ink);
  border: var(--line); box-shadow: var(--shadow); }
.plan .sum { font: 700 34px/1 var(--head); }
.plan .sum small { font: 500 14px var(--body); color: #7b6a58; }
.plan ul { padding-left: 20px; margin: 0 0 10px; flex: 1; }
.plan.soon { opacity: .75; }

/* ---------- курс ---------- */
.lessons { display: grid; gap: 12px; }
.lesson { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px;
  background: var(--bg2); border: 1px solid rgba(255,255,255,.08); }
.lesson .n { font: 700 26px/1 var(--head); color: var(--mint); }
.lesson .lock { font-size: 12px; color: var(--muted); }
.lesson .chips { display: flex; gap: 6px; }
.lesson .chip { padding: 4px 8px; font: 700 13px/1 var(--head); }

/* ---------- схема «как работает» ---------- */
.pipe { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; align-items: stretch; }
.pipe .node { position: relative; text-align: center; padding: 22px 10px; margin: 0 10px; border-radius: 20px; background: var(--paper);
  color: var(--ink); border: var(--line); box-shadow: 4px 4px 0 var(--ink); }
.pipe .node:not(:last-child)::after { content: '→'; position: absolute; right: -22px; top: 50%; transform: translateY(-50%);
  color: var(--mint); font: 700 22px/1 var(--body); }
.pipe .node b { display: block; font: 700 17px/1.2 var(--head); }
.pipe .node span { font-size: 12px; color: #6b5a48; }
.pipe .node .n { display: inline-block; font: 700 13px/1 var(--body); background: var(--mint); border: 2px solid var(--ink); border-radius: 8px; padding: 4px 8px; margin-bottom: 10px; }

/* ---------- код / карточки команд ---------- */
.code { position: relative; background: #17111f; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 18px 124px 18px 20px; font: 500 14px/1.6 ui-monospace, Menlo, monospace; color: #e8dcff; overflow-x: auto; white-space: pre; }
.code .copy { position: absolute; right: 10px; top: 10px; font: 600 12px var(--body); padding: 6px 10px; border-radius: 9px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: var(--muted); cursor: pointer; }

/* ---------- подвал ---------- */
footer { margin-top: 40px; padding: 34px 0 50px; border-top: 1px solid rgba(255,255,255,.08); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

.doc { max-width: 780px; }
.doc h2 { margin-top: 1.4em; font-size: 26px; }
.empty { text-align: center; padding: 90px 0; }
.empty svg { width: 200px; margin: 0 auto 20px; }

/* ---------- главная v2 (идеи со страницы стилей codil.ya, своё оформление) ---------- */
.uline { position: relative; white-space: nowrap; }
.uline::after { content: ''; position: absolute; left: 0; right: 4%; bottom: -6px; height: 10px; border-radius: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7 Q60 1 120 5 T198 4' fill='none' stroke='%23ffd36b' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.under-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 15px; color: var(--text); text-underline-offset: 4px; }
.hero2 .wrap { grid-template-columns: 1.2fr .8fr; }
.hero-note { margin-top: 34px; font-size: 13px; color: var(--muted); max-width: 420px; }
.feat-wrap { position: relative; justify-self: end; width: 250px; }
.feat { border-radius: 22px; overflow: hidden; border: 3px solid var(--sun); box-shadow: 8px 8px 0 #000a; background: var(--bg2); }
.feat .reel { border: 0; border-radius: 0; box-shadow: none; }
.feat .reel .cap { font-size: 0; padding-top: 30px; }
.feat .reel .cap em { display: none; }
.feat .reel .cap small { font-size: 12px; display: inline-block; padding: 4px 8px; border-radius: 8px; background: #0009; }
.feat-t { padding: 12px 14px 14px; text-align: center; font-weight: 700; }
.feat-hand { position: absolute; left: -128px; top: 30px; font: 700 18px/1.15 var(--head); color: var(--sun); transform: rotate(-8deg); text-align: center; }
.feat-hand svg { display: block; margin: 6px 0 0 20px; }
.feat-cap { display: flex; justify-content: center; gap: 14px; align-items: center; margin-top: 12px; font-size: 12px; color: var(--muted); }
.feat-cap b { font: 700 16px var(--head); color: var(--sun); }
.feat-face { position: absolute; left: -46px; bottom: 50px; width: 80px; transform: rotate(-12deg); filter: drop-shadow(3px 4px 0 #0006); }
.sec-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.sec-h h2 { margin: 0; }
.sec-h p { margin: 0; max-width: 330px; font-size: 14px; }
.inc { gap: 24px; }
.inc-card { position: relative; padding: 28px; border-radius: 26px; border: 3px solid var(--ink); box-shadow: 7px 7px 0 #000a; }
.inc-card.you { background: #45362e; }
.inc-card.agent { background: var(--bg2); border-color: #000; }
.inc-card h3 { font-size: 25px; margin: 10px 0 12px; max-width: 75%; }
.inc-card.you h3 { color: var(--sun); }
.inc-k { font-size: 13px; font-weight: 700; color: var(--mint); }
.inc-card.you .inc-k { color: var(--sun); }
.inc-ill { position: absolute; right: 22px; top: 18px; width: 96px; }
.les, .row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.les span { font: 700 22px var(--head); color: var(--sun); width: 38px; }
.les small, .row small { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.inc-card p { font-weight: 500; }
.les b, .row b { font-weight: 700; }
.row i { font-style: normal; color: var(--mint); font-size: 20px; width: 26px; text-align: center; }
.inc-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.tab2 { display: flex; gap: 10px; align-items: center; padding: 8px 16px 8px 8px; text-align: left; }
.tab2 b { display: block; font: 700 17px/1.1 var(--head); }
.tab2 small { font: 500 11px var(--body); opacity: .7; }
.tthumb { width: 42px; height: 42px; border-radius: 12px; overflow: hidden; border: 2px solid var(--ink); background: var(--bg2); flex: none; }
.tthumb img { width: 100%; height: 100%; object-fit: cover; }
.tab2.on { background: #ff9f43; color: var(--ink); }
.sc2 { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; padding-top: 6px; align-items: start; }
.sc2-l, .sc2-r { min-width: 0; }
.dur { display: inline-block; padding: 5px 10px; border-radius: 9px; border: 1px solid rgba(255,255,255,.25); font-size: 12px; font-weight: 700; color: var(--muted); }
.sc2-l h3 { font-size: 34px; margin: 12px 0 8px; }
.sc2-about { font-size: 15px; }
.dots { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.dots li::before { content: '· '; color: var(--mint); font-weight: 700; }
.inside summary { cursor: pointer; font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.inside ul { font-size: 14px; color: #ddd1ec; padding-left: 18px; }
.buy2 { position: relative; margin-top: 70px; }
.buy2-face { position: absolute; left: 20px; top: -64px; width: 74px; transform: rotate(-10deg); }
.buybig { width: 100%; justify-content: space-between; flex-wrap: nowrap; padding: 18px 20px; background: #ff9f43; font-size: 14px; }
.buybig span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybig b { font: 700 22px var(--head); margin-left: auto; white-space: nowrap; }
.buy2 small { display: block; text-align: center; margin-top: 10px; color: var(--muted); font-size: 13px; }
.buy2 small .launch { vertical-align: 0; }
.car { display: grid; grid-auto-flow: column; grid-auto-columns: 210px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 6px 10px 2px; }
.car::-webkit-scrollbar { display: none; }
.car-it { scroll-snap-align: start; background: var(--bg2); border-radius: 18px; border: 2px solid #000; box-shadow: 5px 5px 0 #0008; overflow: hidden; }
.car-it .reel { border: 0; border-radius: 0; box-shadow: none; }
.car-it .reel .badge { display: none; }
.car-it .reel .cap { font-size: 0; background: none; text-align: right; }
.car-it .reel .cap em { display: none; }
.car-it .reel .cap small { font-size: 12px; display: inline-block; padding: 4px 8px; border-radius: 8px; background: #000a; border: 1px solid #fff4; opacity: 1; }
.car-t { padding: 10px 12px 12px; font-weight: 700; font-size: 14px; min-height: 50px; }
.car-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 13px; }
.cbtn { width: 42px; height: 42px; margin-left: 8px; border-radius: 12px; border: 2px solid rgba(255,255,255,.2); background: var(--bg2); color: var(--text); font-size: 18px; cursor: pointer; }
.cbtn:hover { border-color: var(--text); }
.how2 { gap: 40px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 14px 0 14px 30px; border-bottom: 1px solid rgba(255,255,255,.1); position: relative; }
.checks li::before { content: '✓'; position: absolute; left: 4px; color: var(--mint); font-weight: 700; }
.faq2 { display: grid; grid-template-columns: 300px 1fr; gap: 40px; }
.pl-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
#prices .plans { grid-template-columns: repeat(2, 1fr); }
.plan .sum small { white-space: nowrap; }
.pl-h h3 { font-size: 24px; margin: 0; }
.pl-ic { display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 6px; border-radius: 8px; border: 2px solid var(--ink); font: 700 13px var(--body); color: var(--ink); }
.pl-d { margin: 6px 0; font-size: 14px; color: #5a4a3c; }
.pl-chips { display: flex; gap: 12px; flex-wrap: wrap; margin: 4px 0; font: 700 13px var(--body); }
.pl-chips span { display: inline-flex; gap: 6px; align-items: center; }
.pl-chips .pl-ic { min-width: 26px; height: 22px; font-size: 10px; }

/* ---------- мастерская (/how) ---------- */
.ws-wrap { margin: 30px 0 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ws-svg { display: block; width: 100%; min-width: 980px; height: auto; }
.how-top { padding-top: 34px; padding-bottom: 20px; }
.how-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.how-head h1 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); }
.how-cta { max-width: 400px; display: grid; gap: 14px; justify-items: start; }
.how-cta p { margin: 0; font-size: 14px; }
.how-top .ws-wrap { margin: 18px 0 0; }
@media (min-width: 721px) { .how-top .ws-svg { min-width: 0; max-height: calc(100vh - 300px); min-height: 360px; } }
.ws-hint { display: none; font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.ws-type, .ws-wave, .ws-hop, .ws-bob, .ws-phone, .ws-conf, .ws-folder, .ws-idea, .ws-paper, .ws-note { transform-box: fill-box; }
.ws-bulb { animation: wsBlink 1.4s ease-in-out infinite alternate; }
.ws-glow { opacity: 0; animation: wsGlow 7.2s ease-in-out infinite; }
.ws-parcel { animation: wsParcel 7.2s linear infinite; }
.ws-type { transform-origin: left center; animation: wsType 1.8s ease-in-out infinite; }
.ws-wave { transform-origin: center; animation: wsWave .9s ease-in-out infinite alternate; }
.ws-film { animation: wsFilm 1.2s linear infinite; }
.ws-gear { animation: wsSpin 4s linear infinite; }
.ws-hop { animation: wsHop 1.1s ease-in-out infinite; }
.ws-bob { transform-origin: center bottom; animation: wsBob 3s ease-in-out infinite; }
.ws-idea { animation: wsFloat 3s ease-in-out infinite; }
.ws-paper { animation: wsPaper 2.4s ease-in-out infinite; }
.ws-folder { animation: wsLift 2.4s ease-in-out infinite; }
.ws-note { animation: wsNote 2s ease-in-out infinite; }
.ws-led { animation: wsBlink .8s steps(2) infinite; }
.ws-phone { transform-origin: center; animation: wsPulse 2.4s ease-in-out infinite; }
.ws-conf { transform-origin: center; animation: wsConf 1.6s ease-in-out infinite; }
@keyframes wsBlink { from { opacity: .35; } to { opacity: 1; } }
@keyframes wsGlow { 0%, 22% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes wsParcel { from { transform: translateX(200px); } to { transform: translateX(1560px); } }
@keyframes wsType { 0% { transform: scaleX(.1); } 60%, 100% { transform: scaleX(1); } }
@keyframes wsWave { from { transform: scaleY(.25); } to { transform: scaleY(1.15); } }
@keyframes wsFilm { from { transform: translateX(0); } to { transform: translateX(-36px); } }
@keyframes wsSpin { to { transform: rotate(360deg); } }
@keyframes wsHop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-14px); } }
@keyframes wsBob { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
@keyframes wsFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes wsPaper { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, 8px); } }
@keyframes wsLift { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-10px); } }
@keyframes wsNote { 0% { transform: translateY(8px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-22px); opacity: 0; } }
@keyframes wsPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes wsConf { 0%, 100% { opacity: .2; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .ws-svg * { animation: none !important; } .ws-glow { opacity: 0; } }

/* ---------- вход (/login) ---------- */
.login-box { max-width: 520px; margin: 0 auto; text-align: center; display: grid; gap: 16px; justify-items: center; }
.login-box .tgw { min-height: 48px; }
.tg-alt { background: none; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; font: 600 14px var(--body); cursor: pointer; }
.login-wait { font-size: 14px; color: var(--muted); }
.tg-hint { padding: 16px 18px; border-radius: 16px; background: var(--bg2); border: 1px dashed rgba(255,255,255,.2); display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 18px 0; }

/* ---------- подключение (/connect) ---------- */
.cn { max-width: 940px; }
.cn-top { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; }
.cn-vov { flex: none; text-align: right; }
.cn-q { margin: 26px 0 10px; color: var(--muted); font-weight: 600; }
.agents { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.agent { padding: 11px 18px; border-radius: 14px; border: 2px solid rgba(255,255,255,.18); background: var(--bg2); color: var(--text); font: 700 15px/1 var(--body); cursor: pointer; }
.agent.on { background: var(--paper); color: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.stepcard { margin-top: 18px; padding: 26px; border-radius: 24px; background: var(--bg2); border: 2px solid rgba(255,255,255,.1); box-shadow: 6px 6px 0 rgba(0,0,0,.35); }
.sc-h { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.sc-h h2 { font-size: 25px; margin: 0 0 4px; }
.sc-h p { margin: 0; }
.sc-n { font: 700 30px/1.1 var(--head); color: var(--mint); }
.copycard { padding: 20px; border-radius: 16px; background: #1b1426; border: 1px solid rgba(255,255,255,.08); display: grid; gap: 14px; justify-items: start; }
.cc-t { font: 700 18px/1.3 var(--head); }
.copycard details summary, .manual summary, .need-d summary { cursor: pointer; color: var(--muted); font-weight: 600; font-size: 14px; }
.copycard pre { white-space: pre-wrap; font: 500 13px/1.55 ui-monospace, Menlo, monospace; color: #e8dcff; margin: 12px 0 0; }
.manual { margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.15); }
.manual summary { font: 700 17px var(--body); color: var(--text); }
.manual[open] summary { margin-bottom: 12px; }
.task-in { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; margin-bottom: 16px; }
.fld2 { display: grid; gap: 8px; font-weight: 600; font-size: 14px; }
.fld2 i { font-style: normal; color: var(--muted); font-weight: 500; float: right; }
.fld2 select, .fld2 textarea { font: 600 16px var(--body); padding: 12px 14px; border-radius: 12px; border: 2px solid rgba(255,255,255,.2); background: #1b1426; color: var(--text); resize: vertical; }
.cn-link { display: inline-block; margin: 26px 0 10px; font-weight: 600; }
.need-d { border-top: 1px dashed rgba(255,255,255,.15); border-bottom: 1px dashed rgba(255,255,255,.15); padding: 16px 0; margin: 10px 0; }
.need-d summary { font: 700 17px var(--body); color: var(--text); }
.need-d[open] summary { margin-bottom: 12px; }
.cn-help { margin-top: 18px; color: var(--muted); }

/* ---------- телефон ---------- */
@media (max-width: 900px) {
  .hero2 .wrap { grid-template-columns: 1fr; }
  .hero .wrap, .style-card, .grid2, .grid3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pipe { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pipe .node::after { display: none; }
  .stage { max-width: 480px; margin: 0 auto; width: 100%; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; padding: 10px 16px 16px; background: var(--bg); border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: flex; }
  .burger { display: block; margin-left: 6px; }
  .login-a { margin-left: auto; padding: 7px 10px; font-size: 13px; }
  .wrap { padding: 0 16px; }
  section { padding: 46px 0; }
  .switch a { min-width: 0; padding: 10px 18px; }
  .style-card { padding: 22px; }
  .style-card h3 { font-size: 32px; }
  .reels { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .code { padding: 46px 16px 16px; font-size: 13px; }
  .lesson { grid-template-columns: 40px 1fr; }
  .task-in { grid-template-columns: 1fr; }
  .sc2, .faq2, #prices .plans { grid-template-columns: minmax(0, 1fr); }
  .car { grid-auto-columns: 58%; }
  .feat-wrap { justify-self: center; width: 250px; margin: 20px 0 0 40px; }
  .feat-hand { left: -110px; font-size: 15px; }
  .feat-face { left: -50px; width: 64px; }
  .inc-card h3 { font-size: 24px; }
  .inc-ill { width: 70px; }
  .sc2-l h3 { font-size: 30px; }
  .ws-hint { display: block; }
  .cn-top { flex-direction: column; align-items: flex-start; }
  .cn-vov { display: none; }
  .stepcard { padding: 18px; }
  .sc-h h2 { font-size: 23px; }
  .lesson .chips { grid-column: 2; }
  .stage { height: 450px; }
  .vov { width: 170px; }
  .note { top: 160px; width: calc(100% - 130px); padding: 16px; } .note h3 { font-size: 24px; }
  .bubble { right: 135px; top: 18px; font-size: 15px; }
}
