
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--pl-bg); color: var(--pl-text);
  font: 400 16px/1.6 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.pl-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pl-skip { position: absolute; left: -9999px; }
.pl-skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--pl-accent); color: #04111a; padding: 8px 12px; border-radius: 6px; }

/* ---------- Шапка ---------- */
.pl-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 14, 26, .78); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--pl-line-soft); }
.pl-header .pl-wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.pl-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; white-space: nowrap; }
.pl-brand-mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, var(--pl-accent), var(--pl-accent-2)); color: #04111a; font-size: .95rem; }
.pl-brand small { display: block; font-weight: 500; font-size: .68rem; color: var(--pl-dim); letter-spacing: .02em; margin-top: -2px; }
.pl-nav { display: flex; gap: 4px; margin-left: auto; }
.pl-nav a { white-space: nowrap; text-decoration: none; color: var(--pl-muted); font-size: .88rem; padding: 8px 9px; border-radius: 8px; transition: color .15s, background .15s; }
.pl-nav a:hover { color: var(--pl-text); background: rgba(255, 255, 255, .04); }
.pl-header-cta { display: flex; gap: 10px; align-items: center; }
.pl-burger { display: none; margin-left: auto; background: none; border: 1px solid var(--pl-line); color: var(--pl-text); width: 40px; height: 40px; border-radius: 10px; cursor: pointer; }

/* ---------- Кнопки, бейджи ---------- */
.pl-btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center; white-space: nowrap;
  padding: 12px 20px; border-radius: 10px; font: 600 .93rem/1 'Inter', sans-serif; text-decoration: none; cursor: pointer;
  background: var(--pl-accent); color: #04111a; border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
}
.pl-btn:hover { box-shadow: 0 8px 28px -8px var(--pl-accent); transform: translateY(-1px); }
.pl-btn-ghost { background: rgba(255, 255, 255, .03); color: var(--pl-text); border-color: var(--pl-line); }
.pl-btn-ghost:hover { border-color: var(--pl-muted); box-shadow: none; }
.pl-btn-sm { padding: 9px 14px; font-size: .85rem; }
.pl-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; border: 1px solid var(--pl-line); background: rgba(255, 255, 255, .02); color: var(--pl-muted); font-size: .8rem; }
.pl-pill b { color: #04111a; background: var(--pl-accent-2); border-radius: 999px; padding: 2px 8px; font-size: .7rem; font-weight: 700; letter-spacing: .02em; }
.pl-eyebrow { font: 600 .74rem/1 var(--pl-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pl-accent); margin: 0 0 14px; }

/* ---------- Hero ---------- */
.pl-hero { position: relative; overflow: hidden; padding: 88px 0 72px; }
.pl-hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 720px; pointer-events: none;
  background:
    radial-gradient(600px 320px at 22% 30%, color-mix(in srgb, var(--pl-accent) 16%, transparent), transparent 70%),
    radial-gradient(520px 300px at 85% 20%, color-mix(in srgb, var(--pl-accent-2) 10%, transparent), transparent 70%);
}
.pl-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--pl-line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--pl-line-soft) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
}
.pl-hero .pl-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.pl-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.04; letter-spacing: -.035em; margin: 22px 0 20px; font-weight: 800; }
.pl-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--pl-accent), var(--pl-accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pl-lead { font-size: 1.12rem; color: var(--pl-muted); max-width: 560px; margin: 0 0 30px; }
.pl-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pl-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--pl-muted); font-size: .88rem; }
.pl-facts li { display: flex; align-items: center; gap: 8px; }
.pl-facts i { color: var(--pl-accent-2); font-size: .8rem; }

/* ---------- Окно-иллюстрация продукта ---------- */
.pl-window { background: linear-gradient(180deg, var(--pl-surface-2), var(--pl-surface)); border: 1px solid var(--pl-line); border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .02) inset; overflow: hidden; }
.pl-window-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--pl-line); font: 500 .78rem var(--pl-mono); color: var(--pl-dim); }
.pl-window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #233150; }
.pl-window-bar strong { margin-left: 6px; color: var(--pl-muted); font-weight: 500; }
.pl-window-body { padding: 16px; }
.pl-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.pl-kpi { border: 1px solid var(--pl-line); border-radius: 10px; padding: 10px 12px; background: rgba(10, 14, 26, .5); }
.pl-kpi small { display: block; color: var(--pl-dim); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.pl-kpi strong { font: 700 1.2rem var(--pl-mono); }
.pl-rows { border: 1px solid var(--pl-line); border-radius: 10px; overflow: hidden; }
.pl-row { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; font: 400 .8rem var(--pl-mono); border-top: 1px solid var(--pl-line); background: rgba(10, 14, 26, .35); }
.pl-row:first-child { border-top: 0; }
.pl-row.pl-row-head { background: transparent; color: var(--pl-dim); font: 600 .68rem 'Inter', sans-serif; text-transform: uppercase; letter-spacing: .07em; }
.pl-row code { color: var(--pl-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-method { font-weight: 700; font-size: .7rem; padding: 2px 0; text-align: center; border-radius: 5px; background: rgba(0, 234, 255, .1); color: var(--pl-accent); }
.pl-method.post { background: rgba(152, 211, 0, .12); color: var(--pl-accent-2); }
.pl-method.del { background: rgba(255, 77, 109, .12); color: var(--pl-danger); }
.pl-tag { font: 600 .68rem 'Inter', sans-serif; padding: 3px 8px; border-radius: 999px; white-space: nowrap; border: 1px solid var(--pl-line); color: var(--pl-muted); }
.pl-tag.ok { color: var(--pl-accent-2); border-color: rgba(152, 211, 0, .35); }
.pl-tag.warn { color: var(--pl-warn); border-color: rgba(255, 181, 71, .35); }
.pl-tag.bad { color: var(--pl-danger); border-color: rgba(255, 77, 109, .35); }
.pl-caption { margin: 10px 2px 0; color: var(--pl-dim); font-size: .74rem; text-align: right; }

/* ---------- Секции ---------- */
.pl-section { padding: 96px 0; border-top: 1px solid var(--pl-line-soft); }
.pl-section.alt { background: var(--pl-bg-2); }
.pl-head { max-width: 720px; margin-bottom: 48px; }
.pl-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.55rem); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 14px; font-weight: 750; }
.pl-head p { color: var(--pl-muted); font-size: 1.05rem; margin: 0; }

.pl-strip { padding: 26px 0; border-top: 1px solid var(--pl-line-soft); }
.pl-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 36px; justify-content: center; color: var(--pl-muted); font-size: .9rem; }
.pl-strip li { display: flex; align-items: center; gap: 10px; }
.pl-strip i { color: var(--pl-accent); }

/* Bento */
.pl-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pl-card { grid-column: span 2; position: relative; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: var(--pl-radius); padding: 26px; transition: border-color .2s, transform .2s; overflow: hidden; }
.pl-card:hover { border-color: color-mix(in srgb, var(--pl-accent) 45%, var(--pl-line)); }
.pl-card.wide { grid-column: span 3; }
.pl-card.full { grid-column: span 6; }
.pl-card h3 { margin: 16px 0 8px; font-size: 1.08rem; letter-spacing: -.01em; }
.pl-card p { margin: 0; color: var(--pl-muted); font-size: .94rem; }
.pl-icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: var(--pl-accent); background: color-mix(in srgb, var(--pl-accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--pl-accent) 25%, transparent); }
.pl-card .pl-chips { margin-top: 18px; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-chips span { font: 500 .74rem var(--pl-mono); color: var(--pl-muted); border: 1px solid var(--pl-line); border-radius: 6px; padding: 4px 8px; background: rgba(10, 14, 26, .5); }

/* Список кодов (OWASP, CIS) */
.pl-codes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--pl-line); }
.pl-codes li { list-style: none; display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--pl-line); align-items: baseline; }
.pl-codes { padding: 0; margin: 0; }
.pl-codes code { font: 600 .82rem var(--pl-mono); color: var(--pl-accent); }
.pl-codes span { color: var(--pl-text); }

/* Сплит: текст + код */
.pl-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.pl-split > *, .pl-hero .pl-wrap > * { min-width: 0; }
.pl-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 4px; }
.pl-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--pl-line-soft); }
.pl-steps li::before { content: counter(s, decimal-leading-zero); font: 600 .85rem var(--pl-mono); color: var(--pl-accent); padding-top: 2px; }
.pl-steps h3 { margin: 0 0 4px; font-size: 1rem; }
.pl-steps p { margin: 0; color: var(--pl-muted); font-size: .93rem; }
.pl-code { margin: 0; background: #070b15; border: 1px solid var(--pl-line); border-radius: var(--pl-radius); padding: 22px 24px; overflow-x: auto; font: 400 .84rem/1.75 var(--pl-mono); color: #c3cde0; }
.pl-code .k { color: var(--pl-accent); }
.pl-code .s { color: var(--pl-accent-2); }
.pl-code .c { color: var(--pl-dim); }
.pl-code-title { display: flex; justify-content: space-between; font: 500 .75rem var(--pl-mono); color: var(--pl-dim); margin: 0 0 10px; }

/* Таймлайн */
.pl-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.pl-timeline li { position: relative; padding: 24px 22px; border: 1px solid var(--pl-line); border-radius: var(--pl-radius); background: var(--pl-surface); }
.pl-timeline small { font: 600 .72rem var(--pl-mono); color: var(--pl-accent); letter-spacing: .1em; text-transform: uppercase; }
.pl-timeline h3 { margin: 10px 0 6px; font-size: 1rem; }
.pl-timeline p { margin: 0; color: var(--pl-muted); font-size: .9rem; }

/* Тарифы */
.pl-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.pl-plan { display: flex; flex-direction: column; gap: 18px; padding: 28px; border: 1px solid var(--pl-line); border-radius: var(--pl-radius); background: var(--pl-surface); }
.pl-plan.hot { border-color: color-mix(in srgb, var(--pl-accent) 55%, var(--pl-line)); background: linear-gradient(180deg, color-mix(in srgb, var(--pl-accent) 7%, var(--pl-surface)), var(--pl-surface)); }
.pl-plan h3 { margin: 0; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; }
.pl-plan .price { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.pl-plan .price small { font-size: .9rem; color: var(--pl-muted); font-weight: 500; }
.pl-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--pl-muted); font-size: .93rem; flex: 1; }
.pl-plan li::before { content: '✓'; color: var(--pl-accent-2); margin-right: 10px; }

/* Стек / факты */
.pl-facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pl-fact { padding: 24px; border: 1px solid var(--pl-line); border-radius: var(--pl-radius); background: var(--pl-surface); }
.pl-fact small { color: var(--pl-dim); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.pl-fact strong { display: block; margin: 8px 0 6px; font-size: 1.05rem; }
.pl-fact p { margin: 0; color: var(--pl-muted); font-size: .92rem; }

/* FAQ */
.pl-faq { max-width: 860px; }
.pl-faq details { border-bottom: 1px solid var(--pl-line); }
.pl-faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; position: relative; }
.pl-faq summary::-webkit-details-marker { display: none; }
.pl-faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 1.4rem; color: var(--pl-accent); transition: transform .2s; }
.pl-faq details[open] summary::after { transform: rotate(45deg); }
.pl-faq p { margin: 0 0 20px; color: var(--pl-muted); }

/* Переход к другим продуктам */
.pl-products { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pl-products a { display: block; padding: 18px; border: 1px solid var(--pl-line); border-radius: 12px; text-decoration: none; background: var(--pl-surface); transition: border-color .2s; }
.pl-products a:hover { border-color: var(--pl-accent); }
.pl-products strong { display: block; font-size: .95rem; }
.pl-products small { color: var(--pl-muted); font-size: .8rem; }

/* Общие блоки (slnt.css) внутри лендинга */
.pl-page .slnt-section { background: var(--pl-bg); border-top: 1px solid var(--pl-line-soft); padding: 96px 0; }
.pl-page #demo.slnt-section { background: radial-gradient(800px 400px at 15% 0%, color-mix(in srgb, var(--pl-accent) 9%, transparent), transparent 70%), var(--pl-bg-2); }
.pl-page .slnt-title { font-size: clamp(1.8rem, 3.2vw, 2.55rem); letter-spacing: -.025em; }
.pl-page .slnt-docs { grid-template-columns: repeat(2, 1fr); }

/* ---------- Адаптив ---------- */
@media (max-width: 1400px) { .pl-header-cta .pl-btn-ghost { display: none; } }
@media (max-width: 1240px) {
  .pl-nav { display: none; }
  .pl-burger { display: grid; place-items: center; margin-left: 0; }
  .pl-header-cta { margin-left: auto; }
  .pl-header-cta .pl-btn-ghost { display: none; }
  .pl-nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; padding: 12px 16px 18px; background: var(--pl-bg); border-bottom: 1px solid var(--pl-line); }
  .pl-hero .pl-wrap, .pl-split { grid-template-columns: 1fr; gap: 40px; }
  .pl-products { grid-template-columns: repeat(3, 1fr); }
  .pl-timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .pl-bento { grid-template-columns: 1fr 1fr; }
  .pl-card, .pl-card.wide, .pl-card.full { grid-column: span 2; }
  .pl-codes, .pl-plans, .pl-facts-grid { grid-template-columns: 1fr; }
  .pl-page .slnt-docs { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pl-wrap { padding: 0 16px; }
  .pl-hero { padding: 56px 0 48px; }
  .pl-section, .pl-page .slnt-section { padding: 64px 0; }
  .pl-header-cta .pl-btn { display: none; }
  .pl-kpis { grid-template-columns: 1fr 1fr; }
  .pl-kpi:last-child { display: none; }
  .pl-row { grid-template-columns: 50px 1fr; }
  .pl-row .pl-tag { grid-column: 2; justify-self: start; }
  .pl-timeline, .pl-products { grid-template-columns: 1fr; }
  .pl-codes li { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Кратко о продукте ---------- */
.pl-summary { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.pl-summary h2 { font-size: clamp(1.8rem, 3.2vw, 2.55rem); letter-spacing: -.025em; margin: 0 0 6px; }
.pl-summary-sub { color: var(--pl-accent); font-weight: 600; font-size: 1.08rem; margin: 0 0 24px; }
.pl-summary h3 { font-size: 1rem; margin: 0 0 8px; }
.pl-summary > div > p { color: var(--pl-muted); margin: 0 0 16px; }
.pl-summary-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pl-summary-list li { position: relative; padding-left: 28px; color: var(--pl-text); line-height: 1.55; }
.pl-summary-list li::before { content: ''; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--pl-accent), var(--pl-accent-2)); }
.pl-summary-facts { display: grid; gap: 12px; }
.pl-summary-facts > div { padding: 20px 22px; border: 1px solid var(--pl-line); border-radius: var(--pl-radius); background: var(--pl-surface); }
.pl-summary-facts small { color: var(--pl-dim); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.pl-summary-facts strong { display: block; margin: 6px 0 4px; font-size: 1.05rem; }
.pl-summary-facts p { margin: 6px 0 0; color: var(--pl-muted); font-size: .92rem; }
.pl-plan-metric { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--pl-text); }
@media (max-width: 900px) { .pl-summary { grid-template-columns: 1fr; gap: 28px; } }
