:root {
  --bg: #f3efe5;
  --ink: #122117;
  --muted: #5a6b58;
  --panel: rgba(255, 251, 240, 0.78);
  --line: rgba(18, 33, 23, 0.12);
  --accent: #c94f2d;
  --accent-2: #1f6b52;
  --shadow: 0 24px 70px rgba(43, 34, 21, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201, 79, 45, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(31, 107, 82, 0.2), transparent 24%),
    linear-gradient(135deg, #efe7d2, #f7f3ea 46%, #e7efe7);
  min-height: 100vh;
}

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

.hero,
.panel,
.card {
  backdrop-filter: blur(10px);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  padding: 44px;
  border-radius: 28px;
}

.eyebrow {
  margin: 0 0 16px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-size: 0.82rem;
}

h1,
h2 {
  margin: 0 0 12px;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  max-width: 10ch;
}

.lede {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.button.primary {
  background: var(--accent);
  color: white;
  border-color: transparent;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.card,
.panel {
  border-radius: 24px;
  padding: 26px;
}

.panel {
  margin-top: 22px;
}

ul,
ol {
  margin: 12px 0 0;
  padding-left: 18px;
}

li + li {
  margin-top: 8px;
}

code,
pre {
  font-family: "SFMono-Regular", "Menlo", monospace;
}

pre {
  white-space: pre-wrap;
  line-height: 1.5;
  margin: 0;
  padding: 18px;
  background: rgba(18, 33, 23, 0.06);
  border-radius: 18px;
  overflow-x: auto;
}

@media (max-width: 800px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 28px;
  }
}
