:root {
  color-scheme: dark;
  --void: #05050a;
  --deep: #0b0d18;
  --panel: rgba(13, 17, 34, 0.86);
  --panel-2: rgba(20, 26, 50, 0.74);
  --line: rgba(150, 178, 255, 0.2);
  --line-hot: rgba(131, 255, 209, 0.45);
  --text: #eef3ff;
  --muted: #9ba8c7;
  --cyan: #83ffd1;
  --violet: #9b78ff;
  --rose: #ff6db3;
  --amber: #ffd37a;
  --ok: #8dffb0;
  --warn: #ffd37a;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(155, 120, 255, 0.24), transparent 28%),
    radial-gradient(circle at 82% 32%, rgba(131, 255, 209, 0.12), transparent 28%),
    linear-gradient(180deg, #090b16 0%, var(--void) 62%);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(131, 255, 209, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 120, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

a {
  color: inherit;
}

.site {
  position: relative;
  min-height: 100vh;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 10, 0.76);
  backdrop-filter: blur(16px);
}

.nav-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.sigil {
  width: 38px;
  height: 38px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-hot);
  color: var(--cyan);
  background: rgba(131, 255, 209, 0.08);
  font-size: 15px;
  overflow: hidden;
}

.sigil::before,
.sigil::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(155, 120, 255, 0.55);
  transform: rotate(45deg);
}

.sigil::after {
  inset: 13px;
  border-color: rgba(255, 109, 179, 0.6);
  transform: rotate(0deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--cyan);
}

.page {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 42px;
}

.hero {
  padding: 72px 0 36px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.1;
}

h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 5.4vw, 4.8rem);
  font-weight: 700;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  text-transform: uppercase;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.gradient-text {
  background: linear-gradient(90deg, var(--cyan), var(--violet) 54%, var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero-copy {
  max-width: 780px;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.75;
}

.content {
  display: grid;
  gap: 18px;
  padding-top: 24px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 18px;
}

.panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(131, 255, 209, 0.06), transparent 42%),
    var(--panel);
  padding: clamp(20px, 3vw, 30px);
}

.panel.violet {
  background:
    linear-gradient(145deg, rgba(155, 120, 255, 0.12), transparent 42%),
    var(--panel);
}

.panel.rose {
  background:
    linear-gradient(145deg, rgba(255, 109, 179, 0.1), transparent 42%),
    var(--panel);
}

.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.metric-grid,
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.metric,
.step,
.table-row {
  background: rgba(8, 11, 24, 0.94);
  padding: 18px;
}

.metric strong,
.step strong {
  display: block;
  color: var(--cyan);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 28px;
  line-height: 1;
}

.metric span,
.step span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-list {
  display: grid;
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.table-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.status {
  color: var(--ok);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.status.warn {
  color: var(--warn);
}

pre {
  width: 100%;
  margin: 18px 0 0;
  padding: 18px;
  overflow-x: auto;
  background: rgba(5, 5, 10, 0.92);
  border: 1px solid rgba(131, 255, 209, 0.22);
  color: var(--amber);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  tab-size: 2;
  box-shadow: inset 0 0 0 1px rgba(155, 120, 255, 0.08);
}

.form-grid {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  background: rgba(5, 5, 10, 0.72);
  color: var(--text);
  font: inherit;
  padding: 11px 12px;
}

textarea {
  min-height: 124px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--line-hot);
  outline: 2px solid rgba(131, 255, 209, 0.2);
  outline-offset: 2px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 16px;
  border: 1px solid var(--line-hot);
  background: rgba(131, 255, 209, 0.08);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #05050a;
}

.button.secondary {
  background: rgba(155, 120, 255, 0.08);
  border-color: rgba(155, 120, 255, 0.5);
}

.button:hover {
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.terminal-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.timeline-index {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-hot);
  color: var(--cyan);
  font-weight: 700;
}

.footer {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-transform: uppercase;
}

.footer a {
  text-decoration: none;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-weight: 700;
}

@media (max-width: 860px) {
  .two-col,
  .metric-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .nav-inner {
    width: calc(100% - 28px);
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
  }

  .page {
    width: calc(100% - 28px);
  }

  .hero {
    padding: 52px 0 28px;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

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