/* styles.css — thebloomguide.app
   Brand colors: Bean Charcoal #1F1B17, Crema Gold #C8A35B, off-white #FAF7F2
   System fonts only. No JavaScript. No external resources. */

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

html {
  font-size: 18px;
}

body {
  margin: 0;
  padding: 0;
  background-color: #FAF7F2;
  color: #1F1B17;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

/* Layout */

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

header {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e8e2d8;
  margin-bottom: 2.5rem;
}

main {
  min-height: 60vh;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid #e8e2d8;
  font-size: 0.85rem;
  color: #6b6460;
}

/* Header / site name */

.site-name {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1F1B17;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.site-name:hover {
  color: #C8A35B;
}

/* Headings */

h1, h2, h3, h4, h5, h6 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 2rem;
  margin-top: 0;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #C8A35B;
  display: inline-block;
}

h2 { font-size: 1.4rem; }
h3 { font-size: 1.15rem; }

/* Body text */

p {
  margin: 0 0 1.25rem;
}

/* Links */

a {
  color: #C8A35B;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: #a07d3a;
}

/* Lists */

ul, ol {
  padding-left: 1.5rem;
  margin: 0 0 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

/* Last updated line */

.updated {
  font-size: 0.85rem;
  color: #6b6460;
  margin-top: 2.5rem;
}

/* Footer nav */

footer nav {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

footer nav a {
  color: #6b6460;
  text-decoration: none;
}

footer nav a:hover {
  color: #C8A35B;
  text-decoration: underline;
}

/* Home page nav links (the four page links on index) */

.page-links {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-links li a {
  font-size: 1.05rem;
}

/* Responsive */

@media (max-width: 480px) {
  html {
    font-size: 16px;
  }

  h1 {
    font-size: 1.6rem;
  }
}
