* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #090a0d;
  --panel: rgba(19, 21, 27, .72);
  --panel-strong: rgba(25, 28, 35, .86);
  --line: rgba(255,255,255,.085);
  --text: #f5f7fa;
  --muted: #8f96a3;
  --accent: #8ab4ff;
  --accent-2: #b8d4ff;
  --ok: #68d391;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -20%, rgba(68, 91, 135, .20), transparent 42%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "Segoe UI", sans-serif;
  letter-spacing: -.015em;
}

a {
  color: inherit;
  text-decoration: none;
}

.ambient {
  position: fixed;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .11;
  pointer-events: none;
  z-index: -1;
}

.ambient-a {
  top: 8rem;
  left: -12rem;
  background: #476aa3;
}

.ambient-b {
  right: -15rem;
  top: 30rem;
  background: #654b8f;
}

.topbar,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 720;
  letter-spacing: -.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: linear-gradient(145deg, #f4f7fb, #abb4c2);
  color: #0b0c0f;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  color: #aeb4bf;
  font-size: 14px;
}

.nav a:hover {
  color: #fff;
}

.pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #dfe4ec;
  font-weight: 650;
  font-size: 14px;
  transition: .2s ease;
}

.pill:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
}

.pill.primary {
  background: #f3f5f8;
  color: #0b0d10;
  border-color: transparent;
}

.pill.primary:hover {
  background: #fff;
}

.pill.ghost {
  margin-left: 2px;
  min-height: 38px;
  padding-inline: 16px;
}

.hero {
  padding: 115px 0 80px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #aab1bd;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 16px rgba(104,211,145,.65);
}

.hero h1 {
  margin: 24px auto 20px;
  max-width: 950px;
  font-size: clamp(54px, 7vw, 92px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 740;
}

.hero h1 span {
  color: #8d95a2;
}

.hero-copy {
  width: min(590px, 100%);
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.65;
  color: #969eaa;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.glass {
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow:
    0 30px 80px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(22px);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  margin: 78px auto 0;
  width: min(970px, 100%);
  min-height: 395px;
  padding: 32px;
  border-radius: 30px;
  text-align: left;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  top: -260px;
  right: 70px;
  border-radius: 50%;
  background: rgba(119,154,218,.18);
  filter: blur(70px);
}

.hero-panel-head,
.storage-line,
.traffic {
  position: relative;
  z-index: 1;
}

.hero-panel-head,
.storage-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-panel h2 {
  margin: 5px 0 0;
  font-size: 25px;
  letter-spacing: -.035em;
}

.small {
  font-size: 11px;
  letter-spacing: .115em;
  font-weight: 750;
}

.muted {
  color: var(--muted);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b8c0cb;
  font-size: 12px;
}

.live-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(104,211,145,.25); }
  50% { opacity: .6; box-shadow: 0 0 0 7px rgba(104,211,145,0); }
}

.storage-line {
  margin-top: 52px;
}

.storage-line > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.storage-line strong {
  font-size: 35px;
  letter-spacing: -.04em;
}

.storage-line span {
  color: #8f96a3;
}

.progress {
  position: relative;
  z-index: 1;
  height: 7px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9dbef8, #c1d8ff);
  box-shadow: 0 0 20px rgba(157,190,248,.25);
}

.traffic {
  height: 148px;
  margin-top: 42px;
}

.traffic-copy {
  position: absolute;
  left: 0;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.traffic-copy strong {
  font-size: 25px;
  letter-spacing: -.035em;
}

.sparkline {
  position: absolute;
  inset: 0 0 auto 155px;
  width: calc(100% - 155px);
  height: 130px;
  color: var(--accent);
  overflow: visible;
}

.sparkline .line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  vector-effect: non-scaling-stroke;
}

.sparkline .area {
  fill: url(#area);
}

.section {
  padding: 78px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 25px;
}

.section-head h2,
.status-title h2 {
  margin: 7px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.05em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 255px;
  border-radius: 25px;
  padding: 28px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.card-wide {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.card-icon {
  position: absolute;
  right: 24px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  color: #bec9d9;
  font-size: 17px;
}

.card h3 {
  margin: 8px 0 8px;
  font-size: 38px;
  letter-spacing: -.045em;
}

.card p {
  margin: 0;
  max-width: 390px;
  color: #8f96a3;
  line-height: 1.55;
}

.card-stat {
  display: flex;
  flex-direction: column;
  text-align: right;
  padding-right: 7px;
}

.card-stat span {
  font-size: 28px;
  font-weight: 690;
}

.card-stat small {
  color: var(--muted);
  margin-top: 4px;
}

.status-section {
  padding-bottom: 125px;
}

.status-card {
  padding: 34px;
  border-radius: 30px;
}

.status-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.status-ok,
.service span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a9d8bb;
  font-size: 13px;
}

.status-ok i,
.service i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 13px rgba(104,211,145,.35);
}

.services {
  margin-top: 35px;
  border-top: 1px solid var(--line);
}

.service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  border-bottom: 1px solid var(--line);
  color: #d9dee6;
}

.status-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.status-footer span {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 18px;
  border-radius: 17px;
  background: rgba(255,255,255,.025);
  color: var(--muted);
  font-size: 13px;
}

.status-footer strong {
  color: #edf1f6;
  font-size: 20px;
  margin-bottom: 3px;
}

footer {
  min-height: 100px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 25px;
  color: #727a87;
  font-size: 13px;
}

footer > :last-child {
  margin-left: auto;
}

.footer-brand {
  color: #cfd5de;
}

.footer-brand .brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 13px;
}

@media (max-width: 760px) {
  .topbar {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    display: none;
  }

  .pill.ghost {
    margin-left: auto;
  }

  main, footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 75px;
  }

  .hero h1 {
    font-size: clamp(50px, 14vw, 72px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .storage-line {
    align-items: end;
  }

  .storage-line > div {
    flex-direction: column;
    gap: 2px;
  }

  .sparkline {
    left: 0;
    top: 68px;
    width: 100%;
    opacity: .8;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card-wide {
    display: block;
  }

  .card-stat {
    margin-top: 32px;
    text-align: left;
  }

  .status-title {
    display: block;
  }

  .status-ok {
    margin-top: 18px;
  }

  .status-footer {
    grid-template-columns: 1fr;
  }

  footer {
    flex-wrap: wrap;
    padding: 25px 0;
  }

  footer > :last-child {
    margin-left: 0;
    width: 100%;
  }
}
