/* ──────────────────────────────────────────────────────────
   BASE — reset, nav, footer. Light version of the LP chrome.
   ────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.lede {
  color: var(--ink-soft);
  font-size: 1.125rem;
  max-width: 42rem;
}

/* ── NAV ── */
#nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 68px;
  background: color-mix(in srgb, var(--paper) 86%, white);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
}
#nav.scrolled {
  border-bottom-color: var(--rule);
  background: color-mix(in srgb, var(--paper) 92%, white);
}
#nav .logo { display: flex; align-items: center; gap: 10px; }
#nav .logo img { height: 28px; width: auto; }
#nav .brand-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
}
#nav .nav-links {
  display: flex; align-items: center; gap: 22px;
  list-style: none;
}
#nav .nav-links a {
  font-size: 14px;
  color: var(--ink-soft);
}
#nav .nav-links a:hover { color: var(--ink); }
#nav .nav-cta {
  padding: 8px 14px;
  border: 1px solid var(--rose);
  border-radius: 999px;
  color: var(--rose) !important;
  font-weight: 600;
}
#nav .nav-cta:hover { background: var(--rose); color: white !important; }

@media (max-width: 720px) {
  #nav .brand-name { display: none; }
  #nav .nav-links li:not(.cta) { display: none; }
}

/* ── FOOTER ── */
footer {
  margin-top: 72px;
  background: var(--surface);
  border-top: 1px solid var(--rule);
}
.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}
.footer-tagline {
  margin-top: 12px;
  max-width: 280px;
  color: var(--muted);
  font-size: 14px;
}
.footer-nav-title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.footer-nav ul { list-style: none; display: grid; gap: 8px; }
.footer-nav a { font-size: 14px; color: var(--ink-soft); }
.footer-nav a:hover { color: var(--rose); }
.footer-bottom {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ── BREADCRUMBS ── */
.crumbs {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: var(--muted);
  margin-bottom: 24px;
}
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--rose); }
.crumbs span[aria-hidden] { color: var(--rule-strong); }

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}
a.card:hover {
  border-color: color-mix(in srgb, var(--rose) 45%, var(--rule));
  transform: translateY(-2px);
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  width: max-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--peach);
  color: var(--rose-deep);
}
.badge.ok {
  background: var(--sage-soft);
  color: var(--sage);
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--surface);
  font-size: 14px;
  line-height: 1;
  color: var(--ink-soft);
}
.chip.is-on, .chip:hover {
  border-color: var(--rose);
  color: var(--rose-deep);
  background: var(--rose-soft);
}
