/* Shared by every page of the holding site. No external requests: the font is served from
   /fonts (Lexend, the children's-letter font, OFL - see fonts/Lexend-OFL.txt). */

@font-face {
  font-family: "Lexend";
  src: url("/fonts/Lexend-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Lexend";
  src: url("/fonts/Lexend-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* Colours from the Mampfi theme (bundles/mampfi/theme.yaml). */
:root {
  --bg: #fdf6ec;
  --card: #fffdf9;
  --text: #1a1a1a;
  --muted: #5c5148;
  --heading: #7a4b2a;
  --accent: #e4572e;
  --accent-text: #ffffff;
  --border: #ecdcc7;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1814;
    --card: #26201b;
    --text: #f3ece4;
    --muted: #bfb1a3;
    --heading: #e8b58c;
    --accent: #f07a55;
    --accent-text: #1d1814;
    --border: #3a3029;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

main {
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

a { color: var(--accent); text-underline-offset: 0.15em; }

h1, h2, h3 { color: var(--heading); line-height: 1.25; }
h1 { font-size: 2rem; margin: 0 0 1rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.25rem; }

.home main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.wordmark {
  font-size: clamp(3rem, 14vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--heading);
  margin: 0;
}

.tagline {
  font-size: 1.25rem;
  color: var(--accent);
  margin: 0.25rem 0 2rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: left;
}
.card p { margin: 0 0 1rem; }
.card p:last-child { margin-bottom: 0; }

.badge {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.contact { margin-top: 2rem; color: var(--muted); }

.back { display: inline-block; margin-bottom: 1.5rem; }

footer {
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}
footer a { color: var(--muted); margin: 0 0.5rem; }
footer .copyright { margin: 0.75rem 0 0; }

/* Placeholders that must be filled in before fabumi.de points here. */
.todo {
  background: #ffe9a8;
  color: #4a3b00;
  padding: 0 0.25rem;
  border-radius: 0.25rem;
}
