:root {
  --bg: #0b1020;
  --bg-deep: #080b16;
  --bg-soft: #121a35;
  --surface: #ffffff;
  --surface-soft: #f1f4ff;
  --surface-blue: #eaf0ff;
  --text: #111827;
  --text-light: #f8faff;
  --muted: #667085;
  --muted-light: #bcc7df;
  --primary: #6658f6;
  --primary-dark: #493dd1;
  --accent: #28d7a1;
  --accent-dark: #0d9d72;
  --border: #dee5f3;
  --border-dark: rgba(255, 255, 255, 0.13);
  --shadow: 0 24px 60px rgba(5, 10, 28, 0.34);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #f7f8fc;
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 11, 22, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-light);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-size: 14px;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 28px rgba(102, 88, 246, 0.35);
}

.brand-text {
  font-size: 18px;
}

.top-nav {
  display: flex;
  gap: 18px;
  font-size: 15px;
  color: var(--muted-light);
}

.top-nav a {
  text-decoration: none;
}

.top-nav a:hover {
  color: white;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(102, 88, 246, 0.56), transparent 29%),
    radial-gradient(circle at 86% 28%, rgba(40, 215, 161, 0.25), transparent 31%),
    radial-gradient(circle at 50% 100%, rgba(73, 61, 209, 0.28), transparent 35%),
    var(--bg);
  color: var(--text-light);
  padding: 86px 0 70px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -220px auto;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 13px;
}

h1, h2, h3 {
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(39px, 6vw, 70px);
  letter-spacing: -0.055em;
  max-width: 940px;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 21px;
}

.lead {
  margin: 22px 0 0;
  max-width: 790px;
  font-size: 21px;
  color: var(--muted-light);
}

.hero-actions,
.callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 21px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: var(--primary);
  box-shadow: 0 14px 32px rgba(102, 88, 246, 0.36);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  color: #062c22;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 14px 28px rgba(40, 215, 161, 0.22);
}

.button-ghost {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.panel-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 850;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.panel-title {
  font-size: 25px;
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.16;
}

.focus-list {
  display: grid;
  gap: 12px;
}

.focus-list span {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted-light);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.section {
  padding: 68px 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 30px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.route,
.project-grid,
.block-grid {
  display: grid;
  gap: 18px;
}

.route {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.route-card,
.project-card,
.block-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 23px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(20, 28, 54, 0.07);
}

.route-number {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 38px;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 18px;
}

.route-card p,
.project-card p,
.block-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.section-map {
  background: var(--bg-soft);
  color: var(--text-light);
}

.section-heading-light p {
  color: var(--muted-light);
}

.block-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.block-card {
  background: rgba(255, 255, 255, 0.075);
  border-color: var(--border-dark);
  box-shadow: none;
}

.block-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.block-card p {
  color: var(--muted-light);
}

.project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-card {
  text-decoration: none;
  min-height: 230px;
}

.project-card:hover {
  border-color: #c4c9ff;
  transform: translateY(-2px);
  transition: 0.15s ease;
}

.project-icon {
  display: inline-grid;
  place-items: center;
  min-width: 66px;
  height: 38px;
  padding: 0 12px;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 18px;
  font-size: 14px;
}

.section-soft {
  background: var(--surface-blue);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: start;
}

.split p {
  color: var(--muted);
  font-size: 18px;
}

.mistake-list {
  display: grid;
  gap: 14px;
}

.mistake-list div {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.mistake-list strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.mistake-list span {
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  color: var(--muted);
  margin-bottom: 0;
}

.callout {
  padding-top: 34px;
}

.callout-inner {
  background:
    radial-gradient(circle at 20% 20%, rgba(40, 215, 161, 0.22), transparent 28%),
    linear-gradient(135deg, var(--bg-deep), var(--primary-dark));
  color: white;
  border-radius: 28px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}

.callout-inner p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer {
  padding: 38px 0;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}

@media (max-width: 960px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .route,
  .block-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-nav {
    display: none;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    padding: 54px 0 42px;
  }

  .section {
    padding: 46px 0;
  }

  .lead {
    font-size: 18px;
  }

  .route,
  .block-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .callout-inner,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .button,
  .hero-actions,
  .callout-actions {
    width: 100%;
  }
}
