:root {
  color-scheme: light;
  --bg: #fffdf5;
  --surface: #ffffff;
  --ink: #14110d;
  --muted: #5c574f;
  --accent: #b8860c;
  --accent-dark: #8a6610;
  --border: rgba(20, 17, 13, 0.12);
  --radius: 14px;
  --shadow: 0 14px 40px rgba(20, 17, 13, 0.08);
  --max: 48rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: var(--accent-dark);
  font-weight: 600;
}

a:hover {
  text-decoration-thickness: 2px;
}

.hero {
  max-width: 40rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 2.5rem;
  text-align: center;
}

.eyebrow {
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(1.875rem, 5vw, 2.375rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 700;
}

.lede {
  margin: 0 0 2rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent-dark);
  color: var(--ink);
}

.btn.primary:hover {
  filter: brightness(1.06);
}

.btn.ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.tiles {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.card {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.965rem;
}

.foot {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
}

.foot p {
  margin: 0;
}

.document {
  display: flex;
  flex-direction: column;
}

.back {
  display: inline-block;
  margin: 1.5rem auto 0;
  align-self: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.prose {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
}

.prose h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.prose h2 {
  font-size: 1.28rem;
  margin: 2.25rem 0 0.75rem;
}

.prose h3 {
  font-size: 1.06rem;
  margin: 1.35rem 0 0.5rem;
}

.prose p,
.prose li {
  margin: 0.6rem 0;
}

.prose ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.35rem;
}

.muted {
  color: var(--muted);
  font-size: 0.955rem;
}
