:root {
  --bg: #f3efe5;
  --panel: rgba(255, 255, 255, 0.9);
  --text: #162126;
  --muted: #5e6c72;
  --line: rgba(22, 33, 38, 0.12);
  --accent: #0d6b5f;
  --accent-strong: #084b43;
  --shadow: 0 18px 40px rgba(15, 40, 45, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(13, 107, 95, 0.14), transparent 30%),
    linear-gradient(180deg, #f7f3ea 0%, var(--bg) 100%);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

.hero,
.page {
  padding: 28px 0 72px;
}

.topbar,
.grid,
.split,
.card,
.actions {
  display: flex;
}

.topbar,
.split {
  justify-content: space-between;
  align-items: center;
}

.topbar {
  padding: 10px 0 48px;
}

.topbar nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0 0 16px;
  line-height: 1.08;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 5vw, 4.9rem);
}

h2 {
  font-size: 1.5rem;
}

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

.actions {
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

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

.grid {
  flex-wrap: wrap;
  gap: 18px;
}

.grid.three > *,
.grid.two > * {
  min-width: 240px;
  flex: 1 1 0;
}

.card {
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.split {
  gap: 24px;
  margin: 36px 0 0;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
}

.list {
  margin: 0;
  padding-left: 20px;
}

.page .brand {
  display: inline-block;
  margin-bottom: 28px;
}

.prose p {
  margin: 0 0 14px;
}

@media (max-width: 720px) {
  .topbar,
  .split {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar nav,
  .actions {
    flex-wrap: wrap;
  }
}
