:root {
  color-scheme: dark; font-family: "Segoe UI", Arial, sans-serif; background: #090f1b; color: #edf3ff;
  --muted: #a4b2c9; --line: #27354d; --cyan: #69e6f4; --green: #79e6aa;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: radial-gradient(ellipse at 80% 6%, #14243e 0, transparent 36rem), #090f1b }
a { color: inherit; text-decoration: none }
button { font: inherit }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto }
.topbar { border-bottom: 1px solid var(--line); background: #090f1be8 }
.topbar-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 760; letter-spacing: -.045em }
.brand-dot { color: var(--cyan); margin-left: -9px }
.brand-mark { width: 33px; height: 33px; display: grid; align-content: center; gap: 3px; border-radius: 9px; background: #15334a; border: 1px solid #28526d; padding: 7px }
.brand-mark i { height: 3px; border-radius: 2px; background: var(--cyan) }
.topbar nav { display: flex; gap: 26px; color: var(--muted); font-size: 14px }
.topbar nav a:hover, .private-network a:hover { color: var(--cyan) }
.node-badge { border: 1px solid var(--line); border-radius: 100px; color: #d3e2f7; padding: 7px 12px; font-size: 13px; font-weight: 650; white-space: nowrap }
.node-badge i, .summary i, .status i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); vertical-align: 1px; margin-right: 5px }
.intro { position: relative; padding: 66px 0 42px; isolation: isolate }
.intro::after { content: ""; position: absolute; right: 0; inset-block: 0; width: 45%; z-index: -1; background: linear-gradient(#5e8fbd19 1px,transparent 1px),linear-gradient(90deg,#5e8fbd19 1px,transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse,black 12%,transparent 72%); pointer-events: none }
.kicker { font-size: 12px; letter-spacing: .16em; color: var(--cyan); font-weight: 740; margin: 0 0 9px }
.kicker span { display: inline-block; width: 16px; height: 2px; background: var(--cyan); vertical-align: 4px; margin-right: 5px }
h1, h2, h3, p { margin: 0 }
h1 { font-size: clamp(46px, 7vw, 84px); font-weight: 760; letter-spacing: -.077em; line-height: 1.03 }
h1 span { color: var(--cyan) }
.lede { color: var(--muted); margin-top: 15px; max-width: 520px; font-size: clamp(16px, 2vw, 19px); line-height: 1.55 }
.summary { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px }
.summary span { border: 1px solid var(--line); background: #122137; border-radius: 7px; padding: 7px 10px; font-size: 13px; color: #bac9df }
.summary strong { color: #fff }
.summary span:nth-child(2) i { background: #a4a9ff }
.topology { background: #101a2a; border: 1px solid var(--line); border-radius: 19px; padding: 25px; scroll-margin-top: 16px }
.section-heading { display: flex; gap: 18px; align-items: end; justify-content: space-between; margin-bottom: 21px }
h2 { font-size: clamp(23px, 3.2vw, 33px); line-height: 1.13; letter-spacing: -.045em }
.route-caption { color: var(--muted); font-size: 13px; white-space: nowrap }
.route { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 21px }
.route-node { display: flex; align-items: center; gap: 9px; position: relative; padding: 14px 12px; border: 1px solid var(--line); border-radius: 11px; background: #121f32; min-height: 72px }
.route-node:not(:last-child)::after { position: absolute; right: -17px; content: "›"; color: #79a7c9; top: calc(50% - 13px); font-size: 21px }
.route-icon { display: grid; place-items: center; flex: 0 0 32px; height: 32px; background: #1e3654; color: #8bd8ff; font-size: 20px; border-radius: 8px }
.route-proxy { border-color: #356287; background: #142843 }
.route-web { border-color: #34736f; background: #142e37 }
.route-web .route-icon { background: #1c4a51; color: #8aefdd }
.route a:hover { border-color: var(--cyan) }
.route strong, .route small { display: block }
.route strong { font-size: 15px; line-height: 1.22 }
.route small { color: var(--muted); font-size: 12px; margin-top: 5px; line-height: 1.3 }
.private-network { display: flex; align-items: center; gap: 12px; border: 1px dashed #344460; border-radius: 10px; margin-top: 16px; padding: 11px 13px }
.private-icon { color: #a1a9ff; display: grid; place-items: center; width: 30px; height: 30px; background: #27314f; border-radius: 7px; flex-shrink: 0 }
.private-network strong { font-size: 14px }
.private-network p { font-size: 13px; color: var(--muted); margin-top: 3px }
.private-network a { margin-left: auto; white-space: nowrap; font-weight: 650; color: #c1c5ff; font-size: 13px }
.machines { margin-top: 43px; scroll-margin-top: 20px }
.filters { display: flex; gap: 3px; background: #101a2a; border: 1px solid var(--line); border-radius: 10px; padding: 3px; width: fit-content }
.filters button { background: transparent; color: var(--muted); border: 0; padding: 7px 12px; border-radius: 7px; white-space: nowrap; cursor: pointer; font-size: 14px }
.filters button:hover { color: #fff }
.filters button[aria-pressed="true"] { background: #25415b; color: #e9fbff; font-weight: 650 }
.machine-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px }
.machine-card { background: #111c2e; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; scroll-margin-top: 18px }
.machine-card:target { border-color: var(--cyan) }
.machine-visual { display: grid; place-items: center; height: 150px; background-color: #0b1322; overflow: hidden }
.machine-visual span { font-size: 56px; color: #8edbea; font-family: serif; line-height: 1 }
.has-art .machine-visual span { display: none }
.has-art .machine-visual::before { content: ""; display: block; width: 172px; aspect-ratio: 1; align-self: center; margin-block: -11px; background: url("./machines.png") var(--cell-x, 0%) var(--cell-y, 0%) / 300% 300% no-repeat }
.proxy, .onec, .devops { --cell-x: 50% }
.web, .license, .monitoring { --cell-x: 100% }
.bot, .onec, .license { --cell-y: 50% }
.database, .devops, .monitoring { --cell-y: 100% }
.machine-body { padding: 15px 16px 18px }
.machine-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px }
.machine-number { font-size: 12px; font-weight: 670; color: #a9bed8 }
.status { white-space: nowrap; font-size: 12px; font-weight: 650; color: var(--green) }
.status i { width: 6px; height: 6px; margin-right: 4px }
.planned .status { color: #b9bcff }
.planned .status i { background: #b9bcff }
h3 { font-size: 19px; line-height: 1.2; letter-spacing: -.025em }
.machine-name { color: #8fd8e9; font: 13px/1.35 ui-monospace, monospace; margin-top: 5px }
.machine-description { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 10px; min-height: 3em }
.machine-tech { font-size: 12px; color: #c4d6ed; margin-top: 12px }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 44px; padding: 18px 0 27px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px }
@media (max-width: 900px) {
  .container { width: calc(100% - 40px) }
  .route { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .route-node:nth-child(2)::after { display: none }
  .machine-grid { grid-template-columns: repeat(2,minmax(0,1fr)) }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 26px) }
  .topbar-inner { min-height: 54px }
  .topbar nav { display: none }
  .intro { padding-block: 37px 27px }
  .topology { padding: 14px }
  .section-heading { margin-bottom: 14px }
  .route { grid-template-columns: 1fr; gap: 11px }
  .route-node { min-height: 59px }
  .route-node:not(:last-child)::after, .route-node:nth-child(2)::after { top: auto; bottom: -16px; right: 14px; display: block; transform: rotate(90deg); z-index: 1 }
  .machines { margin-top: 29px }
  .machines .section-heading { align-items: start; flex-direction: column; gap: 13px }
  .machine-grid { grid-template-columns: 1fr; gap: 11px }
  .machine-visual { height: 128px }
  .has-art .machine-visual::before { width: 146px; margin-block: -9px }
  .footer { margin-top: 27px }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }
