:root {
  --orange: #eb7131;
  --black: #000;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: var(--orange);
  color: var(--black);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.4;
}

.page {
  width: min(940px, calc(100% - 1.5rem));
  height: 100dvh;
  margin: 0 auto;
  padding: clamp(0.45rem, 1.5vh, 0.9rem) 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.28rem, 1vh, 0.62rem);
}

.topbar {
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.65rem, 2vw, 1rem);
  flex-wrap: wrap;
}

.top-nav a {
  color: var(--black);
  text-decoration: none;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(0.9rem, 2.5vw, 1.25rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-bottom: 4px solid var(--black);
}

.tweet-wrap {
  display: flex;
  justify-content: center;
  min-height: 0;
  padding: 0.2rem 0;
  margin-top: auto;
}

.tweet-img {
  display: block;
  width: min(570px, 94%);
  max-height: min(15dvh, 126px);
  height: auto;
  object-fit: contain;
  border-radius: 0.35rem;
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.82))
    drop-shadow(0 0 22px rgba(255, 255, 255, 0.52))
    drop-shadow(0 0 34px rgba(0, 0, 0, 0.38));
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(0.35rem, 1.3vh, 0.75rem);
  min-height: 0;
}

.logo {
  display: block;
  width: min(650px, 92%);
  max-height: min(34dvh, 320px);
  height: auto;
  object-fit: contain;
}

.tagline {
  margin: -0.25rem 0 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(0.95rem, 2.6vw, 1.55rem);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.ca-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  gap: 0.65rem;
  padding: 0.45rem 0.8rem;
  background: transparent;
  color: var(--black);
  border: 3px solid var(--black);
  border-radius: 999px;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: clamp(0.72rem, 1.8vw, 0.92rem);
  font-weight: 900;
  cursor: pointer;
}

.ca-label {
  font-family: "Anton", Impact, sans-serif;
  font-size: 1.05em;
  font-weight: 900;
}

.ca-pill-addr {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-toast {
  display: block;
  min-height: 0.95rem;
  margin-top: -0.35rem;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.data {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.45rem, 1.2vw, 0.75rem);
}

.stat-card {
  min-height: clamp(4.6rem, 11.5vh, 6.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.55rem;
  text-align: center;
  border: 4px solid var(--black);
}

.stat-label {
  display: block;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(0.68rem, 1.7vw, 0.92rem);
}

.stat-card strong {
  display: block;
  margin: 0.18rem 0 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(1.25rem, 3.3vw, 2.35rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.status-line {
  margin: 0;
  text-align: center;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(0.68rem, 1.7vw, 0.86rem);
}

footer {
  max-width: 48rem;
  margin: auto auto 0;
  text-align: center;
  font-size: clamp(0.56rem, 1.35vw, 0.72rem);
  font-weight: 900;
  color: var(--black);
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .data {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo {
    max-height: 28dvh;
  }

  .tweet-img {
    max-height: 13dvh;
  }

  .stat-card {
    min-height: 4.65rem;
  }
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 0.8rem, 940px);
    gap: 0.28rem;
  }

  .top-nav a {
    border-bottom-width: 3px;
  }

  .logo {
    width: min(96%, 520px);
    max-height: 24dvh;
  }

  .tweet-img {
    width: min(96%, 560px);
    max-height: 11dvh;
  }

  .data {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
  }

  .stat-card {
    min-height: 4.25rem;
    border-width: 3px;
    padding: 0.35rem;
  }

  .ca-pill {
    max-width: 96vw;
  }

  footer {
    line-height: 1.25;
  }
}
