:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: #0d1b2f;
  --panel-strong: #132743;
  --line: #27415f;
  --text: #eef6ff;
  --muted: #a8b9cc;
  --good: #41d17d;
  --warn: #f0c24b;
  --accent: #62b8ff;
  --shadow: 0 26px 90px rgba(0, 11, 26, 0.38);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 12%, rgba(98, 184, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 16%, rgba(31, 88, 148, 0.24), transparent 26rem),
    linear-gradient(180deg, #0a1628 0%, var(--bg) 48rem);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(167, 209, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 209, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 74%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 42px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-header {
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 27, 47, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.brand-logo {
  width: 104px;
  height: 104px;
  flex: 0 0 104px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(98, 184, 255, 0.34), 0 0 32px rgba(98, 184, 255, 0.16);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.brand-text span,
.muted {
  color: var(--muted);
  font-size: 0.86rem;
}

.site-nav,
.site-footer div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a,
.site-footer a {
  color: var(--text);
  text-decoration: none;
}

.site-nav a {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  border-color: var(--line);
  background: var(--panel-strong);
  color: var(--text);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 12px;
  align-items: stretch;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 27, 47, 0.91);
  box-shadow: var(--shadow);
}

.hero-panel {
  min-height: 520px;
  padding: clamp(24px, 5vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.eyebrow,
.panel-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(240, 194, 75, 0.58);
  border-radius: 8px;
  color: var(--warn);
  font-size: 0.78rem;
  font-weight: 750;
}

h1,
h2,
h3,
p {
  margin: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 15ch;
  color: var(--text);
  font-size: clamp(2.8rem, 6.3vw, 5.4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}

.side-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.info-panel {
  padding: 18px;
}

.info-panel h2,
.section-heading h2 {
  color: var(--text);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.info-panel p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.metric-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.metric span {
  color: var(--muted);
  font-size: 0.84rem;
}

.metric strong {
  color: var(--text);
  font-size: 0.95rem;
}

.section {
  margin-top: 12px;
  padding: 22px;
}

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

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

.values article {
  min-height: 178px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.values h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.05rem;
}

.values p {
  color: var(--muted);
  line-height: 1.68;
}

.site-footer {
  margin-top: 12px;
  padding: 18px 4px 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
  text-decoration-color: currentColor;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid,
  .values {
    grid-template-columns: 1fr;
  }

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

  .side-stack {
    grid-template-rows: auto;
  }

  h1 {
    max-width: 10ch;
  }

  .brand-logo {
    width: 82px;
    height: 82px;
    flex-basis: 82px;
    border-radius: 15px;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(100vw - 24px, 1180px);
    padding-top: 12px;
  }

  .site-nav,
  .site-footer div {
    width: 100%;
    justify-content: space-between;
  }

  .brand {
    gap: 12px;
  }

  .brand-logo {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
    border-radius: 13px;
  }

  .hero-panel,
  .info-panel,
  .section {
    padding: 16px;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.8rem);
  }
}
