/* Toothsome site shell — shared nav / footer / buttons / type for subpages.
   Mirrors the homepage (index.html) design system. Keep in sync when the homepage palette changes. */
:root {
  --ink: #0d241c;
  --ink2: #143128;
  --green: #68e09b;
  --green2: #32b974;
  --green3: #177a49;
  --cream: #f7f3e9;
  --sand: #e9e1d1;
  --paper: #fffdf8;
  --muted: #66736d;
  --line: rgba(13, 36, 28, 0.13);
  --shadow: 0 24px 80px rgba(13, 36, 28, 0.14);
  --r: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, h4 { font-family: "Manrope", sans-serif; margin-top: 0; letter-spacing: -0.04em; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: auto; }
.narrow { width: min(760px, calc(100% - 48px)); margin: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 800; color: var(--green2); margin: 0 0 18px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(247, 243, 233, 0.88); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(13, 36, 28, 0.08); }
.navin { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.logo img { width: 150px; display: block; }
.links { display: flex; gap: 24px; align-items: center; }
.links a { text-decoration: none; font-size: 14px; font-weight: 600; color: #3e5149; }
.links a.active { color: var(--ink); }
.pill, .button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 999px; font-weight: 700; transition: 0.2s; }
.pill { padding: 11px 19px; background: var(--ink); color: white !important; }
.button { padding: 15px 24px; background: var(--green); color: var(--ink); box-shadow: 0 12px 30px rgba(70, 204, 130, 0.2); border: 0; cursor: pointer; font-family: inherit; font-size: 15px; }
.button:hover, .pill:hover { transform: translateY(-2px); }
.button.ghost { background: transparent; border: 1px solid rgba(255, 255, 255, 0.28); color: white; box-shadow: none; }
.button.ghost-dark { background: transparent; border: 1px solid rgba(13, 36, 28, 0.28); color: var(--ink); box-shadow: none; }

/* generic page header band for subpages */
.pagehead { background: var(--cream); border-bottom: 1px solid var(--line); padding: 72px 0 56px; }
.pagehead h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.0; margin: 0 0 18px; max-width: 820px; }
.pagehead p.lede { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0; }

/* closing CTA band used on subpages */
.ctaband { padding: 64px 0 96px; }
.ctabox { background: var(--ink); color: white; border-radius: 32px; padding: 48px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; box-shadow: 0 30px 80px rgba(13,36,28,.16); }
.ctabox h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.02; margin: 0; }
.ctabox p { margin: 8px 0 0; color: #b8c6c0; }

/* footer */
.footer { background: var(--ink); color: white; padding: 56px 0 30px; }
.footin { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.footin img { width: 130px; filter: brightness(0) invert(1); }
.footbrand p { max-width: 360px; margin: 16px 0 0; color: #93a59d; font-size: 13px; }
.footlinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; align-items: start; }
.footlinks a { text-decoration: none; color: #b8c6c0; font-size: 13px; }
.footgroup { display: grid; gap: 9px; align-self: start; align-content: start; grid-auto-rows: max-content; }
.footgroup strong { margin-bottom: 4px; font-family: "Manrope"; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.footlinks a:hover { color: var(--green); }
.footbottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09); color: #768a81; font-size: 12px; }

@media (max-width: 900px) {
  .links a:not(.pill) { display: none; }
  .footin { grid-template-columns: 1fr; }
  .ctabox { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .narrow { width: min(100% - 28px, 760px); }
  .navin { height: 67px; }
  .logo img { width: 128px; }
  .pill { padding: 9px 14px; font-size: 12px; }
  .pagehead { padding: 48px 0 40px; }
  .ctabox { padding: 32px 24px; }
  .footin { align-items: flex-start; gap: 26px; }
  .footlinks { grid-template-columns: 1fr 1fr; }
}
