/* ==========================================================================
   Autogid — версия 2 (по макету Figma «Новый лендинг · ПК 1920», страница «Черновик»).
   Все новые блоки нарисованы на холсте 1920 px и масштабируются так же, как в v1 (--f-scale).
   ========================================================================== */
:root {
  --v2-cut: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 430'%3E%3Cpath fill-rule='evenodd' d='M8 0H392a8 8 0 0 1 8 8V422a8 8 0 0 1-8 8H8a8 8 0 0 1-8-8V8a8 8 0 0 1 8-8ZM24 17H376a4 4 0 0 1 4 4V205a4 4 0 0 1-4 4H24a4 4 0 0 1-4-4V21a4 4 0 0 1 4-4Z'/%3E%3C/svg%3E");
  --teal: #11313a;
  --cyan: #8ce8ff;
  --orange: #ff9a1a;
  --ink: #141517;
  --u: 'Unbounded', 'TT Hoves Pro Expanded', sans-serif;
}
html { scroll-behavior: smooth; }
body { background: #fff; }
.v2-anchor { display: block; height: 0; }

/* ---------- общие кирпичики ---------- */
.v2-sec { overflow: hidden; }
.v2-canvas { overflow: hidden; }
.v2-eyebrow {
  position: absolute;
  font: 500 20px/26px 'JetBrains Mono', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.v2-dim { opacity: .5; }
.v2-h2 {
  font: 400 47px/1 var(--u);
  letter-spacing: -.02em;
  color: var(--ink);
  white-space: nowrap;
}
.v2-hl { font-style: normal; display: inline-block; background: var(--cyan); border-radius: 12px; padding: 2px 10px 2px; margin: 0 -4px 0 -2px; }
.v2-hl b { font-weight: 400; }

/* ---------- Верхнее меню: логотип слева, пункты по центру, вход справа ---------- */
.v2-nav {
  position: fixed; z-index: 400; left: 16px; right: 16px; top: 14px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start;
  pointer-events: none;
  zoom: clamp(.8, var(--f-scale, 1), 1);
  transform: translateY(-140%); opacity: 0;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .3s ease;
}
.v2-nav.is-on { transform: none; opacity: 1; }
.v2-nav > * { pointer-events: auto; }
.v2-nav-left, .v2-links, .v2-nav-right {
  display: flex; align-items: center; gap: 4px;
  background: #fff; border-radius: 999px; padding: 6px;
  box-shadow: 0 8px 28px rgba(17, 49, 58, .14), 0 0 0 1px rgba(17, 49, 58, .05);
  font: 500 15px/1 Inter, sans-serif; color: var(--teal);
}
.v2-nav-left { justify-self: start; height: 52px; padding: 0 22px; }
.v2-nav-right { justify-self: end; }
.v2-logo { display: block; }
.v2-logo svg { display: block; }
.v2-links a, .v2-dd > button {
  height: 40px; padding: 0 16px; border-radius: 999px; font: inherit; color: inherit;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; background: none; border: 0; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.v2-dd > button i { font-style: normal; font-size: 13px; transition: transform .25s ease; }
.v2-dd > button[aria-expanded="true"] i { transform: rotate(180deg); }
.v2-links a:hover, .v2-dd > button:hover { background: #eef2f3; }
.v2-links a.is-cur { background: var(--teal); color: #fff; }
.v2-dd { position: relative; }
.v2-dd-panel {
  position: absolute; left: 0; top: calc(100% + 14px); min-width: 280px; padding: 12px; border-radius: 22px; background: #fff;
  box-shadow: 0 16px 40px rgba(17, 49, 58, .18), 0 0 0 1px rgba(17, 49, 58, .05);
  display: none; flex-direction: column; gap: 2px;
}
.v2-dd.is-open .v2-dd-panel { display: flex; }
.v2-dd-panel p { font: 500 12px/1 'JetBrains Mono', monospace; letter-spacing: .06em; text-transform: uppercase; opacity: .5; padding: 8px 14px 10px; }
.v2-dd-panel a { height: 42px; padding: 0 14px; border-radius: 12px; display: flex; align-items: center; color: var(--teal); font: 500 15px/1 Inter, sans-serif; }
.v2-dd-panel a:hover { background: #eef2f3; }
.v2-login, .v2-make { height: 40px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 Inter, sans-serif; white-space: nowrap; }
.v2-login { color: var(--teal); }
.v2-login:hover { background: #eef2f3; }
.v2-make { background: var(--teal); color: #fff; transition: background .2s ease; }
.v2-make:hover { background: #1c4752; }

/* ---------- Первый экран ---------- */
.v2-hero-left .hero-logo { top: 38px; }
.v2-hero-nav {
  position: absolute; left: 266px; top: 40px; display: flex; gap: 26px;
  font: 500 18px/1.3 Inter, sans-serif; color: var(--ink); white-space: nowrap;
}
.v2-hero-nav a { opacity: .85; transition: opacity .2s ease, color .2s ease; }
.v2-hero-nav a:hover { opacity: 1; color: var(--teal); }
.v2-hero-eyebrow { position: absolute; left: 22px; top: 139px; font: 400 17px/1.3 'JetBrains Mono', monospace; color: rgba(20, 21, 23, .55); letter-spacing: .02em; white-space: nowrap; }
.v2-hero-h1 { position: absolute; left: 22px; top: 193px; width: 837px; font: 400 66px/.9 var(--u); letter-spacing: -.03em; color: var(--ink); }
.v2-hero-h1 .hero-h1-line { display: block; line-height: .9; white-space: nowrap; padding-bottom: .02em; }
.v2-cursor { display: inline-block; width: 5px; height: 37px; margin-left: 14px; background: var(--teal); vertical-align: -3px; animation: heroCursorBlink 1.15s steps(1, end) infinite; }
.v2-hero-desc { position: absolute; left: 22px; top: 402px; width: 740px; font: 400 21px/1.4 Inter, sans-serif; color: rgba(20, 21, 23, .88); }
.v2-hero-actions { position: absolute; left: 22px; top: 521px; display: flex; gap: 15px; align-items: center; }
.v2-hero-cta {
  height: 84px; padding: 0 38px 0 15px; border-radius: 999px; background: var(--orange); color: #fff;
  display: flex; align-items: center; gap: 10px;
  font: 600 16px/1.3 Inter, sans-serif; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease;
}
.v2-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 154, 26, .32); }
.v2-plus { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.v2-hero-more {
  height: 84px; padding: 0 32px; border-radius: 999px; border: 1px solid rgba(17, 49, 58, .55); color: var(--teal);
  display: flex; align-items: center; font: 500 18px/1.25 Inter, sans-serif; white-space: nowrap; transition: background .25s ease, color .25s ease;
}
.v2-hero-more:hover { background: var(--teal); color: #fff; }
.v2-hero-tariff { top: 826px !important; width: 600px !important; }
.v2-hero-actions-capsule {
  position: absolute; z-index: 3; left: 657px; top: 16px; width: 312px; height: 60px; padding: 7px; border-radius: 999px; background: #fff;
  display: flex; gap: 6px; align-items: center;
}
.v2-cap-login, .v2-cap-make { height: 46px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 14px/1 Inter, sans-serif; white-space: nowrap; transition: background .2s ease; }
.v2-cap-login { width: 120px; color: var(--teal); background: #fff; }
.v2-cap-login:hover { background: #eef2f3; }
.v2-cap-make { width: 166px; background: var(--teal); color: #fff; }
.v2-cap-make:hover { background: #1c4752; }
.hero-cursor-bar { display: none; }

/* ---------- Кому подходит ---------- */
.v2-aud-head { position: absolute; left: 960px; top: 100px; width: 920px; }
.v2-aud-head h2 { font: 400 47px/1.18 var(--u); letter-spacing: -.02em; color: var(--ink); width: 900px; }
.v2-countries { display: flex; gap: 15px; margin-top: 5px; align-items: center; }
.v2-countries span { display: inline-flex; align-items: center; gap: 5px; font: 400 47px/42px var(--u); letter-spacing: -.02em; color: var(--ink); white-space: nowrap; height: 42px; }
.v2-countries img { width: 41px; height: 41px; border-radius: 10px; object-fit: cover; }
.v2-aud-grid { position: absolute; left: 40px; top: 337px; width: 1840px; height: 586px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.v2-card { position: relative; border-radius: 4px; overflow: hidden; background: #dfe3e4; }
.v2-card-bg { position: absolute; inset: 0; background-repeat: no-repeat; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.v2-card::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--ov, .1)); pointer-events: none; }
.v2-card:hover .v2-card-bg { transform: scale(1.04); }
.v2-card-plate {
  position: absolute; z-index: 2; left: 26px; top: 78px; width: 400px; height: 430px; background: #fff;
  -webkit-mask: var(--v2-cut) center / 100% 100% no-repeat; mask: var(--v2-cut) center / 100% 100% no-repeat;
}
.v2-card-panel { position: absolute; z-index: 3; left: 26px; top: 78px; width: 400px; height: 430px; padding: 233px 20px 0; }
.v2-card-panel h3 { margin: 0 13px 0; font: 400 33.5px/1.16 var(--u); letter-spacing: -.02em; color: var(--teal); }
.v2-card-panel p { margin: 26px 13px 0; font: 400 18px/1.25 Inter, sans-serif; color: rgba(20, 21, 23, .72); }

/* сценарии и возможности — блоки в Shadow DOM */
.v2-scenarios, .v2-features { display: block; position: relative; background: #fff; }
.v2-shadow-host { display: block; }
.v2-features { overflow: hidden; }

/* ---------- Пример сайта ---------- */
.v2-ex-text { position: absolute; left: 40px; top: 254.5px; width: 660px; height: 472px; }
.v2-ex-h2 { position: absolute; left: 0; top: 62px; font: 400 47px/59px var(--u); letter-spacing: -.02em; }
.v2-ex-h2 span { display: block; }
.v2-ex-h2 .v2-hl { margin: 0 0 0 -10px; padding: 2px 10px; height: 55px; line-height: 51px; }
.v2-ex-desc { position: absolute; left: 0; top: 271px; width: 540px; font: 400 22px/1.42 Inter, sans-serif; color: rgba(20, 21, 23, .6); }
.v2-ex-btns { position: absolute; left: 0; top: 400px; display: flex; gap: 12px; }
.v2-btn-orange, .v2-btn-line { height: 72px; border-radius: 999px; display: inline-flex; align-items: center; white-space: nowrap; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.v2-btn-orange { padding: 0 30px 0 12px; gap: 14px; background: var(--orange); color: #fff; font: 600 18px/1 Inter, sans-serif; }
.v2-btn-orange i { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--orange); font: 500 24px/48px Inter, sans-serif; text-align: center; font-style: normal; }
.v2-btn-orange:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 154, 26, .32); }
.v2-btn-line { padding: 0 35px; border: 1px solid rgba(17, 49, 58, .22); color: var(--teal); font: 500 18px/1 Inter, sans-serif; }
.v2-btn-line:hover { background: var(--teal); color: #fff; }
.v2-ex-window { position: absolute; left: 758px; top: 72.5px; width: 1122px; height: 836px; display: block; }

/* ---------- Тариф ---------- */
.v2-trf-head { position: absolute; left: 965px; top: 100px; width: 915px; }
.v2-trf-head .v2-h2 { line-height: 1; }
.v2-trf-head p { margin-top: 25px; width: 850px; font: 400 25px/1.28 Inter, sans-serif; color: rgba(20, 21, 23, .5); }
.v2-trf { position: absolute; left: 40px; top: 332px; width: 1840px; height: 520px; display: flex; gap: 20px; }
.v2-trf-demo { position: relative; width: 600px; flex: none; border-radius: 22px; background: #e3f7fc; }
.v2-tag { position: absolute; left: 36px; top: 36px; height: 29px; padding: 0 13px; border-radius: 999px; background: #fff; display: inline-flex; align-items: center; font: 500 12px/1 'JetBrains Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.v2-trf-demo h3 { position: absolute; left: 36px; top: 79px; font: 400 34px/42px var(--u); letter-spacing: -.02em; color: var(--teal); }
.v2-trf-demo-card { position: absolute; right: 36px; top: 150px; width: 272px; height: 206px; }
.v2-trf-demo-bottom { position: absolute; left: 36px; bottom: 36px; }
.v2-price0 { font: 400 50px/1 var(--u); letter-spacing: -.02em; color: var(--teal); display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.v2-price0 small { font: 400 16px/1 Inter, sans-serif; letter-spacing: 0; color: rgba(17, 49, 58, .65); }
.v2-btn-dark { height: 64px; padding: 0 36px; border-radius: 999px; background: var(--teal); color: #fff; display: inline-flex; align-items: center; font: 600 17px/1 Inter, sans-serif; transition: background .2s ease; }
.v2-btn-dark:hover { background: #1c4752; }
.v2-trf-main { flex: 1; display: flex; padding: 12px; border-radius: 22px; background: #052e38; }
.v2-trf-cover {
  position: relative; width: 640px; height: 496px; flex: none; border-radius: 16px; overflow: hidden;
  background: radial-gradient(circle at 88% 86%, rgba(63, 128, 142, .85) 0%, rgba(63, 128, 142, 0) 58%), linear-gradient(180deg, #14393f, #0f2f37);
}
.v2-trf-logo { position: absolute; left: 32px; top: 32px; opacity: .85; filter: brightness(0) invert(1); }
.v2-trf-cover h3 { position: absolute; left: 32px; top: 61px; font: 400 34px/42px var(--u); letter-spacing: -.02em; color: #fff; }
.v2-trf-cover-bottom { position: absolute; left: 32px; bottom: 32px; width: 300px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.v2-price { display: flex; align-items: baseline; gap: 8px; font: 400 52px/1 var(--u); letter-spacing: -.03em; color: #fff; margin-bottom: 12px; white-space: nowrap; }
.v2-price small { font: 400 16px/1 Inter, sans-serif; letter-spacing: 0; color: rgba(255, 255, 255, .7); }
.v2-btn-orange2, .v2-btn-ghost { height: 52px; padding: 0 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 17px/1 Inter, sans-serif; white-space: nowrap; transition: background .2s ease, border-color .2s ease; }
.v2-btn-orange2 { background: var(--orange); color: var(--teal); }
.v2-btn-orange2:hover { background: #ffab42; }
.v2-btn-ghost { border: 1px solid rgba(255, 255, 255, .4); color: #fff; font-weight: 500; }
.v2-btn-ghost:hover { border-color: #fff; }
.v2-trf-catalog { position: absolute; right: 28px; bottom: 0; width: 248px; height: 346px; }
.v2-trf-incl { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 44px; }
.v2-incl-cap { font: 500 16px/1 Inter, sans-serif; color: rgba(255, 255, 255, .6); margin-bottom: 26px; }
.v2-trf-incl ul { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.v2-trf-incl li { display: flex; align-items: center; gap: 16px; font: 500 19px/1.2 Inter, sans-serif; color: #fff; }
.v2-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; flex: none; font: 600 14px/1 Inter, sans-serif; }
.v2-ic svg { width: 24px; height: 24px; display: block; }
.v2-num { font-size: 15px; }

/* ---------- Вопросы и ответы ---------- */
.v2-faq-title { position: absolute; left: 40px; top: 160px; width: 860px; }
.v2-faq-title p { margin-top: 30px; font: 400 25px/1.28 Inter, sans-serif; color: rgba(20, 21, 23, .5); width: 640px; }
.v2-faq-list { position: absolute; left: 965px; top: 100px; width: 915px; }
.v2-faq-item { border-top: 1px solid rgba(17, 49, 58, .15); }
.v2-faq-item:last-child { border-bottom: 1px solid rgba(17, 49, 58, .15); }
.v2-faq-q { width: 100%; padding: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; text-align: left; font: 500 26px/1.25 Inter, sans-serif; color: var(--teal); cursor: pointer; background: none; border: 0; }
.v2-faq-q i { position: relative; flex: none; width: 52px; height: 52px; border-radius: 10px; background: #eeeeee; transition: background .25s ease; }
.v2-faq-q i::before, .v2-faq-q i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; background: var(--teal); border-radius: 1px; transition: transform .3s ease; }
.v2-faq-q i::after { transform: rotate(90deg); }
.v2-faq-q:hover i { background: #e2e6e7; }
.v2-faq-item.is-open .v2-faq-q i { background: var(--cyan); }
.v2-faq-item.is-open .v2-faq-q i::after { transform: rotate(0deg); }
.v2-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.22, 1, .36, 1); }
.v2-faq-item.is-open .v2-faq-a { grid-template-rows: 1fr; }
.v2-faq-a > p { overflow: hidden; margin: 0; padding-right: 100px; font: 400 20px/1.5 Inter, sans-serif; color: #55646a; }
.v2-faq-item.is-open .v2-faq-a > p { padding-bottom: 32px; }

/* ---------- Закрытие и подвал ---------- */
.closing-h2 { font-family: var(--u) !important; font-weight: 400 !important; font-size: 68px !important; line-height: 1.02 !important; letter-spacing: -.03em !important; width: 1000px !important; }
.closing-metric-num { font-family: var(--u) !important; font-weight: 400 !important; font-size: 76px !important; letter-spacing: -.04em !important; line-height: 1 !important; }
.v2-closing-cta {
  position: absolute; left: 1137px; top: 262px; height: 64px; padding: 0 34px; border-radius: 999px; background: var(--orange); color: #fff;
  display: inline-flex; align-items: center; gap: 10px; font: 600 18px/1 Inter, sans-serif; transition: background .25s ease, transform .25s ease;
}
.v2-closing-cta:hover { background: #ffab42; transform: translateY(-2px); }
.footer-nav-col0 a, .footer-nav-col1 a, .footer-nav-col2 a { font-weight: 400; color: rgba(255, 255, 255, .92); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .v2-nav, .v2-links, .v2-faq-a, .v2-card-bg { transition: none; }
  .v2-cursor { animation: none; }
}

.hero-pill { border-radius: 12px !important; }
.hero-pill-icon { border-radius: 9px !important; }

.v2-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.v2-stats > div { padding: 18px 20px 20px; border-radius: 16px; background: rgba(255, 255, 255, .07); }
.v2-stats b { display: block; font: 400 44px/1 var(--u); letter-spacing: -.03em; color: #fff; margin-bottom: 10px; }
.v2-stats span { display: block; font: 400 15px/1.35 Inter, sans-serif; color: rgba(255, 255, 255, .72); }

h1, h2, h3, .v2-h2, .closing-h2 { text-wrap: balance; }
.v2-trf-head p, .v2-faq-title p, .v2-ex-desc, .v2-hero-desc, .closing-desc, .v2-card-panel p { text-wrap: pretty; }
.v2-faq-title p { width: 700px; }
.v2-hero-h1, .v2-hero-h1 * { text-wrap: nowrap; }

.closing-footer { top: 400px !important; height: 640px !important; }
.footer-watermark { top: 292px !important; }
.footer-watermark-fade { top: 520px !important; height: 120px !important; background: linear-gradient(180deg, rgba(6,16,18,0), #061012 92%) !important; }
.footer-policy { top: 596px !important; }
.footer-legal { top: 596px !important; }
.footer-logo { display: block; }
