:root {
  --bg: #08111f;
  --panel: #111e31;
  --text: #f5f8fc;
  --muted: #a9b6c8;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #58a6ff;
  --accent-2: #7dd3fc;
  --max: 1180px;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 10%, rgba(66, 153, 225, .12), transparent 32rem),
    var(--bg);
  line-height: 1.6;
}

a { color: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(8, 17, 31, .78);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #05101c;
  box-shadow: 0 10px 30px rgba(88, 166, 255, .2);
}

.brand-copy strong {
  display: block;
  line-height: 1.05;
  font-size: 1.08rem;
  letter-spacing: .01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: #d7e0ec;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  transition: .2s ease;
}

.nav-links a:hover { background: rgba(255,255,255,.06); }

.nav-cta {
  border: 1px solid var(--line);
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: white;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
}

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

h1 {
  font-size: clamp(3.25rem, 7vw, 6.4rem);
  letter-spacing: -.055em;
  max-width: 900px;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  letter-spacing: -.04em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -.02em;
}

.hero-lead,
.section-heading > p,
.approach-copy,
.about-copy,
.contact-card p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-lead { max-width: 720px; }

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  color: #06111e;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.button.secondary {
  border: 1px solid var(--line);
  color: #e7edf5;
  background: rgba(255,255,255,.025);
}

.hero-card {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    var(--panel);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  overflow: hidden;
}

.hero-card-content {
  position: relative;
  z-index: 2;
  padding: 42px;
}

.card-label {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .17em;
}

.focus-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.focus-row:last-child { border-bottom: 0; }
.focus-row strong { font-size: 1.12rem; }

.focus-row p {
  color: var(--muted);
  margin: 4px 0 0;
  font-size: .94rem;
}

.focus-icon {
  color: var(--accent-2);
  font-weight: 800;
  letter-spacing: .08em;
}

.signal {
  position: absolute;
  border-radius: 50%;
}

.signal-one {
  width: 240px;
  height: 240px;
  right: -110px;
  top: -110px;
  border: 1px solid rgba(125,211,252,.32);
}

.signal-two {
  width: 390px;
  height: 390px;
  right: -190px;
  top: -175px;
  border: 1px solid rgba(88,166,255,.13);
}

.section { padding: 92px 0; }

.section-soft {
  background: rgba(255,255,255,.025);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
}

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

.service-number {
  margin-bottom: 48px;
  color: var(--accent-2);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.approach-grid,
.about-grid,
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-copy p:first-child,
.approach-copy p:first-child {
  margin-top: 0;
}

.contact-section { padding-top: 40px; }

.contact-card {
  padding: 48px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(88,166,255,.09), rgba(125,211,252,.025));
}

.contact-email {
  justify-self: end;
  display: inline-flex;
  gap: 20px;
  align-items: center;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 800;
  text-decoration: none;
  color: var(--accent-2);
}

.site-footer {
  margin-top: 40px;
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: #060d17;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand { margin-bottom: 16px; }

.footer-grid p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 8px 18px;
}

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

.footer-links a:hover { color: white; }

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #7f8da1;
  font-size: .86rem;
}

@media (max-width: 900px) {
  .hero { padding-top: 70px; }

  .hero-grid,
  .approach-grid,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-grid { gap: 44px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .contact-email { justify-self: start; }
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #0d1727;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin-left: 0; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding: 56px 0 64px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .section { padding: 68px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .hero-card { min-height: 0; }

  .hero-card-content,
  .contact-card { padding: 28px; }

  .footer-grid { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .hero-actions { align-items: stretch; }
  .button { width: 100%; }
}
