:root {
  color-scheme: dark;
  --navy-950: #050e1c;
  --navy-900: #071426;
  --navy-800: #0b2038;
  --blue: #2e9bff;
  --blue-soft: #80c8ff;
  --white: #f5f9ff;
  --muted: #91a8bf;
  --line: rgba(93, 173, 255, 0.16);
  --line-strong: rgba(93, 173, 255, 0.35);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(36, 138, 230, 0.16), transparent 28rem),
    linear-gradient(145deg, var(--navy-900), var(--navy-950) 70%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.018) 50%, transparent 50.2%);
  content: "";
  pointer-events: none;
}

.blueprint {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.75;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(rgba(93, 173, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 173, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
  mask-image: linear-gradient(to bottom, #000, rgba(0,0,0,.78) 70%, transparent);
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--line-strong);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
}

.monogram {
  display: grid;
  width: 54px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--blue);
  color: var(--white);
  font: 800 14px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.15em;
  box-shadow: inset 0 0 0 3px var(--navy-900), inset 0 0 0 4px rgba(46, 155, 255, .38);
}

.brand-name {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font: 600 0.7rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #43dc98;
  box-shadow: 0 0 12px rgba(67, 220, 152, .65);
}

main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .72fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  min-height: calc(100vh - 176px);
  padding-block: 72px;
}

.hero {
  max-width: 760px;
}

.eyebrow,
.card-label,
.card-topline,
.coordinates {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.12em;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--blue-soft);
  font-size: .76rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7.2vw, 6.7rem);
  font-weight: 750;
  letter-spacing: -.065em;
  line-height: .94;
}

h1 span {
  color: var(--blue);
}

.intro {
  max-width: 650px;
  margin: 34px 0 0;
  color: #c2d0df;
  font-size: clamp(1.06rem, 1.8vw, 1.32rem);
  line-height: 1.68;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--white);
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .035em;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--blue);
}

.button-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #04111e;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-soft);
}

.button-secondary {
  background: rgba(7, 20, 38, .55);
}

.tagline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 46px 0 0;
  color: var(--muted);
  font: 700 .69rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .16em;
}

.tagline i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.project-card {
  position: relative;
  min-height: 420px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: rgba(5, 17, 32, .72);
  box-shadow: 18px 18px 0 rgba(46, 155, 255, .035);
}

.project-card::before,
.project-card::after {
  position: absolute;
  width: 34px;
  height: 34px;
  content: "";
}

.project-card::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
}

.project-card::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .57rem;
}

.diagram {
  position: relative;
  height: 162px;
  margin: 30px -4px 24px;
  border: 1px solid var(--line);
  background-image: radial-gradient(rgba(128, 200, 255, .22) .8px, transparent .8px);
  background-size: 12px 12px;
}

.node {
  position: absolute;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  background: var(--navy-900);
  box-shadow: 0 0 0 7px rgba(46, 155, 255, .08);
}

.node-a { top: 26px; left: 30px; }
.node-b { top: 100px; left: calc(50% - 15px); }
.node-c { top: 32px; right: 32px; }

.connector {
  position: absolute;
  z-index: 1;
  top: 78px;
  height: 1px;
  background: var(--blue);
  transform-origin: left center;
}

.connector-a {
  left: 49px;
  width: 44%;
  transform: rotate(22deg);
}

.connector-b {
  left: 50%;
  width: 42%;
  transform: rotate(-24deg);
}

.card-label {
  margin: 0 0 10px;
  color: var(--blue-soft);
  font-size: .59rem;
  font-weight: 700;
}

.project-card h2 {
  margin: 0;
  font-size: 2.6rem;
  letter-spacing: -.045em;
}

.project-card > p:last-child {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  main {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project-card {
    min-height: 390px;
  }
}

@media (max-width: 520px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  .status {
    display: none;
  }

  main {
    padding-block: 52px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .tagline {
    justify-content: space-between;
    gap: 7px;
  }

  footer {
    gap: 10px;
  }

  .coordinates {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
