/* monuchet.ru — общие стили внутренних страниц.
   Главный лендинг (index.html) использует свои inline-стили.
   Здесь — только то, что нужно вторичным страницам. */

:root {
  --bg:       #07101F;
  --bg-2:     #0B1628;
  --bg-3:     #0F1D34;
  --border:   rgba(74,143,227,0.13);
  --border-2: rgba(74,143,227,0.22);
  --blue:     #3B7FF5;
  --blue-lt:  #5B9FE3;
  --text:     #D6E2F8;
  --muted:    #5A6E90;
  --mid:      #8FA5CC;
  --green:    #34d399;
  --warn:     #FBBF24;
  --max:      #C4B5FD;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-lt); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }

h1, h2, h3, h4, .syne {
  font-family: 'Syne', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-top: 2.4em; margin-bottom: .8em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.3rem); margin-top: 1.6em; margin-bottom: .5em; }
p, li { font-size: 16px; line-height: 1.75; color: var(--text); }
li { margin: .35em 0; }
strong { color: #fff; font-weight: 600; }
em { color: var(--mid); font-style: normal; }
ul, ol { padding-left: 1.4em; }

.container { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,16,31,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: 1240px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-header__brand {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 18px; color: #fff;
  letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
}
.site-header__brand:hover { color: #fff; }
.site-header__nav {
  display: flex; gap: 22px; align-items: center;
}
.site-header__nav a {
  font-size: 14px; font-weight: 500; color: var(--mid); text-decoration: none;
}
.site-header__nav a:hover { color: var(--text); }
.site-header__cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue); color: #fff; font-weight: 600; font-size: 14px;
  padding: 9px 18px; border-radius: 10px;
  box-shadow: 0 4px 16px rgba(59,127,245,0.3);
  transition: transform .2s cubic-bezier(0.16,1,0.3,1), box-shadow .2s;
}
.site-header__cta:hover { transform: translateY(-1px); color: #fff; box-shadow: 0 8px 24px rgba(59,127,245,.4); }
@media (max-width: 880px) {
  .site-header__nav { display: none; }
}

/* ── BREADCRUMBS ── */
.crumbs {
  font-size: 13px; color: var(--muted);
  padding: 18px 0 6px;
}
.crumbs a { color: var(--mid); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs__sep { margin: 0 .55em; opacity: .55; }

/* ── HERO ── */
.hero {
  padding: 36px 0 56px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #07101F 0%, #0A1830 55%, #07101F 100%);
}
.hero::before {
  content: ''; position: absolute; pointer-events: none;
  width: 720px; height: 720px; top: -200px; right: -200px;
  background: radial-gradient(circle, rgba(59,127,245,0.10) 0%, rgba(59,127,245,0) 65%);
}
.hero__label {
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-lt); display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
}
.hero__label::before {
  content: ''; display: inline-block; width: 22px; height: 1px; background: var(--blue-lt);
}
.hero h1 { margin-bottom: 22px; }
.hero__lede {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--mid); max-width: 640px; line-height: 1.6;
}
.hero__ctas {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px;
  font-family: inherit; font-weight: 600; font-size: 14px;
  cursor: pointer; border: none; text-decoration: none;
  transition: transform .2s cubic-bezier(0.16,1,0.3,1), box-shadow .2s, border-color .2s, background .2s, color .2s;
}
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 4px 16px rgba(59,127,245,.3); }
.btn-blue:hover { transform: translateY(-1px); color: #fff; box-shadow: 0 8px 24px rgba(59,127,245,.4); }
.btn-max {
  border: 1px solid rgba(139,92,246,.35);
  color: #C4B5FD; background: rgba(139,92,246,.08);
}
.btn-max:hover { border-color: rgba(139,92,246,.6); background: rgba(139,92,246,.15); color: #DDD6FE; transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,.18);
  color: var(--text); background: rgba(255,255,255,.04);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; transform: translateY(-1px); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 14px; }
.btn:focus-visible { outline: 2px solid var(--blue-lt); outline-offset: 3px; }

/* ── CONTENT SECTIONS ── */
.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.section:last-of-type { border-bottom: none; }
.section h2 { margin-top: 0; }
.section__lede {
  font-size: 17px; color: var(--mid); max-width: 720px; line-height: 1.7;
  margin-bottom: 28px;
}

/* ── CARD GRID ── */
.cards {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  transition: border-color .2s, transform .25s cubic-bezier(0.16,1,0.3,1);
}
.card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.card h3 { margin-top: 0; font-size: 1.05rem; }
.card p { color: var(--mid); font-size: 15px; line-height: 1.7; }

/* ── CHECKLIST ── */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li {
  position: relative; padding-left: 28px; margin: 10px 0;
  color: var(--text); line-height: 1.6;
}
.checks li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 16px; height: 16px;
  background: rgba(59,127,245,.18);
  border: 1px solid rgba(59,127,245,.35);
  border-radius: 5px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235B9FE3' stroke-width='2.4'%3E%3Cpath d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.checks--cross li::before {
  background-color: rgba(255,107,107,.12);
  border-color: rgba(255,107,107,.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23FF8B8B' stroke-width='2.4'%3E%3Cpath d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E");
}

/* ── 2-COL ── */
.two-col {
  display: grid; gap: 28px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ── PROCESS ── */
.steps { display: grid; gap: 16px; }
.step {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px;
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: flex-start;
}
.step__num {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(59,127,245,.1); border: 1px solid rgba(59,127,245,.25);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--blue-lt); font-variant-numeric: tabular-nums;
}
.step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { color: var(--mid); font-size: 15px; }

/* ── FACT TABLE ── */
.facts {
  width: 100%; border-collapse: collapse; margin: 16px 0;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden;
}
.facts th, .facts td {
  padding: 14px 16px; text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 15px; vertical-align: top;
}
.facts th { background: rgba(59,127,245,.06); font-weight: 600; color: #fff; }
.facts tr:last-child td { border-bottom: none; }
.facts td:first-child { color: var(--text); white-space: nowrap; }
.facts td:nth-child(2) { color: var(--mid); }

/* ── PRICING NOTE ── */
.pricing-note {
  background: linear-gradient(145deg, #0D2255 0%, #0A1A40 100%);
  border: 1px solid rgba(59,127,245,.3);
  border-radius: 16px; padding: 22px 24px;
  font-size: 15px; color: var(--text); line-height: 1.7;
}
.pricing-note strong { color: #fff; }

/* ── FAQ ── */
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-right: 4px;
}
.faq summary:focus-visible { outline: 2px solid var(--blue-lt); outline-offset: 4px; border-radius: 4px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-family: 'Inter', sans-serif; font-weight: 400; font-size: 22px;
  color: var(--blue-lt); width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--border);
  flex-shrink: 0; transition: transform .25s, background .2s;
}
.faq details[open] summary::after { content: '−'; background: rgba(59,127,245,.1); border-color: rgba(59,127,245,.3); }
.faq details > p,
.faq details > div {
  margin-top: 12px; color: var(--mid); font-size: 15px; line-height: 1.75;
}

/* ── CTA BOX ── */
.cta-box {
  background: linear-gradient(145deg, #0D2255 0%, #0A1A40 100%);
  border: 1px solid rgba(59,127,245,.28);
  border-radius: 20px; padding: 36px;
  text-align: center;
}
.cta-box h2 { margin-top: 0; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.cta-box p { color: var(--mid); font-size: 16px; max-width: 560px; margin: 12px auto 24px; }
.cta-box__buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ── RELATED ── */
.related ul { list-style: none; padding: 0; columns: 2; column-gap: 28px; }
.related li { margin: 8px 0; break-inside: avoid; }
.related a {
  color: var(--mid); text-decoration: none; font-size: 14px;
  display: inline-block; padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.related a:hover { color: var(--text); border-bottom-color: var(--border-2); }
@media (max-width: 600px) { .related ul { columns: 1; } }

/* ── FOOTER ── */
.site-footer {
  padding: 44px 24px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  font-size: 13px; color: var(--muted);
}
.site-footer__inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
.site-footer h4 {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: .1em; color: var(--mid);
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin: 7px 0; }
.site-footer a { color: var(--mid); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer__legal {
  max-width: 1240px; margin: 28px auto 0; padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
}
@media (max-width: 760px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ── ARTICLE-SPECIFIC ── */
.article-meta {
  font-size: 13px; color: var(--muted); margin: 10px 0 0;
}
.article-tldr {
  background: rgba(59,127,245,.06);
  border-left: 3px solid var(--blue-lt);
  padding: 18px 22px; border-radius: 0 12px 12px 0;
  margin: 20px 0 30px;
  color: var(--text); font-size: 16px; line-height: 1.7;
}
.article-tldr strong { color: #fff; }

/* ── AI / PLAIN PAGES ── */
.plain {
  max-width: 760px; margin: 40px auto; padding: 0 24px;
  font-size: 16px; line-height: 1.7;
}
.plain h1 { font-size: 1.8rem; margin-bottom: 18px; }
.plain h2 { font-size: 1.25rem; margin-top: 2em; margin-bottom: .5em; }
.plain pre {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px; overflow-x: auto;
  font-size: 13px; color: var(--text);
}

/* ── 404 ── */
.notfound { padding: 100px 24px; text-align: center; }
.notfound h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 12px; }
.notfound p { color: var(--mid); margin: 0 auto 26px; max-width: 520px; }
