﻿:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f0f4fb;
  --text: #142033;
  --muted: #60708a;
  --line: #dbe3ef;
  --brand: #2e6df6;
  --brand-2: #0ea5a4;
  --brand-3: #0f172a;
  --shadow: 0 16px 48px rgba(18, 32, 58, 0.08);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f6f8fc 0%, #edf3fb 100%);
  line-height: 1.65;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20,32,51,.08);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  color: var(--brand-3);
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 20px;
}
.brand small {
  display: block;
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.menu { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.menu a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
.menu a.active {
  color: var(--brand);
}
.hero {
  padding: 48px 0 28px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 24px;
  align-items: stretch;
}
.hero-panel,
.card,
.story,
.metric,
.showcase,
.notice,
.app-item,
.site-item,
.contact-box {
  background: var(--surface);
  border: 1px solid rgba(20,32,51,.08);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.hero-panel {
  padding: 30px;
}
.hero-aside {
  display: grid;
  gap: 16px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(46,109,246,.08);
  color: var(--brand);
  border: 1px solid rgba(46,109,246,.14);
  font-size: 13px;
  font-weight: 800;
}
h1 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.03;
  margin: 16px 0 14px;
}
h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  margin: 0 0 12px;
}
h3 {
  font-size: 22px;
  margin: 0 0 10px;
}
p { margin: 0 0 14px; }
.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 760px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid transparent;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #5a8cff);
}
.btn-secondary {
  color: var(--text);
  background: #fff;
  border-color: var(--line);
}
.section { padding: 18px 0; }
.section-lg { padding: 46px 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-sub { color: var(--muted); max-width: 760px; }
.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 18px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { padding: 24px; }
.metric { padding: 22px; }
.metric strong {
  display: block;
  font-size: 34px;
  margin-bottom: 6px;
}
.label { font-size: 13px; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.story { padding: 22px; }
.story p, .card p, .metric p, .showcase p, .notice p, .site-item p, .app-item p, .contact-box p, li {
  color: var(--muted);
}
.kicker {
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.list {
  margin: 0;
  padding-left: 18px;
}
.list li + li { margin-top: 8px; }
.portal-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}
.portal-grid-single {
  grid-template-columns: 1fr;
}
.portal-grid-single .showcase {
  width: 100%;
}
.showcase {
  padding: 24px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.tile {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  color: var(--text);
}
.notice {
  padding: 24px;
  border-left: 5px solid var(--brand-2);
}
.page-hero {
  padding: 42px 0 10px;
}
.page-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
}
.site-item, .app-item {
  padding: 20px;
}
.site-item h3, .app-item h3 { font-size: 20px; }
.site-meta, .app-meta {
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 10px;
}
.table-like { width: 100%; border-collapse: collapse; }
.table-like tr + tr td { border-top: 1px solid var(--line); }
.table-like td { padding: 12px 0; vertical-align: top; }
.contact-box { padding: 24px; }
.footer {
  margin-top: 40px;
  border-top: 1px solid rgba(20,32,51,.08);
  padding: 28px 0 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 18px;
}
.footer-links {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-links li {
  margin: 0;
}
.footer-links a {
  display: block;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.8);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.footer-links a:hover {
  border-color: rgba(46,109,246,.4);
  background: rgba(46,109,246,.08);
  color: var(--brand);
  text-decoration: none;
}
.small { font-size: 14px; color: var(--muted); }
.muted { color: var(--muted); }
hr.soft {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 10px 0 0;
}
@media (min-width: 961px) {
  .footer-grid {
    grid-template-columns: 1.25fr .95fr 1.1fr;
    align-items: start;
  }
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
  }
  .footer-links a {
    padding: 6px 8px;
    font-size: 13px;
  }
}
@media (max-width: 960px) {
  .hero-grid, .portal-grid, .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; padding: 12px 0; }
}

