:root {
  color-scheme: dark;
  --bg: #07111d;
  --panel: #0d1b2a;
  --panel-2: #102438;
  --text: #f4f8fc;
  --muted: #9fb0c3;
  --line: rgba(159, 176, 195, .22);
  --cyan: #35c7e8;
  --blue: #3478f6;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem max(1.25rem, calc((100vw - var(--max)) / 2));
  background: rgba(7, 17, 29, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: .8rem; margin-right: auto; text-decoration: none; }
.brand-crop { position: relative; display: block; width: 164px; height: 52px; overflow: hidden; }
.brand-crop img { position: absolute; width: 164px; height: auto; left: 0; top: -20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
nav { display: flex; gap: 1.4rem; }
nav a { color: var(--muted); text-decoration: none; font-size: .9rem; }
nav a:hover, nav a:focus-visible { color: var(--cyan); }
.language {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .42rem .72rem;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}
.hero {
  max-width: var(--max);
  min-height: 650px;
  margin: 0 auto;
  padding: 7rem 1.25rem;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: center;
  gap: 5rem;
  background: radial-gradient(circle at 75% 35%, rgba(52,120,246,.17), transparent 32%);
}
.eyebrow, .section-number { color: var(--cyan); letter-spacing: .15em; font-size: .78rem; font-weight: 700; }
.hero-logo { display: block; width: min(360px, 78vw); height: auto; margin: -3.25rem 0 -1.4rem; }
h1 { max-width: 800px; margin: .75rem 0 1.25rem; font-size: clamp(2.75rem, 6vw, 5.4rem); line-height: 1.02; letter-spacing: -.055em; }
.lead { max-width: 700px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.primary-action { display: inline-block; margin-top: 1.5rem; padding: .85rem 1.15rem; border-left: 3px solid var(--cyan); background: var(--panel-2); text-decoration: none; font-weight: 650; }
.system-card { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(16,36,56,.9), rgba(7,17,29,.8)); padding: 1.5rem; box-shadow: 22px 22px 0 rgba(53,199,232,.05); }
.system-card > p { margin: 0 0 1.5rem; color: var(--cyan); letter-spacing: .13em; font-size: .75rem; }
.system-row { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.system-row b { color: var(--cyan); font-variant-numeric: tabular-nums; }
.system-card small { display: block; margin-top: 1.25rem; color: var(--muted); }
.section { max-width: var(--max); margin: 0 auto; padding: 6.5rem 1.25rem; border-top: 1px solid var(--line); }
.company, .program, .contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; }
h2 { margin: .4rem 0 1.4rem; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.12; letter-spacing: -.04em; }
.section-copy { color: var(--muted); font-size: 1.08rem; }
.section-copy p:first-child { margin-top: .4rem; }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 2.5rem; background: var(--line); border: 1px solid var(--line); }
.capability-grid article { min-height: 260px; padding: 2rem; background: var(--panel); }
.capability-grid article > span { color: var(--cyan); font-size: .78rem; }
.capability-grid h3 { margin: 2.8rem 0 .8rem; font-size: 1.45rem; }
.capability-grid p { color: var(--muted); }
.contact { margin-bottom: 4rem; background: var(--panel); border: 1px solid var(--line); }
address { display: grid; gap: .55rem; font-style: normal; color: var(--muted); }
address strong { margin-bottom: .5rem; color: var(--text); font-size: 1.1rem; }
address a { width: fit-content; color: var(--cyan); text-decoration: none; }
footer { max-width: var(--max); margin: 0 auto; padding: 2.5rem 1.25rem 3.5rem; display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
footer p { max-width: 720px; margin: 0; }

@media (max-width: 820px) {
  .site-header { flex-wrap: wrap; gap: .8rem; }
  nav { order: 3; width: 100%; overflow-x: auto; padding-top: .6rem; }
  .hero { min-height: auto; padding-top: 5rem; grid-template-columns: 1fr; gap: 3rem; }
  .company, .program, .contact { grid-template-columns: 1fr; gap: 1.5rem; }
  .capability-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}

@media (max-width: 480px) {
  .brand-crop { width: 142px; height: 46px; }
  .brand-crop img { width: 142px; top: -17px; }
  .language { margin-left: auto; }
  .hero-logo { margin-top: -2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
