/* Curator — общий стиль */
:root {
  --bg: #0a0e1a;
  --bg-2: #0f1424;
  --bg-3: #161c2e;
  --surface: #1a2138;
  --surface-2: #232a44;
  --border: #2a3352;
  --text: #e8ecf5;
  --text-dim: #a4adc2;
  --text-mute: #6b7592;
  --accent: #818cf8;
  --accent-2: #a78bfa;
  --accent-3: #f472b6;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --radius: 12px;
  --radius-lg: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Display", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(129,140,248,0.18), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(244,114,182,0.10), transparent);
  background-attachment: fixed;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-3); }
code { font-family: "SF Mono", Menlo, monospace; font-size: 0.9em;
  background: var(--bg-3); padding: 2px 6px; border-radius: 4px; color: var(--accent-2); }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,14,26,0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.nav-brand {
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
  color: var(--text); display: flex; align-items: center; gap: 10px;
}
.nav-brand-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 14px;
}
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a {
  color: var(--text-dim); padding: 8px 14px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; transition: all .15s;
}
.nav-links a:hover { background: var(--surface); color: var(--text); }
.nav-links a.active { background: var(--surface); color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #fff !important; padding: 8px 16px !important; border-radius: 8px;
  font-weight: 600;
}
.nav-cta:hover { filter: brightness(1.1); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section + .section { border-top: 1px solid var(--border); }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 18px; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.25rem; font-weight: 600; margin: 28px 0 10px; color: var(--text); }
p { color: var(--text-dim); margin-bottom: 14px; }
p.lead { font-size: 1.15rem; color: var(--text); max-width: 720px; }
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero { padding: 100px 0 60px; text-align: left; }
.hero h1 { max-width: 880px; }
.hero .lead { max-width: 720px; margin-top: 18px; }
.hero-meta { display: flex; gap: 18px; margin-top: 32px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-mute); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }

.grid { display: grid; gap: 18px; margin-top: 32px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.card h3 { margin-top: 0; color: var(--text); }
.card p { font-size: 14.5px; }
.card .tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}

.list { list-style: none; padding: 0; }
.list li {
  position: relative; padding: 12px 0 12px 32px;
  border-bottom: 1px dashed var(--border); color: var(--text-dim);
}
.list li:last-child { border-bottom: 0; }
.list li::before {
  content: ""; position: absolute; left: 8px; top: 22px;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
}
.list-tight li { padding: 8px 0 8px 28px; }

.callout {
  background: linear-gradient(135deg, rgba(129,140,248,0.08), rgba(244,114,182,0.05));
  border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 22px 26px; margin: 28px 0;
}
.callout.warn { border-left-color: var(--amber); background: linear-gradient(135deg, rgba(251,191,36,0.08), transparent); }
.callout.danger { border-left-color: var(--red); background: linear-gradient(135deg, rgba(248,113,113,0.08), transparent); }
.callout.ok { border-left-color: var(--green); background: linear-gradient(135deg, rgba(52,211,153,0.08), transparent); }
.callout p:last-child { margin-bottom: 0; }
.callout-title { font-weight: 700; color: var(--text); margin-bottom: 8px; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 28px 0; }
.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; text-align: left;
}
.stat .num { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { font-size: 13px; color: var(--text-mute); margin-top: 6px; }

table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14.5px; }
th { background: var(--surface-2); color: var(--text); font-weight: 600; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.steps { display: grid; gap: 16px; margin: 28px 0; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px;
  counter-increment: step;
}
.step::before {
  content: counter(step); width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
.step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { margin: 0; font-size: 14px; }

.cta-block {
  margin-top: 60px; padding: 48px 40px; text-align: center;
  background: linear-gradient(135deg, rgba(129,140,248,0.12), rgba(244,114,182,0.08));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.cta-block h2 { margin-bottom: 12px; }
.cta-block p { max-width: 560px; margin: 0 auto 24px; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 10px;
  font-weight: 600; font-size: 15px; transition: all .2s;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #fff;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(129,140,248,0.3); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); margin-left: 8px; }
.btn-ghost:hover { background: var(--surface); }

footer {
  border-top: 1px solid var(--border); padding: 40px 0;
  margin-top: 80px; color: var(--text-mute); font-size: 13.5px;
}
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

.page-head { padding: 80px 0 40px; border-bottom: 1px solid var(--border); }
.page-head .lead { max-width: 760px; }
.page-head h1 { max-width: 880px; }
.breadcrumb { font-size: 13px; color: var(--text-mute); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-dim); }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding: 60px 0 40px; }
  .section { padding: 56px 0; }
  .cta-block { padding: 32px 22px; }
  .step { grid-template-columns: 36px 1fr; padding: 16px 18px; }
}
