:root {
  color-scheme: light;
  --bg: #f5f1e8;
  --ink: #171412;
  --muted: #6a625b;
  --line: rgba(23, 20, 18, 0.14);
  --panel: rgba(255, 252, 246, 0.82);
  --accent: #171412;
  --shadow: 0 24px 80px rgba(23, 20, 18, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(180deg, #f8f5ee 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

code {
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 0.92em;
}

.shell {
  width: min(980px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 96px 0 72px;
}

.shell-narrow {
  width: min(840px, calc(100vw - 48px));
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(3rem, 8vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.lede {
  max-width: 56rem;
  margin: 28px 0 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 14px;
  margin: 34px 0 42px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(10px);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 20, 18, 0.28);
  background: rgba(255, 255, 255, 0.9);
}

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

.button-primary:hover {
  background: #000;
  border-color: #000;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid.single {
  grid-template-columns: 1fr;
}

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

.label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 760px) {
  .shell,
  .shell-narrow {
    width: min(100vw - 28px, 100%);
    padding: 72px 0 48px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
