:root {
  --navy: #0a1f44;
  --navy-2: #102f63;
  --blue: #2e64c5;
  --blue-soft: #eaf1fb;
  --ink: #142033;
  --muted: #5f6f85;
  --line: #dce4ef;
  --surface: #f6f8fb;
  --white: #ffffff;
  --success: #1f6f5c;
  --max-width: 1180px;
  --radius: 16px;
  --shadow: 0 12px 35px rgba(10, 31, 68, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.section {
  padding: 84px 0;
}

.section-sm {
  padding: 58px 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.15rem, 4.5vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--navy);
  font-weight: 700;
}

h2 {
  max-width: 820px;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--navy);
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--navy);
  font-weight: 700;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 790px;
  font-size: 1.08rem;
  line-height: 1.75;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 650;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
}

.btn-secondary {
  border-color: var(--line);
  color: var(--navy);
  background: var(--white);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220, 228, 239, 0.85);
}

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

.brand {
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.brand-main {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.brand-labs {
  color: var(--blue);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.93rem;
  font-weight: 600;
  color: #33445e;
}

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

.nav-cta {
  padding: 10px 16px;
  border-radius: 9px;
  color: var(--white) !important;
  background: var(--navy);
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--navy);
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 92px;
  background:
    radial-gradient(circle at 85% 15%, rgba(46, 100, 197, 0.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fafe 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.hero-copy p {
  margin-top: 22px;
}

.hero-panel {
  position: relative;
  min-height: 420px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed #cbd7e7;
  border-radius: 17px;
  pointer-events: none;
}

.system-map {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 360px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: center;
}

.system-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.system-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
}

.system-card span {
  font-size: 0.88rem;
  color: var(--muted);
}

.system-card.accent {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.system-card.accent strong,
.system-card.accent span {
  color: var(--white);
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 24px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
}

.trust-item:last-child {
  border-right: 0;
}

.intro-grid,
.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.intro-grid .content p + p,
.split-grid .content p + p {
  margin-top: 18px;
}

.services {
  background: var(--surface);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 40px;
}

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

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

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #c5d3e5;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

.card p {
  margin-top: 10px;
  font-size: 0.95rem;
}

.card ul {
  margin-top: 18px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.93rem;
}

.card li + li {
  margin-top: 7px;
}

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

.methodology h2,
.methodology h3,
.methodology p,
.methodology .eyebrow {
  color: var(--white);
}

.methodology .eyebrow {
  opacity: 0.72;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.method-step {
  padding: 23px 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
}

.method-step span {
  display: block;
  margin-bottom: 12px;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0.7;
}

.method-step p {
  margin-top: 8px;
  font-size: 0.9rem;
  opacity: 0.78;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.outcome {
  display: flex;
  gap: 15px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.outcome-mark {
  flex: 0 0 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
}

.showcase {
  background: var(--surface);
}

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

.showcase-item {
  min-height: 205px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.status {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-item p {
  margin-top: 10px;
  font-size: 0.94rem;
}

.technology-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 35px;
}

.technology-group {
  padding: 24px;
  border-top: 3px solid var(--blue);
  background: var(--surface);
}

.technology-group p {
  margin-top: 12px;
  font-size: 0.93rem;
}

.enterprise-link {
  padding: 58px 0;
  background: #eef3fa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.enterprise-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.enterprise-box p {
  max-width: 760px;
  margin-top: 8px;
}

.cta {
  padding: 86px 0;
  background: linear-gradient(135deg, var(--navy), #173d78);
  color: var(--white);
}

.cta h2,
.cta p {
  color: var(--white);
}

.cta p {
  max-width: 720px;
  margin-top: 16px;
  opacity: 0.82;
}

.cta .btn-primary {
  background: var(--white);
  color: var(--navy);
}

.cta .btn-secondary {
  border-color: rgba(255,255,255,0.35);
  background: transparent;
  color: var(--white);
}

footer {
  padding: 62px 0 28px;
  background: #07172f;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 46px;
}

.footer-brand p,
footer a,
footer li,
.footer-bottom {
  color: rgba(255,255,255,0.7);
}

.footer-brand p {
  max-width: 390px;
  margin-top: 14px;
}

footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}

footer ul {
  list-style: none;
}

footer li + li {
  margin-top: 9px;
}

footer a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 46px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.87rem;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-btn {
    display: inline-flex;
  }

  .hero-grid,
  .intro-grid,
  .split-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

  .card-grid,
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .technology-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .section {
    padding: 66px 0;
  }

  .hero {
    padding: 74px 0 66px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2rem);
  }

  .section-head,
  .enterprise-box,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-grid,
  .card-grid,
  .outcome-grid,
  .showcase-grid,
  .technology-list,
  .footer-grid,
  .method-grid,
  .system-map {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .hero-panel {
    min-height: unset;
  }

  .system-map {
    min-height: unset;
  }
}
