/* Shared styles for lilacbread.app. System fonts only, so the site loads nothing from third parties. */
:root {
  --bg: #E6E1E8;
  --surface: #F7F5F8;
  --text: #2A2430;
  --muted: #5E5566;
  --accent: #6B4E7D;
  --border: #D4CCD9;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1820;
    --surface: #26212B;
    --text: #ECE7EF;
    --muted: #B3A9BA;
    --accent: #C9B2D8;
    --border: #3A3340;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

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

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}

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

.brand {
  display: inline-block;
  margin-bottom: 32px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 1.25rem; margin: 40px 0 8px; }
p, ul { margin: 0 0 16px; }
li { margin-bottom: 6px; }

.meta { color: var(--muted); margin-bottom: 24px; }

.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
th { color: var(--muted); font-weight: 600; }

.app {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  margin: 24px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.app img { width: 72px; height: 72px; border-radius: 16px; flex: none; }
.app h2 { margin: 0 0 4px; }
.app p { margin: 0; color: var(--muted); }

footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
