:root {
  color-scheme: light;
  --accent: #8f4e2e;
  --accent-dark: #6e3a22;
  --background: #f5eee4;
  --border: rgba(72, 47, 29, 0.18);
  --card: rgba(255, 253, 248, 0.92);
  --muted: #6f6257;
  --text: #2b2118;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background:
    radial-gradient(circle at top left, rgba(143, 78, 46, 0.2), transparent 34rem),
    linear-gradient(160deg, #fbf7ef 0%, var(--background) 100%);
  color: var(--text);
  margin: 0;
  min-height: 100vh;
}

a {
  color: var(--accent-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(143, 78, 46, 0.45);
  outline-offset: 3px;
}

.site-header,
.site-footer,
main {
  margin: 0 auto;
  max-width: 920px;
  padding-left: 24px;
  padding-right: 24px;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-bottom: 24px;
  padding-top: 24px;
}

.brand {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--accent);
  border-radius: 12px;
  color: #fff8ed;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

nav a {
  font-size: 0.92rem;
  font-weight: 700;
}

main {
  padding-bottom: 64px;
}

.hero,
.paper {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(65, 41, 24, 0.14);
}

.hero {
  padding: clamp(28px, 7vw, 64px);
}

.paper {
  padding: clamp(24px, 5vw, 48px);
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.3rem, 8vw, 4.75rem);
  letter-spacing: -0.045em;
  margin: 0 0 18px;
}

h2 {
  font-size: 1.65rem;
  margin-top: 36px;
}

h3 {
  font-size: 1.2rem;
  margin-top: 28px;
}

p,
li {
  line-height: 1.7;
}

.lede {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 670px;
}

.meta,
.note {
  color: var(--muted);
  font-size: 0.92rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  align-items: center;
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  color: #fff8ed;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent-dark);
}

.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-top: 28px;
}

.card {
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--text);
  padding: 22px;
  text-decoration: none;
}

.card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  margin-bottom: 7px;
}

.card span {
  color: var(--muted);
  line-height: 1.5;
}

.callout {
  background: #f3e2d3;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  margin: 26px 0;
  padding: 16px 18px;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.88rem;
  gap: 12px 24px;
  justify-content: space-between;
  padding-bottom: 34px;
  padding-top: 24px;
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}
