:root {
  --bg: #070a10;
  --surface: rgba(15, 20, 31, .82);
  --surface2: rgba(255,255,255,.026);

  --border: rgba(255,255,255,.075);
  --border2: rgba(255,255,255,.11);

  --text: #f3f6fb;
  --muted: #8993a7;
  --muted2: #626d80;

  --blue: #527aff;
  --cyan: #3bd8d0;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  color: var(--text);

  background:
    radial-gradient(
      circle at 15% 5%,
      rgba(58,92,210,.13),
      transparent 34%
    ),
    radial-gradient(
      circle at 90% 85%,
      rgba(43,190,182,.07),
      transparent 31%
    ),
    linear-gradient(
      180deg,
      #090d15,
      #06080d
    );
}

.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 100%;
  filter: blur(100px);
}

.glow-one {
  width: 430px;
  height: 430px;

  top: 5%;
  left: -250px;

  background: rgba(43,84,230,.24);
}

.glow-two {
  width: 380px;
  height: 380px;

  bottom: -130px;
  right: -210px;

  background: rgba(31,180,175,.12);
}

.page {
  position: relative;

  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;

  padding:
    28px
    0
    32px;
}

header {
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 54px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;

  color: var(--text);
  text-decoration: none;

  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.025em;
}

.logo {
  width: 29px;
  height: 29px;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  gap: 3px;
  padding: 6px;

  border:
    1px solid
    rgba(85,125,255,.28);

  border-radius: 9px;

  background:
    linear-gradient(
      145deg,
      rgba(76,111,255,.18),
      rgba(60,215,207,.04)
    );
}

.logo i {
  width: 3px;

  display: block;

  border-radius: 3px;

  background:
    linear-gradient(
      #668cff,
      #3ad8d0
    );
}

.logo i:nth-child(1) {
  height: 6px;
}

.logo i:nth-child(2) {
  height: 12px;
}

.logo i:nth-child(3) {
  height: 9px;
}

.network-status {
  display: flex;
  align-items: center;
  gap: 8px;

  padding:
    8px
    12px;

  border:
    1px solid
    var(--border);

  border-radius: 50px;

  background:
    rgba(255,255,255,.02);

  color: #a5aec0;

  font-size: 11px;
}

.network-status i,
.secure i {
  width: 6px;
  height: 6px;

  display: block;

  border-radius: 100%;

  background: #46d39c;

  box-shadow:
    0 0 10px
    rgba(70,211,156,.5);
}

.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 32px;

  margin-bottom: 30px;
}

.eyebrow {
  display: block;

  margin-bottom: 12px;

  color: #6b8cff;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: .16em;
}

h1 {
  margin: 0 0 14px;

  font-size:
    clamp(
      38px,
      5.5vw,
      57px
    );

  line-height: 1;

  font-weight: 670;

  letter-spacing: -.05em;
}

.intro p {
  max-width: 610px;

  margin: 0;

  color: var(--muted);

  font-size: 15px;
  line-height: 1.65;
}

.server {
  min-width: 225px;

  display: flex;
  align-items: center;

  gap: 12px;

  padding:
    13px
    15px;

  border:
    1px solid
    var(--border);

  border-radius: 15px;

  background:
    rgba(255,255,255,.024);
}

.server-symbol {
  position: relative;

  width: 31px;
  height: 31px;

  flex: none;

  border:
    1px solid
    rgba(83,124,255,.22);

  border-radius: 9px;

  background:
    rgba(74,112,255,.08);
}

.server-symbol::before,
.server-symbol::after {
  content: "";

  position: absolute;

  left: 7px;
  right: 7px;

  height: 5px;

  border:
    1px solid
    rgba(175,195,255,.5);

  border-radius: 3px;
}

.server-symbol::before {
  top: 7px;
}

.server-symbol::after {
  bottom: 7px;
}

.server small {
  display: block;

  margin-bottom: 4px;

  color: var(--muted2);

  font-size: 9px;
  letter-spacing: .09em;
}

.server strong {
  font-size: 12px;
  font-weight: 560;

  color: #d6ddea;
}

.tester {
  min-height: 405px;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding:
    31px
    30px
    27px;

  border:
    1px solid
    var(--border);

  border-radius: 22px;

  background:
    linear-gradient(
      180deg,
      rgba(18,24,36,.83),
      rgba(9,13,21,.84)
    );

  box-shadow:
    0 35px 100px
    rgba(0,0,0,.24),

    inset 0 1px 0
    rgba(255,255,255,.025);
}

.gauge {
  position: relative;

  width: min(490px, 100%);
  height: 245px;
}

.gauge svg {
  width: 100%;
  height: 100%;
}

.track,
.meter {
  fill: none;

  stroke-linecap: round;
  stroke-width: 13;
}

.track {
  stroke:
    rgba(255,255,255,.055);
}

.meter {
  stroke:
    url(#gradient);

  stroke-dasharray: 100;
  stroke-dashoffset: 100;

  filter:
    url(#softGlow);

  transition:
    stroke-dashoffset
    .13s linear;
}

.speed {
  position: absolute;

  left: 50%;
  top: 118px;

  transform:
    translateX(-50%);

  text-align: center;
}

.speed strong {
  display: block;

  min-width: 170px;

  font-size:
    clamp(
      48px,
      8vw,
      72px
    );

  font-weight: 610;

  line-height: 1;

  letter-spacing: -.055em;
}

.speed span {
  display: block;

  margin-top: 7px;

  color: var(--muted);

  font-size: 11px;
}

.scale {
  position: absolute;

  left: 39px;
  right: 39px;
  bottom: 7px;

  display: flex;
  justify-content: space-between;

  color: #505a6c;

  font-size: 9px;
}

.phase {
  display: flex;
  align-items: center;

  gap: 8px;

  margin:
    -1px
    0
    21px;

  color: #939daf;

  font-size: 11px;
}

.phase i {
  width: 6px;
  height: 6px;

  border-radius: 100%;

  background: #586274;
}

.phase i.active {
  background: var(--cyan);

  box-shadow:
    0 0 10px
    rgba(59,216,208,.55);
}

button {
  min-width: 154px;
  height: 49px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  border: 0;
  border-radius: 100px;

  color: white;

  font-size: 12px;
  font-weight: 650;

  cursor: pointer;

  background:
    linear-gradient(
      115deg,
      #426bf4,
      #477ef9 58%,
      #3ab9bf
    );

  box-shadow:
    0 10px 30px
    rgba(51,95,238,.23),

    inset 0 1px 0
    rgba(255,255,255,.2);

  transition:
    transform .16s,
    opacity .16s;
}

button:hover {
  transform:
    translateY(-1px);
}

button:disabled {
  opacity: .6;
  cursor: default;
}

.play {
  width: 0;
  height: 0;

  border-top:
    5px solid transparent;

  border-bottom:
    5px solid transparent;

  border-left:
    8px solid white;
}

.progress {
  width: min(340px, 80%);
  height: 2px;

  overflow: hidden;

  margin-top: 22px;

  border-radius: 20px;

  background:
    rgba(255,255,255,.05);
}

.progress > div {
  width: 0;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--cyan)
    );

  transition:
    width .14s linear;
}

.metrics {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 11px;

  margin-top: 11px;
}

.metrics article {
  min-height: 126px;

  padding: 18px;

  border:
    1px solid
    var(--border);

  border-radius: 17px;

  background:
    linear-gradient(
      150deg,
      rgba(255,255,255,.035),
      rgba(255,255,255,.015)
    );
}

.metric-name {
  display: block;

  margin-bottom: 17px;

  color: #a8b1c2;

  font-size: 11px;
  font-weight: 550;
}

.metrics article div {
  display: flex;
  align-items: baseline;

  gap: 5px;
}

.metrics strong {
  font-size: 28px;

  line-height: 1;

  font-weight: 610;

  letter-spacing: -.04em;
}

.metrics small {
  color: var(--muted);

  font-size: 9px;
}

.metrics p {
  margin:
    10px
    0
    0;

  color: #596477;

  font-size: 9px;
}

footer {
  min-height: 69px;

  display: grid;

  grid-template-columns:
    1fr
    auto
    1fr;

  align-items: center;

  color: #566174;

  font-size: 9px;
}

.secure {
  display: flex;
  align-items: center;
  gap: 7px;
}

footer > :last-child {
  text-align: right;
}

@media (max-width: 760px) {

  header {
    margin-bottom: 35px;
  }

  .intro {
    flex-direction: column;
    align-items: stretch;
  }

  .server {
    width: 100%;
  }

}

@media (max-width: 520px) {

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

    padding-top: 14px;
  }

  .network-status {
    font-size: 0;
    padding: 8px;
  }

  header {
    margin-bottom: 28px;
  }

  h1 {
    font-size: 39px;
  }

  .intro p {
    font-size: 13px;
  }

  .tester {
    min-height: 365px;

    padding:
      18px
      13px
      23px;
  }

  .gauge {
    height: 222px;
  }

  .speed {
    top: 108px;
  }

  .metrics {
    gap: 7px;
  }

  .metrics article {
    min-height: 115px;
    padding: 13px;
  }

  .metrics strong {
    font-size: 22px;
  }

  footer {
    grid-template-columns:
      1fr auto;
  }

  footer > :nth-child(2) {
    display: none;
  }

}
