/* Life & Provide — shared site styles (header / footer / typography overrides) */

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: #FAFAF7;
  color: var(--lp-fg-on-light);
  font-family: var(--lp-font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--lp-sky-500); text-decoration: none; }
a:hover { color: rgb(110, 175, 230); }

/* Stipple pattern — the brand's faint dotted background. */
.stipple {
  background-image: radial-gradient(rgba(52, 73, 94, 0.18) 1px, transparent 1.2px);
  background-size: 22px 22px;
  background-position: 0 0;
}

/* ─── Layout shell ────────────────────────────────────────── */
.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 960px) {
  .page { padding: 0 32px; }
}
@media (max-width: 640px) {
  .page { padding: 0 28px; }
}
@media (max-width: 380px) {
  .page { padding: 0 22px; }
}

/* ─── Nav ─────────────────────────────────────────────────── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 8px;
  gap: 12px;
}
.site-nav .logo {
  height: 28px;
  width: auto;
  display: block;
  max-width: 60vw;
}
@media (max-width: 480px) {
  .site-nav { padding: 20px 0 4px; }
  .site-nav .logo { height: 24px; }
}
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lp-sky-500);
  color: white;
  border: none;
  border-radius: var(--lp-radius-pill);
  padding: 12px 18px;
  font-family: var(--lp-font-ui);
  font-weight: var(--lp-fw-medium);
  font-size: var(--lp-fs-base);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(137, 198, 248, 0.35);
  transition: background 160ms ease, transform 160ms ease;
}
.btn-pill:hover { background: rgb(118, 184, 240); color: white; }
.btn-pill:active { transform: translateY(1px); }
.btn-pill svg { width: 14px; height: 14px; }

.btn-pill.lg {
  padding: 16px 28px;
  font-size: 17px;
  box-shadow: 0 6px 20px rgba(137, 198, 248, 0.45);
}
.btn-pill.lg svg { width: 16px; height: 16px; }

@media (max-width: 480px) {
  .btn-pill { padding: 10px 14px; font-size: 14px; gap: 6px; }
  .btn-pill.lg { padding: 14px 22px; font-size: 16px; }
}

/* ─── Page header (for sub-pages) ─────────────────────────── */
.page-header {
  padding: 64px 0 24px;
  text-align: left;
}
@media (max-width: 640px) {
  .page-header { padding: 40px 0 16px; }
}
.page-header .eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-sky-500);
  font-weight: var(--lp-fw-semibold);
  margin-bottom: 16px;
}
.page-header h1 {
  font-family: var(--lp-font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--lp-navy-900);
  margin: 0 0 20px;
}
.page-header .updated {
  font-size: 14px;
  color: var(--lp-slate-500);
  margin: 0;
}
.page-header .updated strong {
  color: var(--lp-navy-800);
  font-weight: var(--lp-fw-semibold);
}

/* ─── Long-form prose ─────────────────────────────────────── */
.prose {
  max-width: 760px;
  margin: 24px 0 96px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--lp-ink-700);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.prose p { margin: 0 0 18px; }
.prose h2 {
  font-family: var(--lp-font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--lp-navy-900);
  margin: 48px 0 16px;
}
.prose h3 {
  font-family: var(--lp-font-ui);
  font-weight: var(--lp-fw-semibold);
  font-size: 18px;
  line-height: 1.3;
  color: var(--lp-navy-800);
  margin: 28px 0 8px;
}
@media (max-width: 640px) {
  .prose { margin: 16px 0 64px; font-size: 15px; }
  .prose h2 { font-size: 24px; margin: 36px 0 12px; }
  .prose h3 { font-size: 17px; margin: 24px 0 6px; }
  .prose .lead { font-size: 17px; margin-bottom: 24px; }
}
.prose ul {
  padding-left: 22px;
  margin: 8px 0 20px;
}
.prose ul li { margin-bottom: 8px; }
.prose strong { color: var(--lp-navy-800); font-weight: var(--lp-fw-semibold); }
.prose a { color: var(--lp-sky-500); }
.prose a:hover { text-decoration: underline; }
.prose .lead {
  font-size: 18px;
  color: var(--lp-navy-800);
  margin-bottom: 32px;
}

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(52, 73, 94, 0.08);
  background: white;
  padding: 56px 0 40px;
  margin-top: 24px;
}
.site-footer .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.site-footer .links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .site-footer { padding: 40px 0 32px; }
  .site-footer .row { gap: 24px; }
  .site-footer .links { gap: 18px; font-size: 13px; }
  .site-footer .legal { margin-top: 24px; font-size: 12px; }
}
.site-footer .links a {
  color: var(--lp-navy-800);
  font-weight: var(--lp-fw-medium);
}
.site-footer .links a:hover { color: var(--lp-sky-500); }
.site-footer .legal {
  margin-top: 32px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--lp-slate-500);
  max-width: 70ch;
}
.site-footer .legal p { margin: 0 0 4px; }
.site-footer .logo { height: 24px; width: auto; display: block; }
