:root {
  color-scheme: dark;
  --bg: #091111;
  --ink: #f6f4ef;
  --muted: #a9b0ab;
  --line: rgba(246, 244, 239, 0.16);
  --panel: rgba(246, 244, 239, 0.075);
  --panel-strong: rgba(246, 244, 239, 0.12);
  --teal: #48b6a5;
  --copper: #c89058;
  --blue: #8fb9ff;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 78%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--bg);
  background: var(--ink);
  box-shadow: var(--shadow);
}

nav {
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 17, 17, 0.62);
  backdrop-filter: blur(16px);
}

nav a {
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

nav a:hover {
  color: var(--ink);
  background: var(--panel-strong);
}

.hero {
  position: relative;
  min-height: 84svh;
  padding: 150px 0 56px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

#networkCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: #091111;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(9, 17, 17, 0.96) 0%, rgba(9, 17, 17, 0.78) 46%, rgba(9, 17, 17, 0.25) 100%);
}

.hero-copy,
.hero-meta,
.section,
footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  font-size: 5.4rem;
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 720px;
  font-size: 2.5rem;
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  font-size: 1.1rem;
  letter-spacing: 0;
}

.lede {
  max-width: 650px;
  margin-top: 24px;
  color: rgba(246, 244, 239, 0.74);
  font-size: 1.16rem;
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 800;
}

.button.primary {
  color: #081111;
  background: var(--ink);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(246, 244, 239, 0.07);
}

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

.hero-meta {
  margin-top: 76px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(246, 244, 239, 0.72);
}

.hero-meta span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(9, 17, 17, 0.55);
}

.section {
  padding: 74px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 32px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
}

.focus-card {
  min-height: 260px;
  padding: 24px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  border-right: 1px solid var(--line);
  background: var(--panel);
}

.focus-card:last-child {
  border-right: 0;
}

.focus-card span,
.contact-grid span,
footer {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.focus-card span {
  color: var(--copper);
}

.focus-card p {
  color: var(--muted);
  line-height: 1.55;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  gap: 12px;
}

.contact-grid a,
.contact-grid div {
  min-height: 76px;
  padding: 18px;
  display: grid;
  gap: 8px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-grid a:hover {
  border-color: rgba(72, 182, 165, 0.58);
}

footer {
  min-height: 86px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

footer span:first-child {
  color: var(--ink);
  font-size: 1.1rem;
}

@media (max-width: 920px) {
  .site-header {
    height: 68px;
  }

  nav a {
    padding: 8px 9px;
  }

  .hero {
    min-height: 82svh;
    padding-top: 118px;
  }

  h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section-heading,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .focus-card:nth-child(2) {
    border-right: 0;
  }

  .focus-card:nth-child(1),
  .focus-card:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .site-header {
    width: min(100% - 24px, 1180px);
  }

  .brand span:last-child {
    display: none;
  }

  nav {
    gap: 0;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero {
    min-height: 80svh;
    padding: 108px 0 36px;
  }

  .hero-copy,
  .hero-meta,
  .section,
  footer {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .lede {
    font-size: 1rem;
  }

  .hero::after {
    background: rgba(9, 17, 17, 0.76);
  }

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

  .button,
  .hero-meta span {
    width: 100%;
  }

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

  .focus-card {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .focus-card:last-child {
    border-bottom: 0;
  }
}
