:root {
  --teal-600: #049fa4;
  --teal-700: #037e82;
  --teal-800: #065f61;
  --teal-50: #e9f9f9;
  --teal-100: #cff2f2;
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --line: #dbe7ea;
  --surface: #ffffff;
  --canvas: #f3f8f9;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  padding: 3rem 1.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #f8fbfc 0%, var(--canvas) 100%);
  color: var(--ink-900);
  margin: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Animated ledger backdrop */
#bg-numbers {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  /* fade the numbers out toward the edges */
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse at center, #000 0%, #000 55%, transparent 100%);
}

.card {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* Slim accounting-style accent line */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-600), #2dd4bf);
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

h1 {
  font-size: 24px;
  font-weight: 750;
  margin: 0;
  letter-spacing: -0.025em;
  color: var(--ink-900);
}

.badge {
  background-color: var(--teal-50);
  color: var(--teal-800);
  padding: 5px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid #b6e8ea;
  white-space: nowrap;
}

.description {
  color: var(--ink-500);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.stat-box {
  background-color: #fbfdfd;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal-600);
  padding: 14px 16px;
  border-radius: 10px;
}

.stat-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  margin-bottom: 5px;
  font-weight: 700;
}

.stat-value {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-800);
  font-variant-numeric: tabular-nums;
}

.info-section {
  border-top: 1px dashed #cbdde0;
  padding-top: 18px;
  margin-bottom: 22px;
}

.info-section h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-700);
  letter-spacing: 0.01em;
}

.info-section p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.6;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 12px;
}

.btn {
  flex: 1;
  display: block;
  text-align: center;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9px;
  background-color: var(--teal-600);
  border: 1px solid var(--teal-600);
  color: #ffffff;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.btn:hover {
  background-color: var(--teal-700);
  border-color: var(--teal-700);
}

.btn:focus-visible {
  outline: 3px solid #99e7e9;
  outline-offset: 2px;
}

@media (max-width: 520px) {
  body {
    padding: 1.5rem 1rem;
  }

  .card {
    padding: 22px;
  }

  .header-row {
    align-items: flex-start;
  }

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