:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #687386;
  --line: #e6eaf0;
  --surface: rgba(255, 255, 255, 0.86);
  --blue: #176bff;
  --blue-dark: #0d4bc9;
  --pale-blue: #edf4ff;
  --green: #0e9f6e;
  --pale-green: #eafaf4;
  --shadow: 0 18px 50px rgba(31, 55, 90, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 4%, rgba(83, 145, 255, 0.14), transparent 30rem),
    radial-gradient(circle at 7% 42%, rgba(115, 232, 210, 0.11), transparent 27rem),
    #f7f9fc;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-200%);
  border-radius: 12px;
  background: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1200px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(222, 228, 237, 0.75);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 36px rgba(32, 54, 86, 0.07);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, #3080ff, #0b4bc9);
  box-shadow: 0 8px 20px rgba(23, 107, 255, 0.26);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.67rem;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: #4f5c70;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--blue);
}

.test-badge {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #dbe5f6;
  border-radius: 999px;
  color: #33527e;
  background: #f7faff;
  font-size: 0.73rem;
  font-weight: 700;
}

.test-badge > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5a524;
  box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.12);
}

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

.hero {
  padding: 112px 0 92px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(23, 107, 255, 0.1);
  content: "";
}

h1 {
  margin: 22px auto;
  font-size: clamp(3rem, 7.2vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

h1 span {
  color: transparent;
  background: linear-gradient(100deg, #0c4ecb 15%, #3081ff 50%, #58a7ee);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero > p {
  max-width: 700px;
  margin: 0 auto;
  color: #5f6c7e;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(145deg, #2678fb, #0d54d2);
  box-shadow: 0 11px 24px rgba(23, 107, 255, 0.23);
}

.button.secondary {
  border: 1px solid #dce2eb;
  background: rgba(255, 255, 255, 0.78);
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  color: #728095;
  font-size: 0.76rem;
}

.note-icon {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid #cad3df;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
}

.section {
  padding: 70px 0;
  scroll-margin-top: 100px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.demo-label,
.status-updated {
  padding: 8px 11px;
  border: 1px solid #dfe5ed;
  border-radius: 999px;
  color: #647084;
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.71rem;
  font-weight: 700;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric-card {
  min-height: 255px;
  padding: 24px;
  border: 1px solid rgba(225, 231, 239, 0.88);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}

.metric-card:hover {
  transform: translateY(-3px);
  border-color: #cbd9ec;
}

.metric-card.featured {
  background:
    linear-gradient(150deg, rgba(236, 244, 255, 0.92), rgba(255, 255, 255, 0.88)),
    #fff;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.card-icon,
.coin {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  font-weight: 800;
}

.blue {
  color: #1969ed;
  background: #eaf2ff;
}

.violet {
  color: #7651d1;
  background: #f0ebff;
}

.green {
  color: #0f9770;
  background: #e6f8f1;
}

.coral {
  color: #df6547;
  background: #fff0ec;
}

.bitcoin {
  color: #bb7100;
  background: #fff3df;
  font-size: 1.28rem;
}

.ethereum {
  color: #5267af;
  background: #edf0ff;
}

.pill {
  padding: 6px 9px;
  border-radius: 999px;
  color: #758195;
  background: #f1f4f8;
  font-size: 0.64rem;
  font-weight: 750;
  text-transform: uppercase;
}

.metric-card h3 {
  margin: 0 0 8px;
  color: #667286;
  font-size: 0.83rem;
}

.metric {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 760;
  letter-spacing: -0.025em;
}

.muted {
  margin: 0;
  color: #8a94a5;
  font-size: 0.77rem;
  line-height: 1.55;
}

.sentiment-bar {
  height: 7px;
  margin: 20px 0 14px;
  overflow: hidden;
  border-radius: 99px;
  background: #e9edf3;
}

.sentiment-bar span {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6d8df2, #8062d2);
}

.check-section {
  margin-block: 54px;
  padding: 70px 54px;
  border: 1px solid rgba(218, 226, 237, 0.82);
  border-radius: 36px;
  background:
    radial-gradient(circle at 92% 5%, rgba(67, 131, 255, 0.12), transparent 24rem),
    rgba(250, 252, 255, 0.88);
  box-shadow: var(--shadow);
}

.check-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.check-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  min-height: 170px;
  padding: 30px 26px;
  border-bottom: 1px solid var(--line);
}

.check-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.check-item:last-child {
  grid-column: 1 / -1;
  border-right: 0;
}

.check-number {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
}

.check-item h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.check-item p {
  margin: 0;
  color: #778397;
  font-size: 0.82rem;
  line-height: 1.65;
}

.status-panel {
  overflow: hidden;
  border: 1px solid rgba(223, 229, 238, 0.9);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.status-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.status-row:last-child {
  border-bottom: 0;
}

.status-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #567099;
  background: #eef3fa;
  font-weight: 800;
}

.status-row strong,
.status-row small {
  display: block;
}

.status-row strong {
  font-size: 0.9rem;
}

.status-row small {
  margin-top: 5px;
  color: #8a95a7;
  font-size: 0.72rem;
}

.connection-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6e798a;
  font-size: 0.72rem;
  font-weight: 750;
}

.connection-state::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f2aa38;
  box-shadow: 0 0 0 4px rgba(242, 170, 56, 0.12);
  content: "";
}

.connection-state.online {
  color: #14805d;
}

.connection-state.online::before {
  background: #19a974;
  box-shadow: 0 0 0 4px rgba(25, 169, 116, 0.12);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 70px;
  padding: 36px 0 44px;
  border-top: 1px solid #dfe5ed;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}

.footer-brand span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--ink);
  font-size: 0.6rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 10px 22px;
  color: #788497;
  font-size: 0.7rem;
}

:focus-visible {
  outline: 3px solid rgba(23, 107, 255, 0.35);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  footer {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    margin-top: 10px;
  }

  .brand small,
  .test-badge {
    display: none;
  }

  .hero {
    padding: 82px 4px 58px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-note {
    align-items: flex-start;
    text-align: left;
  }

  .section {
    padding: 52px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-grid,
  .check-layout {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 220px;
  }

  .check-section {
    margin-block: 28px;
    padding: 48px 22px;
    border-radius: 28px;
  }

  .check-item {
    grid-template-columns: 34px 1fr;
    min-height: 0;
    padding: 26px 6px;
    border-right: 0 !important;
  }

  .check-item:last-child {
    grid-column: auto;
  }

  .status-row {
    grid-template-columns: 38px 1fr;
    min-height: 106px;
    padding: 18px;
  }

  .status-icon {
    width: 36px;
    height: 36px;
  }

  .connection-state {
    grid-column: 2;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
