:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --ink: #102035;
  --muted: #627087;
  --navy: #0b1f38;
  --navy-2: #102b4c;
  --accent: #2d78c4;
  --accent-soft: #dcecff;
  --line: #dce4ee;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(15, 35, 60, 0.10);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 248, 252, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 228, 238, 0.8);
}

.nav-wrap {
  width: min(var(--max), 92vw);
  min-height: 72px;
  margin: 0 auto;
  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: 720;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--white);
  background: var(--navy);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.brand-name {
  font-size: 16px;
}

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

.nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  color: #415168;
  transition: color .2s ease;
}

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

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--navy);
}

.hero {
  min-height: 100vh;
  padding: 132px 4vw 72px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  right: -220px;
  top: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,120,196,.16), rgba(45,120,196,0) 68%);
  pointer-events: none;
}

.hero-grid {
  width: min(var(--max), 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 50px;
}

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

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

h1 {
  margin-bottom: 26px;
  font-size: clamp(46px, 6.5vw, 82px);
  line-height: 1.03;
  letter-spacing: -0.055em;
  font-weight: 760;
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

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

.button {
  min-height: 48px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 720;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(11,31,56,.18);
}

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

.button-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero-visual {
  min-height: 470px;
  display: grid;
  place-items: center;
}

.hero-visual svg {
  width: 100%;
  max-width: 720px;
  height: auto;
}

.signal-lines path {
  stroke: #82b8e9;
  stroke-width: 3;
  opacity: .72;
  stroke-dasharray: 8 10;
  animation: signal 6s linear infinite;
}

.nodes circle {
  fill: #2d78c4;
  filter: url(#glow);
}

.chip {
  stroke: #315b83;
  stroke-width: 2;
  filter: drop-shadow(0 28px 34px rgba(11,31,56,.18));
}

.chip-core {
  fill: #0a1728;
  stroke: #315b83;
  stroke-width: 1.6;
}

.pins line {
  stroke: #6583a0;
  stroke-width: 6;
}

.chip-label {
  fill: #f4f8ff;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: .13em;
}

.chip-sub {
  fill: #8bbce9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}

@keyframes signal {
  to { stroke-dashoffset: -72; }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #758297;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.scroll-arrow {
  font-size: 18px;
  animation: bounce 1.7s infinite;
}

@keyframes bounce {
  50% { transform: translateY(6px); }
}

.section {
  padding: 112px 4vw;
}

.section-heading,
.technology-grid,
.solution-list,
.company-grid,
.contact-panel {
  width: min(var(--max), 92vw);
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: var(--max);
  margin-bottom: 56px;
}

.section-heading h2 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

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

.technology-card {
  min-height: 390px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 45px rgba(15, 35, 60, .055);
}

.card-index,
.solution-number {
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .14em;
}

.technology-card h3 {
  margin: 68px 0 18px;
  font-size: 27px;
  letter-spacing: -0.035em;
}

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

.technology-card ul {
  margin: 26px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.technology-card li {
  padding: 6px 0;
  color: #44556d;
  font-size: 14px;
}

.technology-card li::before {
  content: "—";
  margin-right: 9px;
  color: var(--accent);
}

.section-dark {
  color: var(--white);
  background: var(--navy);
}

.section-dark .eyebrow {
  color: #8ac5ff;
}

.solution-list {
  border-top: 1px solid rgba(255,255,255,.18);
}

.solution-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 26px;
  padding: 42px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.solution-row h3 {
  margin-bottom: 12px;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.solution-row p {
  max-width: 760px;
  margin-bottom: 0;
  color: #b8c7d9;
  font-size: 17px;
}

.company-section {
  background: #eef4fa;
}

.company-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.company-grid .section-heading {
  width: auto;
  margin: 0;
}

.company-copy {
  padding-top: 34px;
}

.company-copy p {
  color: var(--muted);
  font-size: 17px;
}

.company-copy .company-lead {
  color: var(--ink);
  font-size: 25px;
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.status-note {
  margin-top: 34px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(255,255,255,.7);
  font-size: 14px !important;
}

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

.contact-panel {
  padding: 64px;
  border-radius: 32px;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(80,160,235,.32), transparent 38%),
    var(--navy);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  max-width: 800px;
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.contact-panel > p {
  max-width: 650px;
  color: #c5d2df;
  font-size: 18px;
}

.contact-panel .button-primary {
  margin-top: 12px;
  color: var(--navy);
  background: var(--white);
}

.contact-note {
  margin: 18px 0 0 !important;
  font-size: 12px !important;
  opacity: .72;
}

footer {
  padding: 28px 4vw;
  color: #78869a;
  background: #e9eff6;
  font-size: 12px;
}

.footer-wrap {
  width: min(var(--max), 92vw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

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

  .hero {
    padding-top: 120px;
  }

  .hero-visual {
    min-height: auto;
  }

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

  .technology-card {
    min-height: 0;
  }

  .technology-card h3 {
    margin-top: 42px;
  }

  .company-grid {
    gap: 10px;
  }

  .company-copy {
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  .nav-wrap {
    min-height: 64px;
  }

  .brand-name {
    font-size: 14px;
  }

  .menu-button {
    display: block;
  }

  .nav {
    position: absolute;
    top: 64px;
    left: 4vw;
    right: 4vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 10px;
  }

  .hero {
    min-height: auto;
    padding: 112px 4vw 72px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 82px 4vw;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .solution-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-panel {
    padding: 38px 24px;
    border-radius: 22px;
  }

  .footer-wrap {
    flex-direction: column;
    gap: 5px;
  }
}
