/* candleapp.net — colours from lib/core/theme/candle_colors.dart (light theme). */
:root {
  --page-bg: #f5efe6;
  --card-bg: #faf6f1;
  --warm-white: #fdfaf7;
  --cream: #f2eae0;
  --text-heading: #1c110a;
  --text-body: #5a4535;
  --text-muted: #7a6a5c;
  --accent: #b8682e;
  --accent-text: #945220;
  --sage: #4d7566;
  --sage-soft: #d6e6df;
  --border-rule: #e8ddd3;
}

/* Self-hosted (SIL OFL, see assets/fonts/OFL.txt): no third-party requests. */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jost-400.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/jost-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-500-italic.woff2") format("woff2");
}

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

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

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text-body);
  font-family: "Jost", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

header, main, footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
}

header { padding-top: 20px; padding-bottom: 8px; }

.wordmark {
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.wordmark .dot { color: var(--accent); }

main { padding-top: 32px; padding-bottom: 48px; }

h1, h2, h3 {
  color: var(--text-heading);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
}
h1 { font-size: 40px; margin: 0 0 16px; }
h2 { font-size: 28px; margin: 32px 0 8px; }
h3 { font-size: 22px; margin: 24px 0 8px; }

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

.lead { font-size: 20px; }
.muted { color: var(--text-muted); }

footer {
  border-top: 1px solid var(--border-rule);
  padding-top: 16px;
  padding-bottom: 32px;
  color: var(--text-muted);
  font-size: 14px;
}
footer a { color: var(--text-muted); margin-right: 16px; }
