/* Roots Daily — base.css
 * Variables, reset, typography, layout utilities.
 * Loaded on every page.
 */

:root {
  --ivory: #fff9ef;
  --paper: #fff8e8;
  --white: #fff;
  --ink: #151a2f;
  --navy: #101936;
  --muted: #667085;
  --teal: #c46d7d;
  --teal-soft: #f7e6ea;
  --pink: #d9468a;
  --saffron: #f6b83f;
  --coral: #ff6b4a;
  --sage: #6f8d73;
  --line: rgba(16, 25, 54, 0.12);
  --shadow: 0 24px 60px rgba(16, 25, 54, 0.14);
  --softshadow: 0 14px 42px rgba(16, 25, 54, 0.085);
  --serif: "Poppins", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  /* padding-bottom: 96px; */
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, p {
  margin-top: 0;
}

.page {
  position: relative;
  z-index: 2;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 24px;
}

.center {
  max-width: 860px;
  margin: auto;
  text-align: center;
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }
}

/* Reveal animation — used by home.js IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Visually hidden but accessible to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
