/* wiwiw.ru — AI automation hub (cyan / violet) */
:root {
  --bg: #050810; --bg-elevated: #0c1220; --surface: #111827; --surface-2: #1a2332;
  --border: rgba(56, 189, 248, 0.14); --text: #f0f9ff; --muted: #94a3b8;
  --accent: #06b6d4; --accent-2: #a78bfa; --accent-glow: rgba(6, 182, 212, 0.35);
  --radius: 14px; --radius-lg: 22px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Space Grotesk", var(--font);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55); --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.bg-grid { position: fixed; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(6,182,212,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,182,212,0.05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse 80% 50% at 50% -10%, black 30%, transparent); }
.gradient-orb { position: fixed; width: 560px; height: 560px; border-radius: 50%; filter: blur(120px); opacity: 0.22; z-index: -1; pointer-events: none; }
.gradient-orb--1 { top: -180px; right: -80px; background: var(--accent); }
.gradient-orb--2 { bottom: 10%; left: -140px; background: var(--accent-2); }
.wrap { width: min(var(--max), 100% - 2rem); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); background: rgba(5,8,16,0.85); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; flex-wrap: wrap; }
.logo { font: 700 1.15rem/1.1 var(--font-display); color: var(--text); text-decoration: none; }
.logo span { color: var(--accent); }
.nav-pages { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; font-size: 0.88rem; }
.nav-pages a { color: var(--muted); text-decoration: none; }
.nav-pages a:hover, .nav-pages a.is-active { color: var(--text); }
.header-cta { display: flex; gap: 0.65rem; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.65rem 1.25rem; font: 600 0.95rem var(--font); border-radius: 999px; border: none; cursor: pointer; text-decoration: none; transition: transform 0.15s, box-shadow 0.2s; }
.btn--primary { background: linear-gradient(135deg, var(--accent), #0891b2); color: #042f2e; box-shadow: 0 12px 40px var(--accent-glow); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.hero { padding: 3.5rem 0 4rem; }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero__badge { display: inline-flex; padding: 0.35rem 0.85rem; border-radius: 999px; font: 600 0.78rem var(--font); color: var(--accent); background: rgba(6,182,212,0.12); border: 1px solid rgba(6,182,212,0.28); margin-bottom: 1rem; }
.hero h1 { font: 700 clamp(2rem, 4.5vw, 3.2rem)/1.08 var(--font-display); letter-spacing: -0.03em; margin: 0 0 1rem; }
.hero__lead { font-size: 1.08rem; color: var(--muted); margin: 0 0 1.75rem; max-width: 42ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: 0.9rem; color: var(--muted); }
.hero__meta strong { color: var(--text); display: block; }
.hero__panel { border-radius: var(--radius-lg); padding: 1.25rem; background: var(--surface); border: 1px solid var(--border); font-family: ui-monospace, monospace; font-size: 0.82rem; line-height: 1.55; color: #7dd3fc; box-shadow: var(--shadow); }
.section { padding: 3.5rem 0; }
.section__eyebrow { font: 700 0.75rem var(--font); text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin: 0 0 0.5rem; }
.section h2 { font: 700 clamp(1.5rem, 3vw, 2.1rem)/1.2 var(--font-display); margin: 0 0 0.75rem; }
.section__sub { margin: 0 0 2rem; color: var(--muted); max-width: 58ch; }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.35rem; }
.card h3 { margin: 0.5rem 0; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card__icon { font-size: 1.5rem; }
.card--link { display: block; color: inherit; text-decoration: none; transition: border-color 0.2s; }
.card--link:hover { border-color: rgba(6,182,212,0.4); text-decoration: none; }
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--muted); line-height: 1.7; }
.prose h2 { color: var(--text); margin: 2rem 0 0.75rem; font-size: 1.35rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 0.75rem 0; list-style: none; }
.faq-item p { margin: 0 0 1rem; color: var(--muted); }
.cta-band { margin: 2rem 0; padding: 2.5rem 2rem; border-radius: var(--radius-lg); text-align: center; background: linear-gradient(135deg, rgba(6,182,212,0.14), rgba(167,139,250,0.08)); border: 1px solid rgba(6,182,212,0.25); }
.breadcrumbs { padding: 0.65rem 0 0; font-size: 0.85rem; color: var(--muted); }
.site-footer { padding: 2.5rem 0 3rem; border-top: 1px solid var(--border); font-size: 0.88rem; color: var(--muted); }
.site-footer__meta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.nav-toggle { display: none; }
.nav-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.6); border: none; }
.nav-overlay[hidden] { display: none; }
.mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; display: none; grid-template-columns: repeat(3, 1fr); padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom)); background: rgba(5,8,16,0.94); border-top: 1px solid var(--border); }
.mobile-bar__action { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; border: none; background: transparent; color: var(--muted); font: 600 0.68rem var(--font); text-decoration: none; cursor: pointer; }
.mobile-bar__action--accent { color: var(--accent); }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; } .mobile-bar, .nav-overlay { display: none !important; } }
@media (max-width: 899px) {
  .mobile-bar { display: grid; } body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  .nav-pages { display: none; position: fixed; top: 0; right: 0; bottom: calc(3.75rem + env(safe-area-inset-bottom)); width: min(20rem, 100vw - 1rem); z-index: 100; background: var(--bg-elevated); border-left: 1px solid var(--border); padding: 1rem; flex-direction: column; overflow-y: auto; }
  .nav-pages.is-open { display: flex; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); cursor: pointer; }
  .nav-toggle__icon { display: block; width: 20px; height: 2px; background: currentColor; box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor; }
  .header-cta .btn--ghost { display: none; }
}

.figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow, none); }
.figure img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.figure--portrait img { aspect-ratio: 4/5; }
.figure figcaption { padding: 0.55rem 0.85rem; font-size: 0.76rem; color: var(--muted); background: var(--surface, var(--bg-elevated)); }
.card--media { padding: 0; overflow: hidden; display: block; color: inherit; text-decoration: none; }
.card--media .card__body { padding: 1.15rem 1.25rem; }
.card--media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card--media:hover { text-decoration: none; }
.split { display: grid; gap: 2rem; align-items: center; }
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.gallery .figure img { aspect-ratio: 4/3; }
.stats { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin: 1.5rem 0 0; }
.stat { font-size: 0.88rem; color: var(--muted); }
.stat strong { display: block; font-size: 1.35rem; color: var(--text); line-height: 1.2; }
.split-band { display: grid; gap: 2rem; align-items: center; padding: 2rem 0; }
@media (min-width: 900px) { .split, .split-band { grid-template-columns: 1fr 1fr; } .hero__grid.has-media { grid-template-columns: 1.05fr 0.95fr; } }
