/* ContentRun AEO — стили страниц /aeo/ и /en/aeo/.
   Повторяют дизайн-систему главной contentrun.ai (website-next: globals.css,
   _landing/_design.tsx, _Landing.tsx): белый фон, зелёный #2DC54A, Manrope,
   IBM Plex Mono для цифр, кнопки 56px / радиус 16, карточки с рамкой #E8E8E8.
   Шрифты лежат рядом (fonts/, @fontsource 5.3.0, OFL) — без запросов к Google,
   как и на главной. */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/manrope-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/manrope-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/manrope-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/manrope-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/manrope-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/manrope-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/manrope-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/manrope-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --green: #2DC54A;
  --green-deep: #1E9A38;
  --green-soft: rgba(45, 197, 74, 0.08);
  --green-line: rgba(45, 197, 74, 0.28);
  --ink: #0D0D0D;
  --ink-78: rgba(13, 13, 13, 0.78);
  --ink-70: rgba(13, 13, 13, 0.7);
  --muted: #666666;
  --line: #E8E8E8;
  --soft: #F7F7F7;
  --field: #F5F5F5;
  --err: #DC2626;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.6; overflow-x: hidden; overflow-wrap: anywhere; }
a { color: inherit; }
img, svg { max-width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.mono { font-family: var(--mono); }
.g { color: var(--green); font-style: normal; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .wrap { padding: 0 56px; } }

/* ── Шапка ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.9); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
@media (min-width: 1024px) { .nav .wrap { padding-left: 24px; padding-right: 24px; } }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: var(--green); color: #fff; font-size: 18px; font-weight: 700; font-style: italic; box-shadow: 0 4px 14px rgba(45, 197, 74, 0.3); flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.logo-name span { color: var(--green); }
.logo-tag { margin-top: 4px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em; color: rgba(13, 13, 13, 0.55); }
.nav-links { display: none; align-items: center; gap: 24px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink-78); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--green); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.social { display: none; align-items: center; gap: 8px; }
.social a { display: flex; width: 32px; height: 32px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; color: rgba(13, 13, 13, 0.5); transition: color .2s; }
.social a:hover { color: var(--green); }
.social svg { width: 13px; height: 13px; fill: currentColor; }
.pill { display: none; align-items: center; gap: 8px; padding: 8px 20px; border: 1px solid rgba(13, 13, 13, 0.2); border-radius: 999px; font-size: 14px; font-weight: 400; color: var(--ink); text-decoration: none; transition: border-color .2s, color .2s, opacity .2s; white-space: nowrap; }
.pill:hover { border-color: var(--green); color: var(--green); }
.pill svg { width: 14px; height: 14px; }
.pill-dark { display: inline-flex; background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-dark:hover { opacity: .8; color: #fff; border-color: var(--ink); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; font-size: 12px; font-weight: 600; }
.lang a { padding: 5px 10px; border-radius: 999px; color: rgba(13, 13, 13, 0.55); text-decoration: none; }
.lang a[aria-current="page"] { background: var(--green-soft); color: var(--green-deep); }
@media (min-width: 768px) { .pill { display: inline-flex; } }
/* На телефоне шапка — логотип и переключатель языка, как у главной (логотип и меню):
   логотип, переключатель и «Связаться» вместе шире 375px, и браузер ломал логотип по
   буквам. Связь остаётся в тёмной секции внизу страницы. */
.logo, .logo-text, .lang { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 479px) {
  .pill-dark, .logo-tag { display: none; }
  .logo-mark { width: 36px; height: 36px; font-size: 16px; }
  .logo-name { font-size: 20px; }
}
@media (min-width: 1024px) { .nav-links, .social { display: flex; } }

/* ── Первый экран ── */
.hero { display: grid; max-width: 1280px; margin: 0 auto; }
@media (min-width: 1024px) { .hero { grid-template-columns: 1fr 1fr; min-height: 600px; } }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 56px 24px; }
@media (min-width: 1024px) { .hero-copy { padding: 80px 56px; } }
.badge { display: inline-flex; width: fit-content; align-items: center; gap: 8px; margin-bottom: 28px; padding: 6px 16px; border: 1.5px dashed var(--green); border-radius: 999px; font-size: 12px; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
h1 { margin: 0; font-size: 36px; font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; }
@media (min-width: 768px) { h1 { font-size: 48px; } }
.lede { margin: 24px 0 0; max-width: 28rem; color: var(--ink-70); line-height: 1.65; }
.actions { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
@media (min-width: 640px) { .actions { flex-direction: row; flex-wrap: wrap; align-items: center; } }
.btn { display: inline-flex; height: 56px; align-items: center; justify-content: center; gap: 8px; padding: 0 32px; border-radius: 16px; border: 0; font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: opacity .2s; }
.btn:hover { opacity: .85; }
.btn:disabled { opacity: .55; cursor: default; }
.btn-primary { background: var(--green); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid rgba(13, 13, 13, 0.25); }
.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.3); }
.btn-block { width: 100%; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 32px; margin-top: 40px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat-v { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--green); }
.stat-c { margin-top: 2px; font-size: 11px; line-height: 1.4; color: var(--muted); }

/* Правая половина первого экрана — тёмная, как у главной, с формой. */
.hero-panel { position: relative; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--ink); background-image: radial-gradient(rgba(45, 197, 74, 0.22) 1px, transparent 1.2px); background-size: 22px 22px; }
@media (min-width: 1024px) { .hero-panel { padding: 56px; } }
.panel-tag { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); padding: 3px 10px; border: 1px solid rgba(45, 197, 74, 0.45); border-radius: 6px; background: rgba(13, 13, 13, 0.6); color: var(--green); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; white-space: nowrap; }
.form-card { width: 100%; max-width: 440px; padding: 28px; border-radius: 16px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
.form-card h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.form-sub { margin: 6px 0 18px; font-size: 13px; color: var(--muted); }
.form-card label { display: block; margin: 14px 0 6px; font-size: 13px; font-weight: 600; }
.form-card input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--field); font-family: inherit; font-size: 15px; color: var(--ink); }
.form-card input:focus { background: #fff; border-color: var(--green); outline: none; }
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chan { height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.chan[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.form-card .btn { margin-top: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { min-height: 20px; margin: 12px 0 0; font-size: 13px; }
.msg.ok { color: var(--green-deep); font-weight: 600; }
.msg.err { color: var(--err); }
.msg.wait { color: var(--muted); }
.consent { margin: 8px 0 0; font-size: 12px; color: var(--muted); }

/* ── Зелёная бегущая строка ── */
.ticker { overflow: hidden; background: var(--green); color: #fff; }
.ticker-track { display: flex; width: max-content; gap: 32px; padding: 10px 0; animation: marquee 40s linear infinite; font-size: 13px; white-space: nowrap; }
.ticker-track b { font-weight: 700; }
.ticker-track span { opacity: .9; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Секции ── */
.sec { padding: 64px 0; }
.sec-soft { background: var(--soft); border-top: 1px solid var(--line); }
.sec-dark { position: relative; overflow: hidden; background: var(--ink); color: #fff; background-image: radial-gradient(rgba(45, 197, 74, 0.14) 1px, transparent 1.2px); background-size: 22px 22px; }
.eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 400; letter-spacing: 0.25em; text-transform: uppercase; color: var(--green); }
h2 { margin: 0; max-width: 42rem; font-size: 30px; font-weight: 600; line-height: 1.2; }
@media (min-width: 768px) { h2 { font-size: 36px; } }
.sec-lede { margin: 16px 0 0; max-width: 42rem; color: var(--muted); line-height: 1.7; }
.sec-dark .sec-lede { color: rgba(255, 255, 255, 0.7); }
.center { text-align: center; }
.center h2, .center .sec-lede { margin-left: auto; margin-right: auto; }

.cards { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.chip { display: inline-flex; min-width: 36px; height: 36px; align-items: center; justify-content: center; margin-bottom: 16px; padding: 0 8px; border: 1px solid var(--green-line); border-radius: 8px; background: var(--green-soft); color: var(--green); font-size: 14px; font-weight: 700; }
.card h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; line-height: 1.3; }
.card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }

.compare { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 1024px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.compare-card.good { border: 1.5px solid var(--green); }
.compare-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 14px; font-weight: 600; }
.compare-card.good h3 { color: var(--green); }
.compare-card ul { margin: 0; padding: 0; list-style: none; }
.compare-card li { position: relative; margin-bottom: 12px; padding-left: 22px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.compare-card li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: #D5D5D5; }
.compare-card.good li { color: var(--ink); }
.compare-card.good li::before { left: 0; top: 3px; width: 16px; height: 16px; background: rgba(45, 197, 74, 0.12) no-repeat center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232DC54A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* Пример отчёта с закрытой частью. */
.report { margin-top: 40px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.report-head { padding: 14px 24px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.report .finding { padding: 18px 24px; border-bottom: 1px solid var(--line); }
.report .finding b { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; }
.report .finding > span { display: block; font-size: 14px; line-height: 1.55; color: var(--muted); }
.report .finding .rivals { color: #C4562D; font-weight: 600; }
.locked { padding: 18px 24px 4px; user-select: none; }
.locked .row { margin-bottom: 14px; color: #cfcfcf; font-size: 14px; letter-spacing: -1px; filter: blur(3px); }
.counter { padding: 4px 24px 24px; font-size: 13px; color: var(--muted); }
.counter b { color: var(--ink); }
.counter .btn { width: 100%; margin-top: 16px; }
.more-hint { display: block; margin-top: 10px; text-align: center; font-size: 12px; }

/* Цены. */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border: 1.5px solid var(--green); }
.price { margin-top: auto; padding-top: 16px; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.note { margin-top: 24px; padding: 18px 20px; border: 1px solid var(--green-line); border-left: 3px solid var(--green); border-radius: 12px; background: var(--green-soft); font-size: 14px; line-height: 1.6; }

/* Метод и «чего не обещаем» — список с зелёными метками. */
.ticks { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
@media (min-width: 1024px) { .ticks { grid-template-columns: 1fr 1fr; } }
.ticks li { position: relative; padding: 18px 20px 18px 50px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 14px; line-height: 1.55; color: var(--muted); }
.ticks li b { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 20px; height: 20px; border-radius: 50%; background: rgba(45, 197, 74, 0.12) no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232DC54A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* Отраслевые страницы — ссылки-карточки. */
.links-grid { display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 640px) { .links-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .links-grid { grid-template-columns: repeat(3, 1fr); } }
.link-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s; }
.link-card:hover { border-color: var(--green); color: var(--green-deep); }
.link-card span { color: var(--green); }

/* FAQ. */
.faq { max-width: 768px; margin: 32px auto 0; text-align: left; }
.faq details { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq summary { position: relative; padding: 18px 48px 18px 20px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 22px; font-weight: 400; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 18px; font-size: 14px; line-height: 1.65; color: var(--muted); }

/* Тёмная секция связи. */
.contact { padding: 80px 0; text-align: center; }
.contact .actions { justify-content: center; }

/* ── Подвал ── */
.foot { border-top: 1px solid var(--line); background: #fff; }
.foot .wrap { padding-top: 48px; padding-bottom: 48px; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: repeat(4, 1fr); } }
.foot .logo-mark { width: 36px; height: 36px; border-radius: 8px; font-size: 16px; box-shadow: none; }
.foot .logo-name { font-size: 19px; }
.foot .logo-tag { margin-top: 2px; font-size: 8.5px; letter-spacing: 0.14em; color: rgba(13, 13, 13, 0.5); }
.foot-about { margin: 16px 0 0; max-width: 20rem; font-size: 14px; line-height: 1.6; color: var(--muted); }
.foot .social { display: flex; margin-top: 16px; }
.foot-h { margin: 0 0 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; color: var(--muted); }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li { margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.foot li a { text-decoration: none; transition: color .2s; }
.foot li a:hover { color: var(--green); }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.7; color: var(--muted); }
.legal-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 12px; color: var(--muted); }
.legal-bottom a { text-decoration: none; }
.legal-bottom a:hover { color: var(--green); }

/* Отраслевая страница: карточки источников (класс card finding — на него опирается тест генератора). */
.src-list .card { border-radius: 16px; }
.src-list .card h3 { margin: 0 0 12px; font-size: 17px; font-weight: 600; line-height: 1.35; }
.src-list .card p { margin: 0 0 8px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.src-list .card p:last-child { margin-bottom: 0; }
.src-list .card .domains { color: var(--ink); }
.src-list .card .rivals { color: #C4562D; }
.src-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.src-card h3 { margin: 0 0 12px; font-size: 17px; font-weight: 600; line-height: 1.35; }
.src-card p { margin: 0 0 8px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.src-card .domains { color: var(--ink); }
.src-card .rivals { color: #C4562D; }
.src-list { display: grid; gap: 16px; margin-top: 32px; }
.meta { margin-top: 20px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
