:root {
  --bg: #070f1f;
  --bg-soft: #0d1a33;
  --surface: rgb(18 32 60 / 76%);
  --surface-strong: #0f1f3d;
  --text: #eaf1ff;
  --text-muted: #b8c7e6;
  --primary: #20c9ff;
  --primary-strong: #11a8de;
  --line: rgb(70 105 165 / 55%);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(1200px 600px at 95% -10%, rgb(32 201 255 / 18%), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgb(66 110 205 / 20%), transparent 55%),
    linear-gradient(180deg, #081226 0%, #060d1c 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.2;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgb(7 15 31 / 78%);
  backdrop-filter: blur(10px);
}

.nav-row,
.footer-row {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--text);
  font-family: 'Lexend', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--text);
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  font-family: 'Lexend', sans-serif;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.hero {
  padding: 88px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
}

.kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 62ch;
}

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

.btn {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #052130;
}

.btn-primary:hover {
  background: var(--primary-strong);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: rgb(255 255 255 / 7%);
}

.hero-panel,
.card,
.solution-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgb(1 8 20 / 36%);
}

.hero-panel {
  padding: 24px;
}

.hero-panel ul {
  margin: 0;
  padding-left: 18px;
}

.section {
  padding: 52px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgb(12 26 50 / 72%), rgb(10 21 41 / 74%));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.card,
.solution-grid article {
  padding: 20px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: center;
}

.contact-card {
  padding: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.footer-row {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-meta a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-meta a:hover {
  color: var(--text);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero-grid,
  .cards,
  .solution-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .footer-row {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}

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