:root {
  color-scheme: light;
  --bg: #f4efe4;
  --panel: #fffaf2;
  --ink: #1d2b2a;
  --muted: #59615e;
  --ink-soft: var(--muted);
  --accent: #a63d12;
  --accent-soft: #f4bc7f;
  --primary-bg: #fff2df;
  --secondary-bg: #fff9f0;
  --tertiary-bg: #f6f0e5;
  --line: #ddc7a8;
  --line-strong: #c9a06d;
  --ok: #1f6f4a;
  --warn: #9c5f00;
  --hover: #f5e9d9;
  --shadow: 0 8px 30px #64381408;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 10%, #fbdcb8 0, transparent 35%), var(--bg);
  min-height: 100vh;
}
.shell {
  width: min(1280px, calc(100% - 40px));
  margin: 2rem auto 3rem;
  display: grid;
  gap: 1.2rem;
}
.shell > * { min-width: 0; }
h1, h2 { font-family: "Fraunces", Georgia, serif; margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: -.04em; }
h2 { font-size: 1.5rem; }
p { line-height: 1.6; }
.hero { padding: .5rem 0; }
.hero nav { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: .9rem; }
.eyebrow { letter-spacing: .16em; font-size: .75rem; font-weight: 600; margin: 2rem 0 .5rem; }
.intro { max-width: 70ch; font-size: 1.05rem; color: var(--muted); }
.muted { color: var(--muted); }
a { color: var(--accent); text-underline-offset: 3px; }
button, input, select {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .7rem;
  background: #fff;
  color: var(--ink);
  min-height: 44px;
}
button { cursor: pointer; }
button:hover { background: var(--hover); }
button:disabled { cursor: default; opacity: .6; }
input[type="checkbox"], input[type="radio"] { min-height: auto; accent-color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
}
table { width: 100%; border-collapse: collapse; }
th, td {
  text-align: left;
  padding: .9rem .65rem;
  border-bottom: 1px solid var(--line);
  font-size: .85rem;
  vertical-align: top;
}
th { font-size: .75rem; color: var(--muted); }
tbody tr:hover { background: #f6eddc; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 480px) {
  .shell { width: calc(100% - 24px); margin-top: 1rem; }
  .panel { padding: 1rem; }
}
