





:root {
  /* Brand */
  --deep:   #1e1640;
  --deep2:  #2a1f58;
  --mid:    #534AB7;
  --p200:   #b8b2f6;
  --p50:    #f2f0ff;
  --lime:   #c8f56a;
  --gold:   #c9a96e;

  /* Surfaces */
  --canvas:  #fdfcff;
  --surface: #f5f3ff;
  --cream:   #faf8f2;
  --hair:    #e8e4f8;

  /* Text */
  --ink:  #16132e;
  --ink2: #49456a;
  --ink3: #9490b0;

  /* On-dark */
  --on-dark-mute:  rgba(255,255,255,0.55);
  --on-dark-ghost: rgba(255,255,255,0.60);
  --on-dark-bord:  rgba(255,255,255,0.20);
  --on-dark-gold:  rgba(201,169,110,0.80);

  /* Radius */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 10px;
  --r-xl: 12px;
  --r-section: 16px;
  --r-full: 9999px;

  /* Type families */
  --ff-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --ff-sans:  "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Container */
  --container: 900px;
  --pad-x: 52px;
}

/* Base ---------------------------------------------------------------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--canvas);
  color: var(--ink2);
  font-family: var(--ff-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--mid); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Type roles ---------------------------------------------------------- */
.eyebrow {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  display: inline-block;
}
.eyebrow--ondark { color: var(--on-dark-gold); }

.hero-h1 {
  font-family: var(--ff-serif);
  font-size: 54px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 0 0 22px;
}
.section-h2 {
  font-family: var(--ff-serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 0 0 18px;
}
.section-h2--ondark { color: #fff; }
.section-h2 em, .hero-h1 em, .article-h1 em, .article-h2 em { font-style: italic; }

.article-h1 {
  font-family: var(--ff-serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 0 0 20px;
}
.article-h2 {
  font-family: var(--ff-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.2px;
  color: var(--ink);
  margin: 40px 0 14px;
}
.article-h3 {
  font-family: var(--ff-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.1px;
  color: var(--ink);
  margin: 28px 0 10px;
}
.lead {
  font-family: var(--ff-sans);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink2);
  margin: 0;
}
.lead--ondark { color: rgba(255,255,255,0.65); }

.art-p {
  font-family: var(--ff-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink2);
  margin: 0 0 18px;
}
.art-p strong, .art-p b { color: var(--ink); font-weight: 500; }
.meta {
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink3);
}

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--ff-sans);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box; /* Tilda fix: --width:100%; на кнопках */
}
button.btn { font: inherit; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

/* !important на color — защита от Тильдовского глобального цвета ссылок (#ff8562) */
.btn-primary {
  background: var(--mid); color: #fff !important;
  padding: 14px 32px; font-size: 14px; font-weight: 500; letter-spacing: 0.03em;
}
.btn-primary:hover { background: #4339a3; }

.btn-accent {
  background: var(--lime); color: var(--ink) !important;
  padding: 15px 36px; font-size: 15px; font-weight: 700; letter-spacing: 0.01em;
}
.btn-accent:hover { background: #b9e85a; }

.btn-outline {
  background: transparent; color: var(--mid) !important;
  border-color: var(--p200);
  padding: 13px 24px; font-size: 14px; font-weight: 400;
}
.btn-outline:hover { background: var(--p50); }

.btn-ghost-dark {
  background: transparent; color: var(--on-dark-ghost) !important;
  border-color: var(--on-dark-bord);
  padding: 14px 24px; font-size: 14px; font-weight: 400;
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.06); color: #fff !important; }

.btn-nav {
  background: transparent; color: var(--mid) !important;
  border-color: var(--p200);
  padding: 8px 20px; font-size: 13px; font-weight: 500;
}
.btn-nav:hover { background: var(--p50); }

.btn-text {
  background: transparent; color: var(--mid) !important;
  padding: 0; font-size: 14px; font-weight: 500;
  border: none;
}
.btn-text::after { content: " →"; }
.btn-text--ondark { color: rgba(255,255,255,0.55) !important; }

/* Tags / chips -------------------------------------------------------- */
.tag {
  display: inline-flex; align-items: center;
  padding: 5px 11px;
  background: var(--p50); color: var(--mid);
  border-radius: var(--r-xs);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em;
}
.tag--lime { background: var(--lime); color: var(--ink); font-weight: 700; }
.pill {
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  background: transparent; color: var(--ink2);
  border: 1px solid var(--hair); border-radius: var(--r-full);
  font-size: 12px; font-weight: 500;
  cursor: pointer; transition: all .18s ease;
}
.pill:hover { border-color: var(--p200); color: var(--mid); }
.pill[aria-current="true"], .pill.is-active {
  background: var(--deep); color: #fff; border-color: var(--deep);
}

/* Containers ---------------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.wide { max-width: 1180px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* Navigation ---------------------------------------------------------- */
.site-nav {
  height: 60px;
  padding: 0 52px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hair);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}
.site-nav__logo {
  font-family: var(--ff-serif);
  font-size: 18px; color: var(--ink);
}
.site-nav__links {
  display: flex; gap: 28px; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.site-nav__logo { color: var(--ink) !important; }
.site-nav__links a {
  font-size: 13px; font-weight: 400; color: var(--ink2) !important;
  letter-spacing: 0.02em;
}
.site-nav__links a:hover { color: var(--mid) !important; text-decoration: none; }
.site-nav__links a[aria-current="page"] { color: var(--ink) !important; font-weight: 500; }

/* Section helpers ----------------------------------------------------- */
.section { padding: 64px 0; }
.section--compact { padding: 48px 0; }
.section--hero { padding: 80px 0; }
.section--canvas { background: var(--canvas); }
.section--surface { background: var(--surface); }
.section--cream { background: var(--cream); }
.section--deep { background: var(--deep); color: #fff; }
.section--deep .art-p,
.section--deep .lead { color: rgba(255,255,255,0.65); }

/* Blocks -------------------------------------------------------------- */
.quote-dark {
  background: var(--deep);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin: 28px 0;
}
.quote-dark__text {
  font-family: var(--ff-serif);
  font-size: 20px; font-style: italic;
  color: #fff; line-height: 1.4;
  margin: 0 0 12px;
}
.quote-dark__source {
  font-family: var(--ff-sans);
  font-size: 12px; color: var(--p200);
  letter-spacing: 0.04em;
}

.highlight {
  background: var(--p50);
  border-left: 3px solid var(--mid);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.highlight__title {
  font-family: var(--ff-sans);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--mid); margin: 0 0 8px;
}
.highlight p { margin: 0; color: var(--ink2); font-size: 15px; line-height: 1.7; font-weight: 300; }

.stat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin: 28px 0;
}
.stat-card {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 20px 16px;
}
.stat-card__num {
  font-family: var(--ff-serif);
  font-size: 36px; color: var(--mid); line-height: 1; margin-bottom: 6px;
}
.stat-card__label { font-size: 12px; color: var(--ink3); }

.checklist { list-style: none; margin: 22px 0; padding: 0; }
.checklist li {
  position: relative; padding-left: 26px;
  font-size: 15px; font-weight: 300; color: var(--ink2);
  line-height: 1.7; margin-bottom: 10px;
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 600;
}

.facts { list-style: none; margin: 0; padding: 0; }
.facts li {
  position: relative; padding-left: 22px;
  font-size: 13px; font-weight: 300; color: var(--ink2);
  line-height: 1.7; margin-bottom: 6px;
}
.facts li::before {
  content: "—"; position: absolute; left: 0; top: 0; color: var(--gold);
}

/* Sidebar blocks ------------------------------------------------------ */
.toc {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 22px;
}
.toc__title {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink3); margin: 0 0 14px;
}
.toc ol { list-style: none; counter-reset: t; margin: 0; padding: 0; }
.toc li { counter-increment: t; margin-bottom: 10px; padding-left: 22px; position: relative; }
.toc li::before {
  content: counter(t, decimal-leading-zero);
  position: absolute; left: 0; top: 1px;
  color: var(--p200); font-size: 11px; font-weight: 500;
}
.toc a { font-size: 13px; color: var(--mid); }

.cta-card {
  background: var(--deep);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  color: #fff;
}
.cta-card__title {
  font-family: var(--ff-serif);
  font-size: 18px; line-height: 1.25; color: #fff; margin: 0 0 8px;
}
.cta-card__sub {
  font-size: 12px; color: rgba(255,255,255,0.55);
  line-height: 1.5; margin: 0 0 16px;
}
.cta-card .btn { width: 100%; padding: 12px 18px; font-size: 13px; }

/* Cards --------------------------------------------------------------- */
.card {
  background: var(--canvas);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 22px;
}

/* Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--surface);
  padding: 40px 52px 28px;
  color: var(--ink3);
  font-size: 12px;
  letter-spacing: 0.03em;
}
.site-footer__row {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.site-footer a { color: var(--ink2) !important; }
.site-footer a:hover { color: var(--mid) !important; }

/* FAQ — native details/summary (Tilda-safe, без JS) ------------------ */
.faq { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--hair);
}
.faq-item:first-child { border-top: 1px solid var(--hair); }
.faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  font-family: var(--ff-serif);
  font-size: 20px; line-height: 1.3; font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary:hover { color: var(--mid); }
.faq-plus {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute;
  top: 50%; left: 50%;
  background: var(--ink);
  transition: background .2s ease;
}
.faq-plus::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-plus::after  { width: 1.5px; height: 10px; transform: translate(-50%, -50%); }
details[open] > .faq-summary .faq-plus { transform: rotate(45deg); border-color: var(--mid); }
details[open] > .faq-summary .faq-plus::before,
details[open] > .faq-summary .faq-plus::after { background: var(--mid); }
.faq-body {
  padding: 0 56px 24px 0;
  font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--ink2);
}
.faq-body p { margin: 0 0 12px; }
.faq-body p:last-child { margin-bottom: 0; }

/* Image placeholder --------------------------------------------------- */
.imgph {
  background:
    repeating-linear-gradient(
      45deg,
      var(--surface) 0 12px,
      var(--canvas) 12px 24px
    );
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px; color: var(--ink3);
  letter-spacing: 0.06em; text-transform: lowercase;
  min-height: 180px;
}
.imgph--dark {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.04) 0 12px,
      rgba(255,255,255,0.02) 12px 24px
    );
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.45);
}

/* Responsive ---------------------------------------------------------- */
@media (max-width: 720px) {
  :root { --pad-x: 24px; }
  .site-nav { padding: 0 24px; }
  .site-footer { padding: 32px 24px 24px; }
  .hero-h1 { font-size: 36px; }
  .section-h2 { font-size: 28px; }
  .article-h1 { font-size: 30px; }
  .article-h2 { font-size: 22px; }
  .lead { font-size: 16px; }
  .section { padding: 48px 0; }
  .section--hero { padding: 56px 0; }
  .stat-grid { grid-template-columns: 1fr; }
}


/* === landing.html page styles === */
html,body{background:transparent}

/* === landing.html page styles === */

  /* ---------- HERO ---------- */
  .hero {
    background: var(--deep, #1e1640);
    padding: 96px 0 88px;
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(circle at 88% 18%, rgba(200,245,106,0.05), transparent 40%),
      radial-gradient(circle at 12% 78%, rgba(184,178,246,0.06), transparent 45%);
    pointer-events: none;
  }
  .hero__wrap {
    position: relative; z-index: 1;
    max-width: 1180px; margin: 0 auto;
    padding: 0 52px;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 72px; align-items: center;
  }
  .hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
  .hero__subh {
    font-family: var(--ff-serif);
    font-size: 26px; font-weight: 400;
    line-height: 1.3; color: rgba(255,255,255,0.72);
    letter-spacing: -0.2px;
    margin: 18px 0 32px;
    padding-bottom: 28px;
    max-width: 560px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .hero__subh em { font-style: italic; color: #fff; }
  .hero__meta {
    display: flex; gap: 32px; flex-wrap: wrap;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .hero__meta-item { font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0.02em; line-height: 1.5; max-width: 220px; }
  .hero__meta-item b { display: block; color: #fff; font-family: var(--ff-serif); font-size: 22px; font-weight: 400; margin-bottom: 4px; line-height: 1; }

  .hero__photo {
    aspect-ratio: 9 / 14;
    border-radius: var(--r-md, 8px);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
  }
  .hero__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 12%;
    display: block;
    filter: contrast(1.05);
  }

  /* ---------- PAIN ---------- */
  .pain {
    background: var(--canvas, #fdfcff);
    padding: 88px 0 80px;
  }
  .pain__wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad-x, 52px); }
  .pain__head { max-width: 760px; margin: 0 0 40px; }
  .pain__body { max-width: 760px; font-size: 17px; font-weight: 300; line-height: 1.85; color: var(--ink2, #49456a); }
  .pain__body p { margin: 0 0 22px; }
  .pain__body p:last-child { margin-bottom: 0; }
  .pain__body b, .pain__body strong { color: var(--ink, #16132e); font-weight: 500; }
  .pain__bridge {
    max-width: 760px;
    margin-top: 44px; padding-top: 36px;
    border-top: 1px solid var(--hair, #e8e4f8);
    font-family: var(--ff-serif);
    font-size: 24px; line-height: 1.4;
    color: var(--mid, #534AB7);
    letter-spacing: -0.2px;
  }
  .pain__bridge em { font-style: italic; }

  /* ---------- WHO ---------- */
  .who { background: var(--surface, #f5f3ff); padding: 88px 0; }
  .who__wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad-x, 52px); }
  .who__head { max-width: 760px; margin: 0 0 48px; }
  .seg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    gap: 1px;
    background: var(--hair, #e8e4f8);
    border-radius: var(--r-xl, 12px);
    overflow: hidden;
  }
  .seg {
    background: var(--canvas, #fdfcff);
    padding: 40px 32px 36px;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    row-gap: 18px;
  }
  .seg__label {
    font-family: var(--ff-sans);
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--gold, #c9a96e); margin: 0 0 4px;
  }
  .seg h3 {
    font-family: var(--ff-serif);
    font-size: 26px; font-weight: 400; color: var(--ink, #16132e);
    line-height: 1.2; margin: 0;
    letter-spacing: -0.2px;
  }
  .seg h3 em { font-style: italic; }
  .seg p { font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--ink2, #49456a); margin: 0; }

  /* ---------- ABOUT ---------- */
  .about {
    background: var(--cream, #faf8f2);
    padding: 96px 0;
  }
  .about__wrap {
    max-width: 1180px; margin: 0 auto;
    padding: 0 var(--pad-x, 52px);
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 72px;
    align-items: start;
  }
  .about__left { display: flex; flex-direction: column; gap: 24px; }
  .about__photo {
    aspect-ratio: 4 / 5;
    border-radius: var(--r-md, 8px);
    overflow: hidden;
    background: var(--surface, #f5f3ff);
  }
  .about__photo img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    object-position: center top;
  }
  .about__credits {
    display: flex; flex-direction: column;
    gap: 12px;
    padding: 22px 24px;
    background: rgba(255,255,255,0.55);
    border: 1px solid var(--hair, #e8e4f8);
    border-radius: var(--r-md, 8px);
  }
  .about__credits-label {
    font-family: var(--ff-sans);
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gold, #c9a96e);
    margin-bottom: 2px;
  }
  .about__credit {
    font-size: 13px; line-height: 1.5; color: var(--ink2, #49456a);
    font-weight: 300;
    display: flex; align-items: baseline; gap: 10px;
  }
  .about__credit::before { content: "—"; color: var(--gold, #c9a96e); flex: none; }
  .about__credit b { color: var(--ink, #16132e); font-weight: 500; }
  .about__text h2 { margin: 12px 0 28px; max-width: 620px; }
  .about__text p { font-size: 16px; font-weight: 300; line-height: 1.85; color: var(--ink2, #49456a); margin: 0 0 18px; max-width: 620px; }
  .about__text p:last-child { margin-bottom: 0; }
  .about__text b { color: var(--ink, #16132e); font-weight: 500; }

  /* ---------- CASES ---------- */
  .cases { background: var(--canvas, #fdfcff); padding: 96px 0 88px; }
  .cases__wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad-x, 52px); }
  .cases__head { max-width: 760px; margin: 0 0 56px; }
  .cases__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, auto 1fr auto);
    gap: 1px;
    background: var(--hair, #e8e4f8);
    border-radius: var(--r-xl, 12px);
    overflow: hidden;
  }
  .case-story {
    background: var(--canvas, #fdfcff);
    padding: 40px 36px 36px;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    row-gap: 22px;
  }
  .case-story__head {
    display: flex; align-items: baseline; gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--hair, #e8e4f8);
    margin-bottom: 4px;
  }
  .case-story__num {
    font-family: var(--ff-serif);
    font-size: 22px; color: var(--gold, #c9a96e);
    line-height: 1; min-width: 32px;
  }
  .case-story__who { flex: 1; }
  .case-story__name {
    font-family: var(--ff-serif);
    font-size: 20px; color: var(--ink, #16132e);
    line-height: 1.25;
  }
  .case-story__role { font-size: 12px; color: var(--ink3, #9490b0); letter-spacing: 0.03em; margin-top: 4px; }
  .case-story__body {
    font-size: 15px; font-weight: 300; line-height: 1.8;
    color: var(--ink2, #49456a);
    margin: 0;
  }
  .case-story__body b { color: var(--ink, #16132e); font-weight: 500; }
  .case-story__result {
    font-family: var(--ff-serif);
    font-size: 17px; font-style: italic;
    color: var(--mid, #534AB7);
    line-height: 1.4;
    padding-top: 18px;
    border-top: 1px solid var(--hair, #e8e4f8);
  }

  /* ---------- FAQ ---------- */
  .faq-section { background: var(--canvas, #fdfcff); padding: 88px 0; }
  .faq-section__wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad-x, 52px); }
  .faq-section__head {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px;
    margin-bottom: 40px; align-items: end;
    max-width: 980px;
  }
  .faq-section__head .lead { max-width: 480px; }
  .faq-section__inner { max-width: 980px; }

  /* ---------- CTA ---------- */
  .cta-dark {
    background: var(--deep, #1e1640);
    padding: 104px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  .cta-dark::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(200,245,106,0.06), transparent 50%);
    pointer-events: none;
  }
  .cta-dark__wrap {
    position: relative; z-index: 1;
    max-width: var(--container, 900px); margin: 0 auto;
    padding: 0 var(--pad-x, 52px);
    text-align: center;
  }
  .cta-dark h2 {
    font-family: var(--ff-serif);
    font-size: 48px; font-weight: 400;
    line-height: 1.1; color: #fff;
    letter-spacing: -0.4px;
    margin: 14px auto 18px;
    max-width: 720px;
  }
  .cta-dark h2 em { font-style: italic; }
  .cta-dark__sub {
    font-size: 17px; font-weight: 300; line-height: 1.65;
    color: rgba(255,255,255,0.6);
    max-width: 600px; margin: 0 auto 36px;
  }
  .cta-dark__row {
    display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
    margin-bottom: 28px;
  }
  .cta-dark__sec {
    font-size: 13px; color: rgba(255,255,255,0.5);
    letter-spacing: 0.02em;
  }
  .cta-dark__sec a {
    color: rgba(255,255,255,0.9) !important; text-decoration: underline;
    text-decoration-color: rgba(200,245,106,0.5);
    text-underline-offset: 4px;
    font-weight: 500;
  }
  .cta-dark__sec a:hover { color: var(--lime, #c8f56a) !important; text-decoration-color: var(--lime, #c8f56a); }

  /* ---------- MOBILE ---------- */
  @media (max-width: 960px) {
    .hero__wrap { grid-template-columns: 1fr; gap: 44px; padding: 0 32px; }
    .hero__photo { max-width: 360px; }
    .about__wrap { grid-template-columns: 1fr; gap: 36px; }
    .about__photo { max-width: 280px; }
    .about__credits { max-width: 360px; }
    .seg-grid, .cases__grid { grid-template-columns: 1fr; grid-template-rows: none; }
    .seg, .case-story { grid-template-rows: none; grid-row: auto; display: flex; flex-direction: column; }
    .seg { row-gap: 0; }
    .seg__label { margin: 0 0 22px; }
    .seg h3 { margin: 0 0 18px; }
    .case-story { row-gap: 22px; }
    .faq-section__head { grid-template-columns: 1fr; gap: 18px; }
  }
  @media (max-width: 720px) {
    .hero { padding: 56px 0; }
    .pain { padding: 56px 0; }
    .who, .about, .cases, .faq-section { padding: 64px 0; }
    .cta-dark { padding: 72px 0; }
    .cta-dark h2 { font-size: 30px; }
    .hero__meta { gap: 22px; }
    .case-story { padding: 28px 22px; }
    .seg { padding: 28px 24px; }
  }


/* === blog.html page styles === */
html,body{background:transparent}

/* === blog.html page styles === */

  /* Header ----------------------------------------------------------- */
  .blog-header {
    background: var(--canvas);
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hair);
  }
  .blog-header__wrap {
    max-width: 1180px; margin: 0 auto;
    padding: 0 var(--pad-x);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: end;
  }
  .blog-header h1 {
    font-family: var(--ff-serif);
    font-size: 52px; font-weight: 400;
    line-height: 1.08; letter-spacing: -0.5px;
    color: var(--ink); margin: 12px 0 18px;
  }
  .blog-header h1 em { font-style: italic; }
  .blog-header__sub { font-size: 16px; font-weight: 300; line-height: 1.7; color: var(--ink2); margin: 0; max-width: 540px; }
  .blog-header__stats {
    border-left: 1px solid var(--hair);
    padding-left: 32px;
    display: flex; flex-direction: column; gap: 16px;
  }
  .blog-stat {
    display: flex; gap: 14px; align-items: baseline;
  }
  .blog-stat__num {
    font-family: var(--ff-serif);
    font-size: 32px; color: var(--mid);
    line-height: 1; min-width: 64px;
  }
  .blog-stat__label { font-size: 12px; color: var(--ink3); line-height: 1.5; }

  /* Filters ---------------------------------------------------------- */
  .filters {
    background: var(--canvas);
    padding: 20px 0;
    border-bottom: 1px solid var(--hair);
    position: sticky; top: 60px; z-index: 30;
  }
  .filters__wrap {
    max-width: 1180px; margin: 0 auto;
    padding: 0 var(--pad-x);
    display: flex; gap: 8px; flex-wrap: wrap;
    align-items: center;
  }
  .filters__label {
    font-size: 11px; color: var(--ink3);
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-right: 8px;
  }

  /* Featured grid ---------------------------------------------------- */
  .featured {
    background: var(--canvas);
    padding: 56px 0;
  }
  .featured__wrap {
    max-width: 1180px; margin: 0 auto;
    padding: 0 var(--pad-x);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
  }

  .feature-main {
    display: block;
    text-decoration: none; color: inherit;
  }
  .feature-main:hover { text-decoration: none; }
  .feature-main__cover {
    aspect-ratio: 5/3;
    background: linear-gradient(135deg, var(--deep) 0%, var(--mid) 100%);
    border-radius: var(--r-md);
    position: relative; overflow: hidden;
    margin-bottom: 24px;
  }
  .feature-main__cover::after {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(circle at 80% 20%, rgba(200,245,106,0.16), transparent 50%),
      repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 18px, transparent 18px 36px);
  }
  .feature-main__badge {
    position: absolute; top: 18px; left: 18px;
    z-index: 2;
  }
  .feature-main__meta {
    position: absolute; bottom: 18px; left: 22px; right: 22px;
    z-index: 2; display: flex; gap: 16px;
    font-size: 11px; letter-spacing: 0.06em;
    color: rgba(255,255,255,0.7); text-transform: uppercase;
  }
  .feature-main h2 {
    font-family: var(--ff-serif);
    font-size: 32px; font-weight: 400;
    line-height: 1.15; letter-spacing: -0.3px;
    color: var(--ink); margin: 0 0 14px;
  }
  .feature-main h2 em { font-style: italic; }
  .feature-main__lead { font-size: 15px; font-weight: 300; line-height: 1.65; color: var(--ink2); margin: 0; }
  .feature-main:hover h2 { color: var(--mid); }

  .feature-list { display: flex; flex-direction: column; }
  .feature-list__head {
    display: flex; justify-content: space-between; align-items: baseline;
    padding-bottom: 18px; border-bottom: 1px solid var(--hair);
    margin-bottom: 8px;
  }
  .feature-list__title {
    font-family: var(--ff-sans);
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink3);
  }
  .feature-list__count { font-family: var(--ff-serif); font-size: 18px; color: var(--p200); }

  .feature-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--hair);
    text-decoration: none;
    color: inherit;
    transition: padding-left .2s ease;
  }
  .feature-item:last-child { border-bottom: none; }
  .feature-item:hover { text-decoration: none; padding-left: 4px; }
  .feature-item__num {
    font-family: var(--ff-serif);
    font-size: 20px; color: var(--p200); line-height: 1;
  }
  .feature-item:hover .feature-item__num { color: var(--mid); }
  .feature-item__cat {
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 6px;
  }
  .feature-item h3 {
    font-family: var(--ff-serif);
    font-size: 17px; font-weight: 400;
    line-height: 1.3; color: var(--ink);
    margin: 0 0 6px;
  }
  .feature-item:hover h3 { color: var(--mid); }
  .feature-item__meta { font-size: 11px; color: var(--ink3); letter-spacing: 0.04em; }

  /* All articles grid ------------------------------------------------ */
  .grid-section { background: var(--surface); padding: 72px 0; }
  .grid-section__wrap {
    max-width: 1180px; margin: 0 auto;
    padding: 0 var(--pad-x);
  }
  .grid-section__head {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
  }
  .grid-section__head h2 {
    font-family: var(--ff-serif);
    font-size: 32px; font-weight: 400;
    color: var(--ink); margin: 0;
    letter-spacing: -0.2px;
  }
  .grid-section__head h2 em { font-style: italic; }

  .article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .art-card {
    background: var(--canvas);
    border: 1px solid var(--hair);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex; flex-direction: column;
    text-decoration: none; color: inherit;
    transition: border-color .2s ease, transform .12s ease;
  }
  .art-card:hover { border-color: var(--p200); text-decoration: none; transform: translateY(-2px); }
  .art-card__cover {
    aspect-ratio: 5/3;
    background: var(--surface);
    border-bottom: 1px solid var(--hair);
    position: relative; overflow: hidden;
  }
  .art-card__cover--a { background: linear-gradient(140deg, #534AB7 0%, #1e1640 100%); }
  .art-card__cover--b { background: var(--cream); }
  .art-card__cover--c { background: linear-gradient(140deg, #faf8f2 0%, #f5f3ff 100%); }
  .art-card__cover--d { background: var(--deep); }
  .art-card__cover--e { background: linear-gradient(140deg, #1e1640 0%, #534AB7 60%, #b8b2f6 100%); }
  .art-card__cover--f { background: var(--p50); }
  .art-card__cover-tag {
    position: absolute; top: 14px; left: 14px;
  }
  .art-card__cover-glyph {
    position: absolute; bottom: 14px; right: 16px;
    font-family: var(--ff-serif);
    font-size: 64px; line-height: 0.9;
    color: rgba(255,255,255,0.18);
  }
  .art-card__cover--b .art-card__cover-glyph,
  .art-card__cover--c .art-card__cover-glyph,
  .art-card__cover--f .art-card__cover-glyph { color: rgba(83,74,183,0.18); }
  .art-card__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
  .art-card__cat {
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 8px;
  }
  .art-card h3 {
    font-family: var(--ff-serif);
    font-size: 19px; font-weight: 400;
    line-height: 1.25; color: var(--ink);
    margin: 0 0 10px; letter-spacing: -0.2px;
  }
  .art-card__excerpt {
    font-size: 13px; font-weight: 300; line-height: 1.6;
    color: var(--ink2); margin: 0 0 16px; flex: 1;
  }
  .art-card__meta {
    font-size: 11px; color: var(--ink3); letter-spacing: 0.04em;
    padding-top: 14px; border-top: 1px solid var(--hair);
  }

  /* Subscribe band --------------------------------------------------- */
  .subscribe { background: var(--deep); padding: 72px 0; color: #fff; }
  .subscribe__wrap {
    max-width: var(--container); margin: 0 auto;
    padding: 0 var(--pad-x);
    display: grid; grid-template-columns: 1fr 360px;
    gap: 64px; align-items: center;
  }
  .subscribe h2 {
    font-family: var(--ff-serif);
    font-size: 32px; font-weight: 400;
    color: #fff; line-height: 1.2; margin: 12px 0 12px;
  }
  .subscribe h2 em { font-style: italic; }
  .subscribe__sub { font-size: 14px; font-weight: 300; line-height: 1.65; color: rgba(255,255,255,0.55); margin: 0; max-width: 440px; }
  .subscribe__form {
    display: grid; gap: 10px;
  }
  .subscribe__input {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    padding: 14px 16px;
    border-radius: var(--r-sm);
    font-family: var(--ff-sans); font-size: 14px;
    outline: none;
  }
  .subscribe__input::placeholder { color: rgba(255,255,255,0.4); }
  .subscribe__input:focus { border-color: var(--p200); }
  .subscribe__note { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 0.04em; margin-top: 6px; }

  @media (max-width: 960px) {
    .blog-header__wrap { grid-template-columns: 1fr; gap: 36px; }
    .blog-header__stats { border-left: none; padding-left: 0; border-top: 1px solid var(--hair); padding-top: 28px; flex-direction: row; flex-wrap: wrap; gap: 24px 40px; }
    .featured__wrap { grid-template-columns: 1fr; gap: 36px; }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .subscribe__wrap { grid-template-columns: 1fr; }
  }
  @media (max-width: 720px) {
    .blog-header h1 { font-size: 34px; }
    .feature-main h2 { font-size: 24px; }
    .article-grid { grid-template-columns: 1fr; }
    .grid-section__head h2 { font-size: 26px; }
  }


/* === article.html page styles === */
html,body{background:transparent}

/* === article.html page styles === */

  /* Article header --------------------------------------------------- */
  .art-header {
    background: var(--cream);
    padding: 56px 0 48px;
  }
  .art-header__wrap {
    max-width: var(--container); margin: 0 auto;
    padding: 0 var(--pad-x);
  }
  .breadcrumb {
    font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--ink3); margin-bottom: 18px;
  }
  .breadcrumb a { color: var(--ink3); }
  .breadcrumb a:hover { color: var(--mid); }
  .breadcrumb__sep { margin: 0 8px; color: var(--p200); }
  .art-header__tag { margin-bottom: 20px; display: inline-block; }
  .art-header__title {
    font-family: var(--ff-serif);
    font-size: 44px; font-weight: 400;
    line-height: 1.08; letter-spacing: -0.5px;
    color: var(--ink); margin: 0 0 22px;
    max-width: 760px;
  }
  .art-header__title em { font-style: italic; }
  .art-header__lead {
    font-size: 18px; font-weight: 300; line-height: 1.7;
    color: var(--ink2); margin: 0 0 36px; max-width: 680px;
  }
  .byline {
    display: flex; align-items: center; gap: 14px;
    padding-top: 24px; border-top: 1px solid var(--hair);
  }
  .byline__avatar {
    width: 44px; height: 44px;
    border-radius: 50%; background: var(--p50);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--ff-serif); font-size: 18px; color: var(--mid);
    border: 1px solid var(--p200);
  }
  .byline__who { display: flex; flex-direction: column; gap: 2px; }
  .byline__name { font-size: 14px; font-weight: 500; color: var(--ink); }
  .byline__meta { font-size: 12px; color: var(--ink3); letter-spacing: 0.03em; }
  .byline__share { margin-left: auto; display: flex; gap: 8px; }
  .byline__share a {
    width: 36px; height: 36px;
    border: 1px solid var(--hair); border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--ink2); font-size: 13px; font-weight: 600;
    background: var(--canvas);
  }
  .byline__share a:hover { border-color: var(--p200); color: var(--mid); text-decoration: none; }

  /* Body layout ------------------------------------------------------ */
  .art-body { background: var(--canvas); padding: 56px 0 80px; }
  .art-body__wrap {
    max-width: var(--container); margin: 0 auto;
    padding: 0 var(--pad-x);
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 56px;
    align-items: start;
  }
  .art-content > p:first-child { margin-top: 0; }
  .art-content .article-h2:first-child { margin-top: 0; }

  .art-sidebar { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 16px; }
  .art-sidebar .toc__title { display: flex; justify-content: space-between; align-items: baseline; }
  .art-sidebar .toc__progress { font-family: var(--ff-serif); font-size: 14px; color: var(--p200); }

  /* Tags row & footer of article ------------------------------------- */
  .art-tags { margin: 40px 0 32px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .art-tags__label { font-size: 11px; color: var(--ink3); letter-spacing: 0.08em; text-transform: uppercase; margin-right: 4px; }

  .art-author {
    margin-top: 36px;
    padding: 28px 32px;
    background: var(--surface);
    border-radius: var(--r-lg);
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    align-items: start;
  }
  .art-author__avatar {
    width: 64px; height: 64px;
    border-radius: 50%; background: var(--p50);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--ff-serif); font-size: 22px; color: var(--mid);
    border: 1px solid var(--p200);
  }
  .art-author h3 {
    font-family: var(--ff-serif); font-size: 22px; font-weight: 400;
    line-height: 1.2; color: var(--ink); margin: 0 0 6px;
  }
  .art-author__bio { font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--ink2); margin: 0 0 12px; }

  /* Related ---------------------------------------------------------- */
  .related { background: var(--surface); padding: 64px 0 72px; }
  .related__wrap {
    max-width: 1180px; margin: 0 auto;
    padding: 0 var(--pad-x);
  }
  .related h2 {
    font-family: var(--ff-serif); font-size: 32px; font-weight: 400;
    color: var(--ink); margin: 0 0 32px;
    letter-spacing: -0.2px;
  }
  .related h2 em { font-style: italic; }
  .related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  @media (max-width: 960px) {
    .art-body__wrap { grid-template-columns: 1fr; gap: 40px; }
    .art-sidebar { position: static; }
    .related__grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 720px) {
    .art-header__title { font-size: 30px; }
    .art-author { grid-template-columns: 1fr; }
  }
 /* =============================================
   ПОТОК — страница статьи
   ============================================= */

/* Заголовок статьи */
h1.t-feed__post-popup__title,
.t-feed__post-popup__title.t-title,
.js-feed-post-title.t-feed__post-popup__title {
  color: #16132e !important;
  font-family: "DM Serif Display", Georgia, serif !important;
  font-weight: 400 !important;
  letter-spacing: -0.5px !important;
}

/* Дата */
.t-feed__post-popup__date-parts-wrapper,
.t-feed__post-popup__date-parts-wrapper * {
  color: #9490b0 !important;
  font-size: 12px !important;
  font-family: "DM Sans", sans-serif !important;
}

/* Текст статьи */
#feed-text p,
.t-feed__post-popup__text-wrapper p {
  font-family: "DM Sans", sans-serif !important;
  color: #49456a !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 1.85 !important;
}

/* Ширина колонки текста */
.t-feed__post-popup__content-wrapper {
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

/* Автор */
.js-feed-post-author.t-feed__post-popup__author-wrapper {
  display: none !important;
}

/* =============================================
   ПОТОК — карточки на главной блога
   ============================================= */

/* Заголовок карточки */
.t-feed__post-title {
  font-family: "DM Serif Display", Georgia, serif !important;
  color: #16132e !important;
  font-weight: 400 !important;
}

/* Анонс карточки */
.t-feed__post-descr {
  font-family: "DM Sans", sans-serif !important;
  color: #49456a !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  line-height: 1.7 !important;
}

/* Дата карточки */
.t-feed__post-date {
  color: #9490b0 !important;
  font-size: 12px !important;
  font-family: "DM Sans", sans-serif !important;
}

/* Текст статьи — реальные классы */
.t-feed__post-popup__text .t-redactor__text,
.t-feed__post-popup__text .t-redactor__tte-view .t-redactor__text {
  font-family: "DM Sans", sans-serif !important;
  color: #49456a !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 1.85 !important;
}

/* Ширина колонки */
.t-feed__post-popup__text {
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

/* Картинка в статье */
#feed-cover,
.t-feed__post-popup__cover-wrapper {
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

/* Заголовок и дата — выравнивание с текстом */
.t-feed__post-popup__title-wrapper,
.t-feed__post-popup__date-parts-wrapper {
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

.t-feed__post-popup__date-parts-wrapper {
  margin-top: 12px !important;
  margin-bottom: 24px !important;
}