/* Light reference-catalog theme: calm neutral ground, white sheets, one muted ink-blue accent */
:root {
  --bg: #f4f5f4;
  --surface: #ffffff;
  --surface-2: #eef0f0;
  --line: #dde1e3;
  --line-strong: #c4cacf;
  --ink: #1b232c;
  --ink-2: #48535f;
  --ink-3: #5a6470;
  --accent: #27557e;
  --accent-hover: #1c4263;
  --accent-soft: #e7edf2;
  --good: #2e6650;
  --bad: #9a3d3d;
  --font: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(27, 35, 44, 0.04), 0 4px 14px rgba(27, 35, 44, 0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--line-strong) var(--bg);
}

body { overflow-x: hidden; background: var(--bg); font-size: 16px; }

::selection { background: #cfdcea; color: var(--ink); }

a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
a:hover { color: var(--accent-hover); text-decoration: underline; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.logo { display: flex; align-items: center; font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.logo:hover { color: var(--ink); text-decoration: none; }
.logo-badge { display: none; }
.logo-text b { font-weight: 600; color: var(--accent); margin-left: 3px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { padding: 56px 0 40px; background: var(--bg); }
.hero-badge { display: none; }
.hero h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 820px;
  text-wrap: balance;
}
.hero-desc { font-size: 17px; color: var(--ink-2); max-width: 70ch; line-height: 1.65; }
.hero-metrics { display: none; }

/* Sections */
.section { padding: 64px 0; }
.s-dark { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 28px; max-width: 70ch; }
.section-head h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 8px;
}
.section-sub { font-size: 15.5px; color: var(--ink-2); }

/* Filter: quiet text tabs on a rule */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.filter-btn {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--ink-3);
  padding: 10px 0 12px;
  font: 500 15px/1.2 var(--font);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.filter-btn:hover { color: var(--ink); }
.filter-btn.active { color: var(--ink); border-bottom-color: var(--accent); }

/* Catalog */
.catalog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease;
}
.card:hover { border-color: var(--line-strong); }
.card-head { margin-bottom: 14px; }
.card-title-group { display: block; }
.card-num, .card-tags, .tag { display: none; }
.card-title-group h3 { font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.3; letter-spacing: -0.01em; }
.card-brands { font-size: 14px; color: var(--ink-3); margin-top: 3px; }

.card-params { display: grid; margin-bottom: 16px; border-top: 1px solid var(--line); }
.param-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14.5px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.param-lbl { color: var(--ink-3); flex-shrink: 0; }
.param-val { color: var(--ink); font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.param-val.highlight { color: var(--accent); font-weight: 600; }

.card-features { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-bottom: 20px; }
.card-features strong { color: var(--ink); font-weight: 600; }

.card-actions { display: flex; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  font: 600 14.5px/1.2 var(--font);
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-outline { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
.btn-outline:hover { border-color: var(--ink-3); color: var(--ink); }

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.table th, .table td { padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th {
  background: var(--surface-2);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
}
.table td { color: var(--ink); }
.table td strong { font-weight: 600; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: #f8f9f9; }
.tbl-btn { font-weight: 600; font-size: 14px; white-space: nowrap; }

/* Payment models: three columns under a rule, no boxes */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.info-card { border-top: 2px solid var(--ink); padding-top: 18px; }
.info-card h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.info-card p { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; line-height: 1.6; }
.info-card ul { list-style: none; font-size: 14.5px; color: var(--ink-2); display: grid; gap: 8px; }
.info-card ul li strong { color: var(--ink); font-weight: 600; }

/* Guide steps: the numeral is typography, not a tile */
.guide-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.step-item { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.step-num {
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  min-width: 26px;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.step-content h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.step-content p { font-size: 15px; color: var(--ink-2); line-height: 1.6; }

/* FAQ */
.faq-list { display: grid; max-width: 820px; border-top: 1px solid var(--line); }
.faq-card { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-card h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.faq-card p { font-size: 15px; color: var(--ink-2); line-height: 1.65; }

/* Footer */
.footer { background: var(--surface-2); border-top: 1px solid var(--line); padding: 52px 0 32px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer .logo { font-size: 17px; }
.footer-desc { font-size: 14px; color: var(--ink-2); margin-top: 12px; max-width: 400px; line-height: 1.6; }
.footer-heading { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { padding-top: 22px; border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 10px; }
.disclosure { font-size: 13px; color: var(--ink-3); line-height: 1.6; max-width: 90ch; }
.copy { font-size: 13px; color: var(--ink-3); }

/* Program pages */
.hero--sub { padding: 36px 0 44px; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }
.crumbs span { color: var(--ink); }

.review-fact-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  align-items: center;
}
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.fact-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14.5px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.fact-lbl { color: var(--ink-3); flex-shrink: 0; }
.fact-val { color: var(--ink); font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.fact-val.highlight { color: var(--accent); font-weight: 600; }
.fact-cta { display: flex; flex-direction: column; gap: 10px; align-items: stretch; text-align: center; }
.btn-lg { min-height: 52px; font-size: 16px; }
.cta-note { font-size: 13px; color: var(--ink-3); word-break: break-all; }

.article-container { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.article-content { max-width: 72ch; }
.article-content h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
  margin: 44px 0 14px;
}
.article-content h2:first-of-type { margin-top: 0; }
.article-content p { font-size: 16px; color: var(--ink-2); line-height: 1.75; margin-bottom: 16px; }
.article-content strong { color: var(--ink); font-weight: 600; }

.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 24px 0 32px; }
.pros-box, .cons-box { border-top: 2px solid var(--line-strong); padding-top: 16px; }
.pros-box { border-top-color: var(--good); }
.cons-box { border-top-color: var(--bad); }
.pros-title, .cons-title { font-size: 17px; font-weight: 600; margin-bottom: 12px; color: var(--ink); }
.pros-list, .cons-list { list-style: none; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.pros-list li, .cons-list li { position: relative; padding-left: 22px; }
.pros-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.45em;
  width: 5px;
  height: 10px;
  border: solid var(--good);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.cons-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.78em;
  width: 11px;
  height: 2px;
  background: var(--bad);
}

.cta-banner {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 34px 32px;
  text-align: center;
  margin-top: 44px;
}
.cta-banner h3 { font-size: 21px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.cta-banner p { font-size: 15px; color: var(--ink-2); max-width: 520px; margin: 0 auto 20px; }
.cta-banner .btn { max-width: 320px; margin: 0 auto; }

.sidebar-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  position: sticky;
  top: 88px;
}
.sidebar-heading { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.related-list { display: grid; margin-bottom: 16px; }
.related-link { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
.related-link:hover { text-decoration: none; }
.related-link:hover strong { color: var(--accent); }
.related-link strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 2px; transition: color 0.15s ease; }
.related-link span { display: block; font-size: 13.5px; color: var(--ink-3); }
.all-programs-link { display: inline-block; font-size: 14.5px; font-weight: 600; }

/* Screenshot figure */
.review-screen {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}
.browser-bar { background: var(--surface-2); padding: 9px 14px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.browser-bar .dot { display: none; }
.browser-url { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-screen img { width: 100%; height: auto; display: block; }
.review-screen figcaption { font-size: 13.5px; color: var(--ink-3); padding: 10px 16px; border-top: 1px solid var(--line); }

/* Steps flow on program pages */
.steps-flow { display: grid; margin: 20px 0 32px; border-top: 1px solid var(--line); }
.step-card { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.step-badge {
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  min-width: 22px;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.step-body h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.step-body p { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin-bottom: 0; }

/* Tips */
.tips-grid { display: grid; gap: 0; margin: 20px 0 32px; border-top: 1px solid var(--line); }
.tip-card { padding: 16px 0; border-bottom: 1px solid var(--line); }
.tip-card h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.tip-card p { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin-bottom: 0; }

/* Responsive */
@media (max-width: 992px) {
  .catalog-grid, .info-grid, .guide-steps, .review-fact-box, .article-container, .pros-cons-grid { grid-template-columns: 1fr; }
  .info-grid { gap: 28px; }
  .fact-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 28px; }
  .sidebar-box { position: static; }
}

@media (max-width: 700px) {
  .container { padding: 0 16px; }
  .nav { display: none; }
  .hero { padding: 36px 0 28px; }
  .section { padding: 44px 0; }
  .card { padding: 20px 18px; }
  .card-actions { flex-direction: column; }
  .review-fact-box { padding: 20px 18px; }
  .param-row, .fact-item { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.ask-list { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin: 4px 0 20px; font-size: 16px; color: var(--ink-2); }
.ask-list li::marker { color: var(--ink-3); }
.review-screen--narrow { max-width: 480px; }
.logo-img { height: 40px; width: auto; margin-right: 10px; display: block; }
.footer .logo-img { height: 34px; }
.card-head h3 { font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.3; letter-spacing: -0.01em; }
.card-actions { margin-top: 4px; }
.table td a strong { color: var(--ink); }
.table td a:hover strong { color: var(--accent); }
.start-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.start-link { display: block; border-top: 2px solid var(--ink); padding: 16px 0 4px; color: var(--ink); }
.start-link:hover { text-decoration: none; }
.start-link:hover .start-title { color: var(--accent); }
.start-title { display: block; font-size: 19px; font-weight: 700; margin-bottom: 6px; transition: color 0.15s ease; }
.start-sub { display: block; font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.footer-col--reviews { columns: 2; column-gap: 24px; }
.footer-col--reviews .footer-heading { column-span: all; }
@media (max-width: 700px) { .start-grid { grid-template-columns: 1fr; } }
.checked { font-size: 14px; color: var(--ink-3); margin-top: 10px; }
.article-content.guide { max-width: 760px; }
.article-content h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 26px 0 8px; }
.article-content .table-wrap { margin: 8px 0 22px; }
.article-content .faq-list { margin-bottom: 8px; }
.msg { background: var(--surface-2); border-radius: var(--radius); padding: 14px 18px; margin: 8px 0 18px; font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.next-list a { font-weight: 600; }
.terms-nav { font-size: 14.5px; line-height: 1.9; color: var(--ink-3); margin-bottom: 18px; }
.terms dt { font-size: 18px; font-weight: 700; color: var(--ink); margin-top: 22px; scroll-margin-top: 80px; }
.terms dd { margin: 4px 0 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.65; }
.svc { border-top: 1px solid var(--line); padding: 14px 0 4px; }
.svc h3 { margin-top: 0; }
.svc p { margin-bottom: 6px; }
.footer-content { grid-template-columns: 1.6fr 1.6fr 1fr 1fr; }
@media (max-width: 992px) { .footer-content { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-content { grid-template-columns: 1fr; } .footer-col--reviews { columns: 1; } }

/* wider reading column (2026-11-16) */
.article-content, .article-content.guide { max-width: none; }
.article-content.guide { font-size: 17px; }
.article-content .faq-list { max-width: none; }
.hero h1 { max-width: 1000px; }
.hero-desc { max-width: 900px; }
.hero--sub { padding-bottom: 28px; }
.hero--sub + .section { padding-top: 28px; }


/* text blocks span the full canvas (2026-11-16) */
.hero { padding: 48px 0 24px; }
.hero h1, .hero-desc, .section-head, .faq-list, .article-content, .article-content.guide,
.cta-banner p, .disclosure, .footer-desc { max-width: none; }
.hero h1 { font-size: clamp(26px, 3vw, 38px); text-wrap: pretty; }

/* reviews: text uses the full canvas, related programs go below (2026-11-16) */
.article-container { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.article-sidebar .sidebar-box { position: static; }
.article-sidebar .related-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
@media (max-width: 900px) { .article-sidebar .related-list { grid-template-columns: 1fr; } }

/* ===================================================
   ЭТАЛОННЫЕ ТАБЛИЦЫ ДЛЯ ГАЙДОВ И ОБЗОРОВ
   =================================================== */
.table-wrap {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  margin: 24px 0 28px !important;
  border: 1px solid var(--line, #dde1e3) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.table,
.guide-table,
table {
  width: 100% !important;
  border-collapse: collapse !important;
  text-align: left !important;
  font-size: 14.5px !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1.5 !important;
}

.table th,
.guide-table th,
table th {
  background: #eef0f0 !important;
  color: #1b232c !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  padding: 13px 18px !important;
  border-bottom: 2px solid var(--line, #dde1e3) !important;
  white-space: nowrap !important;
}

.table td,
.guide-table td,
table td {
  padding: 13px 18px !important;
  border-bottom: 1px solid var(--line, #dde1e3) !important;
  color: #1b232c !important;
  vertical-align: middle !important;
}

.table tr:last-child td,
.guide-table tr:last-child td,
table tr:last-child td {
  border-bottom: none !important;
}

.table tbody tr:hover td,
.guide-table tbody tr:hover td,
table tbody tr:hover td {
  background: #f8fafc !important;
}
