/* www marketing site — shared stylesheet (SEO.1 structure).
   Palette values are copied (not imported) from packages/hearth-ui/src/tokens.css
   ("the hearth, not the feed") — www is a standalone static bundle with no
   build step that could import another package's CSS, so the values are
   pinned here as a snapshot. Keep in sync by eye if the Hearth palette moves;
   this is a small, deliberate exception to reuse-via-import for a bundle that
   ships with zero JS/CSS tooling. */

:root {
  --bg: #f8f4ec;
  --paper: #ffffff;
  --paper-warm: #f5e9d3;
  --ink: #2a1f17;
  --ink-soft: #5a4d40;
  --terra: #c2542d;
  --terra-d: #9a4220;
  --teal: #4a8b8e;
  --border: #e4d9c4;
  --max-w: 46rem;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--terra-d);
}

a:hover,
a:focus-visible {
  color: var(--terra);
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}

.site-header__inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--terra-d);
}

main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: '\203A';
  margin-left: 0.35rem;
  color: var(--border);
}

.breadcrumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--terra-d);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  margin: 1.5rem 0;
}

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.card h3 {
  margin-bottom: 0.35rem;
}

.card a {
  text-decoration: none;
}

.card a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.card {
  position: relative;
}

.byline {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem 1.5rem;
}

.staging-flag {
  background: var(--paper-warm);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}
