@font-face {
  font-family: Inter;
  src: url(/assets/arkvell/fonts/inter-cyrillic.woff2);
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0400-052F, U+2116;
}
@font-face {
  font-family: Inter;
  src: url(/assets/arkvell/fonts/inter-latin.woff2);
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-024F, U+2000-206F;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f9fafe;
  color: #162646;
  --primary: #233fca;
  --line: #c8d3e7;
  --muted: #52617b;
  --mono: Consolas, "Cascadia Mono", monospace;
  font:
    500 16px/1.45 Inter,
    Arial,
    sans-serif;
}
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a,
button {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #a35306;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  z-index: 9;
  top: -100px;
  left: 20px;
  padding: 1em;
  background: #fff;
}
.skip:focus {
  top: 10px;
}
.shell {
  width: min(90%, 2450px);
  margin: auto;
}
.bar,
footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.bar {
  min-height: clamp(61px, 4.65vw, 110px);
}
header {
  border-bottom: 1px solid var(--line);
  background: #fbfcff;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-size: clamp(24px, 2.05vw, 51px);
  font-weight: 740;
  letter-spacing: -0.075em;
  line-height: 1;
}
.logo i {
  display: flex;
  align-items: end;
  gap: 0.065em;
  height: 0.8em;
}
.logo b {
  height: 42%;
  width: 0.135em;
  border-radius: 0.035em;
  background: var(--primary);
}
.logo b:nth-child(2) {
  height: 63%;
}
.logo b:nth-child(3) {
  height: 82%;
}
.logo b:nth-child(4) {
  height: 100%;
}
.bar nav {
  display: flex;
  gap: clamp(24px, 3.4vw, 70px);
  font-size: clamp(13px, 0.98vw, 22px);
  color: #3e4e6d;
}
.bar a:not(.logo),
footer a {
  padding: 0.7em 0;
}
.bar a:hover,
footer a:hover {
  color: var(--primary);
}
.back {
  font: 700 clamp(11px, 0.8vw, 19px) / 1.4 var(--mono);
  letter-spacing: 0.08em;
}
.overview {
  background: linear-gradient(107deg, #f3f5fc 0%, #e7eeff 47%, #d6e1ff 100%);
  overflow: hidden;
}
.dashboard {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  min-height: clamp(470px, 43.1vw, 1040px);
}
.hero-copy {
  padding: clamp(42px, 4.3vw, 98px) 0;
  position: relative;
  z-index: 2;
}
.product {
  display: flex;
  align-items: center;
  gap: 0.66em;
  font: 650 clamp(10px, 0.86vw, 21px) / 1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3d527e;
}
.emblem {
  width: 0.82em;
  height: 0.82em;
  border: 2px solid currentColor;
  border-radius: 0.17em;
  box-shadow: inset 0 0 0 1px #fff;
  display: inline-block;
  background: #6881cb;
}
.hero-copy h1 {
  font-size: clamp(80px, 8.5vw, 218px);
  letter-spacing: -0.091em;
  font-weight: 655;
  line-height: 0.9;
  margin: 0.27em 0 0.23em -0.05em;
}
.hero-copy h1 span {
  color: var(--primary);
}
.lede {
  font-size: clamp(15px, 1.14vw, 29px);
  color: #455570;
  max-width: 25em;
  letter-spacing: -0.012em;
}
.blue-btn,
.secondary {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5em;
  padding: 0.85em 1.13em;
  border-radius: 0.48em;
  background: var(--primary);
  color: #fff;
  border: 1px solid transparent;
  font-size: clamp(13px, 0.98vw, 23px);
  min-height: 42px;
  font-weight: 600;
}
.blue-btn span {
  font-size: 1.25em;
  line-height: 1;
}
.blue-btn:hover {
  background: #142fae;
}
.hero-copy .blue-btn {
  margin-top: 1.45em;
}
.diagram {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.42;
}
.diagram::before {
  position: absolute;
  content: "";
  width: 70%;
  height: 26%;
  left: 15%;
  bottom: 5%;
  border-radius: 50%;
  background: #536fa640;
  filter: blur(1.7vw);
  z-index: -1;
}
.diagram img {
  position: absolute;
  width: 105%;
  max-width: none;
  left: -1%;
  top: 48.5%;
  transform: translateY(-50%);
  height: auto;
}
.diagram-top,
.diagram-caption {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6em;
  font: 650 clamp(9px, 0.75vw, 18px) / 1.4 var(--mono);
  color: #445781;
  letter-spacing: 0.025em;
}
.diagram-top {
  top: 1%;
  left: 6%;
  width: 92%;
  justify-content: space-between;
  border-top: 1px solid #a5b5d4;
  padding-top: 7px;
}
.diagram-caption {
  right: 3%;
  bottom: -3%;
  border: 1px solid #b2c1dc;
  background: #edf2ffcf;
  border-radius: 30px;
  padding: 0.53em 0.9em;
}
.diagram-caption b {
  color: #223674;
  font-weight: 700;
}
.online-dot,
.alert-dot {
  width: 0.56em;
  aspect-ratio: 1;
  background: #18805b;
  display: inline-block;
  border-radius: 50%;
  flex: none;
}
.alert-dot {
  background: #b76915;
}
.summary {
  border-block: 1px solid var(--line);
  background: #f4f7fd;
}
.summary dl {
  display: grid;
  grid-template-columns: 1fr 1fr 1.04fr;
  padding: clamp(21px, 2vw, 50px) 0;
}
.summary dl > div:not(:first-child) {
  border-left: 1px solid var(--line);
  padding-left: 12%;
}
.summary dt,
.metrics dt,
.mini,
.chart-head,
.ticks {
  font-size: clamp(11px, 0.8vw, 20px);
  color: var(--muted);
}
.summary dd {
  font-size: clamp(23px, 2.24vw, 53px);
  font-weight: 620;
  line-height: 1.15;
  letter-spacing: -0.06em;
  margin: 0.12em 0 0;
}
.summary dd small {
  font-size: 0.6em;
  font-weight: 480;
  letter-spacing: -0.02em;
}
.summary dd i {
  margin-right: 0.37em;
  width: 0.35em;
  vertical-align: middle;
}
#nodes {
  padding: clamp(50px, 5.5vw, 148px) 0;
}
.head-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.9rem;
}
.head-row h2 {
  font-size: clamp(42px, 4.35vw, 115px);
  font-weight: 640;
  line-height: 1;
  letter-spacing: -0.08em;
  margin-top: 0.2em;
}
.head-row > p {
  font-size: clamp(13px, 1vw, 23px);
  color: var(--muted);
}
.monitor {
  display: grid;
  grid-template-columns: 0.53fr 1fr;
  align-items: start;
  gap: clamp(15px, 2.3vw, 67px);
}
.node-list {
  border-block: 1px solid var(--line);
}
.node-list button {
  display: flex;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: 1em 0.8em;
  border: 0;
  background: transparent;
  color: #2e3c58;
  gap: 0.8em;
  font-size: clamp(15px, 1.1vw, 27px);
}
.node-list button + button {
  border-top: 1px solid var(--line);
}
.node-list button[aria-pressed="true"] {
  background: #e9eeff;
  color: var(--primary);
  box-shadow: inset 3px 0 0 var(--primary);
}
.node-list button:hover {
  background: #eff2ff;
}
.node-list i {
  margin-left: auto;
}
.node-id {
  font-family: var(--mono);
  color: #748299;
  font-size: 0.78em;
}
.node-detail {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: white;
  padding: clamp(20px, 2.4vw, 60px);
  min-width: 0;
}
.detail-top,
.chart-head,
.ticks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.detail-top h3 {
  font-size: clamp(28px, 2.5vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}
.state {
  border-radius: 40px;
  background: #fff0d9;
  color: #825313;
  padding: 0.4em 0.75em;
  font-size: clamp(11px, 0.86vw, 20px);
}
.state.healthy {
  background: #e0f4ed;
  color: #226b56;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5em;
  border-block: 1px solid var(--line);
  padding: 1em 0;
  margin: 1.35em 0;
}
.metrics dd {
  font-size: clamp(14px, 1.3vw, 30px);
  font-weight: 610;
}
.chart-head {
  margin-bottom: 0.6em;
}
.ranges {
  display: flex;
  background: #eff2f8;
  padding: 2px;
  border-radius: 5px;
}
.ranges button {
  font-size: inherit;
  line-height: 1.45;
  padding: 0.3em 0.6em;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 3px;
}
.ranges button[aria-pressed="true"] {
  background: white;
  color: #243a8b;
  box-shadow: 0 1px 3px #26356a33;
}
canvas {
  width: 100%;
  height: clamp(112px, 12vw, 300px);
  display: block;
}
.ticks {
  font-family: var(--mono);
}
.operations {
  display: flex;
  gap: 0.6em;
  flex-wrap: wrap;
  margin-top: 1.2em;
}
.secondary {
  background: #edf1ff;
  color: #2946a4;
  border-color: #c3cfee;
}
.secondary:hover {
  background: #dce5ff;
}
[hidden] {
  display: none !important;
}
#result {
  margin-top: 0.8em;
  color: #40516b;
  font-size: clamp(13px, 0.96vw, 23px);
}
#result:empty {
  display: none;
}
footer {
  border-top: 1px solid var(--line);
}
footer .shell {
  padding-block: 1em;
}
footer a:last-child {
  font-size: clamp(12px, 0.86vw, 21px);
}
@media (max-width: 720px) {
  .bar {
    min-height: 54px;
  }
  .bar nav {
    display: none;
  }
  .dashboard {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    padding: 34px 0 7px;
  }
  .hero-copy h1 {
    font-size: clamp(65px, 15.2vw, 100px);
    margin: 0.21em 0;
  }
  .lede {
    font-size: 14px;
  }
  .hero-copy .blue-btn {
    margin-top: 1em;
  }
  .diagram {
    width: 100%;
    aspect-ratio: 1.53;
    margin: 0.7em 0 1.1em;
  }
  .diagram-top {
    left: 0;
    width: 100%;
    font-size: 9px;
    top: 0;
  }
  .diagram img {
    width: 94%;
    left: 3%;
    top: 53%;
  }
  .diagram-caption {
    font-size: 9px;
    bottom: -1%;
    right: 0;
  }
  .summary dl {
    padding: 15px 0;
    grid-template-columns: 0.77fr 1.06fr 1fr;
  }
  .summary dt {
    font-size: 10px;
    line-height: 1.25;
  }
  .summary dd {
    font-size: clamp(15px, 4.2vw, 24px);
  }
  .summary dl > div:not(:first-child) {
    padding-left: 9%;
  }
  .head-row {
    display: block;
    margin-bottom: 1.2em;
  }
  .head-row > p {
    margin-top: 0.7em;
  }
  .monitor {
    grid-template-columns: 1fr;
  }
  .node-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.12em;
    border: 0;
  }
  .node-list button {
    width: auto;
    flex: auto;
    justify-content: center;
    font-size: 12px;
    border: 1px solid var(--line);
    padding: 0.7em 0.4em;
    gap: 0.4em;
  }
  .node-id {
    display: none;
  }
  .node-list i {
    margin: 0;
  }
  .detail-top h3 {
    font-size: 24px;
  }
  .node-detail {
    padding: 16px;
  }
  .state {
    font-size: 12px;
  }
  .summary dd i {
    display: none;
  }
  .chart-head {
    flex-wrap: wrap;
    font-size: 12px;
  }
  .ranges button {
    min-height: 32px;
    font-size: 12px;
  }
  .head-row h2 {
    font-size: clamp(34px, 8vw, 48px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .blue-btn,
  .secondary,
  .node-list button {
    transition: background 0.18s;
  }
  .diagram img {
    animation: float-in 1.5s cubic-bezier(0.18, 0.64, 0.2, 1) both;
  }
  @keyframes float-in {
    from {
      opacity: 0.7;
      transform: translateY(-47%) rotate(-2deg);
    }
    to {
      opacity: 1;
      transform: translateY(-50%) rotate(0);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
