:root {
  --bg: #0c1013;
  --surface: #11171b;
  --surface-soft: #151d21;
  --surface-bright: #1b2529;
  --line: #2a363b;
  --text: #edf2ef;
  --muted: #91a09c;
  --faint: #61716e;
  --orange: #f6a65b;
  --orange-bright: #ffc178;
  --blue: #62a9e8;
  --green: #7cc8a2;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
a {
  color: inherit;
  text-decoration: none;
}
.site-shell {
  min-height: 100vh;
}
.topbar {
  height: 72px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 44px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 16, 19, 0.92);
  backdrop-filter: blur(16px);
}
.brand {
  font-size: 17px;
  letter-spacing: -0.03em;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-accent {
  color: var(--orange);
}
.brand-mark {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 20px;
}
.brand-mark span {
  width: 4px;
  background: var(--orange);
  border-radius: 2px;
  display: block;
}
.brand-mark span:nth-child(1) {
  height: 9px;
  opacity: 0.55;
}
.brand-mark span:nth-child(2) {
  height: 15px;
  opacity: 0.78;
}
.brand-mark span:nth-child(3) {
  height: 20px;
}
.topbar-meta {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(124, 200, 162, 0.1);
  margin-right: 8px;
}
.meta-divider {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: var(--line);
  margin: 0 14px -2px;
}
.menu-toggle {
  display: none;
}
.sidebar {
  position: fixed;
  top: 72px;
  bottom: 0;
  left: 0;
  width: 235px;
  padding: 52px 31px 30px 44px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 10;
  background: rgba(12, 16, 19, 0.8);
}
.sidebar-label,
.fact-label,
.section-number,
.footer-kicker,
.server-type,
.server-id,
.analysis-head > div > span {
  color: var(--faint);
  font: 500 10px var(--mono);
  letter-spacing: 0.12em;
}
.side-nav {
  margin-top: 24px;
  display: grid;
  gap: 7px;
}
.nav-link {
  color: var(--muted);
  font: 500 11px var(--mono);
  padding: 10px 0;
  transition:
    color 0.2s,
    transform 0.2s;
}
.nav-link span {
  color: var(--faint);
  margin-right: 13px;
}
.nav-link:hover,
.nav-link.active {
  color: var(--orange-bright);
  transform: translateX(3px);
}
.nav-link.active span {
  color: var(--orange);
}
.sidebar-footer {
  margin-top: auto;
}
.project-status {
  font-size: 11px;
  color: var(--muted);
  margin: 14px 0 24px;
  display: flex;
  align-items: center;
}
.sidebar-rule {
  height: 1px;
  background: var(--line);
  margin-bottom: 16px;
}
.small-copy {
  color: var(--faint);
  font-size: 11px;
  line-height: 1.7;
}
.main-content {
  margin-left: 235px;
  max-width: 1280px;
}
.hero {
  min-height: 670px;
  padding: 110px 9% 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: 42px;
  right: 3%;
  border: 1px solid rgba(246, 166, 91, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(246, 166, 91, 0.018),
    0 0 0 120px rgba(246, 166, 91, 0.012);
}
.eyebrow {
  color: var(--orange);
  font: 500 10px var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 11px;
}
.eyebrow-line {
  width: 29px;
  height: 1px;
  background: var(--orange);
}
.eyebrow-id {
  color: var(--faint);
}
.hero h1 {
  font-size: clamp(42px, 5.1vw, 76px);
  line-height: 0.99;
  letter-spacing: -0.065em;
  font-weight: 700;
  max-width: 800px;
  margin: 35px 0 25px;
  position: relative;
  z-index: 1;
}
.hero h1 em {
  color: var(--orange);
  font-style: normal;
}
.hero h1 span,
h2 span {
  color: var(--orange);
}
.hero-lead {
  max-width: 600px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}
.hero-lead strong {
  color: var(--text);
  font-weight: 600;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 14px 17px;
  font: 500 11px var(--mono);
  border: 1px solid transparent;
}
.button-primary {
  background: var(--orange);
  color: #131313;
}
.button-primary:hover {
  background: var(--orange-bright);
}
.text-link {
  color: var(--muted);
  font: 500 11px var(--mono);
}
.text-link span {
  color: var(--orange);
  margin-left: 8px;
}
.hero-facts {
  display: flex;
  gap: 0;
  margin-top: 78px;
}
.fact {
  border-left: 1px solid var(--line);
  padding: 0 37px 0 17px;
}
.fact:first-child {
  padding-left: 17px;
}
.fact-value {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text);
}
.mono {
  font-family: var(--mono);
  font-size: 11px;
}
.hero-orbit {
  position: absolute;
  right: 12%;
  top: 198px;
  width: 340px;
  height: 340px;
  z-index: 0;
}
.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(246, 166, 91, 0.16);
  border-radius: 50%;
}
.ring-two {
  inset: 50px;
  border-color: rgba(98, 169, 232, 0.22);
}
.orbit-core {
  position: absolute;
  inset: 130px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-bright);
  border: 1px solid var(--orange);
  color: var(--orange);
  font: 500 16px var(--mono);
  box-shadow: 0 0 30px rgba(246, 166, 91, 0.15);
}
.orbit-label {
  position: absolute;
  font: 500 9px var(--mono);
  letter-spacing: 0.1em;
  color: var(--muted);
  background: var(--bg);
  padding: 4px;
}
.label-one {
  top: 3px;
  left: 142px;
}
.label-two {
  bottom: 38px;
  right: 12px;
  color: var(--orange);
}
.content-section {
  padding: 105px 9%;
  border-bottom: 1px solid var(--line);
}
.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 55px;
}
.section-number {
  color: var(--orange);
  margin-bottom: 18px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(35px, 4.2vw, 57px);
  line-height: 1.03;
  letter-spacing: -0.06em;
}
.section-intro {
  color: var(--muted);
  max-width: 430px;
  line-height: 1.8;
  font-size: 13px;
  margin: 0 0 3px;
}
.topology-card {
  border: 1px solid var(--line);
  background: rgba(17, 23, 27, 0.78);
}
.topology-head {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font: 500 9px var(--mono);
  letter-spacing: 0.12em;
}
.live-pill {
  color: var(--green);
}
.live-pill i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 6px;
}
.flow-grid {
  padding: 33px 20px;
  display: grid;
  grid-template-columns: 1.05fr 30px 1.3fr 30px 1.05fr 30px 1.25fr 30px 1.05fr;
  gap: 10px;
  align-items: center;
}
.flow-node {
  min-height: 94px;
  padding: 15px 13px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
}
.flow-node strong {
  font-size: 12px;
}
.flow-node small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}
.flow-node code {
  color: var(--faint);
  font: 9px var(--mono);
  margin-top: 13px;
}
.node-icon {
  font-size: 19px;
  color: var(--orange);
}
.node-edge .node-icon {
  color: var(--blue);
}
.node-host .node-icon {
  color: var(--green);
}
.flow-arrow {
  color: var(--faint);
  text-align: center;
  font: 9px var(--mono);
}
.flow-arrow span {
  height: 1px;
  display: block;
  background: var(--line);
  position: relative;
  margin-bottom: 8px;
}
.flow-arrow span::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 4px;
  height: 4px;
  border-right: 1px solid var(--orange);
  border-top: 1px solid var(--orange);
  transform: rotate(45deg);
}
.flow-arrow b {
  font-weight: 400;
  font-size: 7px;
}
.topology-note {
  border-top: 1px solid var(--line);
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.note-icon {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  color: var(--bg);
  background: var(--orange);
  font: 700 12px var(--mono);
  flex-shrink: 0;
}
.topology-note p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
}
.topology-note strong {
  color: var(--text);
}
.compact-heading {
  margin-bottom: 42px;
}
.node-list {
  display: grid;
  gap: 10px;
}
.server-card {
  border: 1px solid var(--line);
  background: rgba(17, 23, 27, 0.8);
  padding: 21px 24px 18px;
  border-left: 2px solid var(--orange);
}
.accent-blue {
  border-left-color: var(--blue);
}
.accent-green {
  border-left-color: var(--green);
}
.server-top {
  display: flex;
  gap: 16px;
  align-items: center;
  font: 500 9px var(--mono);
}
.server-index {
  color: var(--orange);
}
.accent-blue .server-index {
  color: var(--blue);
}
.accent-green .server-index {
  color: var(--green);
}
.server-id {
  margin-left: auto;
  color: var(--text);
}
.server-body {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 19px;
  margin: 21px 0 20px;
  align-items: start;
}
.server-symbol {
  font-size: 25px;
  color: var(--orange);
}
.accent-blue .server-symbol {
  color: var(--blue);
}
.accent-green .server-symbol {
  color: var(--green);
}
.server-body h3 {
  font-size: 19px;
  letter-spacing: -0.04em;
  margin: 0 0 7px;
}
.server-body h3 span {
  color: var(--muted);
  font-weight: 400;
}
.server-body p {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 14px;
}
.tag-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.tag-row span {
  color: var(--faint);
  border: 1px solid var(--line);
  padding: 5px 7px;
  font: 9px var(--mono);
}
.server-detail {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font: 9px var(--mono);
}
.server-detail strong {
  color: var(--muted);
  font-weight: 400;
}
.code-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.code-card {
  border: 1px solid var(--line);
  background: #0e1417;
  min-width: 0;
}
.code-wide {
  grid-column: 1 / -1;
}
.code-card-head {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: center;
}
.step-badge {
  color: var(--bg);
  background: var(--orange);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font: 700 10px var(--mono);
}
.code-card-head strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.code-card-head small {
  display: block;
  color: var(--faint);
  font: 9px var(--mono);
  margin-top: 4px;
}
.copy-button {
  margin-left: auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--faint);
  padding: 7px 8px;
  cursor: pointer;
  font: 9px var(--mono);
}
.copy-button:hover,
.copy-button.copied {
  color: var(--orange);
  border-color: var(--orange);
}
.code-card pre {
  margin: 0;
  padding: 21px 20px 23px;
  overflow-x: auto;
  color: #c3d0cc;
  font: 11px/2 var(--mono);
}
.code-comment {
  color: #52645e;
}
.code-command {
  color: var(--orange-bright);
}
.code-value {
  color: var(--blue);
}
.code-key {
  color: var(--green);
}
.code-string {
  color: #c6a3da;
}
.code-prompt {
  color: var(--faint);
}
.analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.analysis-panel {
  border: 1px solid var(--line);
  background: rgba(17, 23, 27, 0.8);
  padding: 25px;
}
.analysis-panel.pros {
  border-top: 2px solid var(--green);
}
.analysis-panel.cons {
  border-top: 2px solid var(--orange);
}
.analysis-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.analysis-icon {
  width: 29px;
  height: 29px;
  border: 1px solid currentColor;
  color: var(--green);
  display: grid;
  place-items: center;
  font: 17px var(--mono);
}
.cons .analysis-icon {
  color: var(--orange);
}
.analysis-head h3 {
  margin: 6px 0 0;
  font-size: 19px;
  letter-spacing: -0.04em;
}
.analysis-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.analysis-panel li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.analysis-panel li strong {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
}
.analysis-panel li span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.site-footer {
  padding: 27px 9%;
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font: 9px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.site-footer b {
  color: var(--orange);
}
@media (max-width: 1100px) {
  .hero-orbit {
    right: -50px;
    opacity: 0.5;
  }
  .flow-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .flow-arrow {
    transform: rotate(90deg);
    width: 50px;
    margin: auto;
  }
  .flow-arrow b {
    display: none;
  }
  .flow-arrow span {
    margin: 0;
  }
  .flow-node {
    min-height: 75px;
  }
  .flow-node code {
    margin-top: 7px;
  }
}
@media (max-width: 760px) {
  .topbar {
    padding: 0 20px;
    height: 62px;
  }
  .topbar-meta {
    display: none;
  }
  .menu-toggle {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 9px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: 10px var(--mono);
    text-transform: uppercase;
  }
  .menu-toggle span {
    color: var(--orange);
    font-size: 16px;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    top: 62px;
    width: 235px;
    background: var(--surface);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
  .hero {
    padding: 75px 24px 54px;
    min-height: auto;
  }
  .hero h1 {
    font-size: clamp(40px, 12vw, 61px);
    margin-top: 27px;
  }
  .hero-lead {
    font-size: 13px;
  }
  .hero-orbit {
    position: relative;
    top: auto;
    right: auto;
    width: 230px;
    height: 230px;
    margin: 58px auto 0;
    opacity: 0.85;
  }
  .orbit-core {
    inset: 88px;
  }
  .ring-two {
    inset: 34px;
  }
  .label-one {
    left: 95px;
  }
  .label-two {
    bottom: 25px;
  }
  .hero-facts {
    margin-top: 48px;
    display: grid;
    gap: 17px;
  }
  .fact,
  .fact:first-child {
    padding: 0 0 0 12px;
  }
  .content-section {
    padding: 70px 24px;
  }
  .section-heading {
    display: block;
    margin-bottom: 35px;
  }
  .section-intro {
    margin-top: 25px;
    font-size: 12px;
  }
  .section-heading h2 {
    font-size: 40px;
  }
  .topology-head {
    gap: 10px;
    line-height: 1.5;
  }
  .flow-grid {
    padding: 22px 14px;
  }
  .server-card {
    padding: 18px;
  }
  .server-body {
    grid-template-columns: 30px 1fr;
    gap: 12px;
  }
  .server-body h3 {
    font-size: 17px;
  }
  .server-detail {
    gap: 12px;
    flex-wrap: wrap;
  }
  .code-grid,
  .analysis-grid {
    grid-template-columns: 1fr;
  }
  .code-wide {
    grid-column: auto;
  }
  .code-card pre {
    font-size: 10px;
  }
  .site-footer {
    padding: 23px 24px;
    display: block;
    line-height: 2;
  }
  .site-footer span {
    display: block;
  }
}
