:root {
  color-scheme: light;
  --paper: #f6ecd8;
  --paper-soft: #fbf5ea;
  --ink: #36261c;
  --muted: #735f4f;
  --accent: #c2563d;
  --line: rgba(54, 38, 28, 0.16);
  --max-width: 760px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 24% 8%, rgba(194, 86, 61, 0.12), transparent 30rem),
    linear-gradient(180deg, var(--paper-soft), var(--paper));
}

body {
  min-height: 100vh;
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--ink);
  text-decoration-color: rgba(194, 86, 61, 0.65);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.page {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 48px 0 56px;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.mark {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(194, 86, 61, 0.16), transparent 46%),
    var(--paper-soft);
  box-shadow: inset 0 0 0 8px rgba(54, 38, 28, 0.03);
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-style: italic;
  letter-spacing: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(48px, 9vw, 84px);
  font-style: italic;
  line-height: 0.94;
}

h2 {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 26px;
  line-height: 1.2;
}

p {
  margin: 18px 0 0;
}

.lede {
  max-width: 56ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.panel {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.52);
}

.panel > *:first-child {
  margin-top: 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(54, 38, 28, 0.2);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper-soft);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--accent);
  color: #fffaf1;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 24px, var(--max-width));
    padding-top: 28px;
  }

  .masthead {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 36px;
  }

  .nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(44px, 16vw, 64px);
  }

  .panel {
    padding: 18px;
  }
}
