/* SL Platforma — light product site, Russian. Original layout, not a copy of another stylesheet. */
:root {
  --bg: #f6f7f9;
  --ink: #16181d;
  --muted: #5c6570;
  --line: #e6e8ee;
  --blue: #2f5bff;
  --primary: #2f5bff;
  --blue-2: #1f46e5;
  --white: #fff;
  --radius: 14px;
  --font: "Archivo", "Segoe UI", sans-serif;
  --wrap: min(1120px, calc(100% - 2rem));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: var(--wrap); margin: 0 auto; }
.topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 247, 249, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.topnav .wrap { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.topnav-brand { display: flex; align-items: center; gap: 0.45rem; font-weight: 650; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: conic-gradient(from 210deg, #2f5bff, #7aa2ff, #2f5bff);
}
.ver {
  margin-left: 0.2rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: #eceef3;
  font-size: 0.75rem;
}
.topnav-links { display: flex; gap: 0.2rem; align-items: center; margin: 0 auto; padding: 0; list-style: none; }
.topnav-links a, .menu-btn {
  border: 0; background: transparent; font: inherit; color: inherit; cursor: pointer;
  padding: 0.4rem 0.7rem; border-radius: 8px;
}
.topnav-links a:hover, .menu-btn:hover { background: #fff; }
.has-menu { position: relative; }
.menu-panel {
  display: none; position: absolute; top: 120%; left: 0; width: 280px;
  padding: 0.4rem; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  box-shadow: 0 16px 40px rgba(22, 24, 29, 0.08);
}
.has-menu.is-open .menu-panel { display: grid; }
.menu-panel a { display: grid; padding: 0.55rem 0.7rem; }
.menu-panel span { color: var(--muted); font-size: 0.86rem; }
.nav-end { display: flex; align-items: center; gap: 0.4rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0.55rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-weight: 600;
}
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); }
.hero { padding: 4.5rem 0 3rem; text-align: center; }
.hero h1 {
  margin: 0 auto 1rem; max-width: 16ch;
  font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.045em;
}
.hero-lead { max-width: 40rem; margin: 0 auto 1.5rem; color: var(--muted); }
.cta-row { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.stage { width: min(1180px, calc(100% - 1.5rem)); margin: 2.2rem auto 0; text-align: left; }
.live-app {
  display: block;
  width: 100%;
  height: 780px;
  border: 0;
  border-radius: 16px;
  background: #f5f5f7;
  box-shadow: 0 18px 50px rgba(20, 16, 40, 0.08);
}
section { padding: 4.2rem 0; }
.kicker, .section-kicker { color: var(--muted); font-size: 0.92rem; }
h2 { margin: 0.2rem 0 0.8rem; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.15; }
.grid-4, .grid-3, .grid-2 { display: grid; gap: 1rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.card, .sol-card {
  display: block; padding: 1.1rem 1.15rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff;
}
.card h3, .sol-card h3 { margin: 0 0 0.35rem; }
.card p, .sol-card p { margin: 0; color: var(--muted); }
.band { background: #fff; border-block: 1px solid var(--line); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.compare div { padding: 1rem 1.1rem; }
.compare div:nth-child(odd) { background: #f3f5f8; }
.page-hero { padding: 3.2rem 0 1rem; }
.page-hero h1 { margin: 0 0 0.6rem; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; }
.page-hero p { max-width: 40rem; color: var(--muted); }
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.footer { padding: 2.5rem 0 3rem; border-top: 1px solid var(--line); }
.footer-cols { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 1.5rem; }
.footer h4 { margin: 0 0 0.5rem; }
.footer a, .footer p { display: block; color: var(--muted); margin: 0.25rem 0; }
.inline-link { color: var(--blue); }
.portal-frame { width: 100%; min-height: 520px; border: 0; border-radius: 12px; background: #fff; }
.portal-fallback { display: none; }
.portal-fallback.is-on { display: block; }
.prose { max-width: 42rem; }
.prose li { margin: 0.35rem 0; }
@media (max-width: 900px) {
  .topnav-links { display: none; }
  .grid-4, .grid-3, .grid-2, .sol-grid, .compare, .footer-cols { grid-template-columns: 1fr; }
}
