﻿:root {
  --bg: #f5f2ea;
  --card: #fffdf8;
  --ink: #1e1f1c;
  --muted: #5f6257;
  --accent: #0d5c63;
  --border: #ddd5c9;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, rgba(208, 140, 96, 0.22), transparent 35%), linear-gradient(180deg, #f7f3eb 0%, #f1ece2 100%);
}
.shell { max-width: 1240px; margin: 0 auto; padding: 32px 20px 48px; }
.hero { margin-bottom: 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; color: var(--accent); margin: 0 0 8px; }
h1, h2, h3 { margin-top: 0; }
.lede, .muted { color: var(--muted); }
.grid, .stack, .list { display: grid; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); }
.nested { background: #fffaf1; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.toolbar, .button-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
label { display: grid; gap: 8px; margin-bottom: 12px; font-size: 14px; }
input, select, textarea, button { font: inherit; }
input, select, textarea { width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 12px; background: white; }
textarea { resize: vertical; }
button { border: none; border-radius: 999px; background: var(--accent); color: white; padding: 11px 16px; cursor: pointer; }
button.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
pre { white-space: pre-wrap; line-height: 1.55; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--border); min-height: 280px; }
.hidden { display: none; }
.list-item { padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: white; }
@media (max-width: 720px) {
  .shell { padding: 20px 14px 36px; }
  .toolbar, .button-row { flex-direction: column; align-items: stretch; }
}
