/* FounderScore — публичный сайт пилота.
   Спокойный инвестиционно-деловой визуал. Без внешних шрифтов и JS-зависимостей:
   всё критичное к SEO и к CWV отдаётся первым HTML-ответом. */

:root {
  --ink: #12161f;
  --ink-soft: #454e5e;
  --ink-mute: #6b7484;
  --line: #e2e6ec;
  --line-soft: #eef1f5;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --bg-deep: #101623;
  --accent: #1f5fd6;
  --accent-deep: #17489f;
  --accent-soft: #eaf0fd;
  --good: #1c7a52;
  --good-soft: #e8f5ee;
  --warn: #8a5a12;
  --warn-soft: #fbf1de;
  --radius: 12px;
  --radius-lg: 18px;
  --wrap: 1080px;
  --measure: 68ch;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.measure { max-width: var(--measure); }

/* ---------- Шапка ---------- */

.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  font-weight: 660;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.brand:hover { text-decoration: none; }
.brand span { color: var(--accent); }
.site-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 15px;
}
.site-nav a { color: var(--ink-soft); }
.site-nav .nav-cta {
  color: #fff;
  background: var(--accent);
  padding: 9px 16px;
  border-radius: 9px;
  font-weight: 560;
}
.site-nav .nav-cta:hover { background: var(--accent-deep); text-decoration: none; }

@media (max-width: 780px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* ---------- Типографика ---------- */

h1 {
  font-size: clamp(29px, 5.2vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.022em;
  font-weight: 700;
  margin: 0 0 18px;
}
h2 {
  font-size: clamp(23px, 3.4vw, 31px);
  line-height: 1.22;
  letter-spacing: -0.016em;
  font-weight: 680;
  margin: 0 0 16px;
}
h3 {
  font-size: 19px;
  line-height: 1.32;
  font-weight: 640;
  margin: 0 0 10px;
}
p { margin: 0 0 16px; }
.lead {
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.52;
  color: var(--ink-soft);
}

section { padding: 56px 0; }
section.tight { padding: 40px 0; }
section.soft { background: var(--bg-soft); }
section + section { border-top: 1px solid var(--line-soft); }
section.soft + section, section + section.soft { border-top: 0; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 620;
  margin: 0 0 12px;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  padding: 15px 28px;
  border-radius: 11px;
  border: 0;
  cursor: pointer;
  text-align: center;
}
.btn:hover { background: var(--accent-deep); text-decoration: none; }
.btn-lg { font-size: 18px; padding: 17px 34px; }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--accent-soft); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 26px 0 12px;
}
.cta-note { font-size: 15px; color: var(--ink-mute); margin: 0; }

/* ---------- Первый экран ---------- */

.hero { padding: 64px 0 52px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
}

.price-line {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 620;
  font-size: 17px;
  margin: 4px 0 6px;
}
.price-line b { font-size: 21px; font-weight: 720; }

.hero-facts {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.hero-facts li {
  padding-left: 27px;
  position: relative;
  color: var(--ink-soft);
}
.hero-facts li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Карточка примера отчёта ---------- */

.report-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 22, 35, 0.04), 0 12px 34px -20px rgba(16, 22, 35, 0.28);
}
.report-head {
  background: var(--bg-deep);
  color: #fff;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.report-head .rh-title { font-weight: 640; font-size: 16px; }
.report-head .rh-score {
  font-variant-numeric: tabular-nums;
  font-weight: 720;
  font-size: 22px;
  white-space: nowrap;
}
.report-head .rh-score small { font-size: 14px; opacity: 0.62; font-weight: 500; }
.report-verdict {
  padding: 12px 22px;
  background: var(--warn-soft);
  color: var(--warn);
  font-size: 15px;
  font-weight: 560;
  border-bottom: 1px solid var(--line-soft);
}
.report-body { padding: 20px 22px 22px; }
.report-body h4 {
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 640;
  margin: 20px 0 9px;
}
.report-body h4:first-child { margin-top: 0; }
.report-body ul, .report-body ol { margin: 0; padding-left: 20px; }
.report-body li { margin-bottom: 8px; font-size: 15.5px; line-height: 1.5; }
.report-foot {
  border-top: 1px solid var(--line-soft);
  padding: 14px 22px;
  font-size: 14px;
  color: var(--ink-mute);
  background: var(--bg-soft);
}

/* ---------- Сетки ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 18px; }
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
}
.card p:last-child { margin-bottom: 0; }
.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}

/* ---------- Список «что проверяем» ---------- */

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li {
  padding-left: 30px;
  position: relative;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--good);
  border-bottom: 2px solid var(--good);
  transform: rotate(-45deg);
}
.check-list b { font-weight: 620; }

/* ---------- Состав услуги ---------- */

.includes {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.includes-head {
  padding: 20px 24px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.includes-head .price { font-size: 27px; font-weight: 720; letter-spacing: -0.02em; }
.includes-body { padding: 22px 24px; }
.includes-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.includes-body li { padding-left: 28px; position: relative; }
.includes-body li::before {
  content: "";
  position: absolute;
  left: 2px; top: 7px;
  width: 11px; height: 7px;
  border-left: 2px solid var(--good);
  border-bottom: 2px solid var(--good);
  transform: rotate(-45deg);
}
.includes-body li.excl::before {
  content: "";
  border: 0;
  transform: none;
  left: 4px; top: 11px;
  width: 10px; height: 2px;
  background: var(--ink-mute);
}
.includes-body li.excl { color: var(--ink-mute); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 620;
  font-size: 17.5px;
  list-style: none;
  position: relative;
  padding-right: 34px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: -2px;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink-mute);
}
.faq details[open] summary::after { content: "–"; }
.faq details > *:not(summary) { margin-top: 12px; }
.faq p { color: var(--ink-soft); max-width: var(--measure); margin-bottom: 10px; }

/* ---------- Заметки и предупреждения ---------- */

.note {
  border-left: 3px solid var(--line);
  padding: 4px 0 4px 18px;
  color: var(--ink-soft);
  margin: 22px 0;
}
.note.limits { border-left-color: var(--warn); }
.note.privacy { border-left-color: var(--good); }
.note p:last-child { margin-bottom: 0; }

/* ---------- Статьи ---------- */

.article { padding: 44px 0 60px; }
.article-head { max-width: var(--measure); margin-bottom: 32px; }
.article-meta { font-size: 15px; color: var(--ink-mute); margin: 0; }
.article-body { max-width: var(--measure); }
.article-body h2 { margin-top: 40px; }
.article-body h3 { margin-top: 28px; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 18px; }
.article-body li { margin-bottom: 9px; }
.article-body blockquote {
  margin: 22px 0;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  color: var(--ink-soft);
}
.article-body blockquote p:last-child { margin-bottom: 0; }

.inline-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--bg-soft);
  margin: 36px 0;
}
.inline-cta h3 { margin-bottom: 8px; }
.inline-cta p { color: var(--ink-soft); margin-bottom: 16px; }

.crumbs { font-size: 14px; color: var(--ink-mute); margin: 0 0 20px; }
.crumbs a { color: var(--ink-mute); }
.crumbs span { padding: 0 7px; opacity: 0.6; }

/* ---------- Таблица ---------- */

.tbl { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 16px; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-weight: 640; background: var(--bg-soft); font-size: 15px; }

/* ---------- Форма заказа ---------- */

.order-box {
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 7px; }
.field input[type="email"], .field input[type="text"], .field input[type="file"] {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.field .hint { font-size: 14px; color: var(--ink-mute); margin: 7px 0 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); margin: 20px 0; }
.consent input { margin-top: 4px; flex: none; }

.status-steps { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 2px; }
.status-steps li {
  padding: 13px 16px 13px 44px;
  position: relative;
  background: var(--bg-soft);
  color: var(--ink-mute);
}
.status-steps li:first-child { border-radius: 10px 10px 0 0; }
.status-steps li:last-child { border-radius: 0 0 10px 10px; }
.status-steps li::before {
  content: "";
  position: absolute; left: 17px; top: 19px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line);
}
.status-steps li.done { color: var(--ink); }
.status-steps li.done::before { background: var(--good); }
.status-steps li.now { color: var(--ink); font-weight: 600; background: var(--accent-soft); }
.status-steps li.now::before { background: var(--accent); }

/* ---------- Подвал ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 40px 0 48px;
  font-size: 15px;
  color: var(--ink-mute);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}
@media (max-width: 780px) { .foot-grid { grid-template-columns: 1fr; gap: 24px; } }
.site-foot h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-mute); margin: 0 0 12px; font-weight: 640; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-foot a { color: var(--ink-soft); }
.foot-legal { border-top: 1px solid var(--line); padding-top: 22px; font-size: 14px; line-height: 1.55; }
.foot-legal p { margin: 0 0 8px; }

/* ---------- Служебное ---------- */

.skip {
  position: absolute; left: -9999px;
}
.skip:focus {
  left: 12px; top: 12px; z-index: 50;
  background: #fff; padding: 12px 18px; border-radius: 8px; border: 2px solid var(--accent);
}

.err-page { padding: 90px 0 110px; text-align: center; }
.err-page h1 { font-size: 64px; margin-bottom: 8px; }

/* ---------- Переключатель языка / language switch ---------- */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 8px;
  white-space: nowrap;
}
.site-nav .lang-switch a { color: var(--ink-mute); }
.lang-switch .ls-on { color: var(--ink); }
.lang-switch .ls-on::after { content: ""; }
.lang-switch > * + *::before {
  content: "/";
  color: var(--line);
  padding-right: 6px;
  font-weight: 400;
}
@media (max-width: 780px) {
  .site-nav .lang-switch { display: inline-flex; }
  .site-nav .lang-switch a { display: inline; }
}

/* Выбор языка на корневой странице / root language chooser */

.lang-pick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 34px 0 10px;
}
@media (max-width: 700px) { .lang-pick { grid-template-columns: 1fr; } }
.lang-pick a {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  background: #fff;
  color: var(--ink);
}
.lang-pick a:hover { border-color: var(--accent); background: var(--accent-soft); text-decoration: none; }
.lang-pick .lp-code {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}
.lang-pick strong { display: block; font-size: 20px; font-weight: 660; margin-bottom: 6px; }
.lang-pick span.lp-note { color: var(--ink-mute); font-size: 15px; }
