/* Общие стили публичных SEO-страниц («Возможности», «Бюджет», FAQ и т.д.).
   Палитра и шрифты один в один из public/404.html — это единственный готовый
   образец фирменного стиля вне React, и повторять его здесь важнее, чем
   изобретать новый: человек, пришедший из поиска, должен попасть на страницу,
   которая выглядит как то же приложение.

   Отдельный файл, а не инлайн в каждой странице: страниц восемь, стилей ~10 КБ,
   инлайн означал бы 80 КБ дублей и ноль кэширования между переходами.
   Подключается абсолютным путём /p/seo.css — сами страницы лежат в корне
   (/byudzhet, /faq), относительный путь из них не сработал бы. */

:root{
  --bg:#EEE9DE; --surface:#FBFAF6;
  --ink:#191510; --muted:#6C665A; --faint:#A79F8E;
  --line:#DED8CA;
  --accent:#127A56; --accent-ink:#0C5B40; --accent-soft:#E1EFE7;
  --sans:"Onest",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;
  --display:"Space Grotesk",var(--sans);
  --script:"Caveat",cursive;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:var(--sans);background:var(--bg);color:var(--ink);
  line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
a{color:var(--accent-ink);text-decoration:none}
a:hover{text-decoration:underline}
/* 2026-10-11: ссылки внутри абзацев и списков отличались от текста только
   цветом (2.2:1 к тексту — мало для слабовидящих, Lighthouse
   link-in-text-block). Подчёркиваем только их: меню, кнопки и плашки
   «Читать дальше» не затронуты. SEO-аудит 2026-10-11. */
main p a:not([class]),main li a:not([class]){text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
img{max-width:100%;height:auto}
.wrap{max-width:1100px;margin:0 auto;padding:0 60px;position:relative}

/* ---------- шапка ---------- */
header.sp-top{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:24px 0;
}
.sp-brand{display:flex;align-items:center;gap:12px}
.sp-brand:hover{text-decoration:none}
/* [2026-10-13] Новый логотип «Мы» — сердце из двух петель (/logo-heart.webp) вместо знака «=» в зелёном квадрате. */
.sp-logo{width:46px;height:46px;background:url(/logo-heart.webp) center/contain no-repeat;flex:0 0 auto}
.sp-logo span{display:none}
.sp-brand-name{font-family:var(--display);font-weight:700;font-size:22px;letter-spacing:-.01em;color:var(--ink)}
nav.sp-nav{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
nav.sp-nav a{font-size:15px;color:var(--muted);font-weight:500;white-space:nowrap}
nav.sp-nav a:hover{color:var(--ink);text-decoration:none}
nav.sp-nav a[aria-current="page"]{color:var(--accent-ink);font-weight:600}
.sp-cta-top{
  display:inline-flex;align-items:center;justify-content:center;
  padding:11px 22px;border-radius:999px;font-size:14.5px;font-weight:600;
  background:var(--accent-ink);color:#fff;white-space:nowrap;
  transition:background .15s;
}
.sp-cta-top:hover{background:var(--accent);text-decoration:none}

/* ---------- хлебные крошки ---------- */
/* 2026-10-11: текущий пункт был --faint (контраст 2.2:1, Lighthouse) — стал
   --muted (около 4.6:1). SEO-аудит 2026-10-11. */
.sp-crumbs{font-size:13.5px;color:var(--muted);padding:10px 0 0}
.sp-crumbs a{color:var(--muted)}
.sp-crumbs span{margin:0 8px;color:var(--line)}

/* ---------- обложка страницы ---------- */
.sp-hero{padding:30px 0 44px;border-bottom:1px solid var(--line)}
.sp-badge{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--accent-soft);color:var(--accent-ink);
  font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  padding:8px 16px;border-radius:999px;margin-bottom:22px;
}
h1{
  font-family:var(--display);font-weight:700;font-size:clamp(30px,4.4vw,46px);
  line-height:1.14;letter-spacing:-.02em;margin:0 0 18px;max-width:20ch;
}
.sp-lead{font-size:17.5px;color:var(--muted);max-width:62ch;margin:0 0 26px}
.sp-lead strong{color:var(--ink);font-weight:600}

/* ---------- текстовые блоки ---------- */
main section{padding:40px 0;border-bottom:1px solid var(--line)}
main section:last-of-type{border-bottom:none}
h2{
  font-family:var(--display);font-weight:700;font-size:clamp(23px,2.6vw,30px);
  line-height:1.24;letter-spacing:-.01em;color:var(--accent-ink);margin:0 0 16px;
}
h3{font-family:var(--display);font-weight:700;font-size:18.5px;margin:26px 0 8px;color:var(--ink)}
p{margin:0 0 14px;max-width:70ch}
ul.sp-list{margin:0 0 16px;padding:0;list-style:none;max-width:70ch}
ul.sp-list li{position:relative;padding-left:26px;margin-bottom:10px}
ul.sp-list li::before{
  content:"";position:absolute;left:4px;top:10px;
  width:7px;height:7px;border-radius:50%;background:var(--accent);
}

/* ---------- карточки возможностей ---------- */
.sp-cards{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;margin:22px 0 4px;
}
.sp-card{
  background:var(--surface);border:1px solid var(--line);border-radius:16px;
  padding:20px 20px 18px;min-width:0;
}
.sp-card-ico{
  width:42px;height:42px;border-radius:12px;background:var(--accent-soft);
  display:flex;align-items:center;justify-content:center;color:var(--accent-ink);
  margin-bottom:12px;
}
.sp-card-ico svg{width:20px;height:20px}
.sp-card b{display:block;font-size:15.5px;font-weight:700;margin-bottom:5px}
.sp-card span{display:block;font-size:14.5px;color:var(--muted);line-height:1.55}

/* ---------- шаги ---------- */
ol.sp-steps{margin:20px 0 4px;padding:0;list-style:none;counter-reset:step;max-width:70ch}
ol.sp-steps li{
  position:relative;padding-left:52px;margin-bottom:20px;counter-increment:step;
}
ol.sp-steps li::before{
  content:counter(step);position:absolute;left:0;top:-2px;
  width:34px;height:34px;border-radius:11px;background:var(--accent-ink);color:#fff;
  font-family:var(--display);font-weight:700;font-size:16px;
  display:flex;align-items:center;justify-content:center;
}
ol.sp-steps b{display:block;font-size:16.5px;margin-bottom:3px}
ol.sp-steps span{display:block;font-size:15px;color:var(--muted)}

/* ---------- FAQ ---------- */
.sp-faq{max-width:76ch}
.sp-faq-item{border-bottom:1px solid var(--line);padding:18px 0}
.sp-faq-item:first-child{border-top:1px solid var(--line)}
.sp-faq-item h3{margin:0 0 8px;font-size:17.5px;color:var(--accent-ink)}
.sp-faq-item p{font-size:15.5px;color:var(--muted);margin-bottom:8px}
.sp-faq-item p:last-child{margin-bottom:0}

/* ---------- призыв к действию ---------- */
.sp-cta{
  background:var(--surface);border:1px solid var(--line);border-radius:20px;
  padding:32px;margin:40px 0;text-align:center;
}
.sp-cta h2{margin-bottom:10px}
.sp-cta p{margin:0 auto 20px;color:var(--muted);max-width:52ch}
.sp-btn{
  display:inline-flex;align-items:center;gap:10px;
  background:var(--accent-ink);color:#fff;font-weight:600;font-size:15.5px;
  padding:15px 28px;border-radius:999px;transition:background .15s,transform .15s;
}
.sp-btn:hover{background:var(--accent);transform:translateY(-1px);text-decoration:none}
.sp-btn svg{width:18px;height:18px}

/* ---------- соседние страницы ---------- */
.sp-next{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 0}
.sp-next a{
  display:inline-flex;align-items:center;gap:7px;
  background:var(--surface);border:1px solid var(--line);border-radius:999px;
  padding:9px 18px;font-size:14.5px;font-weight:500;color:var(--ink);
}
.sp-next a:hover{border-color:var(--accent);color:var(--accent-ink);text-decoration:none}

@media (max-width:900px){
  .wrap{padding:0 20px}
  nav.sp-nav{display:none}
  header.sp-top{padding:18px 0}
  .sp-hero{padding:22px 0 34px}
  main section{padding:32px 0}
  .sp-lead{font-size:16.5px}
  .sp-cta{padding:26px 20px}
}

/* 2026-10-09: реальные снимки интерфейса; отдельные классы не меняют остальные SEO-страницы. */
.sp-screen-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;max-width:760px;margin:24px 0 0}
.sp-screen{margin:0;min-width:0;max-width:330px}
.sp-screen img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.sp-screen figcaption{font-size:14px;line-height:1.55;color:var(--muted);margin-top:12px}
.sp-screen-story{display:grid;grid-template-columns:minmax(0,290px) minmax(0,1fr);gap:34px;align-items:start;margin-top:22px}
.sp-screen-story h3{margin-top:0}
@media(max-width:600px){.sp-screen-grid,.sp-screen-story{grid-template-columns:minmax(0,1fr);gap:28px}.sp-screen{width:100%;margin:0 auto}.sp-screen-story .sp-btn{font-size:14px;padding:13px 18px}}
