*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-deep: #030d23;
  --bg-mid: #081734;
  --bg-soft: #10244b;
  --panel: rgba(13, 32, 70, 0.72);
  --panel-2: rgba(12, 25, 56, 0.88);
  --line: rgba(99, 150, 255, 0.18);
  --line-2: rgba(162, 196, 255, 0.12);
  --text: #eef5ff;
  --muted: rgba(220, 233, 255, 0.78);
  --muted-2: rgba(220, 233, 255, 0.58);
  --accent: #2f73ff;
  --accent-2: #4aa6ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 28px;
  --max: 1320px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(86, 121, 225, 0.24), transparent 18%),
    linear-gradient(180deg, #07142f 0%, #040d1f 35%, #020917 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(98, 149, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 149, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 88%);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(5, 15, 34, 0.52);
  border-bottom: 1px solid rgba(147, 185, 255, 0.08);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.brand-mark {
  font-size: 0.95rem;
  color: var(--accent-2);
}

.brand-name {
  color: #f2f6ff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: rgba(239, 245, 255, 0.9);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.3rem;
  border: 1px solid rgba(186, 210, 255, 0.32);
  color: #f7fbff;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 0 0 3rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 35%, rgba(101, 128, 220, 0.16), transparent 24%),
    linear-gradient(90deg, rgba(4,14,34,0.82) 0%, rgba(7,17,43,0.66) 32%, rgba(6,17,43,0.26) 60%, rgba(4,12,30,0.82) 100%),
    linear-gradient(180deg, rgba(9,19,48,0.28) 0%, rgba(4,12,28,0.58) 70%, rgba(3,10,24,0.92) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(173, 202, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 202, 255, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mix-blend-mode: screen;
  opacity: 0.34;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 84px);
  padding-top: 6.5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.hero-copy {
  max-width: 620px;
  padding-top: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(230, 240, 255, 0.92);
  font-weight: 700;
}

.eyebrow-line {
  width: 26px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(47, 115, 255, 0.9);
}

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

h1 {
  margin-top: 1.5rem;
  font-size: clamp(3.4rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  max-width: 9ch;
  color: #f4f8ff;
}

.hero-text {
  margin-top: 1.8rem;
  max-width: 520px;
  font-size: 1.26rem;
  line-height: 1.9;
  color: var(--muted);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 150ms ease, opacity 150ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #1f60ea, #296eff);
  color: white;
  box-shadow: 0 10px 30px rgba(41, 110, 255, 0.34);
}

.button-link {
  position: relative;
  color: #f4f8ff;
  padding-left: 0;
  padding-right: 0;
}

.button-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: rgba(160, 195, 255, 0.7);
}

.hero-note {
  display: flex;
  justify-content: flex-end;
  padding-top: 6rem;
}

.note-frame {
  width: 220px;
  min-height: 170px;
  padding: 1rem 1rem 1rem 1.5rem;
  position: relative;
  color: rgba(233, 242, 255, 0.82);
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  line-height: 1.95;
  text-transform: uppercase;
}

.note-frame::before,
.note-frame::after {
  content: "";
  position: absolute;
  border-color: rgba(182, 208, 255, 0.36);
}

.note-frame::before {
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.note-frame::after {
  right: 0;
  bottom: 0;
  width: 24px;
  height: 24px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.note-mark {
  position: absolute;
  right: 18px;
  top: 48%;
  width: 5px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.9), transparent);
}

.stats-panel-wrap {
  position: relative;
  z-index: 3;
  margin-top: 2rem;
}

.stats-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 1.6rem 1rem 3rem;
  border: 1px solid rgba(151, 184, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(18, 37, 79, 0.48), rgba(10, 21, 47, 0.72)),
    rgba(7, 17, 39, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.stats-panel::before,
.stats-panel::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(106, 150, 255, 0.56);
}

.stats-panel::before {
  left: 0;
  top: 0;
  border-left: 1px solid;
  border-top: 1px solid;
}

.stats-panel::after {
  right: 0;
  bottom: 0;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.stat-card {
  padding: 1rem 1.4rem;
  border-right: 1px solid rgba(159, 190, 255, 0.08);
}

.stat-card:last-of-type {
  border-right: none;
}

.stat-icon {
  color: var(--accent);
  font-size: 1.5rem;
}

.stat-number {
  margin-top: 0.8rem;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.stat-label {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #ffffff;
}

.stat-card p,
.goal-text,
.section-intro p,
.capability-card p,
.north-star-right p,
.about-copy p,
.about-panel p,
.contact-panel p {
  margin-top: 0.7rem;
  color: var(--muted);
  line-height: 1.8;
}

.goal-text {
  color: #ffffff;
  font-weight: 700;
}

.stats-source {
  position: absolute;
  left: 1.4rem;
  bottom: 1rem;
  font-size: 0.76rem;
  color: var(--muted-2);
}

.approach-section {
  position: relative;
  padding: 6rem 0 4rem;
  background:
    radial-gradient(circle at 20% 100%, rgba(34, 91, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #031125 0%, #020b1b 100%);
}

.approach-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: radial-gradient(circle at 30% 20%, rgba(52, 107, 255, 0.16), transparent 36%);
  pointer-events: none;
}

.approach-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 2rem;
  align-items: start;
}

.section-intro h2,
.north-star-left h2,
.about-copy h2,
.contact-panel h2 {
  margin-top: 1.3rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.capability-card {
  min-height: 320px;
  padding: 1.5rem;
  border: 1px solid rgba(111, 156, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(10, 25, 57, 0.88), rgba(6, 15, 36, 0.96));
  box-shadow: var(--shadow);
}

.capability-icon {
  color: var(--accent);
  font-size: 1.75rem;
}

.capability-card h3 {
  margin-top: 2rem;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.north-star {
  padding: 0 0 5rem;
  background: linear-gradient(180deg, #020b1b 0%, #04112a 100%);
}

.north-star-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(19, 52, 116, 0.92), rgba(8, 28, 76, 0.92));
  border: 1px solid rgba(126, 165, 255, 0.14);
}

.north-star-right {
  padding-left: 2rem;
  border-left: 1px solid rgba(165, 194, 255, 0.2);
}

.about-section {
  padding: 4rem 0 5rem;
  background:
    radial-gradient(circle at 90% 0%, rgba(46, 108, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #04112a 0%, #020914 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-panels {
  display: grid;
  gap: 1rem;
}

.about-panel,
.contact-panel {
  border: 1px solid rgba(120, 163, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(10, 24, 55, 0.92), rgba(7, 18, 41, 0.96));
  box-shadow: var(--shadow);
}

.about-panel {
  padding: 1.3rem 1.4rem;
}

.about-panel h3 {
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.contact-section {
  padding: 0 0 5rem;
  background: linear-gradient(180deg, #020914 0%, #020711 100%);
}

.contact-panel {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  padding: 1.7rem;
}

@media (max-width: 1180px) {
  .hero-content,
  .approach-grid,
  .about-grid,
  .north-star-panel,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .hero-note {
    justify-content: flex-start;
    padding-top: 1rem;
  }

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

  .stats-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0;
    padding-bottom: 3.6rem;
  }

  .stat-card:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 760px) {
  .nav,
  .nav-links,
  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .hero-content {
    min-height: auto;
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
    max-width: none;
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .stats-panel,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(159, 190, 255, 0.08);
  }

  .stat-card:last-of-type {
    border-bottom: none;
  }

  .stats-source {
    position: static;
    margin-top: 0.6rem;
    padding: 0 1.4rem;
  }

  .north-star-right {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(165, 194, 255, 0.2);
    padding-top: 1rem;
  }
}
