:root {
  --dark: #020817;
  --dark-2: #06111f;
  --dark-3: #081827;
  --cyan: #38bdf8;
  --text: #f8fafc;
  --muted: #94a3b8;
  --light: #f8fafc;
  --ink: #07111f;
  --line: #d8e3ef;
  --container: 1440px;
  --pad: clamp(20px, 4vw, 72px);
  --font-body: "Inter", "Manrope", "Avenir Next", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", Consolas, monospace;
  color: var(--text);
  font-family: var(--font-body);
  background: var(--dark);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--dark);
}

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

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

.container {
  width: min(var(--container), calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
}

.dark {
  background:
    linear-gradient(rgba(56, 189, 248, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 76% 8%, rgba(56, 189, 248, 0.16), transparent 34rem),
    var(--dark);
  background-size: 72px 72px, 72px 72px, auto;
}

.light {
  color: var(--ink);
  background:
    linear-gradient(rgba(8, 24, 39, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 24, 39, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff, #f3f8fc);
  background-size: 72px 72px, 72px 72px, auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px clamp(16px, 2.4vw, 40px);
  pointer-events: none;
}

.nav {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  gap: clamp(18px, 2.2vw, 40px);
  align-items: center;
  width: min(1580px, 100%);
  min-height: 72px;
  margin: 0 auto;
  padding: 9px 12px 9px 14px;
  border: 1px solid rgba(216, 227, 239, 0.18);
  border-radius: 12px;
  background: rgba(2, 8, 23, 0.78);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(1.2);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-self: start;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 0.9vw, 0.98rem);
  font-weight: 400;
  white-space: nowrap;
  transition: opacity 180ms ease;
}

.brand:hover,
.brand:focus-visible {
  opacity: 0.82;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.7vw, 54px);
  color: #dbeafe;
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 0.9vw, 0.98rem);
  white-space: nowrap;
}

.nav-item {
  position: relative;
  padding: 10px 0;
}

.nav-item:hover,
.nav-item:focus-within {
  z-index: 40;
}

.nav-item::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 100%;
  height: 26px;
  content: "";
  transform: translateX(-50%);
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  transition: color 180ms ease;
}

.nav-links > a,
.nav-item > a {
  transition: color 180ms ease;
}

.nav-links > a:hover,
.nav-links > a:focus-visible,
.nav-item:hover > a,
.nav-item:focus-within > a {
  color: #8bd9ff;
}

.nav-item > a::after {
  width: 8px;
  height: 8px;
  margin-top: -5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: #8bb5d8;
  content: "";
  transform: rotate(45deg);
  transform-origin: center;
}

.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  width: min(700px, calc(100vw - 72px));
  padding: 32px;
  border: 1px solid rgba(216, 227, 239, 0.13);
  border-radius: 12px;
  background: #020817;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.46);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.mega--services {
  width: min(660px, calc(100vw - 72px));
}

.mega--capabilities {
  width: min(700px, calc(100vw - 72px));
}

.nav-item:hover .mega,
.nav-item:focus-within .mega,
.nav-item.is-open .mega {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-links.has-active .nav-item:not(.is-open) .mega {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
}

.nav-item.is-open {
  z-index: 50;
}

.mega-col {
  display: grid;
  gap: 17px;
  align-content: start;
  min-width: 0;
}

.mega-col::before {
  display: block;
  height: 1px;
  margin-bottom: 8px;
  background: rgba(148, 163, 184, 0.22);
  content: "";
}

.mega strong {
  display: block;
  margin-bottom: 8px;
  color: #cfe9ff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.mega-link {
  display: block;
  min-width: 0;
  padding: 0;
}

.mega-icon {
  display: none;
}

.mega-link b {
  display: block;
  margin-bottom: 4px;
  color: #8bd9ff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 520;
  line-height: 1.25;
  letter-spacing: -0.015em;
  transition: color 180ms ease;
}

.mega-link:hover b,
.mega-link:focus-visible b {
  color: #e0f6ff;
}

.mega-link span span {
  display: block;
  max-width: 265px;
  color: #8899ad;
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.42;
  white-space: normal;
}

.actions {
  display: flex;
  justify-self: end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: clamp(0.94rem, 1vw, 1.08rem);
  font-weight: 500;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.btn-primary {
  color: #03111f;
  background: #e5f5ff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.54), 0 12px 38px rgba(56, 189, 248, 0.16);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #bdeeff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68), 0 18px 46px rgba(56, 189, 248, 0.28);
  transform: translateY(-2px);
}

.btn-secondary {
  color: #dbeafe;
  border: 1px solid rgba(139, 181, 216, 0.38);
  background: rgba(2, 8, 23, 0.22);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: #f8fafc;
  border-color: rgba(56, 189, 248, 0.68);
  background: rgba(56, 189, 248, 0.1);
  box-shadow: 0 14px 38px rgba(56, 189, 248, 0.14);
  transform: translateY(-2px);
}

.menu {
  position: relative;
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(216, 227, 239, 0.25);
  border-radius: 8px;
  background: transparent;
}

.menu span {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--text);
  transform: translateX(-50%);
  transition: opacity 180ms ease, transform 180ms ease, top 180ms ease;
}

.menu span:nth-child(1) {
  top: 14px;
}

.menu span:nth-child(2) {
  top: 22px;
}

.menu span:nth-child(3) {
  top: 30px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow.blue {
  color: #0369a1;
}

h1,
h2 {
  letter-spacing: -0.06em;
  line-height: 0.98;
}

h1 {
  max-width: 1060px;
  margin-bottom: 28px;
  font-size: clamp(4.1rem, 5vw, 6.35rem);
  font-weight: 500;
}

h2 {
  margin-bottom: 26px;
  font-size: clamp(2.65rem, 3.2vw, 4.15rem);
  font-weight: 500;
}

h3 {
  font-size: clamp(1.28rem, 1.55vw, 1.9rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

p {
  color: #cbd5e1;
  font-size: clamp(1.05rem, 1.2vw, 1.24rem);
  line-height: 1.72;
}

.hero {
  margin-top: -82px;
  padding: clamp(166px, 13vw, 230px) 0 clamp(82px, 9vw, 128px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(640px, 1fr) minmax(420px, 0.62fr);
  gap: clamp(48px, 6vw, 104px);
  align-items: end;
}

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

.hero-copy p {
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-panel {
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 14%, rgba(56, 189, 248, 0.15), transparent 42%),
    linear-gradient(145deg, rgba(8, 24, 39, 0.82), rgba(2, 8, 23, 0.62));
  box-shadow: inset 0 1px 0 rgba(216, 227, 239, 0.06), 0 26px 90px rgba(0, 0, 0, 0.24);
  padding: clamp(24px, 3vw, 42px);
}

.hero-panel span {
  display: block;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin: 18px 0 22px;
  color: var(--text);
  font-size: clamp(2rem, 2.6vw, 3.4rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-panel ul,
.list-grid ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-panel li,
.list-grid li {
  position: relative;
  padding-left: 20px;
  color: #b9c6d6;
  font-size: clamp(0.92rem, 1vw, 1.04rem);
  line-height: 1.55;
}

.hero-panel li + li,
.list-grid li + li {
  margin-top: 10px;
}

.hero-panel li::before,
.list-grid li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.intro-band {
  padding: clamp(78px, 8vw, 132px) 0;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.68fr) minmax(520px, 1fr);
  gap: clamp(54px, 7vw, 118px);
  align-items: start;
}

.intro-layout p {
  color: #334155;
}

.intro-big {
  color: var(--ink);
  font-size: clamp(2.15rem, 2.7vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  color: #0f7fc6;
  font-weight: 600;
}

.text-link::after {
  content: "→";
}

.dark-section {
  padding: clamp(86px, 9vw, 150px) 0;
}

.section-head {
  max-width: 1040px;
  margin-bottom: clamp(40px, 5vw, 70px);
}

.section-head p {
  max-width: 760px;
}

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

.list-card {
  min-height: 100%;
  padding: clamp(24px, 2.6vw, 38px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(8, 24, 39, 0.86), rgba(2, 8, 23, 0.62));
}

.list-card h3::after {
  display: block;
  width: 46px;
  height: 2px;
  margin: 20px 0 24px;
  background: var(--cyan);
  content: "";
}

.approach {
  padding: clamp(78px, 8vw, 128px) 0;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(420px, 1fr);
  gap: clamp(50px, 6vw, 94px);
  align-items: start;
}

.approach p {
  color: #334155;
}

.step-stack {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(3, 105, 161, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.step span {
  color: #0f7fc6;
  border-right: 1px solid rgba(3, 105, 161, 0.2);
  font-family: var(--font-mono);
  font-size: 2rem;
}

.step p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.faq {
  padding: clamp(78px, 8vw, 128px) 0;
}

.faq .section-head {
  margin-bottom: clamp(76px, 6vw, 108px);
}

.faq-list {
  display: grid;
  gap: 18px;
  max-width: 1020px;
}

details {
  border: 1px solid rgba(3, 105, 161, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 32px 32px;
  color: var(--ink);
  cursor: pointer;
  font-size: clamp(1rem, 1.08vw, 1.16rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}

summary::after {
  color: #0284c7;
  content: "+";
  font-family: var(--font-mono);
}

details[open] summary::after {
  content: "-";
}

details p {
  padding: 0 32px 32px;
  margin: 0;
  color: #334155;
}

.cta {
  padding: clamp(86px, 9vw, 140px) 0;
  text-align: center;
}

.cta p {
  max-width: 820px;
  margin-inline: auto;
}

.cta .hero-actions {
  justify-content: center;
}

.footer {
  padding: clamp(60px, 7vw, 110px) 0 28px;
  border-top: 1px solid rgba(216, 227, 239, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: clamp(36px, 5vw, 82px);
  color: #94a3b8;
}

.footer-col {
  border-top: 4px solid rgba(56, 189, 248, 0.12);
  padding-top: 32px;
}

.footer-logo-col img {
  width: 62px;
  height: auto;
  margin-bottom: 22px;
}

.footer-logo-col p {
  max-width: 320px;
  color: rgba(248, 250, 252, 0.46);
  font-size: 1rem;
}

.footer-col h3,
.footer-col a {
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 0.9vw, 0.98rem);
}

.footer-col h3 {
  margin: 0 0 18px;
  color: #8bd0ff;
  font-weight: 500;
}

.footer-col a {
  display: block;
  margin: 8px 0;
  color: rgba(248, 250, 252, 0.38);
  line-height: 1.28;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(44px, 5vw, 70px);
  color: rgba(148, 163, 184, 0.6);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

@media (min-width: 1900px) {
  :root {
    --container: 1560px;
    --pad: 96px;
  }

  .nav {
    width: min(1680px, calc(100% - 48px));
  }
}

@media (max-width: 1220px) {
  :root {
    --container: 980px;
  }

  .nav {
    grid-template-columns: auto auto;
  }

  .nav-links,
  .actions {
    display: none;
  }

  .mega {
    display: none;
  }

  .menu {
    display: block;
    margin-left: auto;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .site-header {
    position: fixed;
    inset: 0;
    z-index: 100;
    padding: clamp(14px, 3vw, 24px);
    background: #020817;
    pointer-events: auto;
    overflow-y: auto;
  }

  body.menu-open .nav {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto 1fr auto;
    align-content: start;
    width: 100%;
    min-height: calc(100vh - clamp(28px, 6vw, 48px));
    padding: clamp(14px, 2.8vw, 22px);
    border-radius: 10px;
  }

  body.menu-open .menu span:nth-child(1) {
    top: 22px;
    transform: translateX(-50%) rotate(45deg);
  }

  body.menu-open .menu span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu span:nth-child(3) {
    top: 22px;
    transform: translateX(-50%) rotate(-45deg);
  }

  body.menu-open .nav-links {
    display: flex;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-top: clamp(42px, 7vw, 76px);
    color: #cfe9ff;
    font-size: clamp(1.8rem, 5vw, 2.35rem);
  }

  body.menu-open .nav-item {
    width: 100%;
    padding: 0;
  }

  body.menu-open .nav-links > a,
  body.menu-open .nav-item > a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: clamp(13px, 2.8vw, 20px) 0;
    line-height: 1;
  }

  body.menu-open .nav-item::after,
  body.menu-open .mega {
    display: none;
  }

  body.menu-open .actions {
    display: flex;
    grid-column: 1 / -1;
    align-self: end;
    justify-self: stretch;
    width: 100%;
    margin-top: clamp(80px, 22vh, 220px);
  }

  body.menu-open .actions .btn {
    width: 100%;
    min-height: 72px;
  }

  .hero-grid,
  .intro-layout,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .list-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  :root {
    --pad: 18px;
  }

  .site-header {
    padding: 10px 12px;
  }

  .nav {
    min-height: 62px;
    padding: 8px 10px;
  }

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

  .brand span {
    max-width: 176px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    margin-top: -82px;
    padding-top: 132px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: clamp(3rem, 12vw, 4.1rem);
    line-height: 0.96;
  }

  h2 {
    font-size: clamp(2rem, 8.4vw, 3rem);
  }

  p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-panel {
    padding: 22px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .intro-band,
  .dark-section,
  .approach,
  .cta {
    padding: 62px 0;
  }

  .faq {
    padding: 62px 0;
  }

  .faq .section-head {
    margin-bottom: 58px;
  }

  .faq-list {
    gap: 16px;
  }

  summary {
    padding: 28px 24px;
  }

  details p {
    padding: 0 24px 28px;
  }

  .list-card {
    padding: 24px;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .step span {
    padding-bottom: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(3, 105, 161, 0.2);
  }

  .footer {
    padding-top: 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-logo-col {
    padding-top: 0;
    border-top: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
    
/* mobile menu: list every service link (previously hidden) */
@media (max-width: 1220px) {
  body.menu-open .brand { grid-row: 1; grid-column: 1; }
  body.menu-open .menu { grid-row: 1; grid-column: 2; }
  body.menu-open .nav-links { grid-row: 2; }
  body.menu-open .actions { grid-row: 3; }
  body.menu-open .nav-item { display: block; }
  body.menu-open .mega {
    position: static; display: grid; grid-template-columns: 1fr; gap: 0; width: 100%;
    padding: 0 0 8px 14px; border: 0; background: transparent; box-shadow: none;
    opacity: 1; pointer-events: auto; transform: none;
  }
  body.menu-open .mega-col { gap: 0; }
  body.menu-open .mega-col::before, body.menu-open .mega strong, body.menu-open .mega-link span span { display: none; }
  body.menu-open .mega-link b { margin: 0; padding: 9px 0; font-size: 1.05rem; }
  body.menu-open .nav-links { margin-top: clamp(24px, 5vw, 48px); font-size: clamp(1.4rem, 4.2vw, 1.9rem); }
  body.menu-open .nav-links.has-active .nav-item:not(.is-open) .mega { opacity: 1; pointer-events: auto; transform: none; }
}
