/* Liam's Call — shared fonts, tokens, and page shell
   Canonical typeface: Inter (self-hosted). Do not load Google Fonts. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green-dark: #0f4a3a;
  --green-send: #1f6b52;
  --green-mid: #145743;
  --green-light: #2d8a68;
  --green-send-hover: #185a44;
  --beige-main: #e8dfd3;
  --beige-widget: #ddd2c4;
  --beige-dark: #c9bfb2;
  --page-bg: #f3f0ea;
  --navy-promo: #1a2d5a;
  --white: #ffffff;
  --gray-100: #f9fafb;
  --gray-200: #f3f4f6;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --border: #e5e7eb;
  --sidebar-w: 16rem;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ── Shared content-page shell (about, resources, privacy, terms, sitemap) ── */

.page-shell-root {
  font-family: var(--font-sans);
  background: var(--page-bg);
  margin: 0;
  color: #1f2937;
}

.page-shell-root a {
  color: var(--green-dark);
}

.pill-dark,
.page-shell-root a.pill-dark {
  background: var(--green-dark);
  color: #fff;
  border-radius: 9999px;
  text-decoration: none;
}

.page-shell-root a.pill-dark:hover {
  color: #fff;
  opacity: 0.92;
}

.page-shell {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

.site-sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #f3f4f6;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-home-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.sidebar-home-btn img {
  height: 1.75rem;
  width: auto;
  filter: invert(18%) sepia(60%) saturate(800%) hue-rotate(120deg) brightness(70%) contrast(120%);
}

.sidebar-home-btn span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: -0.02em;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  font-size: 0.9rem;
  color: #111827;
  flex-shrink: 0;
}

.side-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.side-link:hover {
  opacity: 0.75;
}

.side-link.active {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--green-dark);
}

.sidebar-spacer {
  margin-top: auto;
  padding-top: 1.5rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-cta {
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: var(--navy-promo);
  color: #fff;
  font-size: 10px;
  line-height: 1.35;
  text-decoration: none;
}

.sidebar-cta-title {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  color: #fff;
}

.sidebar-cta-body {
  padding: 0.7rem 0.75rem;
}

.sidebar-cta-body p {
  margin: 0 0 0.5rem;
  color: #fff;
}

.sidebar-cta-body p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.sidebar-legal {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f3f4f6;
}

.sidebar-legal a,
.sidebar-legal a.side-link {
  font-size: 10px !important;
  line-height: 1.3;
  font-weight: 400 !important;
  color: #d1d5db !important;
  text-decoration: none !important;
}

.sidebar-legal a:hover,
.sidebar-legal a.side-link:hover {
  color: #6b7280 !important;
}

.sidebar-legal a.side-link.active {
  color: #9ca3af !important;
  font-weight: 500 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.sidebar-legal span {
  font-size: 10px;
  color: #e5e7eb;
  line-height: 1;
}

.blog-crumb {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #9ca3af;
}

.blog-crumb a {
  color: var(--green-dark);
  text-decoration: none;
}

.blog-crumb a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-crumb span[aria-hidden='true'] {
  margin: 0 0.35rem;
  color: #d1d5db;
}

.mobile-topbar {
  display: none;
}

#sidebar-overlay {
  display: none;
}

.site-main {
  flex: 1;
  min-width: 0;
}

.page-shell-root main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.page-shell-root h1 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  text-align: center;
}

@media (max-width: 767px) {
  .site-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 15.5rem;
    min-width: 15.5rem;
    transform: translateX(-100%);
    transition: transform 260ms ease;
    z-index: 60;
    box-shadow: 0 12px 32px rgba(15, 74, 58, 0.2);
  }

  .site-sidebar.is-open {
    transform: translateX(0);
  }

  #sidebar-overlay.is-open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    z-index: 50;
  }

  .mobile-topbar {
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    height: 3.25rem;
    padding: 0 1rem;
    border-bottom: 1px solid rgba(15, 74, 58, 0.08);
    background: rgba(243, 240, 234, 0.92);
    backdrop-filter: blur(10px);
    z-index: 30;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.65rem;
    border: none;
    background: var(--green-dark);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
  }

  .mobile-menu-toggle svg {
    width: 1.05rem;
    height: 1.05rem;
    stroke: currentColor;
  }

  .mobile-top-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    text-decoration: none;
  }

  .mobile-top-brand img {
    height: 1.35rem;
    width: auto;
  }

  .mobile-top-brand span {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--green-dark);
    letter-spacing: -0.02em;
  }

  .page-shell-root main {
    padding: 1.75rem 1.1rem 3rem;
  }
}
