:root {
  color-scheme: dark;
  --bg: #071019;
  --bg-2: #0b151f;
  --panel: #0f1d29;
  --panel-2: #132638;
  --panel-3: #182322;
  --line: #254054;
  --line-soft: rgba(109, 176, 216, 0.22);
  --text: #eef7ff;
  --muted: #9ebbd0;
  --subtle: #6f8da3;
  --accent: #63d6ff;
  --green: #70f0aa;
  --amber: #ffd56a;
  --red: #ff8b8b;
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(99, 214, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 240, 170, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #071019 0%, #0b151f 48%, #10160e 100%);
  background-size: 48px 48px, 48px 48px, auto;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 16, 25, 0.12), rgba(7, 16, 25, 0.84)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: 0.36;
}

a {
  color: var(--text);
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

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

code {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 16, 25, 0.88);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(99, 214, 255, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(99, 214, 255, 0.18), rgba(112, 240, 170, 0.08)),
    #0b1a26;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px var(--shadow);
}

.brand-mark img {
  width: 24px;
  height: 24px;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text small {
  color: var(--subtle);
  font: 700 0.72rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a,
.home-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.home-button {
  color: var(--text);
  border-color: var(--line);
  background: rgba(19, 38, 56, 0.76);
}

.home-button::before {
  content: "";
  width: 13px;
  height: 13px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 42%, 88% 42%, 88% 100%, 60% 100%, 60% 66%, 40% 66%, 40% 100%, 12% 100%, 12% 42%, 0 42%);
}

.hero {
  min-height: 74vh;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(90deg, rgba(7, 16, 25, 0.96) 0%, rgba(7, 16, 25, 0.82) 42%, rgba(7, 16, 25, 0.58) 100%),
    var(--hero-image, none) right center / min(58vw, 780px) auto no-repeat;
}

.hero.compact {
  min-height: 48vh;
}

.wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-content {
  max-width: 700px;
  padding: 72px 0;
}

.eyebrow {
  color: var(--accent);
  font: 900 0.78rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  margin: 14px 0 16px;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 0.96;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.06;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
}

p {
  color: var(--muted);
  max-width: 72ch;
}

.lede {
  font-size: 1.18rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(19, 38, 56, 0.86);
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  background: var(--accent);
  color: #051018;
  border-color: var(--accent);
}

.button.secondary {
  background: rgba(24, 35, 34, 0.9);
  border-color: rgba(112, 240, 170, 0.38);
}

.button::after {
  content: "";
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.button.no-arrow::after {
  display: none;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 29, 41, 0.84);
  color: var(--muted);
  font: 800 0.78rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.status-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(112, 240, 170, 0.7);
}

.section {
  border-bottom: 1px solid var(--line-soft);
  padding: 58px 0;
}

.section.tight {
  padding: 38px 0;
}

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

.section-head p {
  margin: 0;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(99, 214, 255, 0.055), transparent),
    rgba(15, 29, 41, 0.92);
  padding: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.card p {
  margin: 0;
}

.icon-card h3,
.contact-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(99, 214, 255, 0.34);
  border-radius: 8px;
  background: rgba(19, 38, 56, 0.9);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.console-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.console-list li {
  position: relative;
  padding: 12px 12px 12px 38px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(11, 21, 31, 0.74);
  color: var(--muted);
}

.console-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(99, 214, 255, 0.5);
}

.visual-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  align-items: stretch;
}

.visual-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #08121c;
}

.visual-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-panel.small img {
  object-fit: contain;
  padding: 12px;
  background: #08121c;
}

.note {
  border: 1px solid rgba(255, 213, 106, 0.42);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--muted);
  background: rgba(31, 29, 17, 0.78);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.side-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 29, 41, 0.92);
  padding: 18px;
}

.side-panel img {
  width: 96px;
  margin-bottom: 14px;
}

.footer {
  padding: 30px 0 46px;
  color: var(--muted);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
}

.footer a {
  color: var(--text);
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(7, 16, 25, 0.88) 0%, rgba(7, 16, 25, 0.98) 68%),
      var(--hero-image, none) center bottom / 110% auto no-repeat;
  }

  .hero-content {
    padding: 54px 0 220px;
  }

  .hero.compact .hero-content {
    padding-bottom: 120px;
  }

  .grid,
  .grid.two,
  .grid.four,
  .visual-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .visual-panel img {
    height: auto;
  }
}

@media (max-width: 560px) {
  .nav,
  .wrap {
    width: min(100% - 24px, 1160px);
  }

  .nav-links a,
  .home-button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero-content {
    padding-bottom: 170px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  .button {
    width: 100%;
    justify-content: space-between;
  }
}
