:root {
  color-scheme: light;
  --ink: #17221f;
  --muted: #65736e;
  --paper: #f4f1e8;
  --panel: #fffdf7;
  --line: #d8d8c9;
  --accent: #d9563f;
  --accent-dark: #9e3228;
  --teal: #2c7770;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: radial-gradient(circle at 90% 5%, #e5e8d8 0, transparent 28rem), var(--paper);
  font: 16px/1.5 Georgia, "Times New Roman", serif;
}
.shell { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 72px 0 64px; }
.masthead { max-width: 650px; margin-bottom: 32px; }
.eyebrow { margin: 0 0 10px; color: var(--teal); font: 700 12px/1.2 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
h1 { max-width: 600px; margin: 0; font-size: clamp(42px, 8vw, 78px); line-height: .95; letter-spacing: 0; }
.intro { max-width: 510px; margin: 22px 0 0; color: var(--muted); font-size: 20px; }
.panel { padding: 28px; border: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 92%, transparent); box-shadow: 10px 10px 0 #dfe2d2; }
.panel + .panel { margin-top: 28px; }
h2 { margin: 0 0 22px; font-size: 25px; }
label { display: block; margin: 16px 0 7px; font: 700 13px/1.2 system-ui, sans-serif; }
label span { color: var(--muted); font-weight: 400; }
input, select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #b9c0b4; border-radius: 3px; color: var(--ink); background: #fff; font: 16px system-ui, sans-serif; }
input:focus, select:focus { outline: 3px solid #efb8a2; border-color: var(--accent); }
.grid { display: grid; grid-template-columns: 1fr 180px; gap: 16px; }
button { min-height: 48px; margin-top: 24px; padding: 0 18px; border: 0; border-radius: 3px; color: #fff; background: var(--accent); font: 700 14px system-ui, sans-serif; cursor: pointer; }
button:hover { background: var(--accent-dark); }
button:disabled { cursor: wait; opacity: .55; }
.privacy { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.progress-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.progress-heading h2 { margin-bottom: 0; }
.progress-heading strong { color: var(--teal); font: 700 14px system-ui, sans-serif; }
.bar { height: 10px; margin: 24px 0 14px; overflow: hidden; background: #e0e3d8; }
.bar span { display: block; width: 0; height: 100%; background: var(--teal); transition: width .2s ease; }
#status { min-height: 28px; margin: 0; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions button { margin-top: 18px; }
button.secondary { color: var(--ink); background: #e5e8d8; }
button.secondary:hover { background: #d1d8c6; }
@media (max-width: 560px) {
  .shell { padding-top: 44px; }
  .panel { padding: 20px; box-shadow: 6px 6px 0 #dfe2d2; }
  .grid { grid-template-columns: 1fr; gap: 0; }
}
