/* The Test Loaf: a demonstration site. Code Apache-2.0. */
:root {
  --bg: #fbf5ea;
  --card: #fffaf2;
  --ink: #2b2118;
  --muted: #6b5a49;
  --crust: #b5652a;
  --crumb: #f1dfc0;
  --line: #e6d3b3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1610;
    --card: #241d15;
    --ink: #f2e9dc;
    --muted: #c2b29e;
    --crust: #e09a5f;
    --crumb: #3a2e21;
    --line: #3d3125;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 18px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}
a { color: var(--crust); }
.wrap { max-width: 42rem; margin: 0 auto; padding: 0 1rem; }
header { border-bottom: 1px solid var(--line); }
header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .5rem; padding-top: 1rem; padding-bottom: 1rem;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none;
}
.brand svg { width: 2.2rem; height: 2.2rem; flex: none; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; }
nav a { text-decoration: none; font-weight: 600; }
nav a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--crust); }
main { padding: 2rem 0 3rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 1rem; }
h2 { font-size: 1.3rem; margin: 2rem 0 .75rem; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 1rem 1.25rem; margin: 1rem 0;
}
.placeholder {
  background: var(--crumb); border: 1px dashed var(--crust);
  border-radius: 8px; padding: .75rem 1rem;
}
.placeholder strong { color: var(--crust); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: .35rem .5rem; border-bottom: 1px solid var(--line); }
.menu { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.menu li { display: flex; gap: 1rem; align-items: flex-start; }
.menu .dot {
  flex: none; width: 2.5rem; height: 2.5rem; margin-top: .2rem;
  border-radius: 50% 50% 40% 40%; background: var(--crust);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .15);
}
.menu h3 { margin: 0; font-size: 1.1rem; }
.menu p { margin: .1rem 0 0; color: var(--muted); }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer .wrap { padding-top: 1rem; padding-bottom: 2rem; }
footer p { margin: .4rem 0; }
