@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  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: "Unbounded";
  src: url("../fonts/unbounded-cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  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: #080c11;
  --bg-soft: #0d141d;
  --card: #111a25;
  --card-2: #16212f;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f7fb;
  --muted: #9aa8bb;
  --accent: #45e0b1;
  --accent-dark: #0f8a6a;
  --accent-2: #7f9cff;
  --warning: #ffbf5a;
  --danger: #ff7d7d;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --container: 1180px;
  --header-height: 76px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(69, 224, 177, 0.12), transparent 60%),
    radial-gradient(800px 500px at 0% 10%, rgba(127, 156, 255, 0.1), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(69, 224, 177, 0.32);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 40px, 820px);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: #04120d;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(8, 12, 17, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(8, 12, 17, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent), #2bbd93);
  color: #04120d;
  box-shadow: 0 8px 24px rgba(69, 224, 177, 0.25);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-name {
  font-size: 18px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
  margin: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: linear-gradient(145deg, var(--accent), #2cc797);
  color: #04120d;
  box-shadow: 0 12px 32px rgba(69, 224, 177, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 16px 38px rgba(69, 224, 177, 0.32);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.btn-soft {
  border-color: rgba(69, 224, 177, 0.25);
  background: rgba(69, 224, 177, 0.09);
  color: #b9f7e4;
}

.btn-danger {
  border-color: rgba(255, 125, 125, 0.3);
  background: rgba(255, 125, 125, 0.1);
  color: #ffd2d2;
}

.btn-block {
  width: 100%;
}

.btn-lg {
  min-height: 54px;
  padding: 15px 26px;
  border-radius: 15px;
  font-size: 15px;
}

.link-muted {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.link-muted:hover {
  color: var(--text);
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(69, 224, 177, 0.25);
  border-radius: 999px;
  background: rgba(69, 224, 177, 0.08);
  color: #b9f7e4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow svg {
  width: 15px;
  height: 15px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 74px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0, transparent 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}

.hero h1 {
  max-width: 760px;
  margin-top: 22px;
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-lead {
  max-width: 590px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.hero-note svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.hero-panel {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(500px 280px at 100% 0%, rgba(69, 224, 177, 0.16), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border-radius: 22px;
  background: var(--card);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(69, 224, 177, 0.12);
  color: #b9f7e4;
  font-size: 12px;
  font-weight: 700;
}

.panel-badge svg {
  width: 14px;
  height: 14px;
}

.panel-shield {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  margin: 0 auto 22px;
  border: 1px solid rgba(69, 224, 177, 0.28);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, rgba(69, 224, 177, 0.28), rgba(69, 224, 177, 0.03) 70%);
  color: var(--accent);
}

.panel-shield svg {
  width: 54px;
  height: 54px;
}

.panel-list {
  display: grid;
  gap: 12px;
}

.panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 14px;
}

.panel-list svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent);
  flex: none;
}

.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 74px 0;
}

.section.tight {
  padding: 46px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section h2 {
  margin-top: 12px;
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: rgba(69, 224, 177, 0.1);
  color: var(--accent);
}

.card-icon svg {
  width: 21px;
  height: 21px;
}

.card h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lesson-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

a.lesson-card:hover {
  border-color: rgba(69, 224, 177, 0.35);
  background: rgba(69, 224, 177, 0.05);
  transform: translateY(-2px);
}

.lesson-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--accent);
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.lesson-card h3 {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.lesson-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.lesson-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.lesson-meta svg {
  width: 14px;
  height: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.badge-free {
  background: rgba(69, 224, 177, 0.12);
  color: #b9f7e4;
}

.badge-lock {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.badge-demo {
  background: rgba(255, 191, 90, 0.12);
  color: var(--warning);
}

.badge-paid {
  background: rgba(69, 224, 177, 0.12);
  color: #b9f7e4;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.step h3 {
  font-size: 17px;
  font-weight: 800;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(69, 224, 177, 0.3);
  border-radius: 26px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(69, 224, 177, 0.16), transparent 60%),
    var(--card);
  box-shadow: var(--shadow);
}

.pricing-card h3 {
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 6px;
}

.price strong {
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.price span {
  color: var(--muted);
  font-size: 13px;
}

.pricing-note {
  color: var(--warning);
  font-size: 13px;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 24px 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d7e0ec;
  font-size: 14px;
}

.check-list svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent);
  flex: none;
}

.pricing-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--bg-soft);
}

.pricing-side blockquote {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
}

.pricing-side cite {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.mini-list {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.mini-list li {
  display: flex;
  gap: 9px;
}

.mini-list svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--accent);
  flex: none;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.2s ease;
  flex: none;
}

.faq details[open] summary svg {
  transform: rotate(180deg);
}

.faq details p {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 14px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 44px;
  border: 1px solid rgba(69, 224, 177, 0.26);
  border-radius: 28px;
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(69, 224, 177, 0.18), transparent 60%),
    linear-gradient(140deg, #101d22, #0b1219);
}

.cta-band h2 {
  max-width: 720px;
}

.cta-band p {
  max-width: 620px;
  margin-top: 12px;
  color: var(--muted);
}

.cta-band .btn {
  margin-top: 24px;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 12, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.7fr));
  gap: 32px;
  padding: 48px 0 34px;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.footer-brand .footer-legal {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
}

.footer-brand .footer-legal a {
  color: #c8d3e1;
}

.footer-brand .footer-legal a:hover {
  color: var(--accent);
}

.footer-col h3 {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col ul {
  display: grid;
  gap: 9px;
  font-size: 13px;
}

.footer-col a {
  color: #c8d3e1;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom a {
  color: var(--muted);
}

.footer-bottom a:hover {
  color: var(--text);
}

.page-hero {
  padding: 56px 0 34px;
}

.page-hero h1 {
  max-width: 900px;
  margin-top: 16px;
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.page-hero p {
  max-width: 720px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs a:hover {
  color: var(--text);
}

.breadcrumbs svg {
  width: 13px;
  height: 13px;
}

.layout-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: 28px;
  align-items: start;
}

.panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.panel + .panel {
  margin-top: 16px;
}

.panel h2 {
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.panel-lead {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(69, 224, 177, 0.6);
  background: rgba(69, 224, 177, 0.04);
  outline: none;
}

.field input::placeholder {
  color: #64748b;
}

.field-hint {
  color: var(--muted);
  font-size: 12px;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex: none;
}

.checkbox a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
}

.form-error {
  display: none;
  padding: 12px 14px;
  border: 1px solid rgba(255, 125, 125, 0.3);
  border-radius: 12px;
  background: rgba(255, 125, 125, 0.08);
  color: #ffd2d2;
  font-size: 13px;
}

.form-error.is-visible {
  display: block;
}

.form-success {
  display: none;
  padding: 12px 14px;
  border: 1px solid rgba(69, 224, 177, 0.3);
  border-radius: 12px;
  background: rgba(69, 224, 177, 0.08);
  color: #b9f7e4;
  font-size: 13px;
}

.form-success.is-visible {
  display: block;
}

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--bg-soft);
}

.tab {
  padding: 9px 18px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.tab[aria-selected="true"] {
  background: var(--card-2);
  color: var(--text);
}

.auth-page {
  padding: 46px 0 70px;
}

.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 40px;
  align-items: start;
}

.auth-aside {
  padding-top: 20px;
}

.auth-aside h1 {
  margin-top: 18px;
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -0.03em;
}

.auth-aside p {
  max-width: 520px;
  margin-top: 16px;
  color: var(--muted);
}

.auth-benefits {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.auth-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #cfd9e6;
  font-size: 14px;
}

.auth-benefits svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent);
  flex: none;
}

.summary-card {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.summary-card h2 {
  font-size: 18px;
}

.summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.summary-row span:first-child {
  color: var(--muted);
}

.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0 8px;
  font-size: 15px;
  font-weight: 800;
}

.summary-total strong {
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.summary-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 191, 90, 0.25);
  border-radius: 13px;
  background: rgba(255, 191, 90, 0.07);
  color: #ffe2b0;
  font-size: 13px;
}

.notice svg {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: none;
}

.notice.ok {
  border-color: rgba(69, 224, 177, 0.25);
  background: rgba(69, 224, 177, 0.07);
  color: #b9f7e4;
}

.notice.error {
  border-color: rgba(255, 125, 125, 0.25);
  background: rgba(255, 125, 125, 0.07);
  color: #ffd2d2;
}

.lesson-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 70px;
}

.lesson-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  max-height: calc(100vh - var(--header-height) - 36px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  scrollbar-width: thin;
}

.lesson-sidebar h2 {
  padding: 4px 8px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.lesson-nav {
  display: grid;
  gap: 3px;
}

.lesson-nav a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  color: #c8d3e1;
  font-size: 13px;
  line-height: 1.4;
}

.lesson-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
}

.lesson-nav a.is-active {
  background: rgba(69, 224, 177, 0.1);
  color: #d9fff3;
}

.lesson-nav .num {
  min-width: 20px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  padding-top: 2px;
}

.lesson-nav a.is-active .num {
  color: var(--accent);
}

.lesson-nav .lock {
  width: 13px;
  height: 13px;
  margin-left: auto;
  margin-top: 3px;
  color: var(--muted);
  flex: none;
}

.lesson-main {
  min-width: 0;
}

.lesson-header {
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(69, 224, 177, 0.1), transparent 65%),
    var(--card);
}

.lesson-header h1 {
  margin-top: 12px;
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.lesson-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.lesson-meta-line span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lesson-meta-line svg {
  width: 15px;
  height: 15px;
}

.prose {
  padding: 32px 34px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 16px;
  line-height: 1.78;
  color: #dbe4ef;
}

.prose > * + * {
  margin-top: 18px;
}

.prose h1 {
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

.prose h2 {
  margin-top: 34px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.prose h3 {
  margin-top: 26px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.prose ul,
.prose ol {
  display: grid;
  gap: 9px;
  padding-left: 24px;
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li::marker {
  color: var(--accent);
}

.prose strong {
  color: var(--text);
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose blockquote {
  margin: 22px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: rgba(69, 224, 177, 0.06);
  color: #cfe9e1;
}

.prose code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.9em;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
}

.lesson-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.locked-panel {
  padding: 40px 34px;
  border: 1px solid rgba(255, 191, 90, 0.24);
  border-radius: var(--radius);
  background:
    radial-gradient(500px 220px at 50% 0%, rgba(255, 191, 90, 0.1), transparent 70%),
    var(--card);
  text-align: center;
}

.locked-panel .lock-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  border: 1px solid rgba(255, 191, 90, 0.3);
  border-radius: 50%;
  background: rgba(255, 191, 90, 0.08);
  color: var(--warning);
}

.locked-panel .lock-icon svg {
  width: 28px;
  height: 28px;
}

.locked-panel h2 {
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 600;
}

.locked-panel p {
  max-width: 520px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.locked-panel .btn {
  margin-top: 22px;
}

.status-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--card);
  text-align: center;
}

.status-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(69, 224, 177, 0.1);
  color: var(--accent);
}

.status-icon.warn {
  background: rgba(255, 191, 90, 0.1);
  color: var(--warning);
}

.status-icon.error {
  background: rgba(255, 125, 125, 0.1);
  color: var(--danger);
}

.status-icon svg {
  width: 34px;
  height: 34px;
}

.status-card h1 {
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: clamp(25px, 4vw, 34px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.status-card p {
  margin-top: 14px;
  color: var(--muted);
}

.status-card .summary-row {
  text-align: left;
}

.status-card .btn {
  margin-top: 22px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding-bottom: 70px;
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.legal-nav h2 {
  padding: 4px 8px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-nav a {
  display: block;
  padding: 9px 10px;
  border-radius: 9px;
  color: #c8d3e1;
  font-size: 13px;
}

.legal-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
}

.legal-doc {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.legal-doc h2 {
  margin-top: 38px;
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc h3 {
  margin-top: 24px;
  font-size: 16px;
  font-weight: 800;
}

.legal-doc p,
.legal-doc li {
  margin-top: 10px;
  color: #b9c6d6;
  font-size: 14px;
}

.legal-doc ul,
.legal-doc ol {
  display: grid;
  gap: 6px;
  padding-left: 22px;
  list-style: disc;
}

.legal-doc ol {
  list-style: decimal;
}

.legal-doc .requisites {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
}

.legal-doc .requisites div {
  font-size: 13px;
}

.legal-doc .requisites span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-doc .requisites strong {
  font-weight: 700;
}

.empty-state {
  padding: 44px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}

.skeleton {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  max-width: min(380px, calc(100vw - 40px));
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: #1a2532;
  color: var(--text);
  font-size: 13px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  border-color: rgba(255, 125, 125, 0.35);
}

.toast.ok {
  border-color: rgba(69, 224, 177, 0.35);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .hero-panel {
    max-width: 560px;
  }
  .cards,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing,
  .layout-split,
  .auth-grid {
    grid-template-columns: 1fr;
  }
  .summary-card {
    position: static;
  }
  .lesson-layout {
    grid-template-columns: 1fr;
  }
  .lesson-sidebar {
    position: static;
    max-height: none;
  }
  .lesson-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-nav {
    position: static;
  }
  .legal-nav nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100vh - var(--header-height));
    overflow: auto;
    padding: 18px 20px 26px;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 12, 17, 0.98);
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav a {
    padding: 12px;
    border-radius: 10px;
    font-size: 16px;
  }
  .main-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
  }
  .nav-toggle {
    display: grid;
    place-items: center;
  }
  .header-inner {
    gap: 14px;
  }
  .brand-name {
    max-width: 96px;
    font-size: 15px;
    line-height: 1.05;
    white-space: normal;
  }
  .header-actions .link-muted {
    display: none;
  }
  .header-actions .btn-ghost span {
    display: none;
  }
  .header-actions .btn-ghost {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    justify-content: center;
    padding: 9px;
  }
  .header-actions .btn-primary {
    min-height: 42px;
    padding: 9px 14px;
    font-size: 13px;
  }
  .hero {
    padding-top: 58px;
  }
  .hero-stats {
    gap: 10px;
  }
  .stat strong {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .container,
  .container.narrow {
    width: min(100% - 28px, var(--container));
  }
  .header-inner {
    gap: 10px;
  }
  .brand-name {
    max-width: 78px;
    font-size: 13px;
  }
  .hero h1 {
    font-size: clamp(30px, 10vw, 42px);
  }
  .hero-lead {
    font-size: 16px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cards,
  .steps,
  .program-grid,
  .lesson-nav {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 54px 0;
  }
  .pricing-card,
  .pricing-side,
  .panel,
  .prose,
  .lesson-header,
  .legal-doc,
  .status-card,
  .cta-band {
    padding: 22px;
  }
  .cta-band h2 {
    font-size: 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .legal-doc .requisites {
    grid-template-columns: 1fr;
  }
  .lesson-footer .btn {
    width: 100%;
  }
  .form-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .header-actions .btn-primary {
    display: none;
  }
  .brand {
    gap: 8px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
}
