:root {
  --bg-0: #020611;
  --bg-1: #040b19;
  --text: #e9f4ff;
  --text-soft: rgba(233, 244, 255, 0.72);
  --line: rgba(95, 160, 232, 0.24);
  --line-strong: rgba(120, 189, 255, 0.4);
  --accent: #33f6de;
  --max: 1260px;
  --doc: 760px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  color: var(--text);
  font-family: "SF Pro Text", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(28, 119, 255, 0.2), transparent 65%),
    radial-gradient(900px 600px at 110% 15%, rgba(18, 202, 177, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 60%, #020a18 100%);
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

.shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 56px;
}

.landing-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 0 34px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 31px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.brand img {
  width: 28px;
  height: 28px;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-size: 17px;
  font-weight: 500;
}

.nav a {
  color: var(--text-soft);
  padding: 9px 0;
  border-bottom: 2px solid transparent;
}

.nav a.active,
.nav a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

.hero {
  max-width: 980px;
  margin: 0 auto;
  padding-bottom: 8px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(44px, 5.8vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
}

.hero-accent-word {
  color: var(--accent);
}

.hero p {
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 21px;
  line-height: 1.45;
  max-width: 820px;
  text-align: center;
  text-wrap: pretty;
}

.cta-row {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn.primary {
  color: #031321;
  background: linear-gradient(96deg, #38a9ff, #1fd7c2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }

.muted {
  color: var(--text-soft);
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}

.grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.card {
  grid-column: span 12;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.card h2 {
  margin: 0 0 14px;
  font-size: 34px;
  letter-spacing: -0.02em;
}

.card h3 {
  margin: 24px 0 10px;
  font-size: 26px;
  letter-spacing: -0.01em;
}

.card p, .card li {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 19px;
}

.card ul {
  margin: 12px 0 0;
  padding-left: 24px;
  display: grid;
  gap: 10px;
}

.card .meta {
  margin-top: 26px;
  padding-top: 0;
  border-top: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.notice {
  margin-top: 18px;
  background: rgba(58, 96, 145, 0.16);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}

.notice strong { color: #e9f4ff; }

.footer {
  margin-top: auto;
  padding: 16px 2px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-soft);
  font-size: 13px;
}

.kpis {
  display: grid;
  gap: 14px;
}

.kpi {
  background: rgba(12, 31, 63, 0.42);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.kpi .label {
  font-size: 15px;
  color: var(--text-soft);
}

.kpi .value {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  overflow-wrap: break-word;
}

.doc-content {
  max-width: var(--doc);
  margin: 18px auto 0;
  border-radius: 0;
  border: 0;
  padding: 10px 0 0;
  background: transparent;
}

.doc-content h2 {
  font-size: 26px;
  line-height: 1.34;
  text-align: left;
  margin: 10px 0 14px;
  text-transform: none;
  font-weight: 650;
}

.doc-content h3 {
  font-size: 22px;
  margin-top: 28px;
  font-weight: 620;
}

.doc-content p,
.doc-content li {
  font-size: 17px;
  line-height: 1.74;
  color: var(--text-soft);
}

@media (min-width: 860px) {
  .card.span-7 { grid-column: span 7; }
  .card.span-5 { grid-column: span 5; }
}

@media (max-width: 920px) {
  .shell { padding: 0 20px 34px; }
  .topbar { min-height: 72px; }
  .brand { font-size: 28px; }
  .nav { gap: 14px; font-size: 15px; }
  .hero h1 { font-size: clamp(34px, 8.6vw, 54px); }
  .hero p { font-size: 18px; line-height: 1.55; }
  .doc-content {
    max-width: 100%;
    margin-top: 14px;
  }
  .doc-content h2 { font-size: 24px; }
  .doc-content h3 { font-size: 20px; }
  .doc-content p,
  .doc-content li {
    font-size: 16px;
    line-height: 1.68;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0;
    min-height: 0;
  }
  .brand { font-size: 26px; }
  .brand img { width: 24px; height: 24px; }
  .nav {
    gap: 10px;
    font-size: 14px;
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }
  .nav a { padding: 6px 0; }
  .hero { margin-top: 20px; }
  .hero h1 { font-size: clamp(30px, 9.4vw, 42px); line-height: 1.08; }
  .hero p { font-size: 16px; line-height: 1.62; }
  .shell { padding: 0 16px 24px; }
  .landing-main { padding: 10px 0 18px; }
  .card { padding: 0; }
  .doc-content { padding-top: 12px; }
  .doc-content h2 { font-size: 22px; }
  .doc-content h3 { font-size: 19px; }
  .doc-content p,
  .doc-content li { font-size: 15px; line-height: 1.65; }
  .footer {
    padding-top: 14px;
    gap: 8px;
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .shell { padding: 0 14px 22px; }
  .topbar { align-items: flex-start; flex-direction: column; gap: 8px; }
  .brand { font-size: 24px; }
  .nav { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 8px; }
  .hero h1 { font-size: clamp(28px, 9.2vw, 38px); }
  .hero p { font-size: 15px; }
  .btn { min-height: 42px; padding: 0 16px; font-size: 14px; }
  .doc-content h2 { font-size: 20px; }
  .doc-content h3 { font-size: 18px; }
  .doc-content p,
  .doc-content li { font-size: 14px; line-height: 1.62; }
}
