body {
  font-family: 'Golos Text', system-ui, sans-serif;
  background: #fff;
}

/* ── Sections ─────────────────────────────────────── */
.l-section {
  padding: 5rem 1.5rem;
}
@media (min-width: 768px) {
  .l-section { padding: 6.5rem 2rem; }
}

/* ── Section heading + supporting line (no eyebrows) ── */
.l-h2 {
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: #0f1115;
}
.l-h2 { text-wrap: balance; }
.l-sub {
  margin-top: 0.75rem;
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #525866;
}

/* ── Hero grid ────────────────────────────────────── */
.l-hero-bg {
  background: #fafaf8;
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.l-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(28,27,25,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28,27,25,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.l-hero-bg > * { position: relative; z-index: 1; }
@media (min-width: 768px) {
  .l-hero-bg { padding-top: 7.5rem; padding-bottom: 7rem; }
}

/* ── Hero headline accent ─────────────────────────── */
.l-hero-h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #0f1115;
}
@media (min-width: 640px) {
  .l-hero-h1 { font-size: 3.75rem; }
}
.l-hero-h1 em {
  font-style: normal;
  color: #4f46e5;
}

/* ── Screenshot placeholder (real shots drop in later) ── */
.l-shot {
  border-radius: 0.75rem;
  border: 1px solid #e8e6e1;
  background: #fff;
  overflow: hidden;
}
.l-shot-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.85rem;
  background: #f5f4f0;
  border-bottom: 1px solid #e8e6e1;
}
.l-shot-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #d4d1c8;
}
.l-shot-frame {
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: #b8b5ad;
  background-image:
    linear-gradient(to right, rgba(28,27,25,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28,27,25,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}
.l-shot-frame svg { width: 2.25rem; height: 2.25rem; stroke-width: 1.25; }
.l-shot-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #8b8fa3;
  letter-spacing: 0.01em;
}
/* dark variant (hero) */
.l-shot--dark { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); }
.l-shot--dark .l-shot-bar { background: rgba(255,255,255,0.04); border-bottom-color: rgba(255,255,255,0.08); }
.l-shot--dark .l-shot-dot { background: rgba(255,255,255,0.16); }
.l-shot--dark .l-shot-frame {
  color: #4b4f57;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
}
.l-shot--dark .l-shot-label { color: #62666d; }

/* ── Hero product mock (staged course builder) ─────── */
.l-hero-shot { position: relative; }
.l-hero-shot-glow {
  position: absolute; inset: -22% -8% -22% -4%; z-index: 0; pointer-events: none;
  background: radial-gradient(58% 56% at 50% 42%, rgba(94,106,210,0.40), rgba(94,106,210,0.06) 56%, transparent 72%);
  filter: blur(38px);
}
.l-mock {
  position: relative; z-index: 1;
  border-radius: 0.9rem;
  background: #fbfbfa;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 34px 64px -22px rgba(0,0,0,0.66),
    0 14px 28px -14px rgba(0,0,0,0.5);
  overflow: hidden;
}
.l-mock-bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 0.85rem; background: #f1f0ec; border-bottom: 1px solid #e6e4df;
}
.l-mock-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #cfccc3; }
.l-mock-bar-url {
  margin-left: 0.55rem; font-size: 0.6875rem; color: #a09d93; font-weight: 500;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; letter-spacing: -0.01em;
}
.l-mock-body { padding: 1.3rem 1.4rem 1.55rem; }
.l-mock-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.l-mock-title { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; color: #16181d; line-height: 1.1; }
.l-mock-sub { margin-top: 0.32rem; font-size: 0.8125rem; color: #8b8a82; }
.l-mock-edit { flex-shrink: 0; font-size: 0.75rem; font-weight: 500; color: #4f46e5; white-space: nowrap; margin-top: 0.15rem; }
.l-mock-modules { margin-top: 1.15rem; display: flex; flex-direction: column; gap: 0.65rem; }
.l-mock-mod { border: 1px solid #e8e6e1; border-radius: 0.75rem; background: #fff; }
.l-mock-mod-head { display: flex; align-items: center; gap: 0.55rem; padding: 0.72rem 0.85rem; }
.l-mock-grip { color: #d2cfc4; flex-shrink: 0; }
.l-mock-chev { color: #9a978e; width: 0.9rem; height: 0.9rem; flex-shrink: 0; }
.l-mock-mod--collapsed .l-mock-chev { transform: rotate(-90deg); }
.l-mock-mod-name { font-size: 0.875rem; font-weight: 700; color: #23252b; }
.l-mock-badge { font-size: 0.6875rem; font-weight: 600; color: #8b8a82; background: #f3f2ee; border-radius: 0.3rem; padding: 0.05rem 0.42rem; }
.l-mock-mod--collapsed .l-mock-lessons { display: none; }
.l-mock-lessons { padding: 0 0.85rem 0.45rem 2.15rem; display: flex; flex-direction: column; }
.l-mock-lesson { display: flex; align-items: center; gap: 0.5rem; padding: 0.44rem 0; font-size: 0.8125rem; color: #3f4148; }
.l-mock-file { color: #b4b1a7; flex-shrink: 0; }
.l-mock-quiz {
  margin-left: auto; display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.625rem; font-weight: 600; color: #4f46e5; background: #eef2ff;
  border-radius: 0.3rem; padding: 0.12rem 0.42rem;
}
.l-mock-quiz svg { width: 0.7rem; height: 0.7rem; stroke-width: 2.2; }
.l-mock-add { display: flex; align-items: center; gap: 0.42rem; padding: 0.5rem 0 0.15rem; font-size: 0.75rem; color: #b0ada3; }
.l-mock-add svg { width: 0.85rem; height: 0.85rem; stroke-width: 2; }
.l-mock-add-mod {
  margin-top: 0.65rem; display: flex; align-items: center; gap: 0.5rem; justify-content: center;
  padding: 0.72rem; border: 1px dashed #d8d5cc; border-radius: 0.75rem; font-size: 0.8125rem; color: #b0ada3;
}
.l-mock-add-mod svg { width: 0.9rem; height: 0.9rem; stroke-width: 2; }

/* ── Lifted screenshot on light sections ──────────── */
.l-shot-lift { position: relative; }
.l-shot-lift-glow {
  position: absolute; inset: -10% -6% 2%; z-index: 0; pointer-events: none;
  background: radial-gradient(58% 60% at 50% 28%, rgba(94,106,210,0.12), rgba(94,106,210,0.03) 55%, transparent 72%);
  filter: blur(34px);
}
.l-shot-lift .l-shot {
  position: relative; z-index: 1;
  border-color: #e6e4df;
  box-shadow:
    0 30px 60px -26px rgba(15,17,21,0.30),
    0 12px 24px -16px rgba(15,17,21,0.18);
}
.l-shot-lift .l-shot img { display: block; width: 100%; height: auto; }

/* ── Platform mock (student/author view) ──────────── */
.l-pmock { background: #fff; }
.l-pmock-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.65rem 1.1rem; border-bottom: 1px solid #eef0f2;
}
.l-pmock-brand { font-size: 0.8125rem; font-weight: 700; color: #0f172a; letter-spacing: -0.01em; }
.l-pmock-nav { display: flex; gap: 1.1rem; align-items: center; }
.l-pmock-nav span { font-size: 0.6875rem; color: #64748b; }
.l-pmock-nav .on { color: #4f46e5; font-weight: 600; }
.l-pmock-ava { width: 1.55rem; height: 1.55rem; border-radius: 50%; background: #c7d2fe; }

.l-pmock-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .l-pmock-grid { grid-template-columns: 12.5rem 1fr 12.5rem; } }
.l-pmock-side { padding: 1.05rem 1rem; border-bottom: 1px solid #eef0f2; }
.l-pmock-rail { padding: 1.05rem 1rem; border-top: 1px solid #eef0f2; }
@media (min-width: 768px) {
  .l-pmock-side { border-bottom: none; border-right: 1px solid #eef0f2; }
  .l-pmock-rail { border-top: none; border-left: 1px solid #eef0f2; }
}
@media (max-width: 767px) { .l-pmock-side, .l-pmock-rail { display: none; } }
.l-pmock-main { padding: 1.15rem 1.3rem 1.45rem; }

/* sidebar — course + progress + lessons */
.l-pmock-ctitle { font-size: 0.8125rem; font-weight: 700; color: #0f172a; line-height: 1.3; }
.l-pmock-prog-row { display: flex; justify-content: space-between; font-size: 0.625rem; color: #64748b; margin: 0.7rem 0 0.3rem; }
.l-pmock-prog-bar { height: 0.3rem; border-radius: 999px; background: #eef0f2; overflow: hidden; }
.l-pmock-prog-fill { height: 100%; width: 43%; border-radius: 999px; background: #4f46e5; }
.l-pmock-mtitle { margin-top: 1.05rem; font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.07em; color: #94a3b8; }
.l-pmock-litem { display: flex; align-items: center; gap: 0.5rem; padding: 0.33rem 0; font-size: 0.6875rem; color: #475569; }
.l-pmock-litem.done { color: #94a3b8; }
.l-pmock-litem.cur { color: #0f172a; font-weight: 600; }
.l-pmock-tick { width: 0.9rem; height: 0.9rem; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.l-pmock-tick.done { background: #4f46e5; color: #fff; }
.l-pmock-tick.cur { border: 2px solid #4f46e5; }
.l-pmock-tick.todo { border: 1.5px solid #cbd5e1; }
.l-pmock-tick svg { width: 0.5rem; height: 0.5rem; stroke-width: 3.5; }

/* main — lesson + video + note */
.l-pmock-crumb { font-size: 0.625rem; color: #94a3b8; }
.l-pmock-ltitle { margin-top: 0.3rem; font-size: 1.1rem; font-weight: 700; color: #0f172a; letter-spacing: -0.015em; line-height: 1.2; }
.l-pmock-video {
  margin-top: 0.95rem; aspect-ratio: 16 / 9; border-radius: 0.6rem; position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 30% 20%, #2a2740, #0f172a 70%);
  display: flex; align-items: center; justify-content: center;
}
.l-pmock-play { width: 2.7rem; height: 2.7rem; border-radius: 50%; background: rgba(255,255,255,0.94); display: flex; align-items: center; justify-content: center; }
.l-pmock-play svg { width: 1rem; height: 1rem; fill: #0f172a; margin-left: 2px; }
.l-pmock-vbar { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.65rem; height: 0.25rem; border-radius: 999px; background: rgba(255,255,255,0.22); overflow: hidden; }
.l-pmock-vbar i { display: block; height: 100%; width: 34%; background: #818cf8; border-radius: 999px; }
.l-pmock-note-h { margin-top: 1.05rem; font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.07em; color: #94a3b8; margin-bottom: 0.5rem; }
.l-pmock-line { height: 0.46rem; border-radius: 999px; background: #eef0f2; margin-bottom: 0.4rem; }

/* right rail — события + обсуждения */
.l-pmock-rail-h { font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.07em; color: #94a3b8; margin-bottom: 0.5rem; }
.l-pmock-rail-h + .l-pmock-rail-h { margin-top: 1.15rem; }
.l-pmock-event { border: 1px solid #eef0f2; border-radius: 0.5rem; padding: 0.55rem 0.6rem; }
.l-pmock-event-date { font-size: 0.5625rem; font-weight: 700; color: #4f46e5; }
.l-pmock-event-title { font-size: 0.6875rem; color: #334155; margin-top: 0.18rem; line-height: 1.35; }
.l-pmock-disc { display: flex; gap: 0.5rem; }
.l-pmock-disc-ava { width: 1.45rem; height: 1.45rem; border-radius: 50%; flex-shrink: 0; background: #99f6e4; }
.l-pmock-disc-name { font-size: 0.6875rem; font-weight: 600; color: #0f172a; }
.l-pmock-disc-text { font-size: 0.6875rem; color: #64748b; line-height: 1.4; margin-top: 0.12rem; }
.l-pmock-disc-meta { font-size: 0.5625rem; color: #94a3b8; margin-top: 0.25rem; }

/* ── Feature grid (capabilities) ──────────────────── */
.l-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .l-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .l-feature-grid { grid-template-columns: repeat(3, 1fr); } }
/* 2x2 variant for sections with four cards (avoids an orphan card in the 3-col grid) */
@media (min-width: 1024px) { .l-feature-grid--two { grid-template-columns: repeat(2, 1fr); } }
.l-feature-card .l-icon { margin-bottom: 0.875rem; }
.l-feature-card-title { font-size: 0.9375rem; font-weight: 600; color: #1c1b19; }
.l-feature-card-desc { font-size: 0.8125rem; color: #525866; line-height: 1.5; margin-top: 0.35rem; }

/* ── What you get (deliverables) ──────────────────── */
.l-get-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem 2.75rem;
  margin-top: 2.5rem;
}
@media (min-width: 700px) { .l-get-grid { grid-template-columns: 1fr 1fr; } }
.l-get-item { display: flex; gap: 0.8rem; align-items: flex-start; }
.l-get-check {
  flex-shrink: 0; width: 1.5rem; height: 1.5rem; margin-top: 0.1rem;
  border-radius: 0.5rem; background: #eef2ff; color: #4f46e5;
  display: flex; align-items: center; justify-content: center;
}
.l-get-check svg { width: 0.9rem; height: 0.9rem; stroke-width: 2.4; fill: none; }
.l-get-title { font-size: 0.9375rem; font-weight: 600; color: #1c1b19; }
.l-get-desc { font-size: 0.875rem; color: #525866; line-height: 1.5; margin-top: 0.2rem; }

/* Section alternation */
.l-section-alt {
  background: #fafaf8;
}

/* ── Feature cards (secondary row) ────────────────── */
.l-feature-card {
  padding: 1.75rem;
  border-radius: 0.75rem;
  border: 1px solid #e8e6e1;
  background: #fff;
}

/* ── Icon containers ──────────────────────────────── */
.l-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.l-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 1.5;
  fill: none;
}


/* ── Shift (old → new, tech-spec table) ───────────── */
.l-shift { margin-top: 2.75rem; border-top: 1px solid #1c1b19; }
.l-shift-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 0.4rem 2rem;
  align-items: baseline;
  padding: 1.4rem 0;
  border-bottom: 1px solid #e8e6e1;
}
.l-shift-dim {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em;
  color: #8b8fa3;
}
.l-shift-old {
  font-size: 0.9375rem; line-height: 1.5; color: #9aa0a9;
  text-decoration: line-through; text-decoration-color: #d4d1c8;
  text-decoration-thickness: 1px;
}
.l-shift-new {
  font-size: 1rem; line-height: 1.5; color: #0f1115; font-weight: 500;
  display: flex; gap: 0.55rem; align-items: baseline;
}
.l-shift-new svg {
  flex-shrink: 0; width: 0.85rem; height: 0.85rem; color: #4f46e5;
  align-self: center;
}
.l-shift-new strong { color: #4f46e5; font-weight: 600; }
@media (max-width: 720px) {
  .l-shift-row { grid-template-columns: 1fr; gap: 0.45rem; padding: 1.2rem 0; }
  .l-shift-old { font-size: 0.875rem; }
}

/* ── Concrete example (было → стало) ──────────────── */
.l-eg-lead { margin-top: 2.75rem; font-size: 0.9375rem; color: #525866; }
.l-eg {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid #e8e6e1;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #fff;
}
@media (min-width: 720px) {
  .l-eg { grid-template-columns: 1fr auto 1fr; }
}
.l-eg-side { padding: 1.5rem 1.6rem; }
.l-eg-side--new { background: #fbfaff; }
.l-eg-cap {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em;
  color: #8b8fa3; margin-bottom: 0.95rem;
}
.l-eg-side--new .l-eg-cap { color: #4f46e5; }
.l-eg-list { display: flex; flex-direction: column; gap: 0.7rem; }
.l-eg-item { font-size: 0.95rem; line-height: 1.4; color: #6b7280; }
.l-eg-side--new .l-eg-item { color: #0f1115; font-weight: 500; }
.l-eg-num {
  color: #4f46e5; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.l-eg-arrow {
  display: flex; align-items: center; justify-content: center;
  color: #c7cdd6;
  border-left: 1px solid #e8e6e1; border-right: 1px solid #e8e6e1;
}
.l-eg-arrow svg { width: 1.3rem; height: 1.3rem; }
@media (max-width: 719px) {
  .l-eg-side { border-bottom: 1px solid #e8e6e1; }
  .l-eg-side--new { border-bottom: none; }
  .l-eg-arrow {
    border: none; border-bottom: 1px solid #e8e6e1; padding: 0.5rem 0;
  }
  .l-eg-arrow svg { transform: rotate(90deg); }
}

/* ── CTA section ──────────────────────────────────── */

/* ── Header scroll shadow ─────────────────────────── */
.l-header-shadow {
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}


/* ── FAQ (details accordion) ──────────────────────── */
.l-faq {
  margin-top: 2.5rem;
  border-top: 1px solid #e8e6e1;
}
.l-faq-item {
  border-bottom: 1px solid #e8e6e1;
}
.l-faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #0f1115;
  line-height: 1.4;
}
.l-faq-q::-webkit-details-marker { display: none; }
.l-faq-chevron {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  color: #8b8fa3;
  margin-top: 0.12rem;
}
.l-faq-item[open] .l-faq-chevron { transform: rotate(180deg); color: #4f46e5; }
.l-faq-a {
  margin: -0.2rem 0 1.4rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #525866;
  max-width: 62ch;
  padding-right: 2rem;
}
.l-faq-a strong { color: #1c1b19; font-weight: 600; }

.l-faq-contact {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: #525866;
}
.l-faq-contact a {
  font-weight: 600;
  color: #4f46e5;
  transition: color 0.15s ease;
}
.l-faq-contact a:hover { color: #4338ca; }

/* ── Footer ────────────────────────────────────── */
.l-footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto auto 1fr;
  gap: 2rem;
  align-items: start;
}
.l-footer-grid > :last-child { text-align: right; }
@media (max-width: 767px) {
  .l-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .l-footer-grid > :last-child { text-align: center; }
}

/* ── AI section ───────────────────────────────────── */
.l-ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.l-ai-pill::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: currentColor;
}
.l-ai-pill--live { background: #ecfdf5; color: #15803d; }
.l-ai-pill--soon { background: #fffbeb; color: #b45309; }
.l-ai-pill--plan { background: #f4f5f7; color: #8b8fa3; }
/* AI feature pillar grid */
.l-ai-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 640px) { .l-ai-pillars { grid-template-columns: repeat(2, 1fr); } }
.l-ai-pillar {
  padding: 1.5rem;
  border: 1px solid #e8e6e1;
  border-radius: 0.75rem;
  background: #fff;
  display: flex;
  flex-direction: column;
}
/* Lead pillar carries the row, so the three aren't an identical 3-up grid */
.l-ai-pillar--lead {
  grid-column: 1 / -1;
  padding: 1.75rem;
  background: #1c1b19;
  border-color: #2a2825;
}
.l-ai-pillar-icon {
  color: #1c1b19;
  margin-bottom: 0.875rem;
}
.l-ai-pillar-icon svg {
  width: 1.625rem;
  height: 1.625rem;
  stroke-width: 1.5;
  fill: none;
}
.l-ai-pillar--lead .l-ai-pillar-icon { color: #c7d2fe; }
.l-ai-pillar-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1c1b19;
}
.l-ai-pillar--lead .l-ai-pillar-title { font-size: 1.0625rem; color: #fafaf8; }
.l-ai-pillar-body {
  font-size: 0.8125rem;
  color: #525866;
  line-height: 1.55;
  margin-top: 0.4rem;
  flex: 1;
}
.l-ai-pillar--lead .l-ai-pillar-body { font-size: 0.875rem; max-width: 42rem; color: #c9c6c0; }
.l-ai-pillar-status {
  margin-top: 1rem;
}
/* AI roadmap (quiet, demoted from the grid) */
.l-ai-roadmap-head {
  margin-top: 2.75rem;
  font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; color: #1c1b19;
}
.l-ai-roadmap {
  margin-top: 1rem; border: 1px solid #e8e6e1; border-radius: 0.75rem; background: #fff;
}
.l-ai-roadmap-row {
  display: grid; grid-template-columns: 14rem 1fr auto; gap: 0.25rem 1.25rem; align-items: baseline;
  padding: 1rem 1.25rem;
}
.l-ai-roadmap-row + .l-ai-roadmap-row { border-top: 1px solid #eef0f2; }
.l-ai-roadmap-title { font-size: 0.9375rem; font-weight: 600; color: #1c1b19; }
.l-ai-roadmap-desc { font-size: 0.8125rem; color: #525866; line-height: 1.5; }
.l-ai-roadmap-row .l-ai-pill { justify-self: start; align-self: center; }
@media (max-width: 639px) {
  .l-ai-roadmap-row { grid-template-columns: 1fr; }
}
/* AI manifesto strip */
.l-ai-manifesto {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .l-ai-manifesto { grid-template-columns: repeat(3, 1fr); }
}
.l-ai-manifesto-item {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  color: #3d3b37;
  line-height: 1.5;
}
.l-ai-manifesto-item svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  color: #4f46e5;
}
.l-ai-manifesto-item strong {
  color: #1c1b19;
  font-weight: 600;
}
.l-ai-quiz-foot {
  margin-top: 0.625rem;
  padding-top: 0.625rem;
  border-top: 1px dashed #e8e6e1;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: #8b8fa3;
}
/* ── Flow timeline (материалы → сборка → студент) ── */
.l-flow {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  counter-reset: flow;
}
.l-flow-step { position: relative; padding-left: 3.25rem; }
.l-flow-step::before {
  counter-increment: flow;
  content: counter(flow);
  position: absolute; left: 0; top: 0;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: #1c1b19; color: #fff;
  font-size: 0.9rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.l-flow-step--last::before { background: #4f46e5; }
.l-flow-step:not(.l-flow-step--last)::after {
  content: ""; position: absolute;
  left: 1.0625rem; top: 2.25rem; bottom: -1.75rem;
  width: 2px; background: #e8e6e1;
}
.l-flow-title {
  font-size: 1.05rem; font-weight: 600; color: #0f1115;
  letter-spacing: -0.01em; margin-bottom: 0.3rem; line-height: 1.3;
}
.l-flow-body { font-size: 0.9rem; color: #525866; line-height: 1.55; }
@media (min-width: 768px) {
  .l-flow { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .l-flow-step { padding-left: 0; padding-top: 3.5rem; }
  .l-flow-step:not(.l-flow-step--last)::after {
    left: 2.75rem; top: 1.125rem; right: -2.5rem; bottom: auto;
    width: auto; height: 2px;
  }
  .l-flow-title { font-size: 1.0625rem; }
}
.l-ai-credits {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid #e8e6e1;
  border-radius: 0.75rem;
  background: #f8f7f3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 768px) {
  .l-ai-credits { grid-template-columns: auto 1fr; gap: 1.75rem; }
}
.l-ai-credits-num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: #1c1b19;
  letter-spacing: -0.025em;
}
.l-ai-credits-num small {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #8b8fa3;
  margin-top: 0.375rem;
  letter-spacing: 0;
}
.l-ai-credits-text {
  font-size: 0.9375rem;
  color: #3d3b37;
  line-height: 1.55;
}
.l-ai-credits-text strong {
  color: #1c1b19;
  font-weight: 600;
}
.l-ai-credits-text small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #8b8fa3;
}
.l-ai-cta {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e8e6e1;
  border-radius: 0.75rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.l-ai-cta-text {
  font-size: 0.9375rem;
  color: #1c1b19;
}
.l-ai-cta-text span {
  color: #8b8fa3;
}
.l-ai-cta-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4f46e5;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
}
.l-ai-cta-link:hover { color: #3730a3; }
.l-ai-hero-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .l-ai-hero-grid { grid-template-columns: 1.1fr 1fr; }
}
.l-ai-quiz {
  padding: 0.875rem;
  background: #fff;
  border: 1px solid #e8e6e1;
  border-radius: 0.625rem;
}
.l-ai-quiz-meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.625rem;
  color: #8b8fa3;
  margin-bottom: 0.625rem;
}
.l-ai-quiz-meta::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #059669;
}
.l-ai-quiz-q {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1c1b19;
  margin-bottom: 0.5rem;
}
.l-ai-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #525866;
}
.l-ai-quiz-option {
  padding: 0.35rem 0.5rem;
  border: 1px solid #e8e6e1;
  border-radius: 0.375rem;
}
.l-ai-quiz-option--correct {
  border-color: #4f46e5;
  background: #eef2ff;
  color: #1c1b19;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── HTMX form states ─────────────────────────────── */
form.htmx-request #lead-submit {
  pointer-events: none;
}
form.htmx-request .lead-submit-default {
  display: none;
}
form.htmx-request .lead-submit-loading {
  display: inline-flex;
}

/* ═══════════ Linear-style dark surfaces ═══════════ */
.l-dark { background:#08090a; color:#f7f8f8; position:relative; overflow:hidden; }
.l-mono {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 0.6875rem; letter-spacing: 0.12em; color:#62666d;
}

/* ═══════════ "Новый вид LMS" — social proof + 3 pillars (dark) ═══════════ */
.l-species {
  background:#08090a; color:#f7f8f8;
  border-top:1px solid rgba(255,255,255,0.06);
  padding-top:3rem; padding-bottom:6rem;
}
@media (min-width:768px){ .l-species{ padding-top:3.5rem; padding-bottom:8rem; } }

/* ── logo / social-proof strip ── */
.l-species-logos {
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap;
  gap:1rem 1.5rem; padding-bottom:4.5rem;
}
.l-species-logo { display:inline-flex; }
.l-species-logo img { height:2rem; width:auto; display:block; }
.l-species-logos-rule { width:1px; height:1.75rem; background:rgba(255,255,255,0.14); }
.l-species-logos-cap { font-size:.8125rem; line-height:1.5; color:#8a8f98; max-width:24rem; }
.l-species-logos-cap strong { color:#f3f4f6; font-weight:600; }
@media (max-width:639px){
  .l-species-logos{ flex-direction:column; text-align:center; gap:1.1rem; padding-bottom:3.5rem; }
  .l-species-logos-rule{ display:none; }
}

/* ── two-tone heading ── */
.l-species-h2 {
  font-size:1.875rem; font-weight:600; letter-spacing:-0.03em; line-height:1.14;
  color:#f7f8f8; max-width:56rem; margin:0;
}
@media (min-width:768px){ .l-species-h2{ font-size:3rem; line-height:1.08; } }
.l-species-h2 .muted { color:#62666d; }

/* ── figure grid (3 pillars) ── */
.l-species-grid {
  display:grid; grid-template-columns:1fr; gap:3rem 0; margin-top:3.5rem;
}
@media (min-width:768px){
  .l-species-grid{ grid-template-columns:repeat(3,1fr); gap:0; margin-top:5rem; }
}
.l-species-fig { display:flex; flex-direction:column; }
@media (min-width:768px){
  .l-species-fig{ padding:0 2.5rem; }
  .l-species-fig + .l-species-fig{ border-left:1px solid rgba(255,255,255,0.08); }
  .l-species-fig:first-child{ padding-left:0; }
  .l-species-fig:last-child{ padding-right:0; }
}
.l-species-art {
  position:relative; height:12.5rem; margin:0.75rem 0 2.25rem;
  display:flex; align-items:center; justify-content:center;
}
.l-species-art svg { width:100%; height:100%; overflow:visible; display:block; }
.l-species-fig-title { font-size:1rem; font-weight:600; color:#f3f4f6; margin:0; }
.l-species-fig-body { font-size:.875rem; line-height:1.55; color:#8a8f98; margin-top:.5rem; }
@media (max-width:767px){ .l-species-art{ height:11rem; } }

/* ── Header color-flip (transparent over dark hero → solid on scroll) ── */
.l-header {
  position: fixed; top:0; left:0; right:0; z-index:50;
  border-bottom: 1px solid transparent; background: transparent;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.l-header .l-logo { color:#f7f8f8; }
.l-header .l-nav-link { color: rgba(247,248,248,0.65); transition: color .2s; }
.l-header .l-nav-link:hover { color:#fff; }
.l-header .l-cta-demo { color:#fff; transition: color .2s; }
.l-header.l-header-shadow {
  background:#ffffff;
  border-bottom-color:#eceae5; box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.l-header.l-header-shadow .l-logo { color:#0f1115; }
.l-header.l-header-shadow .l-nav-link { color:#525866; }
.l-header.l-header-shadow .l-nav-link:hover { color:#0f1115; }
.l-header.l-header-shadow .l-cta-demo { color:#4f46e5; }
.l-header.l-header-shadow .l-btn-light { background:#0f1115; color:#fff; }
.l-header.l-header-shadow .l-btn-light:hover { background:#000; }

/* ── Dark hero ── */
.l-hero-dark {
  background:#08090a; position:relative; overflow:hidden;
  padding-top: 8rem; padding-bottom: 5.5rem;
}
@media (min-width:768px) { .l-hero-dark { padding-top: 9.5rem; padding-bottom: 7rem; } }
.l-hero-dark > * { position: relative; z-index: 1; }
.l-hero-dark-h1 {
  font-size: 2.1rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color:#f7f8f8;
}
@media (min-width:768px) { .l-hero-dark-h1 { font-size: 3rem; line-height: 1.08; } }
.l-hero-dark-h1 em { font-style: normal; color:#8b97f0; }
.l-hero-dark-sub {
  font-size: 1.0625rem; line-height: 1.65; color:#8a8f98; max-width: 34rem;
}
@media (min-width:768px) { .l-hero-dark-sub { font-size: 1.1875rem; } }
/* ── Dark form controls + buttons ── */
.l-input-dark {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.13);
  color:#f7f8f8; border-radius: 0.625rem; padding: 0.7rem 0.9rem;
  font-size: 0.9375rem; outline: none; transition: border-color .15s, background .15s;
}
.l-input-dark::placeholder { color:#62666d; }
.l-input-dark:focus { border-color:#5e6ad2; background: rgba(255,255,255,0.08); }
.l-btn-light {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  background:#f7f8f8; color:#08090a; font-weight: 600; font-size: 0.9375rem;
  border-radius: 0.625rem; padding: 0.7rem 1.15rem; border: 1px solid transparent;
  white-space: nowrap; cursor: pointer; transition: background-color .12s ease;
}
.l-btn-light:hover { background:#fff; }
.l-btn-ghost-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: rgba(255,255,255,0.06); color:#f7f8f8; font-weight: 600; font-size: 0.9375rem;
  border: 1px solid rgba(255,255,255,0.13); border-radius: 0.625rem; padding: 0.7rem 1.15rem;
  cursor: pointer; transition: background .15s;
}
.l-btn-ghost-dark:hover { background: rgba(255,255,255,0.11); }
/* keep htmx server responses readable on dark bg */
#lead-result, #cta-result { color:#c8ccd2; }
#lead-result a, #cta-result a { color:#8b97f0; }

/* ── Grand Slam Offer ── */
.l-offer-h2 {
  font-size: 1.875rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  color:#f7f8f8; margin-top: 0;
}
@media (min-width:768px) { .l-offer-h2 { font-size: 2.5rem; } }
.l-offer-lead { margin-top: 1rem; max-width: 38rem; font-size: 1rem; line-height: 1.6; color:#8a8f98; }
.l-offer-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width:900px) { .l-offer-grid { grid-template-columns: 1.45fr 1fr; align-items: start; } }
.l-offer-wrap {
  border: 1px solid rgba(255,255,255,0.1); border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  padding: 0.4rem 1.4rem 1.4rem;
}
.l-offer-wrap-head { display: flex; justify-content: space-between; padding: 1rem 0 0.4rem; }
.l-offer-row {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 0.95rem 0; border-top: 1px solid rgba(255,255,255,0.07);
}
.l-offer-check { flex-shrink: 0; width: 1.15rem; height: 1.15rem; color:#8b97f0; margin-top: 0.15rem; }
.l-offer-row-main { flex: 1; min-width: 0; }
.l-offer-row-title { font-size: 0.9375rem; font-weight: 600; color:#f3f4f6; line-height: 1.35; }
.l-offer-row-desc { font-size: 0.8125rem; color:#8a8f98; margin-top: 0.2rem; line-height: 1.5; }
.l-offer-row-val {
  font-size: 0.8125rem; font-weight: 600; color:#c8ccd2; white-space: nowrap;
  font-variant-numeric: tabular-nums; padding-left: 0.6rem; text-align: right;
}
.l-bonus-tag {
  display: inline-block; margin-left: 0.45rem; padding: 0.05rem 0.4rem; border-radius: 0.3rem;
  background: rgba(139,151,240,0.16); color:#aab4f5; font-size: 0.625rem; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase; vertical-align: middle;
}
.l-offer-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 0.4rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.14);
}
.l-offer-total > span:first-child { font-size: 0.9375rem; color:#8a8f98; }
.l-offer-total-val { font-size: 1.25rem; font-weight: 800; color:#f7f8f8; letter-spacing: -0.01em; text-align: right; }
.l-offer-total-val small { display: block; font-size: 0.6875rem; font-weight: 500; color:#62666d; }
.l-offer-aside {
  border: 1px solid rgba(255,255,255,0.1); border-radius: 1rem;
  background: rgba(255,255,255,0.025); padding: 1.5rem;
}
.l-price-strike { font-size: 0.875rem; color:#62666d; text-decoration: line-through; }
.l-price { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.02em; color:#f7f8f8; line-height: 1; margin-top: 0.3rem; }
.l-price small { font-size: 0.8125rem; font-weight: 500; color:#8a8f98; letter-spacing: 0; }
.l-guarantee {
  display: flex; gap: 0.8rem; align-items: flex-start; margin-top: 1.25rem;
  border: 1px solid rgba(139,151,240,0.3); background: rgba(94,106,210,0.08);
  border-radius: 0.75rem; padding: 0.95rem 1.05rem;
}
.l-guarantee svg { flex-shrink: 0; width: 1.4rem; height: 1.4rem; color:#8b97f0; margin-top: 0.1rem; }
.l-guarantee-title { font-size: 0.875rem; font-weight: 700; color:#f3f4f6; }
.l-guarantee-desc { font-size: 0.8125rem; color:#9aa0a9; margin-top: 0.2rem; line-height: 1.5; }
.l-offer-fine { margin-top: 1rem; font-size: 0.75rem; color:#62666d; text-align: center; }

/* ── Risk-reversal offer (rebuilt) ── */
/* dominant guarantee card */
.l-offer-guarantee-hero {
  margin-top: 2.5rem;
  display: flex; gap: 1.15rem; align-items: flex-start;
  border: 1px solid rgba(139,151,240,0.42);
  background: rgba(94,106,210,0.1);
  border-radius: 1rem;
  padding: 1.6rem 1.75rem;
}
.l-offer-guarantee-hero > svg { flex-shrink:0; width:2.5rem; height:2.5rem; color:#8b97f0; margin-top:0.15rem; }
.l-offer-guarantee-hero-title { font-size:1.25rem; font-weight:700; color:#f7f8f8; letter-spacing:-0.015em; line-height:1.2; }
@media (min-width:768px){ .l-offer-guarantee-hero-title{ font-size:1.5rem; } }
.l-offer-guarantee-hero-desc { font-size:0.9375rem; color:#9aa0a9; margin-top:0.45rem; line-height:1.55; max-width:46rem; }

/* side-by-side: самому vs с нами */
.l-vs { display:grid; grid-template-columns:1fr; gap:1.25rem; margin-top:1.25rem; }
@media (min-width:768px){ .l-vs { grid-template-columns:1fr 1fr; align-items:stretch; } }
.l-vs-col {
  border:1px solid rgba(255,255,255,0.1); border-radius:1rem;
  padding:1.5rem 1.6rem 1.65rem; display:flex; flex-direction:column;
}
.l-vs-col--old { background:rgba(255,255,255,0.02); }
.l-vs-col--new { border-color:rgba(139,151,240,0.45); background:rgba(94,106,210,0.08); }
.l-vs-head { font-size:0.9375rem; font-weight:700; color:#f3f4f6; }
.l-vs-col--old .l-vs-head { color:#9aa0a9; }
.l-vs-list { margin-top:1.15rem; display:flex; flex-direction:column; gap:0.8rem; flex:1; }
.l-vs-row { display:flex; align-items:baseline; justify-content:space-between; gap:0.85rem; font-size:0.9375rem; line-height:1.4; }
.l-vs-label { display:flex; gap:0.6rem; align-items:baseline; min-width:0; color:#d2d6dc; }
.l-vs-col--old .l-vs-label { color:#8a8f98; }
.l-vs-mark { flex-shrink:0; align-self:flex-start; width:1.05rem; height:1.05rem; margin-top:0.15rem; }
.l-vs-mark--x { color:#6b7079; }
.l-vs-mark--ok { color:#8b97f0; }
.l-vs-val { white-space:nowrap; font-variant-numeric:tabular-nums; color:#8a8f98; font-size:0.875rem; }
.l-vs-total { margin-top:1.25rem; padding-top:1.05rem; border-top:1px solid rgba(255,255,255,0.12); }
.l-vs-total-label { font-size:0.75rem; color:#62666d; }
.l-vs-total-val { font-size:1.375rem; font-weight:800; color:#c8ccd2; letter-spacing:-0.015em; margin-top:0.2rem; }
.l-vs-total-val small { display:block; font-size:0.6875rem; font-weight:500; color:#62666d; margin-top:0.3rem; line-height:1.4; }
.l-vs-price { font-size:2.5rem; font-weight:800; color:#f7f8f8; letter-spacing:-0.025em; line-height:1; margin-top:0.2rem; }
.l-vs-price small { display:block; font-size:0.8125rem; font-weight:500; color:#9aa0a9; margin-top:0.55rem; letter-spacing:0; }
.l-vs-col--new .l-btn-light { width:100%; margin-top:1.3rem; }
.l-vs-fine { margin-top:0.9rem; font-size:0.75rem; color:#62666d; text-align:center; }

/* why so cheap */
.l-why-cheap { margin-top:2.5rem; max-width:46rem; }
.l-why-cheap-title { font-size:1.0625rem; font-weight:700; color:#f3f4f6; }
.l-why-cheap-body { margin-top:0.55rem; font-size:0.9375rem; line-height:1.6; color:#9aa0a9; }
.l-why-cheap-body strong { color:#d2d6dc; font-weight:600; }
.l-plan-more { margin-top:1.5rem; font-size:0.875rem; color:#8a8f98; }
.l-plan-more a { color:#8b97f0; font-weight:600; }
.l-plan-more a:hover { color:#aab4f5; }

.l-why-now { margin-top:1.75rem; display:flex; gap:0.65rem; align-items:flex-start; font-size:0.8125rem; line-height:1.6; color:#9aa0a9; max-width:48rem; }
.l-why-now svg { flex-shrink:0; width:1.1rem; height:1.1rem; color:#8b97f0; margin-top:0.15rem; }
.l-why-now strong { color:#f3f4f6; font-weight:600; }

/* ── Dark CTA ── */
.l-cta-dark { background:#08090a; position: relative; overflow: hidden; }
.l-cta-dark > * { position: relative; z-index: 1; }
.l-cta-h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; color:#f7f8f8; }
@media (min-width:768px) { .l-cta-h2 { font-size: 3rem; } }
