/* Лендинг «Выберите концепцию» — нейтральная тёмная сцена, карточки превью. */
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: #0a0b10; color: #e9edf6; min-height: 100vh;
  font-family: 'General Sans', 'Spline Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; position: relative; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(50% 40% at 12% 8%, rgba(255,176,32,.16), transparent 60%),
    radial-gradient(46% 38% at 88% 12%, rgba(183,148,255,.18), transparent 60%),
    radial-gradient(60% 50% at 50% 108%, rgba(24,224,255,.12), transparent 55%);
  filter: blur(10px); }

.intro { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 72px 28px 18px; }
.eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #8b93a7; margin-bottom: 16px; }
.intro h1 { font-family: 'Clash Display', system-ui, sans-serif; font-weight: 600; font-size: clamp(38px, 7vw, 78px); line-height: .98; letter-spacing: -.02em; margin: 0 0 18px;
  background: linear-gradient(120deg, #fff 0%, #ffb27a 55%, #b794ff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.intro p { color: #aab3c5; max-width: 760px; font-size: 16px; line-height: 1.65; margin: 0 0 22px; }
.intro p b { color: #e9edf6; }
.intro-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.intro-meta span { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #c2cad8; padding: 6px 13px; border: 1px solid #232a38; border-radius: 999px; background: rgba(255,255,255,.03); }

.cards { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 36px 28px; display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
.cards .proto-card:first-child { grid-column: span 2; }

.proto-card { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden;
  border-radius: 20px; border: 1px solid #1f2532; background: #0e1017;
  box-shadow: 0 20px 60px rgba(0,0,0,.4); transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s, border-color .35s; }
.proto-card:hover { transform: translateY(-6px); border-color: #36405a; box-shadow: 0 36px 90px rgba(0,0,0,.55); }
.cards .proto-card:first-child { grid-template-columns: 1.3fr 1fr; }

/* живое превью каркаса в палитре системы */
.pc-preview { background: var(--ds-app-bg, var(--ds-bg)); padding: 18px; min-height: 240px; display: flex; }
.pv-bar { display: none; }
.proto-card .pc-preview { flex-direction: column; gap: 12px; }
.pv-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: var(--ds-radius-sm); background: var(--ds-surface); border: var(--ds-border-w) solid var(--ds-border); }
.pv-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ds-border-strong); }
.pv-kpi { margin-left: auto; font-family: var(--ds-font-mono); font-size: 11px; color: var(--ds-accent); }
.pv-body { flex: 1; display: grid; grid-template-columns: 56px 1fr; gap: 12px; }
.pv-side { background: var(--ds-surface); border: var(--ds-border-w) solid var(--ds-border); border-radius: var(--ds-radius-sm); padding: 10px 8px; display: flex; flex-direction: column; gap: 8px; }
.pv-side span { height: 9px; border-radius: var(--ds-radius-pill); background: var(--ds-surface-3); }
.pv-side span.on { background: var(--ds-accent); }
.pv-main { display: grid; grid-template-rows: auto 1fr; gap: 12px; }
.pv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pv-tiles i { height: 46px; border-radius: var(--ds-radius-sm); background: var(--ds-surface); border: var(--ds-border-w) solid var(--ds-border); display: block; }
.pv-chart { position: relative; background: var(--ds-surface); border: var(--ds-border-w) solid var(--ds-border); border-radius: var(--ds-radius-sm); padding: 10px; }
.pv-chart svg { width: 100%; height: 100%; }
.pv-ring { position: absolute; right: 26px; bottom: 26px; width: 56px; height: 56px; background: var(--ds-surface); border: var(--ds-border-w) solid var(--ds-border); border-radius: var(--ds-radius-sm); padding: 6px; }
.pv-ring svg { width: 100%; height: 100%; }

.pc-info { padding: 26px 28px; display: flex; flex-direction: column; gap: 12px; }
.pc-head { display: flex; align-items: center; gap: 12px; }
.pc-id { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 700; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid #2a3142; }
.pc-info h2 { font-family: 'Clash Display', system-ui, sans-serif; font-weight: 600; font-size: 26px; margin: 0; letter-spacing: -.01em; }
.pc-tag { color: #9aa4b6; font-size: 14px; line-height: 1.55; margin: 0; flex: 1; }
.pc-swatches { display: flex; gap: 8px; }
.pc-swatches span { width: 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); }
.pc-fonts { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: #767e90; }
.pc-open { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: #e9edf6; margin-top: 2px; }
.pc-open b { transition: transform .25s; }
.proto-card:hover .pc-open b { transform: translateX(5px); }

.foot { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 20px 28px 72px; color: #767e90; font-size: 13px; display: flex; flex-direction: column; gap: 10px; }
.foot a { color: #aab3c5; text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover { color: #fff; }
.foot code { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #c2cad8; }
.foot-note { line-height: 1.6; }

.reveal { opacity: 0; transform: translateY(18px); animation: reveal .7s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes reveal { to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .cards .proto-card, .cards .proto-card:first-child { grid-column: span 1; grid-template-columns: 1fr; }
  .pc-preview { min-height: 200px; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; animation: none; } }
