:root {
  color-scheme: dark;
  --bg: #06070b;
  --bg-2: #0d1118;
  --panel: rgba(14, 20, 30, 0.72);
  --panel-strong: rgba(21, 27, 39, 0.88);
  --line: rgba(129, 232, 226, 0.18);
  --line-warm: rgba(139, 21, 54, 0.42);
  --text: #edf7f7;
  --muted: #a8b8bf;
  --soft: #d5eeee;
  --cyan: #18d8d0;
  --cyan-2: #79fff0;
  --wine: #8d1636;
  --wine-2: #d63f68;
  --gold: #d9b96c;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 10%, rgba(141, 22, 54, 0.42), transparent 34rem),
    radial-gradient(circle at 88% 24%, rgba(24, 216, 208, 0.22), transparent 38rem),
    radial-gradient(circle at 50% 72%, rgba(217, 185, 108, 0.06), transparent 32rem),
    linear-gradient(135deg, #05060a 0%, #0a0e15 48%, #0a1015 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(121, 255, 240, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 255, 240, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 86%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(120deg, transparent 0 34%, rgba(24, 216, 208, 0.08) 35%, transparent 43%),
    linear-gradient(25deg, transparent 0 58%, rgba(214, 63, 104, 0.1) 59%, transparent 68%);
}

a {
  color: inherit;
}

.site-header,
.page-shell,
.site-footer {
  width: min(1480px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.brand__mark {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand__sigil {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(121, 255, 240, 0.32);
  border-radius: 14px;
  color: var(--cyan-2);
  background:
    linear-gradient(140deg, rgba(24, 216, 208, 0.2), rgba(141, 22, 54, 0.24)),
    rgba(8, 14, 21, 0.9);
  box-shadow: 0 0 34px rgba(24, 216, 208, 0.2);
  font-weight: 800;
}

.brand__sigil img {
  width: 100%;
  height: 100%;
  display: block;
}

.brand__text {
  display: grid;
  gap: 2px;
  font-size: 0.93rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brand__text strong {
  color: var(--cyan-2);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--cyan);
  opacity: 0;
  transition: opacity 180ms ease;
}

.site-nav a:hover::after {
  opacity: 0.9;
}

.brand__domain {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-shell {
  padding: 34px 0 64px;
}

.hero {
  position: relative;
  display: grid;
  gap: clamp(30px, 4vw, 46px);
}

.hero__top {
  min-height: 36vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
  gap: clamp(22px, 4vw, 52px);
  align-items: end;
}

.hero__content {
  max-width: 1120px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 11px;
  border: 1px solid rgba(24, 216, 208, 0.2);
  border-radius: 999px;
  color: var(--cyan-2);
  background: rgba(24, 216, 208, 0.08);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 1080px;
  margin-bottom: 0;
  font-size: clamp(3.35rem, 4.5vw, 7rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.lede {
  max-width: 860px;
  margin: 28px 0 0;
  color: var(--soft);
  font-size: clamp(1.08rem, 1vw, 1.34rem);
  line-height: 1.75;
}

.status-panel {
  width: 100%;
  min-height: 50px;
  padding: 20px;
  display: grid;
  align-self: center;
  align-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-top-color: rgba(214, 63, 104, 0.58);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.status-panel__label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-panel strong {
  display: block;
  color: var(--wine-2);
  font-size: 1.05rem;
}

.status-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero__visual {
  position: relative;
  min-height: 0;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(121, 255, 240, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(24, 216, 208, 0.07), transparent 40%),
    radial-gradient(circle at 45% 44%, rgba(24, 216, 208, 0.18), transparent 24rem),
    linear-gradient(145deg, rgba(141, 22, 54, 0.28), rgba(6, 7, 11, 0.08));
  box-shadow: var(--shadow);
}

.hero__visual img {
  width: 50%;
  height: auto;
  display: block;
  filter: drop-shadow(0 32px 70px rgba(0, 0, 0, 0.38));
}

.signal-card {
  position: absolute;
  min-width: 168px;
  padding: 14px 16px;
  border: 1px solid rgba(121, 255, 240, 0.2);
  background: var(--panel-strong);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.signal-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
}

.signal-card strong {
  display: block;
  font-size: 0.95rem;
}

.signal-card--primary {
  top: 12%;
  right: 5%;
}

.signal-card--secondary {
  bottom: 12%;
  left: 5%;
  border-color: var(--line-warm);
}

.workbench {
  padding: clamp(42px, 8vw, 94px) 0;
}

.section-heading {
  max-width: 980px;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 960px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.2vw, 4.9rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.workbench__grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(121, 255, 240, 0.12);
  border-top-color: rgba(214, 63, 104, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(13, 17, 24, 0.66);
}

.item-kicker {
  display: block;
  margin-bottom: 40px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.workbench__grid h3 {
  margin-bottom: 14px;
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.workbench__grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.console-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(121, 255, 240, 0.12);
  background: rgba(6, 7, 11, 0.58);
}

.console-strip img {
  width: 100%;
  display: block;
  border: 1px solid rgba(121, 255, 240, 0.1);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.console-strip__copy {
  max-width: 560px;
}

.console-strip__copy span {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.console-strip__copy p {
  margin-bottom: 0;
  color: var(--soft);
  font-size: clamp(1.08rem, 1.6vw, 1.42rem);
  line-height: 1.65;
}

.site-footer {
  min-height: 132px;
  padding: 34px 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  border-top: 1px solid rgba(121, 255, 240, 0.12);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-meta span {
  padding: 8px 10px;
  border: 1px solid rgba(121, 255, 240, 0.14);
  color: var(--muted);
  background: rgba(13, 17, 24, 0.54);
  font-size: 0.86rem;
}

@media (max-width: 1120px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: min(100% - 32px, 900px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand__domain {
    display: none;
  }

  .hero__top,
  .console-strip {
    grid-template-columns: 1fr;
  }

  .status-panel {
    min-height: auto;
  }

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

  .workbench__grid article {
    min-height: auto;
  }

  .item-kicker {
    margin-bottom: 24px;
  }
}

@media (max-width: 700px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: calc(100% - 20px);
  }

  .site-header {
    min-height: auto;
    padding: 18px 0 10px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .page-shell {
    padding-top: 18px;
  }

  .brand__sigil {
    width: 44px;
    height: 44px;
  }

  .brand__text {
    font-size: 0.78rem;
  }

  h1 {
    font-size: clamp(2.55rem, 12.5vw, 3.95rem);
  }

  .lede {
    font-size: 1rem;
    line-height: 1.65;
  }

  .status-panel {
    gap: 12px;
  }

  .hero__visual {
    border-radius: 22px;
  }

  .signal-card {
    min-width: 128px;
    padding: 12px 13px;
  }

  .signal-card--primary {
    top: 12%;
    right: 5%;
  }

  .signal-card--secondary {
    bottom: 12%;
    left: 5%;
  }

  .console-strip {
    padding: 14px;
  }

  .console-strip img {
    border-radius: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}
