/* plant.voir.su — УМНО мобильный завод. Тёмная техно-индустриальная тема (2026).
   Палитра: фон #0B1220, графит #1A2432, серебро #B8C4D4, янтарь #E8A33D, бирюза #2FB8A6. */

:root {
  --bg: #0B1220;
  --bg2: #101A2C;
  --panel: #141F33;
  --ink: #F2F6FA;
  --muted: #93A4BC;
  --line: rgba(184, 196, 212, .16);
  --amber: #E8A33D;
  --amber-soft: rgba(232, 163, 61, .14);
  --teal: #2FB8A6;
  --teal-soft: rgba(47, 184, 166, .12);
  --silver: #B8C4D4;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --shadow: 0 18px 50px rgba(4, 10, 20, .45);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(1rem, .95rem + .3vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--amber), #C87F1E);
  box-shadow: 0 4px 14px rgba(232, 163, 61, .35);
}
.logo-text { font-weight: 800; letter-spacing: .06em; font-size: 1.05rem; }
.logo-text small { color: var(--muted); font-weight: 500; margin-left: 6px; letter-spacing: .02em; }
.top-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.top-nav a {
  color: var(--muted); text-decoration: none; font-size: .92rem;
  padding: 8px 14px; border-radius: var(--radius-pill);
  transition: color .2s, background .2s;
}
.top-nav a:hover { color: var(--ink); background: rgba(184, 196, 212, .08); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  padding: 12px 24px; font-weight: 700; font-size: .95rem;
  text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.btn-amber { background: var(--amber); color: #1C1206; box-shadow: 0 10px 26px rgba(232, 163, 61, .28); }
.btn-amber:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(232, 162, 61, .38); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(20, 31, 51, .4); }
.btn-ghost:hover { border-color: rgba(184, 196, 212, .35); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, .lead, .kicker { overflow-wrap: break-word; }
.canvas-slot {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: stretch;
}
.hero .canvas-slot::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 70% 30%, rgba(232, 163, 61, .10), transparent 70%),
    radial-gradient(45% 45% at 20% 75%, rgba(47, 184, 166, .10), transparent 70%);
}
.canvas-slot canvas { pointer-events: none; }
.canvas-slot img.poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .35; pointer-events: none;
}
.hero-in { position: relative; z-index: 2; padding: 96px 24px 88px; }
.hero-in > * { max-width: 640px; }

.kicker {
  color: var(--teal); font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; font-size: .8rem; margin: 0 0 14px;
}
h1 {
  font-size: clamp(2.2rem, 1.6rem + 3.2vw, 3.9rem);
  line-height: 1.12; letter-spacing: -.02em; margin: 0 0 20px; font-weight: 800;
}
.accent-amber { color: var(--amber); }
.lead { color: var(--muted); font-size: clamp(1.02rem, .98rem + .4vw, 1.2rem); max-width: 620px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 44px; }
.hero-stats { list-style: none; display: flex; gap: 14px; flex-wrap: wrap; padding: 0; margin: 0; }
.hero-stats li {
  background: rgba(16, 26, 44, .72); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 14px 18px; min-width: 150px;
  backdrop-filter: blur(8px);
}
.hero-stats b { display: block; font-size: 1.5rem; color: var(--amber); letter-spacing: -.01em; }
.hero-stats span { color: var(--muted); font-size: .86rem; }

/* ---------- sections ---------- */
.section { padding: 56px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: start; }
.col-text { max-width: 560px; }
.col-card { max-width: 520px; }

h2 {
  font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.6rem);
  line-height: 1.18; letter-spacing: -.015em; margin: 0 0 16px; font-weight: 800;
}

.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow);
}

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li {
  position: relative; padding-left: 34px; color: var(--silver); line-height: 1.5;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 7px;
  background: var(--teal-soft); border: 1px solid rgba(47, 184, 166, .4);
}
.check-list li::after {
  content: "✓"; position: absolute; left: 4px; top: 4px;
  color: var(--teal); font-size: .8rem; font-weight: 800;
}

.steps { list-style: none; counter-reset: step; display: grid; gap: 12px; margin: 26px 0 0; padding: 0; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 18px 22px 18px 66px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 20px; top: 16px;
  color: var(--teal); font-weight: 800; font-size: 1.1rem; letter-spacing: .04em;
}
.steps b { display: block; margin-bottom: 2px; }
.steps span { color: var(--muted); font-size: .92rem; }

.specs { margin: 22px 0 0; display: grid; gap: 12px; }
.specs > div {
  display: grid; grid-template-columns: 130px 1fr; gap: 14px;
  border-bottom: 1px solid var(--line); padding-bottom: 12px;
}
.specs dt { color: var(--teal); font-weight: 700; font-size: .9rem; }
.specs dd { margin: 0; color: var(--silver); }

/* ---------- stats / экономика ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 28px 0; }
.stat { padding: 24px; text-align: left; }
.stat-value { display: block; font-size: 2rem; color: var(--amber); letter-spacing: -.02em; margin-bottom: 6px; }
.stat-sub { color: var(--muted); font-size: .92rem; }

.note {
  background: var(--teal-soft); border: 1px solid rgba(47, 184, 116, .3);
  border-radius: var(--radius-md); padding: 20px 24px; color: var(--silver);
}
.note p { margin: 0; }

/* ---------- canvas slots ---------- */
.canvas-wide { position: relative; z-index: 1; height: 0; padding-bottom: 56.25%; margin-bottom: 8px; }
.canvas-wide .canvas-slot { position: absolute; inset: 0; }
.canvas-mid { position: relative; height: 420px; }
.canvas-mid .canvas-slot { position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden; }
.canvas-mid, .canvas-wide { min-height: 200px; }
.canvas-slot .fallback {
  position: absolute; inset: 0; display: none;
  align-items: center; justify-content: center;
  color: var(--muted); font-size: .9rem;
}
.canvas-slot.no3d .fallback { display: flex; }

/* ---------- CTA / footer ---------- */
.section-cta { background: linear-gradient(180deg, var(--bg), #0D1526); }
.cta-in { text-align: center; padding-top: 24px; }
.cta-in .lead { margin: 0 auto 8px; }
.cta-in > * { max-width: none; }
.fine { color: var(--muted); font-size: .84rem; margin-top: 30px; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .86rem; }

/* ---------- reveal (декоративное усиление; контент ВИДЕН и без JS — правило Рамана) ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 768px) {
  .header-in { flex-wrap: wrap; padding: 10px 0; }
  .top-nav { order: 3; width: 100%; margin: 6px 0 0; overflow-x: auto; }
  .hero-in { padding: 64px 24px 56px; }
  .hero-stats li { min-width: 130px; }
  .steps li { padding-left: 58px; }
  .specs > div { grid-template-columns: 110px 1fr; }
  .canvas-mid { height: 320px; }
  .btn-lg { padding: 14px 24px; font-size: 1rem; }
}

/* =====================================================================
   economy.html — страница «Экономика и возможности» (spbstol, t_f31a4ca1)
   Префикс .peconomy-* — только для этой страницы. Цифры: research/FACTS.md
   ===================================================================== */
.peconomy-hero h1 { margin: 0 0 14px; }
.peconomy-hero .kicker { margin-bottom: 10px; }
.peconomy-hero .hero-stats { margin-top: 22px; }
.peconomy-hero .hero-stats b { font-family: "JetBrains Mono", ui-monospace, monospace; }

.peconomy-src {
  font-style: normal; color: var(--muted); font-size: .78em;
  white-space: nowrap;
}
.peconomy-src::before { content: "· "; color: var(--teal); }

.peconomy-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; align-items: start; }
.peconomy-three { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.peconomy-svg { width: 100%; height: auto; display: block; }
.peconomy-fig { margin: 0; }
.peconomy-fig figcaption { color: var(--muted); font-size: .88rem; margin-top: 8px; }

.peconomy-note { color: var(--muted); font-size: .9rem; margin: 12px 0 0; }
.peconomy-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.peconomy-badge {
  border: 1px solid var(--line); background: rgba(47, 184, 166, .08);
  color: var(--silver); border-radius: var(--radius-pill);
  padding: 6px 14px; font-size: .84rem;
}

.peconomy-h3 {
  font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem);
  margin: 22px 0 10px; color: var(--amber); font-weight: 800;
}
.peconomy-h3:first-child { margin-top: 0; }

.peconomy-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .88rem; }
.peconomy-table caption {
  text-align: left; color: var(--muted); font-size: .82rem; padding-bottom: 8px;
}
.peconomy-table th, .peconomy-table td {
  text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.peconomy-table th { color: var(--teal); font-size: .8rem; font-weight: 700; }
.peconomy-table td { color: var(--silver); }
.peconomy-table .peconomy-best td { color: var(--amber); background: rgba(232, 163, 61, .07); }

.peconomy-invest-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.peconomy-big {
  display: block; font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); color: var(--amber); letter-spacing: -.01em;
}
.peconomy-sub { display: block; color: var(--muted); font-size: .84rem; margin-top: 4px; }

.peconomy-donut { display: flex; gap: 18px; align-items: center; margin: 20px 0 6px; }
.peconomy-donut-svg { width: 150px; height: 150px; flex: none; transform: rotate(0deg); }
.peconomy-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .86rem; color: var(--silver); }
.peconomy-legend i {
  display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px;
}

.peconomy-tiers { margin-top: 12px; }
.peconomy-tiers li { font-size: .9rem; }

.peconomy-pagenav .peconomy-pagenav-body {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 18px;
}

@media (max-width: 768px) {
  .peconomy-donut { flex-direction: column; align-items: flex-start; }
  .peconomy-donut-svg { width: 120px; height: 120px; }
  .peconomy-table { display: block; overflow-x: auto; }
}
