:root {
  --bg: #ffffff;
  --ink: #0c0c0c;
  --ink-soft: #1b1b1b;
  --muted: #b3b3b0;
  --muted-2: #8d8d8a;
  --line: #ececea;
  --solid: #111111;
  --solid-ink: #ffffff;
  --fill: #ecebe7;
  --content-w: 620px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-y: auto;
}

a { color: inherit; }

.page {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  padding: clamp(16px, 3vh, 32px) clamp(20px, 5vw, 48px);
}

/* ── Content ──────────────────────────────────────────────────── */
.content {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 3vh, 36px);
  width: 100%;
  padding: clamp(12px, 2vh, 24px) 0;
}

.block {
  width: var(--content-w);
  max-width: 100%;
  text-align: center;
}
.block__lead {
  font-family: var(--serif);
  font-size: clamp(18px, 2vh, 21px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 clamp(10px, 1.6vh, 20px);
}
.block__lead:last-child { margin-bottom: 0; }

.hero__image {
  display: block;
  width: auto;
  height: clamp(180px, 36vh, 400px);
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto clamp(12px, 2vh, 24px);
  border-radius: 10px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(23px, 3.4vh, 33px);
  line-height: 1.3;
  letter-spacing: 0.1px;
  margin: 0;
  color: var(--ink);
}

/* Results stat */
.stat-big {
  font-family: var(--serif);
  font-size: clamp(23px, 3.4vh, 33px);
  font-weight: 500;
  line-height: 1;
  margin: 0 0 clamp(6px, 1.2vh, 14px);
  color: var(--ink);
}
.stat-big__unit {
  font-size: 0.4em;
  font-weight: 400;
  color: var(--muted-2);
  margin-left: 2px;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: 999px;
  padding: clamp(8px, 1.4vh, 11px) 18px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.btn__icon { font-size: 16px; line-height: 1; }
.btn--solid { background: var(--solid); color: var(--solid-ink); }
.btn--solid:hover { opacity: 0.86; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 520px) {
  .page { overflow-y: auto; }
  html, body { overflow: auto; }
  .content { gap: 22px; }
}
