/* Лендинг free.algotrades.ru. Токены повторяют vfcode/src/app/wallester.css */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(/fonts/inter-tight-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(/fonts/inter-tight-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(/fonts/inter-tight-latin.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+2190-2199, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0E0E10; --bg-card: #1F1F22; --night: #0A0B0D;
  --line: rgba(255,255,255,0.08);
  --ink: #FAFAFA; --ink-2: #CBCBCB; --mute: #A2A4A7;
  --light: #FAFAFA; --light-2: #FFFFFF; --light-3: #F0F0F2; --light-line: #E2E2E2;
  --ink-dark: #1A1A1C; --body: #4F4F51; --mute-l: #5A5C60;
  --green: #0FE556; --green-2: #45F88D; --green-ink: #04321C; --green-deep: #067A2E;
  --blue: #1C73E8; --mint: #CCFFE4;
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Menlo", "SF Mono", "JetBrains Mono", "Consolas", monospace;
  --pad: 40px; --sec: 96px; --card-pad: 28px;
}
@media (max-width: 1199px) { :root { --pad: 32px; --sec: 80px; } }
@media (max-width: 959px)  { :root { --pad: 24px; --sec: 64px; } }
@media (max-width: 639px)  { :root { --pad: 20px; --sec: 56px; --card-pad: 20px; } }
@media (max-width: 479px)  { :root { --pad: 16px; --sec: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink-dark); background: var(--light); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; }
[id] { scroll-margin-top: 80px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent; font: 500 15px/1.2 var(--font); letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer; transition: background 120ms, border-color 120ms, transform 80ms; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn--lg { height: 52px; padding: 0 28px; }
.btn--green { background: var(--green); color: var(--green-ink); }
.btn--green:hover { background: var(--green-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(255,255,255,0.28); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.55); }
.btn--dark { background: var(--ink-dark); color: var(--ink); }
.btn--dark:hover { background: #2A2A2D; }
.btn--white { background: #fff; color: var(--ink-dark); }
.btn--white:hover { background: #EDEDEF; }

/* Типографика */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2; }
.eyebrow::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.eyebrow--green { color: var(--green); }
.eyebrow--green::before { box-shadow: 0 0 8px currentColor; }
.eyebrow--blue { color: var(--blue); }
.eyebrow--white { color: #fff; }
.h1 { font-weight: 400; font-size: 64px; line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.h2 { font-weight: 400; font-size: 48px; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.lead { max-width: 680px; font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--body); }
.label { margin: 20px 0 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-l); }
@media (max-width: 1199px) { .h1 { font-size: 52px; } .h2 { font-size: 40px; } }
@media (max-width: 959px)  { .h1 { font-size: 44px; } .h2 { font-size: 34px; } }
@media (max-width: 639px)  { .h1 { font-size: 36px; } .h2 { font-size: 30px; } .lead { font-size: 15px; } }
@media (max-width: 479px)  { .h1 { font-size: 30px; } .h2 { font-size: 26px; } }

/* Шапка */
.hdr { position: sticky; top: 0; z-index: 10; background: rgba(14,14,16,0.92); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.hdr__logo img { height: 26px; width: auto; }
@media (max-width: 479px) { .hdr__in { height: 64px; } .hdr__logo img { height: 22px; } }

/* Первый экран */
.hero { position: relative; overflow: hidden; background: var(--bg); padding: 72px 0 var(--sec); }
.hero::before { content: ""; position: absolute; left: 42%; top: -300px; width: 1000px; height: 1000px; pointer-events: none;
  background: radial-gradient(circle, rgba(28,115,232,0.45) 0%, rgba(28,115,232,0.18) 28%, rgba(28,115,232,0) 60%); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr 0.86fr; gap: 56px; align-items: center; }
.hero__text .eyebrow { margin-bottom: 24px; }
.hero__sub { margin: 20px 0 32px; max-width: 540px; font-size: 18px; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; background: #D8F0E0; }
.checks { display: flex; flex-direction: column; gap: 10px; }
.checks li, .plan__note { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.3; color: var(--ink-2); }
.checks li::before, .plan__note::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5.6 10.3 8.6 13.2 14.4 7.2' stroke='%2304321C' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/20px no-repeat; }
@media (max-width: 959px) {
  .hero { padding-top: 40px; }
  .hero::before { left: -300px; top: 80px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 639px) { .hero__sub { font-size: 16px; margin: 20px 0 24px; } .hero__img { border-radius: 16px; } }
@media (max-width: 479px) {
  .hero__ctas { flex-direction: column; margin-bottom: 24px; }
  .hero__ctas .btn { width: 100%; }
}

/* Секции */
.sec { padding: var(--sec) 0; }
.sec--light { background: var(--light); }
.sec--top { padding-bottom: calc(var(--sec) / 2); }
.sec--bottom { padding-top: calc(var(--sec) / 2); }
.sec--dark { background: var(--bg); color: var(--ink); }
.head { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 56px; text-align: center; }
.head .h2 { max-width: 860px; }
.sec--dark .h2 { color: var(--ink); }
@media (max-width: 639px) { .head { margin-bottom: 36px; } }

/* Карточки */
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: var(--card-pad);
  background: var(--light-2); border: 1px solid var(--light-line); border-radius: 20px; overflow: hidden; }
.card__title { font-size: 21px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink-dark); }
.card__title--lg { font-size: 24px; }
.card__text { font-size: 15px; line-height: 1.55; color: var(--body); }
.card--blue { background: var(--blue); border-color: var(--blue); gap: 16px; }
.card--blue .card__title { color: #fff; }
.card--blue .card__text { color: rgba(255,255,255,0.85); }
.num { font: 500 13px/1.2 var(--mono); color: var(--green-deep); }
@media (max-width: 639px) { .card__title--lg { font-size: 20px; } }

.why { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.why__where { gap: 0; }
.why__where .card__title { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--light-3); border: 1px solid var(--light-line);
  font-size: 14px; font-weight: 500; line-height: 1.3; }
.chips .chip--muted { background: #fff; color: var(--mute-l); }
.result { margin-top: auto; padding: 16px; border-radius: 14px; background: rgba(255,255,255,0.12); }
.result__label { margin-bottom: 6px; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.result__text { font-size: 18px; font-weight: 500; line-height: 1.3; color: #fff; }
@media (max-width: 959px) { .why { grid-template-columns: 1fr; } }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 959px) { .grid3 { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .grid3 { gap: 12px; } }

.banner { display: grid; grid-template-columns: 0.42fr 0.58fr; align-items: stretch; margin-top: 56px;
  background: #fff; border: 1px solid var(--light-line); border-radius: 20px; overflow: hidden; }
.banner__img { width: 100%; height: 100%; object-fit: cover; }
.banner__text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; padding: 40px; }
.banner__title { font-size: 32px; line-height: 1.2; letter-spacing: -0.02em; }
@media (max-width: 959px) { .banner__title { font-size: 24px; } }
@media (max-width: 639px) {
  .banner { grid-template-columns: 1fr; margin-top: 36px; }
  .banner__img { aspect-ratio: 3 / 2; }
  .banner__text { padding: 24px; }
  .banner__title { font-size: 22px; }
}
@media (max-width: 479px) { .banner__text .btn { width: 100%; } }

/* Курс и программа интенсива */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: var(--card-pad); background: var(--bg-card);
  border: 1px solid var(--line); border-radius: 20px; }
.stat__n { font-size: 72px; font-weight: 300; line-height: 1; letter-spacing: -0.03em; color: var(--green); }
.stat__l { font-size: 15px; line-height: 1.3; color: var(--mute); }
@media (max-width: 1199px) { .stat__n { font-size: 56px; } }
@media (max-width: 479px) { .stats { gap: 8px; } .stat { padding: 14px; border-radius: 14px; } .stat__n { font-size: 36px; } .stat__l { font-size: 12px; } }

.plan__title { margin: 56px 0 24px; font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.plan { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.plan__item { display: flex; gap: 20px; padding: var(--card-pad); background: var(--bg-card); border: 1px solid var(--line); border-radius: 20px; }
.plan__n { flex: none; font: 500 13px/1.6 var(--mono); color: var(--green); }
.plan__h { margin-bottom: 8px; font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.plan__p { font-size: 15px; line-height: 1.55; color: var(--mute); }
.plan__note { margin-top: 24px; font-size: 15px; }
@media (max-width: 639px) { .plan { grid-template-columns: 1fr; gap: 12px; } .plan__title { margin: 40px 0 20px; font-size: 20px; } .plan__h { font-size: 18px; } .plan__item { gap: 14px; } }

.mod { padding: 0; gap: 0; }
.mod__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mod__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.mod__label { font: 500 12px/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-deep); }
.mod .card__title { font-size: 22px; }
.bonus { padding: 14px; border-radius: 12px; background: var(--mint); font-size: 14px; font-weight: 500; line-height: 1.45; }
@media (min-width: 640px) and (max-width: 959px) {
  .mod { flex-direction: row; }
  .mod__img { width: 240px; aspect-ratio: auto; }
}
@media (max-width: 639px) { .mod__body { padding: 20px; } .mod .card__title { font-size: 20px; } .mod__img { aspect-ratio: 16 / 10; } }

.process { align-items: center; gap: 20px; margin-top: 48px; padding: 36px; text-align: center; }
.process__lead { max-width: 760px; font-size: 20px; line-height: 1.35; letter-spacing: -0.01em; }
.pipe { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pipe li { display: inline-flex; align-items: center; gap: 8px; }
.pipe li:not(:last-child)::after { content: "→"; font-size: 16px; color: var(--mute-l); }
.pipe span { padding: 8px 14px; border-radius: 999px; background: var(--light-3); border: 1px solid var(--light-line);
  font-size: 14px; font-weight: 500; line-height: 1.3; }
.pipe li:last-child span { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.process__foot { font-size: 16px; font-weight: 600; }
@media (max-width: 639px) { .process { margin-top: 36px; padding: var(--card-pad); } .process__lead { font-size: 17px; } }

/* Регистрация */
.cta { display: grid; grid-template-columns: 1fr 0.72fr; background: var(--blue); border-radius: 28px; overflow: hidden; }
.cta__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 48px; }
.cta__h { color: #fff; }
.cta__date { margin-bottom: 4px; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,0.16); font-size: 15px; font-weight: 500; color: #fff; }
.cta__img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 959px) { .cta { grid-template-columns: 1fr; } .cta__img { aspect-ratio: 16 / 10; } }
@media (max-width: 639px) { .cta { border-radius: 20px; } .cta__text { padding: 24px; } }
@media (max-width: 479px) { .cta__text .btn { width: 100%; } }

/* Подвал */
.ftr { background: var(--night); color: var(--ink-2); padding: 48px 0 40px; }
.ftr__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.ftr__top > img { height: 28px; width: auto; }
.social { display: flex; gap: 12px; }
.social a { display: flex; padding: 9px; border-radius: 999px; background: rgba(255,255,255,0.06); transition: background 120ms; }
.social a:hover { background: rgba(255,255,255,0.14); }
.social img { width: 22px; height: 22px; border-radius: 6px; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 28px 0; font-size: 14px; }
.ftr__links a { text-decoration: none; }
.ftr__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ftr__legal { font-size: 13px; line-height: 1.6; color: var(--mute); }
@media (max-width: 639px) { .ftr__top { flex-direction: column; align-items: flex-start; } }
@media (max-width: 479px) { .ftr__links { flex-direction: column; } }

/* Попап регистрации */
.reg { width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px;
  background: var(--bg-card); color: var(--ink); box-shadow: 0 24px 80px rgba(0,0,0,0.5); }
.reg::backdrop { background: rgba(5,5,7,0.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.reg__form { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px; }
.reg__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.06); color: var(--ink-2); font: 400 24px/1 var(--font); cursor: pointer; }
.reg__close:hover { background: rgba(255,255,255,0.14); color: var(--ink); }
.reg__title { font-size: 28px; font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; }
.reg__sub { margin-top: -6px; font-size: 14px; line-height: 1.5; color: var(--mute); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field__opt { font-weight: 400; color: var(--mute); }
.field__input { height: 48px; padding: 0 16px; border: 1px solid rgba(255,255,255,0.14); border-radius: 12px;
  background: var(--bg); color: var(--ink); font: 400 16px/1.2 var(--font); }
.field__input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(15,229,86,0.2); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--mute); }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }
.consent a { color: var(--ink-2); text-underline-offset: 2px; }
.reg__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reg__error { padding: 10px 14px; border-radius: 10px; background: rgba(216,0,39,0.14); color: #FF8898; font-size: 14px; }
.reg__submit { width: 100%; margin-top: 4px; }
.reg__submit:disabled { opacity: 0.6; cursor: progress; }
@media (max-width: 479px) { .reg__form { padding: 24px 20px; } .reg__title { font-size: 24px; } }

/* Страница успеха */
.done { min-height: calc(100dvh - 72px); display: flex; align-items: center; }
.done__card { width: 100%; max-width: 784px; margin: 0 auto; }
.done__title { margin: 20px 0 16px; }
.done__lead { font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.done__access { margin-top: 32px; padding: 24px; border-radius: 20px; background: var(--blue); }
.done__date { font-size: 28px; font-weight: 500; letter-spacing: -0.01em; color: #fff; }
.done__access p:last-child { margin-top: 8px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.88); }
.done__steps { margin-top: 16px; }
.done__note { margin-top: 24px; font-size: 14px; line-height: 1.55; color: var(--mute); }
.done__back { margin-top: 28px; }
@media (max-width: 639px) { .done__lead { font-size: 16px; } .done__date { font-size: 22px; } .done__access { padding: 20px; } }
@media (max-width: 479px) { .done__back { width: 100%; height: auto; min-height: 52px; padding: 14px 20px; white-space: normal; text-align: center; } }

/* Дата старта в первом экране */
.start { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; padding: 10px 20px 10px 10px;
  border-radius: 999px; background: rgba(15,229,86,0.1); border: 1px solid rgba(15,229,86,0.35); }
.start__label { padding: 6px 12px; border-radius: 999px; background: var(--green); color: var(--green-ink);
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.start__date { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.hero .start + .hero__sub { margin-top: 20px; }
@media (max-width: 479px) { .start { margin-top: 18px; } .start__date { font-size: 18px; } }

/* Баннер cookie */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; display: flex; align-items: center; gap: 16px 24px;
  max-width: 880px; margin: 0 auto; padding: 16px 20px; border-radius: 16px; background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 12px 40px rgba(0,0,0,0.4); color: var(--ink-2); }
.cookie[hidden] { display: none; }
.cookie__text { font-size: 13px; line-height: 1.5; }
.cookie__text a { color: var(--ink); text-underline-offset: 2px; }
.cookie__actions { display: flex; flex: none; gap: 8px; }
@media (max-width: 639px) {
  .cookie { flex-direction: column; align-items: stretch; left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .cookie__actions .btn { flex: 1; }
}
