/* ===============================
   HERO (ONLY HOME)
================================ */
.hero{
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: clamp(44px, 9vw, 108px) 0;
  border-bottom: 1px solid rgba(228,249,255,.10);
}

/* Световая подсветка */
.hero::before{
  content:"";
  position: absolute;
  inset:-120px -120px auto -120px;
  height: 540px;
  background:
    radial-gradient(
      closest-side at 26% 46%,
      rgba(190,223,244,.18),
      rgba(190,223,244,0) 68%
    );
  pointer-events: none;
  z-index:0;
}

/* Марк */
.hero::after{
  content:"";
  position: absolute;
  right: -22%;
  top: -32%;
  width: 640px;
  height: 640px;
  background: url("./assets/mark.webp") center/contain no-repeat;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
  transform: translateY(-60px);
}

.hero__grid{ position: relative; z-index:1; }

.hero__entry{
  margin:0 0 36px;
  color: var(--mutedDark);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 900px;
}

.hero__title{
  margin: 0 0 14px;
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(2.25rem, 7.5vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--light);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 19ch;
}

.hero__line{
  display: block;
  width: 100%;
  text-wrap: balance;
}

.hero__line--offset{
  margin-left: clamp(0px, 8vw, 115px);
  text-align: left;
}

.hero__mission{
  margin-top: 36px;
  color: rgba(228,249,255,.82);
  font-size: 17px;
  line-height: 1.9;
  max-width: 900px;
}

/* ===============================
   RESTORE: BLOCK 2/3/4 (HOME)
   (то, что “пропало” визуально)
================================ */

/* Хед секции — чтобы ритм/ширина были как раньше (в пределах вашей 900 зоны контента) */
.section__head{ max-width: 900px; }

/* Сильная строка (используется в тексте) */
.p--strong{
  font-weight: 800;
  color: rgba(228,249,255,.92);
}
.section--blue .p--strong,
.section--light .p--strong{
  color: rgba(21,30,83,.92);
}

/* 2-й блок: “cardless list” — ВОЗВРАЩАЕМ */
.list{
  margin-top: 28px;
}
.list--navy{
  border-top: 1px solid rgba(21,30,83,.14);
}
.list__row{
  padding: 18px 0;
  border-bottom: 1px solid rgba(21,30,83,.14);
}
.list__title{
  font-weight: 900;
  letter-spacing: .01em;
  font-size: 16px;
  margin-bottom: 6px;
}
.list__text{
  font-size: 1rem;
  line-height: 1.95;
}
.list__title--navy{ color: rgba(21,30,83,.92); }
.list__text--navy{ color: rgba(21,30,83,.72); }

/* 3–4 блок: глубокая секция — возвращаем “свет/mark” + делаем лёгкую пульсацию */
.section--deep{
  position: relative;
  overflow: hidden;
  padding-bottom: 48px; /* как было в “красивой” версии */
}

/* Пульсирующее освещение (поверх base.css, не ломает сетку) */
.section--deep::before{
  content:"";
  position:absolute;
  inset: -120px -120px auto -120px;
  height: 520px;
  background:
    radial-gradient(
      closest-side at 18% 25%,
      rgba(190,223,244,.12),
      rgba(190,223,244,0) 70%
    );
  opacity: .95;
  pointer-events:none;
  z-index:0;
  animation: deepGlow 8.5s ease-in-out infinite;
}

@keyframes deepGlow{
  0%   { transform: translateY(0) scale(1);   opacity: .70; }
  50%  { transform: translateY(10px) scale(1.03); opacity: .95; }
  100% { transform: translateY(0) scale(1);   opacity: .70; }
}

/* Марк внизу deep-секции */
.section--deep::after{
  content:"";
  position:absolute;
  right:-20%;
  bottom:-35%;
  width:680px;
  height:680px;
  background:url("./assets/mark.webp") center/contain no-repeat;
  opacity:0.035;
  pointer-events:none;
  z-index:0;
}

/* Контент deep-секции всегда поверх подсветки */
.section--deep > .container{
  position: relative;
  z-index: 1;
}

/* ===============================
   MANIFESTO (HOME) — aligned to current HTML
   ================================ */
/* Заголовок: больше воздуха и линия под ним */
.section--manifesto .manifesto__side{
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 26px;
}

.section--manifesto .manifesto__side::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  height:1px;
  width: 72%;
  max-width: 520px;
  border-radius: 999px;
  background: rgba(21,30,83,.14); /* как линии в блоке выше (list__row) */
}

.section--manifesto .manifesto__body{
  position: relative;
  padding-left: 44px;
}

.section--manifesto .manifesto__body::before{
  content:"";
  position:absolute;
  left: 16px;      /* X линии */
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(21,30,83,.35);
  box-shadow:
    0 0 0 6px rgba(190,223,244,.18),
    0 8px 20px rgba(21,30,83,.18);
  border-radius: 900px;
}

/* Лид-абзац */
.section--manifesto .manifesto__lead{
  font-size: 19px;
  line-height: 1.9;
  color: rgba(21,30,83,.78);
  margin: 0;
  max-width: 820px;
}

/* Все абзацы в manifesto */
.section--manifesto .manifesto__body .p{
  margin: 0;
  color: rgba(21,30,83,.70);
}

/* Горизонтальные линии между абзацами — как в блоке выше */
.section--manifesto .manifesto__body .p + .p{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(21,30,83,.14);
}

/* Первые слова абзацев — под ваш класс manifesto__kick */
.section--manifesto .manifesto__kick{
  font-weight: 700;
  font-size: 0.95em; /* чуть меньше основного текста, чтобы не конкурировать с h2 */
  color: rgba(21,30,83,.92);
  letter-spacing: .005em;
}

.section--manifesto .manifesto__p{
  position: relative;
  padding-left: 0;
}

.section--manifesto .manifesto__p::before{
  content:"";
  position:absolute;

  /* X: делаем отступ от линии, чтобы не “влипало” */
  left: -34px;          /* подогнать при необходимости: -32…-38 */

  /* Y: привязка к верхней границе абзаца + пиксельная поправка */
  top: 6px;             /* подогнать при необходимости: 5…8 */

  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(228,249,255,.85);
  border: 2px solid rgba(21,30,83,.22);
  box-shadow: 0 0 0 6px rgba(190,223,244,.18);
}

/* чтобы не было “двойной” линии перед кнопкой:
   последнему абзацу убираем нижний border, т.к. у .manifesto__actions уже есть верхняя линия */
.section--manifesto .manifesto__p:last-of-type{
  border-bottom: none;
  padding-bottom: 10px;
}

/* ===============================
   THESES (HOME)
================================ */
.thesesWrap{
  position: relative;
  padding-left: 38px;
  max-width: 900px;
}

.thesesWrap::before{
  content:"";
  position:absolute;
  left:0;
  top: .35em;
  bottom: 10px;
  width: 2px;
  border-radius: 999px;
  background: rgba(190,223,244,.35);
  box-shadow: 0 0 0 6px rgba(190,223,244,.08);
  pointer-events:none;
}

/* важно: в “красивой” версии лид был position:relative */
.theses__lead{
  margin-top: 22px;
  margin-bottom: 14px;
  color: rgba(228,249,255,.86);
  font-weight: 600;
  letter-spacing: .01em;
  position: relative;
}

.theses{
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  max-width: 900px;
}

.theses li{
  margin: 12px 0;
  color: rgba(228,249,255,.82);
  font-size: 17px;
  line-height: 1.8;
}

.theses strong{
  font-weight: 400;
  color: var(--light);
}

/* ===============================
   CTA BOTTOM (HOME)
================================ */
.cta-bottom{ margin-top: 42px; }

.cta-bottom .container{
  display:flex;
  justify-content:flex-start;
}

.cta-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(190,223,244,.85);
  color: var(--navy);

  font-weight: 700;
  font-size: 14px;
  letter-spacing: .015em;

  padding: 11px 22px;
  border-radius: 999px;

  border: 1px solid rgba(21,30,83,.22);
  box-shadow: 0 10px 26px rgba(21,30,83,.16);

  transition:
    transform var(--dur) var(--ease),
    background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.cta-button:hover{
  background: rgba(190,223,244,1);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(21,30,83,.22);
}

.hero__entry { margin-bottom: clamp(20px, 4vw, 42px); max-width: 64ch; }
.hero__mission { margin-top: clamp(22px, 4.5vw, 42px); max-width: 66ch; }
.hero__line--offset { width: auto; }
.list--navy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  border: 0;
}
.list__row {
  padding: clamp(17px, 2.6vw, 30px);
  border: 1px solid var(--lineNavy);
  border-radius: 16px;
  background: rgba(228,249,255,.65);
}
.list__title { font-size: clamp(1.05rem, 1.85vw, 1.25rem); }
.list__text { line-height: 1.65; }

@media (max-width: 620px) {
  .hero { padding-block: 50px 54px; }
  .hero::before {
    inset: -35% -32% auto;
    background: radial-gradient(ellipse at 38% 54%, rgba(190,223,244,.28), transparent 62%);
  }
  .hero::after {
    width: min(112%, 520px);
    height: auto;
    aspect-ratio: 1;
    top: -12%;
    right: -36%;
    transform: none;
    opacity: .09;
  }
  .hero__entry { max-width: 39ch; margin-bottom: 28px; }
  .hero__title { font-size: clamp(1.95rem, 9.2vw, 3.6rem); line-height: .99; }
  .hero__line--offset { margin-left: clamp(4px, 3.1vw, 19px); margin-top: .14em; }
  .hero__mission { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--gold); }
  .list--navy { grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
  .list__row { padding: 16px 18px; border-inline-start: 2px solid var(--gold); }
  .section--manifesto .manifesto__body { padding-left: 23px; }
  .section--manifesto .manifesto__body::before { left: 2px; }
  .manifesto__p, .theses li { font-size: 1rem; }
}
