/* Раскладка страницы программы. Цвета и кнопки — из лендинга.
   Ниже первого экрана одна мера: заголовок, текст и карточки делят одни края. */
.founders {
  --founders-measure: 760px;
}

.founders .hero {
  /* В base.css у .hero остался нижний отступ 28px от другого экрана. */
  margin-bottom: 0;
  padding-bottom: 8px;
  text-align: center;
}

/* На главной широкий экран делит героя на две колонки. Здесь один столбец. */
@media (min-width: 1100px) {
  .founders .hero {
    text-align: center;
  }

  .founders .hero .wrap {
    display: block;
  }

  .founders .hero h1 {
    max-width: 14em;
    margin-left: auto;
    margin-right: auto;
  }

  .founders .hero .lead {
    margin-left: auto;
    margin-right: auto;
  }
}

.founders .kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #247b5a;
}

.founders .hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.founders .btn.wide {
  min-width: min(100%, 320px);
  padding: 16px 22px;
  font-size: 15px;
}

.founders .text-link,
.founders .check a {
  color: #1d6b48;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.founders .text-link:hover,
.founders .check a:hover {
  color: #123b2d;
}

.founders .text-link {
  font-size: 15px;
}

.offer-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 640px;
  margin: 28px auto 14px;
  text-align: left;
}

.offer-pair article,
.gain article,
.anketa-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.offer-pair article {
  padding: 18px 18px 16px;
}

.offer-pair b {
  display: block;
  font-size: clamp(26px, 4vw, 32px);
  letter-spacing: -0.04em;
  color: #123b2d;
  line-height: 1.1;
}

.offer-pair span {
  display: block;
  margin-top: 4px;
  color: #24312c;
  font-weight: 600;
  font-size: 16px;
}

.price-note {
  margin: 0 auto;
  max-width: 640px;
  color: #24312c;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.closed-note {
  max-width: 640px;
  margin: 0 auto 16px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f4f7f5;
  color: #24312c;
  font-size: 15px;
  font-weight: 600;
}

.closed-note[hidden] {
  display: none !important;
}

.founders .prose {
  max-width: var(--founders-measure);
  margin-inline: auto;
  text-align: left;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 500;
  color: #24312c;
}

.founders .prose p {
  margin: 0 0 14px;
}

.founders .prose p:last-child {
  margin-bottom: 0;
}

.gain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: var(--founders-measure);
  margin: 8px auto 0;
}

.gain article {
  padding: 18px 18px 16px;
}

.gain h3,
.asks h3 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.gain h3::before {
  content: "✓ ";
  color: #217752;
}

.gain p,
.asks p {
  margin: 0;
  color: #24312c;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

.asks {
  display: grid;
  gap: 18px;
  max-width: var(--founders-measure);
  margin: 8px auto 0;
}

.honest {
  max-width: var(--founders-measure);
  margin: 22px auto 0;
  padding: 14px 16px;
  border: 1px solid #d7ebe1;
  border-radius: 16px;
  background: #f4faf6;
  color: #24312c;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

#anketa {
  scroll-margin-top: 96px;
}

.founders .lede {
  max-width: var(--founders-measure);
  margin: 0 auto 8px;
  color: #24312c;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
}

.founders #anketa .lede {
  text-align: center;
}

.anketa-card {
  max-width: var(--founders-measure);
  margin: 18px auto 0;
  padding: 22px 18px 18px;
}

.founders .anketa-card label {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  color: #24312c;
  font-size: 15px;
  font-weight: 700;
}

.founders .anketa-card :is(input, select, textarea) {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fbfcfb;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
}

.founders .anketa-card textarea {
  min-height: 96px;
  resize: vertical;
}

.founders .anketa-card select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123b2d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

.founders .anketa-card label.check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
}

.founders .check input {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.founders .check span {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}

.founders :is(input, select, textarea):focus-visible {
  outline: 3px solid #8ed9b5;
  outline-offset: 1px;
  border-color: #8fbca7;
}

.founders :is(input, select, textarea)[aria-invalid="true"] {
  border-color: #c56b6b;
}

.founders .anketa-card .btn {
  width: 100%;
  margin-top: 6px;
}

.founders button.btn:disabled,
.founders button.btn:disabled:hover {
  background: var(--deep);
  transform: none;
  box-shadow: none;
  opacity: 0.72;
  cursor: progress;
}

.founders .error {
  min-height: 1.3em;
  margin: 8px 0 0;
  color: #8f3232;
  font-weight: 600;
}

.founders .after {
  margin: 10px 0 0;
  color: #24312c;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.founders .done h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 12px;
}

.founders .done p {
  margin: 0 0 10px;
  color: #24312c;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
}

.founders .done .sign {
  margin-top: 16px;
  font-weight: 700;
}

.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.founders .finalbox {
  max-width: var(--founders-measure);
  margin-inline: auto;
}

.founders .finalbox h2 {
  max-width: 12em;
  margin-inline: auto;
  font-size: 36px;
  line-height: 1.15;
  text-wrap: balance;
}

/* Секции лендинга рассчитаны на широкий левый заголовок. Здесь своя ось:
   общий контейнер уже, заголовок по центру и меньше H1, длинный текст — узкая колонка. */
.founders .section {
  padding: 64px 0 0;
}

.founders .final {
  padding-top: 64px;
}

.founders .section > .wrap,
.founders .final > .wrap {
  width: min(1080px, calc(100% - 40px));
}

.founders .section > .wrap > h2 {
  width: fit-content;
  max-width: min(15em, 100%);
  margin: 0 auto 18px;
  font-size: 34px;
  line-height: 1.22;
  text-align: center;
  text-wrap: balance;
}

.founders .faq {
  max-width: var(--founders-measure);
  margin-inline: auto;
}

.founders .finalbox .btn {
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .founders .section,
  .founders .final {
    padding-top: 52px;
  }

  .founders .section > .wrap > h2 {
    font-size: 30px;
  }

  .founders .finalbox h2 {
    font-size: 32px;
  }
}

@media (max-width: 700px) {
  .founders .section,
  .founders .final {
    padding-top: 40px;
  }

  .founders .section > .wrap > h2 {
    font-size: 26px;
  }

  .founders .finalbox h2 {
    font-size: 28px;
  }

  .offer-pair,
  .gain {
    grid-template-columns: 1fr;
  }

  .anketa-card {
    padding: 18px 14px 16px;
  }

  .founders .nav {
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .founders .section > .wrap,
  .founders .final > .wrap {
    width: calc(100% - 24px);
  }
}
