/* Edge Network's tokens as the burn app's Edge edition uses them: white paper, ink #0f0c0b, fog panels, ink/10 hairlines, one green. */

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
/* Latin subset, variable weight */
@font-face {
  font-family: "Google Sans Flex";
  src: url("fonts/GoogleSansFlex-latin.woff2") format("woff2-variations");
  font-weight: 1 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --fog: #f5f5f5;
  --hair: rgba(15, 12, 11, 0.1);
  --text-high: #0f0c0b;
  --text-medium: #4b4847;
  --brand-tile: #0fcc60;
  --live: #13a751;
  --r-card: 16px;
  --r-panel: 8px;
  --r-pill: 9999px;
  --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-display: "Google Sans Flex", "Geist", ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}

*,
::before,
::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--paper);
  color: var(--text-high);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Header: white, a hairline under it, the green tile on the page's left column */
.bar {
  border-bottom: 1px solid var(--hair);
  background: var(--paper);
}
.bar-row {
  display: flex;
  height: 66px;
  max-width: 988px;
  margin: 0 auto;
  padding: 0 12px;
}
.brand {
  display: grid;
  place-items: center;
  width: 100px;
  background: var(--brand-tile);
  color: #ffffff;
}
.wordmark {
  display: block;
  height: 26px;
  width: auto;
}

.page {
  padding: clamp(40px, 12vh, 120px) 12px 64px;
}

.card {
  display: grid;
  justify-items: start;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 16px;
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  background: var(--paper);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--hair);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 19.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(15, 12, 11, 0.8);
}
.dot {
  display: grid;
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--live);
}
.dot > span {
  width: 6px;
  height: 6px;
  background: #ffffff;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.4vw, 40px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-medium);
}

.timer {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 4px;
  width: 100%;
  margin-top: 16px;
}
.unit {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 16px 4px 12px;
  border: 1px solid var(--hair);
  border-radius: var(--r-panel);
  background: var(--fog);
}
.digits,
.sep {
  font-family: var(--font-mono);
  font-size: clamp(36px, 11vw, 64px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.sep {
  padding-top: 16px;
  color: rgba(15, 12, 11, 0.3);
}
.label {
  font-size: 13px;
  line-height: 19.5px;
  color: var(--text-medium);
}

@media (min-width: 640px) {
  .bar-row {
    height: 72px;
    padding: 0 24px;
  }
  .brand {
    width: 112px;
  }
  .page {
    padding-left: 24px;
    padding-right: 24px;
  }
  .card {
    padding: 32px;
  }
  .tag {
    font-size: 13px;
  }
  .timer {
    gap: 10px;
  }
  .unit {
    padding: 20px 8px 14px;
  }
  .sep {
    padding-top: 20px;
  }
}
