/* A small, hand-written stylesheet — no framework, nothing to download.
   Change the colours and spacing to make it your own. */

:root {
  --accent: #c0562b;
  --bg: #fbf7f2;
  --text: #2b2622;
  --muted: #8a7f75;
  --border: #e6ddd2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Header + navigation */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.site-title {
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent);
}
.nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--text);
}
.nav a:hover { color: var(--accent); }

/* Page body */
.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem;
}
h1 { margin-top: 0; }
h2 { margin-top: 2rem; }
code {
  background: #f2ece4;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.9em;
}

/* Simple table for the database example */
.recipes-table {
  border-collapse: collapse;
  margin-top: 1rem;
}
.recipes-table th,
.recipes-table td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.9rem;
  text-align: left;
}
.recipes-table th { background: #fff; }
