:root {
  color-scheme: light;
  --paper: #faf8f4;
  --ink: #38322d;
  --muted: #6b6058;
  --line: #e2d9d0;
  --rust: #a9563d;
  --blush: #f3e5dd;
  --green: #315f4a;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 system-ui, sans-serif;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1000px;
  margin: auto;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
}
.topbar a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: .875rem;
}
.topbar img { display: block; width: 116px; height: auto; }
main { width: min(880px, 100% - 32px); margin: 0 auto 44px; }
.intro { padding: 30px 0 23px; text-align: center; }
.eyebrow {
  margin: 0;
  color: #874632;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2 { font-family: Georgia, serif; font-weight: normal; line-height: 1.12; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); max-width: 680px; margin: 8px auto 12px; }
h2 { font-size: clamp(1.65rem, 4vw, 2.2rem); margin: 6px 0 8px; }
p { color: var(--muted); margin: 0 0 16px; }
.intro p:last-child { max-width: 540px; margin: 0 auto; }
.progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.progress li {
  border-top: 3px solid var(--line);
  padding-top: 6px;
  color: var(--muted);
  font-size: .8rem;
}
.progress .complete { border-color: #c58d78; }
.progress [aria-current] { border-color: var(--rust); color: #874632; font-weight: 700; }
.panel {
  padding: clamp(16px, 4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffefa;
}
.stash {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.stash > div { padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--blush); }
.stash dt { font-size: .875rem; }
.stash dd { margin: 4px 0 0; color: #874632; font-size: 1.3rem; font-weight: 700; }
table { width: 100%; margin: 16px 0; border-collapse: collapse; font-size: .875rem; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: right; }
th:first-child { text-align: left; }
thead th { color: var(--muted); font-size: .8rem; }
td { white-space: nowrap; }
.positive { color: var(--green); }
.notice { padding: 10px 12px; border-radius: 5px; color: var(--green); background: #ebf3eb; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--rust);
  border-radius: 5px;
  background: var(--rust);
  color: white;
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
button:hover, .button:hover { background: #874632; }
.secondary { background: transparent; border-color: #baaa9b; color: var(--ink); }
.secondary:hover { background: var(--blush); }
:focus-visible { outline: 2px solid #874632; outline-offset: 3px; }
.trial-note, .sample-note { font-size: .8rem; margin: 12px 0 0; }
.sample-note { text-align: center; }
@media (max-width: 480px) {
  .topbar { padding-inline: 16px; }
  .intro { padding-top: 22px; }
  .progress li { font-size: .72rem; }
  .stash { gap: 6px; }
  .stash > div { padding: 8px; }
  .stash dt { font-size: .75rem; }
  .stash dd { font-size: 1rem; }
  table { font-size: .79rem; }
  th, td { padding-inline: 4px; }
  thead th { font-size: .72rem; }
  .actions > * { flex: 1 1 auto; }
}
