.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page-wrap main { flex: 1; }


.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted-2);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--muted-3); font-size: 11px; }
.breadcrumb__current { color: var(--ink-2); font-weight: 500; }


.lp-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.lp-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}
.lp-hero__inner--centered {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.lp-hero .breadcrumb { margin-bottom: 28px; }

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.lp-eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.lp-hero__title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 22px;
}
.lp-hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.lp-hero__title .accent { color: var(--accent); }

.lp-hero__sub {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 560px;
}
.lp-hero__inner--centered .lp-hero__sub { margin-left: auto; margin-right: auto; }

.lp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.lp-hero__inner--centered .lp-hero__cta { justify-content: center; }

.lp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  font-size: 14px;
  color: var(--muted);
}
.lp-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lp-trust__check {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--good);
}

.lp-hero__visual {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  overflow: hidden;
}
.lp-hero__visual::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto auto;
  width: 360px; height: 360px;
  background: radial-gradient(closest-side, var(--accent-soft-2), transparent 70%);
  pointer-events: none;
}

.lp-section {
  padding: 72px 0;
}
.lp-section--alt {
  background: var(--bg-alt);
}
.lp-section--tight { padding: 48px 0; }

.lp-section__head {
  max-width: 760px;
  margin: 0 0 48px;
}
.lp-section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.lp-section__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.lp-section__title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 14px;
}
.lp-section__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.lp-section__sub {
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.lp-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.lp-feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.lp-feature:hover {
  border-color: var(--accent-soft-2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.lp-feature__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}
.lp-feature__icon svg { width: 22px; height: 22px; }
.lp-feature__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 8px;
}
.lp-feature__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.lp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  counter-reset: step;
}
.lp-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px 24px;
}
.lp-step__num {
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.lp-step__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}
.lp-step__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.lp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.lp-split--reverse .lp-split__media { order: -1; }
.lp-split__title {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: var(--ink);
}
.lp-split__text {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 14px;
}
.lp-split__text:last-child { margin-bottom: 0; }
.lp-split__list {
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-split__list li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
.lp-split__list li::before {
  content: '';
  width: 6px; height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.lp-split__media {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.lp-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}
.lp-faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 22px;
  transition: border-color .15s;
}
.lp-faq__item[open] { border-color: var(--accent-soft-2); }
.lp-faq__item > summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}
.lp-faq__item > summary::-webkit-details-marker { display: none; }
.lp-faq__plus {
  width: 18px; height: 18px;
  position: relative;
  flex-shrink: 0;
  color: var(--muted-2);
}
.lp-faq__plus::before,
.lp-faq__plus::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform .2s;
  top: 50%; left: 50%;
}
.lp-faq__plus::before { width: 12px; height: 1.6px; transform: translate(-50%, -50%); }
.lp-faq__plus::after  { width: 1.6px; height: 12px; transform: translate(-50%, -50%); }
.lp-faq__item[open] .lp-faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.lp-faq__body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}
.lp-faq__body p { margin: 0 0 10px; }
.lp-faq__body p:last-child { margin-bottom: 0; }

/* ─── CTA блок ───────────────────────────────────────────── */
.lp-cta {
  position: relative;
  border-radius: var(--r-2xl);
  padding: 56px 48px;
  background: linear-gradient(135deg, var(--ink) 0%, #1a1b22 100%);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.lp-cta::before {
  content: '';
  position: absolute;
  inset: -50% -10% auto auto;
  width: 480px; height: 480px;
  background: radial-gradient(closest-side, rgba(91, 91, 214, 0.35), transparent 70%);
  pointer-events: none;
}
.lp-cta__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 12px;
  position: relative;
}
.lp-cta__title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.lp-cta__sub {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 28px;
  position: relative;
  max-width: 580px;
  margin-left: auto; margin-right: auto;
}
.lp-cta__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  position: relative;
}
.lp-cta .btn--secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}
.lp-cta .btn--secondary:hover {
  background: rgba(255,255,255,0.14);
}

@media (max-width: 900px) {
  .lp-hero { padding: 56px 0 44px; }
  .lp-hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .lp-hero__visual { padding: 22px; }
  .lp-section { padding: 56px 0; }
  .lp-split { grid-template-columns: 1fr; gap: 32px; }
  .lp-split--reverse .lp-split__media { order: 0; }
  .lp-cta { padding: 40px 24px; }
}
@media (max-width: 600px) {
  .lp-hero { padding: 44px 0 36px; }
  .lp-section { padding: 44px 0; }
  .lp-section__head { margin-bottom: 32px; }
}


.blog-hero {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.blog-hero .breadcrumb { margin-bottom: 24px; }
.blog-hero__title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 14px;
}
.blog-hero__title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.blog-hero__desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.6;
  margin: 0;
}

.blog-section { padding: 56px 0 80px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.blog-card:hover {
  border-color: var(--accent-soft-2);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.blog-card__cover {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--accent-soft);
  position: relative;
  overflow: hidden;
}
.blog-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.blog-card:hover .blog-card__cover img { transform: scale(1.04); }
.blog-card__cover--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(closest-side, var(--accent-soft-2), transparent 70%) center / 200% no-repeat,
    var(--accent-soft);
}
.blog-card__cover--placeholder svg {
  width: 56px; height: 56px;
  color: var(--accent);
  opacity: 0.45;
}
.blog-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12.5px;
  color: var(--muted-2);
  margin-bottom: 12px;
}
.blog-card__meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--muted-3);
  align-self: center;
}
.blog-card__title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 10px;
}
.blog-card__excerpt {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.blog-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .01em;
}
.blog-tag--ghost {
  color: var(--muted-2);
  background: var(--bg-alt);
}

.blog-empty {
  padding: 80px 0;
  text-align: center;
  color: var(--muted);
}
.blog-empty__title {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 8px;
}

.post-hero {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.post-hero .breadcrumb { margin-bottom: 24px; }
.post-hero__inner { max-width: 820px; }
.post-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.post-hero__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 18px;
}
.post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13.5px;
  color: var(--muted-2);
}
.post-hero__meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--muted-3);
  align-self: center;
}

.post-cover {
  margin: 32px 0 0;
}
.post-cover img {
  width: 100%;
  border-radius: var(--r-lg);
  display: block;
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 56px;
  align-items: start;
  padding: 56px 0 72px;
}
.post-body { min-width: 0; max-width: 760px; }

.post-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.post-toc__title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
}
.post-toc__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--line);
  padding-left: 1px;
}
.post-toc__nav a {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  padding: 6px 12px;
  border-left: 2px solid transparent;
  margin-left: -1px;
  line-height: 1.4;
  transition: color .15s, border-color .15s;
}
.post-toc__nav a:hover { color: var(--accent); }
.post-toc__nav a.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--accent-soft);
}
.post-toc__nav a.is-h3 {
  padding-left: 24px;
  font-size: 13px;
}

.post-prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
}
.post-prose > *:first-child { margin-top: 0; }
.post-prose > *:last-child { margin-bottom: 0; }

.post-prose p {
  margin: 0 0 22px;
}
.post-prose h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 48px 0 18px;
  scroll-margin-top: calc(var(--header-h) + 24px);
  line-height: 1.2;
}
.post-prose h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 32px 0 12px;
  scroll-margin-top: calc(var(--header-h) + 24px);
  line-height: 1.3;
}
.post-prose h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 10px;
}
.post-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.2px;
}
.post-prose a:hover { color: var(--accent-2); }
.post-prose strong { font-weight: 600; color: var(--ink); }
.post-prose em { font-style: italic; }
.post-prose ul,
.post-prose ol {
  padding-left: 24px;
  margin: 0 0 22px;
  list-style: revert;
}
.post-prose li { margin-bottom: 8px; padding-left: 4px; }
.post-prose li > ul, .post-prose li > ol { margin-top: 8px; margin-bottom: 0; }

.post-prose blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 16.5px;
  color: var(--ink-2);
  font-style: italic;
}
.post-prose blockquote p:last-child { margin-bottom: 0; }

.post-prose code {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.92em;
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  color: var(--ink);
}
.post-prose pre {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  overflow-x: auto;
  margin: 22px 0;
  font-size: 14px;
  line-height: 1.55;
}
.post-prose pre code {
  background: transparent;
  border: none;
  padding: 0;
}

.post-prose img {
  width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  margin: 24px 0;
  border: 1px solid var(--line);
}
.post-prose figure { margin: 28px 0; }
.post-prose figure img { margin: 0; }
.post-prose figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted-2);
  text-align: center;
}

.post-prose hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 36px 0;
}

.post-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.post-prose th, .post-prose td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.post-prose th {
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-alt);
}

.post-prose .post-note {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 15px;
  font-style: normal;
  color: var(--ink-2);
}
.post-prose .post-note strong { color: var(--ink); }


.post-cta {
  margin-top: 56px;
  padding: 32px 36px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.post-cta__text {
  flex: 1;
  min-width: 260px;
}
.post-cta__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.post-cta__sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}


.post-related {
  padding: 56px 0 80px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
.post-related__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 28px;
}


@media (max-width: 1000px) {
  .post-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .post-toc {
    position: static;
    display: none;
  }
}
@media (max-width: 640px) {
  .blog-hero { padding: 48px 0 28px; }
  .blog-section { padding: 36px 0 56px; }
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .post-hero { padding: 40px 0 24px; }
  .post-layout { padding: 36px 0 48px; }
  .post-prose { font-size: 16px; line-height: 1.7; }
  .post-cta { padding: 24px; flex-direction: column; align-items: flex-start; }
}

.display {
  font-size: clamp(36px, 4vw, 52px);
	max-width: 540px;
	line-height: 1.15;
}

@media (max-width: 760px) {
  .display { font-size: 40px; }
}

@media (max-width: 420px) {
  .display { font-size: 34px; letter-spacing: -0.03em; }
}
