:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --surface-muted: #f3ede4;
  /* background of the tab panel and of its selected tab */
  --panel: var(--surface-muted);
  --ink: #2a2420;
  --ink-muted: #6b625a;
  --border: #e4dbcf;
  --accent: #b4233c;
  --accent-ink: #ffffff;
  --accent-soft: #fbe9ec;
  --success: #2f7a4f;
  --success-soft: #e5f3ea;
  --danger: #b42318;
  --radius: 12px;
  --shadow: 0 1px 2px rgb(42 36 32 / 6%), 0 4px 16px rgb(42 36 32 / 6%);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1816;
    --surface: #25211e;
    --surface-muted: #2f2a26;
    --ink: #f1ebe4;
    --ink-muted: #b3a99f;
    --border: #3d3631;
    --accent: #f06b80;
    --accent-ink: #1b1816;
    --accent-soft: #3a2328;
    --success: #6fcf97;
    --success-soft: #1f3328;
    --danger: #ff8a80;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 4px 16px rgb(0 0 0 / 25%);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0;
}

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

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  padding: 32px 0 24px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.muted {
  color: var(--ink-muted);
}

main {
  padding-bottom: 64px;
}
