/* pulsarnet.ru — «Пульсар»: светлая, фиолетовый + мятный. */
:root {
  --ink: #1d1630;
  --soft: #5d5675;
  --bg: #fbf8f3;
  --alt: #f1ecfb;
  --line: #e2dbef;
  --violet: #5b2fd6;
  --violet-d: #4521b0;
  --mint: #3ee6a8;
  --mint-d: #17a673;
  --card: #ffffff;
  --r: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.ps-body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; overflow-x: hidden; }
a { color: var(--violet); }
a:hover { color: var(--violet-d); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(24px, 4vw, 34px); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.ps-in { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* кнопки */
.ps-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--violet); color: #fff; text-decoration: none; font-weight: 700;
  border-radius: 999px; padding: 12px 22px; border: 0; cursor: pointer; transition: background .15s, transform .15s; text-align: center; }
.ps-btn:hover { background: var(--violet-d); color: #fff; transform: translateY(-1px); }
.ps-btn-sm { padding: 8px 16px; font-size: 15px; }
.ps-btn-lg { padding: 16px 30px; font-size: 18px; box-shadow: 0 10px 24px rgba(91, 47, 214, .28); max-width: 100%; }
.ps-btn-light { background: #fff; color: var(--violet); box-shadow: none; }
.ps-btn-light:hover { background: var(--mint); color: var(--ink); }

/* шапка */
.ps-top { position: sticky; top: 0; z-index: 10; background: rgba(251, 248, 243, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.ps-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.ps-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; }
.ps-nav { display: flex; align-items: center; gap: 18px; }
.ps-nav a:not(.ps-btn) { color: var(--soft); text-decoration: none; font-weight: 600; }
.ps-nav a:not(.ps-btn):hover { color: var(--violet); }

/* первый экран */
.ps-hero { padding: 48px 0 40px; background: radial-gradient(900px 420px at 85% 10%, #e8defe 0, transparent 60%), radial-gradient(600px 300px at 0 100%, #dcfbef 0, transparent 60%); }
.ps-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.ps-kicker { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 14px; color: var(--soft); font-weight: 600; }
.ps-hero h1 { font-size: clamp(30px, 5.2vw, 52px); letter-spacing: -.02em; margin-top: 12px; }
.ps-sub { font-size: 18px; color: var(--soft); max-width: 560px; }
.ps-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin: 22px 0 8px; }
.ps-free { font-weight: 700; color: var(--mint-d); }
.ps-file { font-size: 13px; color: var(--soft); min-height: 1.4em; margin: 0 0 6px; word-break: break-all; }
.ps-more { font-size: 15px; color: var(--soft); }
.ps-warn { background: #fff4e5; border: 1px solid #f5d29b; border-radius: 12px; padding: 10px 14px; font-size: 15px; max-width: 560px; }

/* окно приложения */
.ps-panel { background: var(--ink); color: #fff; border-radius: 24px; padding: 22px 22px 26px; box-shadow: 0 24px 60px rgba(29, 22, 48, .25); max-width: 380px; width: 100%; justify-self: center; }
.ps-panel-head { display: flex; align-items: center; gap: 8px; font-weight: 700; opacity: .9; }
.ps-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(62, 230, 168, .2); }
.ps-radar { position: relative; height: 220px; display: grid; place-items: center; margin: 10px 0; }
.ps-radar span { position: absolute; border-radius: 50%; border: 2px solid var(--mint); opacity: 0; width: 70px; height: 70px; animation: ps-pulse 3s ease-out infinite; }
.ps-radar span:nth-child(2) { animation-delay: 1s; }
.ps-radar span:nth-child(3) { animation-delay: 2s; }
.ps-radar b { position: relative; width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(145deg, var(--violet), #8a5cff); display: grid; place-items: center; font-size: 15px; box-shadow: 0 0 0 8px rgba(255, 255, 255, .06); }
@keyframes ps-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ps-radar span { animation: none; opacity: .25; } .ps-radar span:nth-child(2) { transform: scale(1.8); } .ps-radar span:nth-child(3) { transform: scale(2.6); } }
.ps-panel-where { text-align: center; margin: 0 0 4px; font-size: 17px; }
.ps-panel-where strong { color: var(--mint); }
.ps-panel-hint { text-align: center; font-size: 13px; opacity: .6; margin: 0; }

/* цифры */
.ps-facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.ps-facts-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 22px; padding-bottom: 22px; }
.ps-facts-row p { margin: 0; color: var(--soft); font-size: 15px; display: flex; flex-direction: column; }
.ps-facts-row strong { font-size: 32px; color: var(--violet); line-height: 1.1; }

/* разделы */
.ps-sec { padding: 56px 0; }
.ps-sec-alt { background: var(--alt); }
.ps-lead { color: var(--soft); font-size: 17px; max-width: 680px; }
.ps-note { color: var(--soft); font-size: 14px; }

.ps-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: none; }
.ps-steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; position: relative; }
.ps-steps li > span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--ink); font-weight: 800; margin-bottom: 12px; }
.ps-steps h3 { font-size: 19px; }
.ps-steps p { color: var(--soft); margin: 0; }

.ps-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; }
.ps-chip { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.ps-chip svg { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); flex: none; }
.ps-chip[aria-pressed="true"] { border-color: var(--violet); background: #ece4ff; }
.ps-chip:focus-visible, .ps-btn:focus-visible, summary:focus-visible { outline: 3px solid var(--mint-d); outline-offset: 2px; }
.ps-picked { font-size: 17px; }

.ps-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.ps-card { background: var(--card); border: 2px solid var(--line); border-radius: var(--r); padding: 18px 18px 16px; display: flex; flex-direction: column; min-width: 0; }
.ps-card h3 { font-size: 18px; margin-bottom: 4px; }
.ps-card p { color: var(--soft); font-size: 14px; margin-bottom: 14px; flex: 1; }
.ps-card small { display: block; font-size: 12px; color: var(--soft); margin-top: 8px; word-break: break-all; }
.ps-get { align-self: flex-start; font-weight: 700; text-decoration: none; border: 2px solid var(--violet); border-radius: 999px; padding: 7px 18px; }
.ps-get:hover { background: var(--violet); color: #fff; }
.ps-card.is-yours { border-color: var(--violet); box-shadow: 0 12px 28px rgba(91, 47, 214, .16); }
.ps-card.is-yours .ps-get { background: var(--violet); color: #fff; }
.ps-card.is-yours h3::after { content: "ваша система"; display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; vertical-align: middle; background: var(--mint); color: var(--ink); border-radius: 999px; padding: 2px 8px; }

.ps-faq { max-width: 820px; }
.ps-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.ps-faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; list-style: none; position: relative; }
.ps-faq summary::-webkit-details-marker { display: none; }
.ps-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--violet); }
.ps-faq details[open] summary::after { content: "−"; }
.ps-faq details p { padding: 0 18px 16px; margin: 0; color: var(--soft); }

.ps-end { padding: 56px 0; }
.ps-end-box { background: linear-gradient(135deg, var(--violet), #7c4dff); color: #fff; border-radius: 28px; padding: 40px 28px; text-align: center; }
.ps-end-box p { opacity: .9; font-size: 17px; }

.ps-foot { border-top: 1px solid var(--line); padding: 26px 0 34px; font-size: 14px; color: var(--soft); }
.ps-foot p { margin: 0 0 6px; }

/* страница сведений и 404 */
.ps-doc { padding-top: 36px; padding-bottom: 40px; max-width: 820px; }
.ps-doc h1 { font-size: clamp(26px, 4vw, 36px); }
.ps-doc h2 { font-size: 20px; margin-top: 1.6em; }
.ps-lost { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }

/* узкие экраны */
@media (max-width: 900px) {
  .ps-hero-grid { grid-template-columns: 1fr; }
  .ps-panel { max-width: 340px; }
  .ps-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ps-in { padding: 0 16px; }
  .ps-nav a:not(.ps-btn) { display: none; }
  .ps-hero { padding-top: 28px; }
  .ps-sub { font-size: 16px; }
  .ps-btn-lg { width: 100%; padding: 15px 18px; font-size: 17px; }
  .ps-steps, .ps-cards { grid-template-columns: 1fr; }
  .ps-facts-row { grid-template-columns: 1fr; gap: 10px; }
  .ps-facts-row p { flex-direction: row; align-items: baseline; gap: 10px; }
  .ps-facts-row strong { font-size: 26px; min-width: 52px; }
  .ps-radar { height: 180px; }
  .ps-radar b { width: 100px; height: 100px; font-size: 14px; }
  .ps-sec, .ps-end { padding: 40px 0; }
  .ps-end-box { padding: 30px 18px; border-radius: 22px; }
}
