:root {
  color-scheme: dark light;
  --bg: #0b1220;
  --bg-2: #0f172a;
  --panel: #111b2f;
  --soft: #f3f6fb;
  --text: #0f172a;
  --text-dark: #e5edf8;
  --muted: #5f6b7a;
  --muted-dark: #9aa9bd;
  --line: rgba(148, 163, 184, 0.22);
  --accent: #42d392;
  --accent-2: #4f8cff;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(2, 8, 23, 0.18);
  --radius: 24px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, textarea {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: 20px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--accent);
  color: #05130d;
  border-radius: 999px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 18, 32, 0.86);
  backdrop-filter: blur(18px);
  color: var(--text-dark);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06101e;
  font-size: 15px;
  font-weight: 900;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted-dark);
  font-size: 15px;
}

.nav-menu a {
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 99px;
}

.section {
  padding: 96px 0;
}

.section-dark {
  background:
    radial-gradient(circle at 20% 10%, rgba(66, 211, 146, 0.22), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(79, 140, 255, 0.22), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text-dark);
}

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

.hero {
  padding: 96px 0 120px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 64px;
}

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

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 840px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted-dark);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), #7df0b6);
  color: #06130d;
  box-shadow: 0 16px 48px rgba(66, 211, 146, 0.22);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin: 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-stats dt {
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted-dark);
  font-size: 14px;
}

.hero-panel {
  position: relative;
  min-height: 510px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    rgba(255, 255, 255, 0.05);
  background-size: 32px 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted-dark);
  font-size: 14px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(66, 211, 146, 0.12);
}

.infra-map {
  position: absolute;
  inset: 80px 28px 130px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.node {
  display: grid;
  place-items: center;
  min-height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(11, 18, 32, 0.72);
  color: var(--muted-dark);
  font-weight: 800;
}

.node-primary {
  grid-column: span 2;
  min-height: 106px;
  background: linear-gradient(135deg, rgba(66, 211, 146, 0.26), rgba(79, 140, 255, 0.24));
  color: var(--white);
  font-size: 28px;
}

.signal-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: calc(50% - 37px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(11, 18, 32, 0.88);
}

.signal-card.muted {
  left: auto;
  right: 28px;
}

.signal-card span,
.metric span {
  display: block;
  color: var(--muted-dark);
  font-size: 13px;
}

.signal-card strong,
.metric strong {
  display: block;
  margin-top: 6px;
  color: var(--white);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-head {
  max-width: 780px;
  margin-bottom: 42px;
}

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

.section-dark .section-head p:not(.eyebrow) {
  color: var(--muted-dark);
}

.compact {
  margin-bottom: 30px;
}

.cards {
  display: grid;
  gap: 20px;
}

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

.card {
  padding: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

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

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: #ecfdf5;
  color: #047857;
  font-size: 13px;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 70px;
  align-items: center;
}

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

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #223047;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.55);
}

.metric-stack {
  display: grid;
  gap: 16px;
}

.metric {
  padding: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text-dark);
  box-shadow: var(--shadow);
}

.metric small {
  display: block;
  margin-top: 8px;
  color: var(--muted-dark);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline article {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: #eef4ff;
  color: #1d4ed8;
  font-weight: 900;
}

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

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.plan-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.plan-card.featured {
  background: linear-gradient(180deg, rgba(66, 211, 146, 0.16), rgba(255, 255, 255, 0.06));
  border-color: rgba(66, 211, 146, 0.34);
}

.plan-card p {
  color: var(--muted-dark);
}

.plan-card ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 22px 0 0;
  color: var(--text-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.9fr);
  gap: 68px;
  align-items: start;
}

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

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  font-size: 20px;
  font-weight: 800;
}

.contact-list a {
  width: fit-content;
  color: #0f3d7a;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #223047;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  background: #f8fafc;
  color: var(--text);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(79, 140, 255, 0.72);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.12);
}

.contact-form .button {
  width: 100%;
  border: 0;
}

.form-note {
  margin: 0;
  color: var(--muted) !important;
  font-size: 13px !important;
}

.site-footer {
  padding: 30px 0;
  background: #070d18;
  color: var(--muted-dark);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--white);
  font-weight: 800;
}

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

  .hero-panel {
    min-height: 460px;
  }

  .services-grid,
  .plans,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(11, 18, 32, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    display: block;
    padding: 12px 10px;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding: 62px 0 76px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .lead {
    font-size: 18px;
  }

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

  .hero-stats,
  .services-grid,
  .plans,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 500px;
  }

  .infra-map {
    grid-template-columns: 1fr;
    inset: 72px 20px 142px;
  }

  .node-primary {
    grid-column: span 1;
  }

  .signal-card,
  .signal-card.muted {
    left: 20px;
    right: auto;
    width: calc(100% - 40px);
  }

  .signal-card.muted {
    bottom: 92px;
  }

  .signal-card:not(.muted) {
    bottom: 20px;
  }

  .contact-grid {
    gap: 34px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
