/* Shared header and footer for every mochasmindlab.com page.
   Class names are prefixed (sh-, sf-) and the wrappers are divs, so the older
   page stylesheets that target bare nav, header, footer and a cannot reach them. */
.sh, .sh *, .sf, .sf * { box-sizing: border-box; }
.sh { position: sticky; top: 0; z-index: 1000; background: rgba(249, 247, 244, 0.97); backdrop-filter: blur(10px); border-bottom: 1px solid #E8E6E3; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.sh-in { max-width: 1120px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sh-brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; color: #8B4513 !important; font-weight: 700; font-size: 20px; line-height: 1; }
.sh-brand img { width: 40px; height: 40px; border-radius: 10px; display: block; }
.sh-suffix { font-weight: 400; color: #4A4A4A; }
.sh .sh-nav { display: flex; align-items: center; gap: 26px; position: static; background: none; border: 0; padding: 0; margin: 0; box-shadow: none; backdrop-filter: none; z-index: auto; }
.sh-link { color: #2C2C2C !important; text-decoration: none !important; font-weight: 500; font-size: 16px; }
.sh-link:hover, .sh-link[aria-current="page"] { color: #2F7F7F !important; }
.sh-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px; background: #8B4513; color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none !important; white-space: nowrap; }
.sh-btn:hover { background: #6B3410; }
.sh a:focus-visible, .sf a:focus-visible { outline: 3px solid #2F7F7F; outline-offset: 3px; border-radius: 6px; }
@media (max-width: 900px) { .sh .sh-nav { gap: 18px; } .sh-link.sh-wide { display: none; } }
.sh-menu { display: none; position: relative; }
.sh-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid #D9D5D0; border-radius: 999px; font-weight: 600; font-size: 15px; color: #2C2C2C; background: #fff; }
.sh-menu summary::-webkit-details-marker { display: none; }
.sh-menu summary::after { content: ""; width: 8px; height: 8px; margin-left: 8px; border-right: 2px solid #2C2C2C; border-bottom: 2px solid #2C2C2C; transform: rotate(45deg) translateY(-2px); }
.sh-menu[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.sh-menu summary:focus-visible { outline: 3px solid #2F7F7F; outline-offset: 3px; }
.sh-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; background: #fff; border: 1px solid #E8E6E3; border-radius: 14px; box-shadow: 0 16px 40px rgba(44,44,44,0.16); padding: 6px; }
.sh-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 10px; color: #2C2C2C !important; text-decoration: none !important; font-size: 16px; font-weight: 500; }
.sh-panel a:hover, .sh-panel a:focus-visible { background: #F4F1EC; }
@media (max-width: 700px) {
  .sh-suffix, .sh-link { display: none; }
  .sh-menu { display: block; }
  .sh .sh-nav { gap: 10px; }
}
@media (max-width: 380px) {
  .sh-brand > span { display: none; }
}

.sf { background: #2C2C2C; color: #D9D5D0; padding: 48px 0 28px; font-size: 15px; line-height: 1.6; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.sf-in { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sf-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.sf-h { color: #fff; font-weight: 700; font-size: 16px; margin: 0 0 12px; }
.sf p { margin: 0 0 10px; }
.sf a { color: #A9D49B !important; text-decoration: none; }
.sf a:hover { text-decoration: underline; }
.sf-col a { display: block; padding: 4px 0; }
.sf-bottom { border-top: 1px solid #444; margin-top: 28px; padding-top: 20px; color: #B8B3AE; font-size: 14px; }
@media (max-width: 900px) { .sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sf-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 700px) { .sf-col a, .sf-grid > :first-child a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; } .sf-col a { display: flex; } .sf-bottom a { display: inline-block; padding: 10px 0; } }

/* Legal pages: justified text leaves rivers on phones. */
.content-wrapper p, .content-wrapper li { text-align: left; }

/* Legal pages (privacy, terms): same reading layout as the comparison page.
   Only presentation changes here; the policy text lives in the HTML. */
body:has(.content-wrapper) { background: #F9F7F4; color: #2C2C2C; }
.content-wrapper { padding: 48px 20px 24px; }
.content-wrapper .container { max-width: 820px; background: transparent; box-shadow: none; border-radius: 0; padding: 0; font-size: 17px; line-height: 1.65; }
.content-wrapper header { text-align: left; border-bottom: 0; margin-bottom: 28px; padding-bottom: 0; }
.content-wrapper h1 { color: #8B4513; font-size: 2.4rem; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 8px; }
.content-wrapper .company-name { color: #2F7F7F; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.content-wrapper .dates p { margin-bottom: 2px; font-size: 0.9rem; color: #6b6560; }
.content-wrapper .dates em { font-style: normal; }
.content-wrapper h2 { color: #8B4513; border-bottom: 0; padding-bottom: 0; margin: 44px 0 14px; font-size: 1.6rem; letter-spacing: -0.01em; }
.content-wrapper h3 { color: #2C2C2C; font-size: 1.16rem; margin: 28px 0 8px; }
.content-wrapper a { color: #2F7F7F; text-decoration: underline; }
.content-wrapper .important-notice { background: #FEFEFE; border: 1px solid #E8E6E3; border-left: 4px solid #7FB069; border-radius: 0 12px 12px 0; }
.content-wrapper .important-notice h3 { color: #2C2C2C; }
.content-wrapper .contact-section { background: #FEFEFE; border: 1px solid #E8E6E3; border-radius: 14px; }
.content-wrapper .contact-group strong { color: #8B4513; }
@media (max-width: 640px) { .content-wrapper h1 { font-size: 1.95rem; } .content-wrapper h2 { font-size: 1.35rem; } }
