* {
  box-sizing: border-box;
}

:root {
  --bg: #f6f3ed;
  --surface: #fffdf9;
  --text: #22201d;
  --muted: #6e675f;
  --border: #ded7ce;
  --accent: #6e2f2f;
  --accent-dark: #532222;
  --secondary: #2e4b46;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.page {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 32px;
}

.hero {
  padding: 20px 0 28px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent);
}

h1 {
  max-width: 800px;
  margin: 10px 0 18px;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: .98;
  letter-spacing: -.045em;
}

h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.lead {
  max-width: 720px;
  font-size: 1.2rem;
  color: var(--muted);
}

.notice {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 14px;
  background: #efe5d7;
  border: 1px solid #dfcfbb;
  border-radius: 12px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 16px 0 28px;
}

.stats article {
  padding: 22px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.value {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
}

.label {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .9rem;
}

.card {
  margin: 18px 0;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(40, 33, 25, .04);
}

.subtle {
  background: transparent;
  box-shadow: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .15s ease, opacity .15s ease;
}

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

.primary {
  background: var(--accent);
  color: white;
}

.primary:hover {
  background: var(--accent-dark);
}

.secondary {
  background: var(--secondary);
  color: white;
}

.small {
  color: var(--muted);
  font-size: .92rem;
}

.progress-wrap {
  margin-top: 22px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.progress {
  width: 100%;
  height: 14px;
  overflow: hidden;
  background: #e7e0d8;
  border-radius: 999px;
}

.progress-bar {
  width: 0;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
  transition: width .4s ease;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #eee7df;
}

footer {
  padding: 18px 0;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}

@media (max-width: 760px) {
  .page {
    padding-top: 28px;
  }

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

  .card {
    padding: 22px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .stats {
    grid-template-columns: 1fr;
  }
}
