/* ИД‑платформа — статическая страница «Сайт в разработке» */

:root {
  color-scheme: dark;
  --bg-0: #0b0f16;
  --bg-1: #0e1420;
  --surface: #141b2b;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --accent-2: #06b6d4;
  --border: rgba(148, 163, 184, 0.18);
  --ring: rgba(59, 130, 246, 0.35);
  --header-height: 64px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(59,130,246,0.24), transparent 55%),
    radial-gradient(700px 420px at 120% 45%, rgba(6,182,212,0.20), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
}

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

/* Header */
.site-header {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  backdrop-filter: blur(2px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.brand-mark { flex: 0 0 auto; filter: drop-shadow(0 8px 20px rgba(59,130,246,0.45)); }
.brand-name { letter-spacing: 0.1px; }

.main-nav { display: flex; align-items: center; gap: 10px; }
.main-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.main-nav a:hover { background: rgba(255,255,255,0.06); border-color: var(--border); }

/* Hero */
.hero {
  position: relative;
  padding: clamp(48px, 6vw, 96px) 0 clamp(24px, 4vw, 56px);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero-text h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.lead {
  margin: 0 0 6px;
  font-size: clamp(16px, 2.2vw, 20px);
}
.muted {
  margin: 0 0 20px;
  color: var(--muted);
}

.actions { display: flex; gap: 12px; margin-top: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 10px 30px rgba(59,130,246,0.28);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.04); }

/* Decorative art on the right */
.hero-art {
  position: relative;
  min-height: 360px;
}
.sq {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59,130,246,0.9), rgba(6,182,212,0.9));
  box-shadow:
    0 18px 40px rgba(0,0,0,0.35),
    0 10px 30px rgba(59,130,246,0.25);
  transform: rotate(12deg);
}
.sq.s1 { top: 14%; left: 24%; transform: rotate(-10deg) scale(0.9); }
.sq.s2 { top: 45%; left: 8%; width: 110px; height: 110px; transform: rotate(18deg); }
.sq.s3 { top: 8%; right: 6%; width: 120px; height: 120px; transform: rotate(8deg) }
.sq.s4 { bottom: -6%; right: 12%; width: 170px; height: 170px; transform: rotate(-6deg) }

.ring {
  position: absolute;
  border-radius: 999px;
  border: 2px solid var(--ring);
}
.ring.r1 { width: 360px; height: 360px; left: 6%; top: 10%; }
.ring.r2 { width: 280px; height: 280px; right: 10%; bottom: -4%; border-color: rgba(6,182,212,0.40); }

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 300px; margin-bottom: 8px; }
}

@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .main-nav { width: 100%; overflow-x: auto; }
}

/* Sections with documents */
.section {
  padding: 28px 0 14px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.01), transparent);
}
.section h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.01em;
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 14px;
}
.section-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}
.section-nav a:hover { background: rgba(255,255,255,0.06); }

.doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.doc-list li {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.doc-list a {
  color: #dbeafe;
  text-decoration: none;
}
.doc-list a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 18px 0 36px;
  color: var(--muted);
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; }

/* Anchor offset for sticky header */
#disclosure, #documents, #top { scroll-margin-top: var(--header-height); }


