/* vibedo.me — направление «Протокол»: тёмно-синий фон и градиент из лого */
@font-face { font-family: Onest; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/onest-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/onest-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/jbm-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/jbm-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #050A1F; --surface: #0C1330; --ink: #EEF2FF; --muted: #9AA3CC; --line: #1E2850;
  --accent: #3BCFEA; --accent-ink: #05071C; --accent2: #9CFA8E;
  --c1: #7B4BDB; --c2: #6A5FE3; --c3: #5A7BEA; --c4: #4AA5EC; --c5: #3BCFEA; --c6: #3FDCC0; --c7: #6FEFA0; --c8: #9CFA8E;
  --wheel-bg: #0F1838; --wheel-stroke: #25305E; --bubble: #141D42;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow: 0 0 0 1px rgba(91,123,234,.18), 0 30px 60px -30px rgba(123,75,219,.5);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 Onest, system-ui, sans-serif; }
a { color: inherit; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 800; letter-spacing: -.03em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 760px; }
section { padding: 88px 0; }
section.tight { padding-top: 0; }

/* шапка */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(5,10,31,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(30,40,80,.6); }
.nav-in { max-width: 1216px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo .word { height: 19px; width: auto; }
.logo.sm .word { height: 14px; }
.nav .links { display: flex; gap: 24px; font-size: 15px; margin-left: 8px; }
.nav .links a, .flinks a { color: var(--muted); text-decoration: none; }
.nav .links a:hover, .nav .links a[aria-current], .flinks a:hover { color: var(--ink); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 14px; }
.nav-r .lang { color: var(--muted); text-decoration: none; font-family: var(--mono); }
.burger { display: none; margin-left: auto; position: relative; }
.burger summary { list-style: none; cursor: pointer; font-size: 24px; padding: 4px 8px; }
.burger summary::-webkit-details-marker { display: none; }
.burger nav { position: absolute; right: 0; top: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; min-width: 220px; box-shadow: var(--shadow); }
.burger nav a { padding: 10px 12px; text-decoration: none; border-radius: 8px; }
.burger nav a:hover { background: var(--bubble); }

/* кнопки */
.btn-p { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--accent-ink); padding: 14px 24px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn-p:hover { filter: brightness(1.08); }
.btn-p.sm { padding: 9px 16px; font-size: 14px; }
.btn-s { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 10px; border: 1px solid #33406f; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; }
.btn-s:hover { border-color: var(--accent); }

.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 22px; }
.kicker::before { content: "> "; color: var(--accent2); }
.lead { font-size: 20px; color: var(--muted); margin-top: 24px; max-width: 36ch; }
.page-head .lead { max-width: 60ch; }
.sub { font-size: 19px; color: var(--muted); margin-top: 18px; max-width: 56ch; }
h2 { font-size: 50px; max-width: 20ch; }
h3 { font-size: 22px; letter-spacing: -.02em; }
em { font-style: normal; background: linear-gradient(90deg, #8B5CF6, #3BCFEA 55%, #9CFA8E); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* первый экран */
.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding: 64px 32px 96px; max-width: 1216px; margin: 0 auto; position: relative; }
.hero::before { content: ""; position: absolute; inset: -40px 0 auto auto; width: 70%; height: 120%; background: radial-gradient(40% 40% at 60% 40%, rgba(123,75,219,.32), transparent 70%), radial-gradient(35% 35% at 35% 70%, rgba(59,207,234,.2), transparent 70%); pointer-events: none; filter: blur(10px); }
.hero > * { position: relative; }
.hero h1 { font-size: 72px; letter-spacing: -.035em; }
.cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.stline { display: flex; gap: 10px; align-items: center; margin-top: 26px; font-size: 14px; color: var(--muted); }
.stline i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent2); box-shadow: 0 0 0 5px rgba(156,250,142,.2); flex: none; }
.hero-art { position: relative; }
.wheel svg { width: 100%; filter: drop-shadow(0 0 18px rgba(91,123,234,.35)); }
.wheel .wl { font: 600 13px var(--mono); fill: var(--ink); }
.wheel .wc { font: 800 15px Onest, sans-serif; fill: var(--accent); }
.avatar-card { position: absolute; right: -8px; bottom: -18px; width: 250px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font: 13px/1.5 var(--mono); box-shadow: var(--shadow); }
.avatar-card .t { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.avatar-card .big { font-size: 26px; font-weight: 600; color: var(--accent2); margin: 4px 0 8px; }
.avatar-card .q { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }

/* сетки и карточки */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 44px; }
.grid3.flat { margin-top: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 44px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }
.big-card { padding: 34px; }
.big-card h3 { font-size: 32px; }
.big-card .kicker { margin-bottom: 12px; }
.big-card p { margin-top: 12px; }
.sph { display: flex; flex-direction: column; gap: 8px; }
.sph .dot { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: #07102B; font-weight: 800; font-size: 14px; }
.sph b { font-size: 17px; }
.sph span { color: var(--muted); font-size: 14px; line-height: 1.4; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.chat { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.chat .who { font: 600 12px var(--mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }
.chat .who:first-child { margin-top: 0; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 15.5px; line-height: 1.45; }
.msg.l { background: var(--bubble); border-bottom-left-radius: 6px; }
.msg.u { background: linear-gradient(90deg, #7B4BDB, #5A7BEA); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.bullets { margin: 26px 0 0; display: flex; flex-direction: column; gap: 12px; padding: 0; list-style: none; }
.bullets li { display: flex; gap: 12px; font-size: 16px; }
.bullets li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--accent); flex: none; }
.roi { font-size: 40px; font-weight: 800; line-height: 1.1; margin: 14px 0 6px; letter-spacing: -.02em; }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }
.fine a { color: var(--ink); }
.more { margin-top: 26px; }
.more a { color: var(--accent); text-decoration: none; }

/* дорожная карта */
.road { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 48px; border-top: 2px solid var(--line); }
.road > div { padding: 22px 22px 0 0; position: relative; }
.road > div::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); }
.road > div.now::before { background: var(--accent); border-color: var(--accent); }
.road .ph { font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.road .now .ph { color: var(--accent); }
.road h3 { font-size: 22px; margin: 6px 0 8px; }
.road p, .road li { font-size: 15px; color: var(--muted); }
.road ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.road.tall { margin-top: 12px; }

/* модуль «уже работает» */
.live { display: flex; gap: 28px; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 30px 34px; }
.live .pill { font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent2); }
.live h3 { margin: 6px 0; }
.live p { color: var(--muted); font-size: 16px; max-width: 60ch; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack h2 { font-size: 32px; margin-top: 30px; }

/* текстовые страницы */
.page-head { padding: 72px 0 56px; }
.page-head h1 { font-size: 60px; max-width: 18ch; }
.prose h2 { font-size: 30px; margin: 40px 0 12px; max-width: none; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 18px; color: #C9D0EE; margin-top: 12px; }
.prose a { color: var(--accent); }
.prose .note { border-left: 3px solid var(--accent2); padding: 4px 0 4px 16px; color: var(--muted); font-size: 16px; }
.prose .sign { margin-top: 32px; font-family: var(--mono); color: var(--accent); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-size: 19px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 17px; }

/* лист ожидания */
.join { text-align: center; }
.join h1, .join h2 { margin: 0 auto; font-size: 50px; max-width: 18ch; }
.join .sub { margin-left: auto; margin-right: auto; }
.waitlist { margin-top: 30px; }
.chips { border: 0; padding: 0; margin: 0 auto; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: 760px; }
.chips legend { width: 100%; text-align: center; font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; background: var(--surface); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field { display: flex; gap: 10px; max-width: 520px; margin: 22px auto 0; }
.field input { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; color: var(--ink); font: inherit; font-size: 16px; }
.field input::placeholder { color: #6670a0; }
.result { margin-top: 14px; min-height: 1.5em; font-weight: 600; }
.result.ok { color: var(--accent2); }
.result.err { color: #FF8FA3; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* подвал */
footer { border-top: 1px solid var(--line); }
.foot-in { max-width: 1216px; margin: 0 auto; padding: 34px 32px 44px; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--muted); }
.flinks { display: flex; gap: 18px; flex-wrap: wrap; }
.disc { flex-basis: 100%; font-size: 12.5px; }

@media (max-width: 980px) {
  .nav .links, .nav-r { display: none; }
  .burger { display: block; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 32px 20px 70px; }
  .hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-in { padding: 12px 20px; }
  .wrap { padding: 0 20px; }
  section { padding: 56px 0; }
  .hero h1 { font-size: 40px; }
  .lead { font-size: 17px; margin-top: 16px; }
  .cta { flex-direction: column; }
  .avatar-card { position: relative; right: auto; bottom: auto; width: auto; margin: -30px 16px 0; }
  h2, .join h1, .join h2 { font-size: 32px; }
  .page-head { padding: 44px 0 36px; }
  .page-head h1 { font-size: 38px; }
  .sub { font-size: 16px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .grid3 { margin-top: 28px; }
  .grid4 { margin-top: 28px; }
  .big-card { padding: 24px; }
  .big-card h3 { font-size: 26px; }
  .road { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--line); margin-left: 7px; }
  .road > div { padding: 0 0 26px 24px; }
  .road > div::before { top: 4px; left: -8px; }
  .live { flex-direction: column; align-items: flex-start; padding: 22px; }
  .field { flex-direction: column; }
  .foot-in { padding: 26px 20px 36px; }
  .roi { font-size: 32px; }
  .prose h2 { font-size: 24px; }
  .prose p { font-size: 17px; }
}
