:root {
  --ink: #354842;
  --muted: #62716c;
  --brand: #55756c;
  --brand-2: #5a7169;
  --cream: #fffdf9;
  --soft: #f3f7f5;
  --line: #dde6e2;
  --white: #fffefa;
  --rose: #f7ece9;
  --sand: #f8f1e8;
  --blue: #edf3f6;
  --focus: #976a40;
  --shadow: 0 18px 50px rgba(53, 72, 66, .075);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
:where(a,button,input,textarea,summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 7px; }
img { max-width: 100%; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.narrow-shell { max-width: 820px; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 20; background: var(--white); padding: 10px 14px; border: 1px solid var(--line); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(221,230,226,.9); background: rgba(255,253,249,.94); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-logo { width: 38px; height: 38px; display: block; flex: 0 0 auto; border-radius: 12px; box-shadow: 0 6px 18px rgba(85,117,108,.12); }
nav { display: flex; gap: 24px; margin-left: auto; }
nav a, .site-footer a { text-decoration: none; font-weight: 650; }
nav a:hover, .site-footer a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 22px; font-size: clamp(2.65rem, 6vw, 5.8rem); line-height: .98; letter-spacing: -.055em; }
h2 { margin-bottom: 28px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.04em; }
h3 { margin-bottom: 10px; font-size: 1.25rem; line-height: 1.2; }
.lede { max-width: 720px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.32rem); }
.lede.compact { max-width: 650px; }
.eyebrow, .card-kicker { margin-bottom: 12px; color: var(--brand-2); font-size: .78rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.section { padding: 92px 0; }
.section-soft { background: var(--soft); }
section[id] { scroll-margin-top: 92px; }
.site-footer { padding: 38px 0; border-top: 1px solid #cfdcd7; background: #49645d; color: #fffdf9; }
.footer-wrap { display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.footer-wrap p { margin: 6px 0 0; color: #deebe6; }
.footer-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.footer-brand { display: flex; align-items: center; gap: 12px; max-width: 520px; }
.footer-logo { width: 34px; height: 34px; display: block; flex: 0 0 auto; border-radius: 11px; }
@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1120px); }
  .site-header { position: static; }
  .nav-wrap { min-height: 66px; }
  nav { display: none; }
  .nav-wrap .button-small { margin-left: auto; }
  .section { padding: 68px 0; }
  .footer-wrap { flex-direction: column; }
  .footer-links { align-items: flex-start; justify-content: flex-start; gap: 10px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Keep the brand and the support button on one line once the nav collapses. */
@media (max-width: 760px) {
  .nav-wrap { gap: 12px; }
  .brand { min-width: 0; font-size: .95rem; line-height: 1.2; }
  .brand-logo { width: 34px; height: 34px; }
  .nav-wrap .button-small { flex: 0 0 auto; white-space: nowrap; }
}
@media (max-width: 400px) {
  .brand span { max-width: 128px; }
}
