
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; overflow-x: hidden; font-family: Georgia, serif; font-size: 16px; overflow-wrap: break-word; word-break: break-word; }
#site-nav { background: #8b5e3c; position: sticky; top: 0; z-index: 200; border-bottom: 2px solid rgba(0,0,0,.18); box-shadow: 0 2px 6px rgba(0,0,0,.14); }
.nav-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center; padding: 0 16px; height: 46px; }
.nav-logo { font-family: Georgia,serif; font-size: .95rem; font-weight: 700; color: #fff; text-decoration: none; flex-shrink: 0; margin-right: 12px; white-space: nowrap; }
.logo-short { display: none; }
.nav-primary { list-style: none; display: flex; gap: 2px; margin: 0 0 0 auto; padding: 0; }
.nav-primary a { font-family: Georgia,serif; font-size: .82rem; color: rgba(255,255,255,.88); text-decoration: none; padding: 6px 10px; border-radius: 3px; white-space: nowrap; display: block; }
.nav-primary a:hover { background: rgba(255,255,255,.13); color: #fff; }
.nav-primary li:last-child a { background: #2c5f2e; color: #fff; font-weight: 700; padding: 6px 12px; }
.nav-primary li:last-child a:hover { background: #3a7a3c; }
.nav-secondary-bar { background: rgba(0,0,0,.18); border-top: 1px solid rgba(255,255,255,.08); }
.nav-secondary { max-width: 960px; margin: 0 auto; padding: 2px 16px; display: flex; flex-wrap: wrap; gap: 0; list-style: none; }
.nav-secondary a { font-size: .78rem; padding: 4px 9px; color: rgba(255,255,255,.75); text-decoration: none; display: block; }
.nav-secondary a:hover { color: #fff; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px 6px; margin-left: auto; min-height: 44px; min-width: 44px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.85); border-radius: 2px; }
.nav-mobile-menu { display: none; list-style: none; margin: 0; padding: 6px 0; }
#site-nav.open .nav-mobile-menu { display: block; background: #6e4a2e; border-top: 1px solid rgba(255,255,255,.1); }
.nav-mobile-menu a { display: block; padding: 13px 20px; font-family: Georgia,serif; font-size: 1rem; color: rgba(255,255,255,.9); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-mobile-menu a:hover { background: rgba(255,255,255,.08); }
.page-main { max-width: 700px; margin: 20px auto 0; font-family: Georgia,serif; line-height: 1.7; padding: 0 24px 40px; overflow-wrap: break-word; word-break: break-word; }
.page-main h1 { font-size: 1.8em; line-height: 1.3; margin-top: 8px; }
.page-main h2 { margin-top: 36px; font-size: 1.35em; line-height: 1.3; }
.page-main h3 { font-size: 1.15em; margin-top: 28px; margin-bottom: 6px; line-height: 1.3; }
.page-main p { margin-top: 0; }
.page-main a { color: #2c5f2e; }
.page-main ul { padding-left: 0; list-style: none; margin: 8px 0; }
.page-main ul li { padding: 10px 0; min-height: 44px; display: flex; align-items: flex-start; border-bottom: 1px solid #f0ebe4; }
.page-main ul li:last-child { border-bottom: none; }
.page-main ul li a { color: #2c5f2e; text-decoration: none; font-size: .97em; padding-top: 2px; line-height: 1.45; }
.page-main ul li a:hover { text-decoration: underline; }
.page-main ul.kp { list-style: disc; padding-left: 20px; }
.page-main ul.kp li { display: list-item; border-bottom: none; padding: 3px 0; min-height: unset; }
h2.related-heading { margin-top: 32px; padding-top: 16px; border-top: 2px solid #e8e0d8; font-size: 1em; text-transform: uppercase; letter-spacing: .06em; color: #666; }
h2.related-heading + ul { margin-top: 10px; }
#next-page-link { margin: 30px 0 36px; padding: 16px; background: #f4f9f4; border-left: 4px solid #8b5e3c; border-radius: 4px; }
#next-page-link .lbl { font-size: .8em; color: #666; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
#next-page-link a { font-size: 1em; color: #8b5e3c; text-decoration: none; font-weight: bold; min-height: 44px; display: flex; align-items: center; }
.hp-main { max-width: 700px; margin: 0 auto; font-family: Georgia,serif; line-height: 1.7; padding: 0 24px; }
.hp-hero { padding: 40px 0 32px; text-align: center; }
.hp-hero h1 { font-size: 2em; line-height: 1.3; margin: 0 0 12px; }
.hp-hero p { font-size: 1.1em; margin: 0 0 16px; color: #444; }
.hp-cta { display: block; margin: 0 auto; padding: 15px 20px; background: #8b5e3c; color: #fff; text-decoration: none; font-size: 1em; border-radius: 4px; text-align: center; width: 100%; max-width: 340px; box-sizing: border-box; font-family: Georgia,serif; line-height: 1.45; }
.hp-cta:hover { background: #a06b44; }
.hp-hr { border: none; border-top: 1px solid #e8e0d8; margin: 4px 0; }
.hp-section { padding: 24px 0; }
.hp-section h2 { font-size: 1.35em; margin: 0 0 14px; }
.hp-section h3 { margin: 22px 0 4px; padding: 8px 12px; background: #f4f0eb; border-left: 4px solid #8b5e3c; border-radius: 2px; font-size: .95em; letter-spacing: .02em; }
.hp-section ul { padding-left: 18px; margin: 6px 0; list-style: none; }
.hp-section ul li { padding: 9px 0; min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid #f0ebe4; }
.hp-section ul li:last-child { border-bottom: none; }
.hp-section ul li a { color: #2c5f2e; text-decoration: none; font-size: .97em; }
.hp-agents { padding: 28px 0 32px; text-align: center; }
.hp-agents h2 { font-size: 1.2em; margin: 0 0 10px; }
.hp-agents p { font-size: .97em; color: #444; margin: 0 0 16px; }
.hp-footer-note { padding: 20px 0 36px; color: #666; font-size: .9em; line-height: 1.6; }
@media (max-width: 640px) {
  .logo-full { display: none; }
  .logo-short { display: inline; }
  .nav-toggle { display: flex; }
  .nav-primary { display: none; }
  .nav-secondary-bar { display: none; }
  .page-main { padding: 0 16px 40px; margin-top: 12px; }
  .page-main h1 { font-size: 1.28em; line-height: 1.25; }
  .page-main h2 { font-size: 1.15em; margin-top: 28px; }
  .page-main h3 { font-size: 1.05em; }
  .page-main ul li { padding: 8px 0; }
  .hp-main { padding: 0 16px; }
  .hp-hero { padding: 24px 0 20px; }
  .hp-hero h1 { font-size: 1.4em; line-height: 1.25; }
  .hp-hero p { font-size: 1em; }
  .hp-section ul { padding-left: 10px; }
  .hp-section h2 { font-size: 1.2em; }
  h2.related-heading { font-size: .85em; }
}
@media (min-width: 390px) and (max-width: 640px) {
  .page-main { padding: 0 20px 40px; }
  .page-main h1 { font-size: 1.35em; }
  .page-main h2 { font-size: 1.2em; }
  .hp-main { padding: 0 20px; }
}

/* ── Mobile improvements ── */

/* Remove 300ms tap delay on all touch devices */
a, button { touch-action: manipulation; }

/* Focus styles for keyboard / accessibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid #C8A96E;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Fix hp-section list alignment for multi-line items */
.hp-section ul li { align-items: flex-start; }
.hp-section ul li a { padding-top: 2px; line-height: 1.45; }

/* Better link underline legibility */
.page-main a, .hp-section ul li a { text-underline-offset: 3px; }

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Improve long description list items on mobile */
@media (max-width: 640px) {
  /* Descriptions embedded in links — constrain to 4 lines max */
  .page-main ul li a, .hp-section ul li a {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* Key takeaway bullets — no clamp needed, they're shorter */
  .page-main ul.kp li { overflow: visible; display: list-item; }
  /* Related links — 3 lines max */
  h2.related-heading + ul li a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* CTA button — full width on narrow screens, not capped */
  .hp-cta { max-width: 100%; }
  /* Nav logo shorter text on mobile */
  .nav-inner { padding: 0 12px; }
  /* Increase tap area on mobile menu links slightly */
  .nav-mobile-menu a { padding: 14px 20px; }
}

/* Wider phones — allow slightly more description text */
@media (min-width: 390px) and (max-width: 640px) {
  .page-main ul li a, .hp-section ul li a { -webkit-line-clamp: 5; }
}

/* Description text after link title in list items */
.li-desc {
  color: #555;
  font-size: .92em;
  line-height: 1.5;
  display: inline;
}
@media (max-width: 640px) {
  /* On mobile, break description onto its own line */
  .li-desc { display: block; margin-top: 2px; }
  /* Undo line-clamp for items that use .li-desc structure */
  .page-main ul li a, .hp-section ul li a { -webkit-line-clamp: 2; }
}
