:root {
  --bg: #f3efe4;
  --panel: rgba(255, 252, 245, 0.88);
  --ink: #1d2b2a;
  --muted: #596564;
  --accent: #146356;
  --accent-2: #d66853;
  --line: rgba(29, 43, 42, 0.12);
  --shadow: 0 20px 60px rgba(17, 24, 24, 0.12);
}

* {
  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(214, 104, 83, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(20, 99, 86, 0.2), transparent 24%),
    linear-gradient(180deg, #f7f3ea 0%, #ece4d6 100%);
  min-height: 100vh;
}

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

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

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-panel h1,
.hero h1 {
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.95;
  margin: 10px 0 14px;
}

.hero {
  padding: 56px 24px;
}

.hero.alt {
  background: linear-gradient(135deg, rgba(20, 99, 86, 0.12), rgba(53, 109, 204, 0.18));
  border-radius: 28px;
}

.lede,
.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 65ch;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
}

.hero-actions,
.inline-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stack {
  display: grid;
  gap: 12px;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.7);
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  background: var(--accent-2);
}

.list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
}

.code {
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 220px;
  margin: 0;
  border-radius: 18px;
  padding: 16px;
  background: #17201f;
  color: #effaf8;
  overflow: auto;
}

.render-body {
  padding: 32px;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 20px, 1200px);
    padding-top: 20px;
  }

  .panel {
    padding: 18px;
    border-radius: 20px;
  }
}
