:root {
  color-scheme: light;
  --paper: #f5efe3;
  --ink: #1d1a17;
  --accent: #c5532c;
  --accent-soft: #e7b28b;
  --panel: rgba(255, 252, 246, 0.82);
  --line: rgba(29, 26, 23, 0.12);
  --shadow: 0 28px 70px rgba(73, 43, 23, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(197, 83, 44, 0.24), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(65, 113, 92, 0.18), transparent 22%),
    linear-gradient(180deg, #f8f3e7 0%, #efe4cf 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 26, 23, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 26, 23, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 90%);
}

.shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.hero {
  padding: 18px 0 24px;
}

.eyebrow,
.panel-label {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  color: rgba(29, 26, 23, 0.7);
}

h1,
h2,
strong {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.94;
}

h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.05;
}

.lede {
  max-width: 58ch;
  margin: 18px 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(29, 26, 23, 0.82);
}

.lede.compact {
  margin-top: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  margin-top: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 244, 233, 0.88)),
    var(--panel);
}

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

.stats div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(29, 26, 23, 0.08);
}

.stats dt {
  margin-bottom: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(29, 26, 23, 0.6);
}

.stats dd {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
}

.todo-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.todo-item {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(29, 26, 23, 0.1);
  border-radius: 20px;
  text-align: left;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.todo-item:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 83, 44, 0.4);
}

.todo-item span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(29, 26, 23, 0.08);
}

.todo-item.done {
  background: rgba(231, 178, 139, 0.28);
  border-color: rgba(197, 83, 44, 0.32);
}

.meter {
  height: 14px;
  margin-top: 20px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(29, 26, 23, 0.1);
}

.meter-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #de8559);
  transition: width 220ms ease;
}

@media (max-width: 860px) {
  .panel-highlight,
  .grid {
    grid-template-columns: 1fr;
  }

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

  h1 {
    max-width: none;
  }
}
