/* ===================================================================
   MICROCLARITY — SHARED STYLESHEET
=================================================================== */

/* ===================================================================
   DESIGN TOKENS
=================================================================== */
:root {
  --cream: #F5F0E8;
  --cream-dark: #EDE6D6;
  --ink: #1A1612;
  --ink-soft: #3D3630;
  --ink-muted: #7A6E66;
  --teal: #2D7A6E;
  --teal-light: #E8F3F1;
  --amber: #C4781A;
  --amber-light: #FBF0E0;
  --coral: #C4432A;
  --coral-light: #FAE8E5;
  --red-dark: #8B1A0D;
  --red-light: #F5E0DC;
  --green-dark: #1E5C3A;
  --green-light: #E0F0E8;
  --border: rgba(26,22,18,0.12);
  --border-strong: rgba(26,22,18,0.22);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --nav-h: 56px;
}

/* ===================================================================
   RESET + BASE
=================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
}

/* ===================================================================
   SITE NAVIGATION
=================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 0;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-wordmark {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  font-style: italic;
  line-height: 1;
}
.nav-wordmark .teal { color: var(--teal); }

.nav-tabs-list {
  display: flex;
  list-style: none;
  gap: 2px;
  align-items: center;
}
.nav-tab-link {
  display: block;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-tab-link:hover { color: var(--ink); background: var(--cream); }
.nav-tab-link.active { color: var(--teal); background: var(--teal-light); }
.nav-tab-link:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
  border-radius: 8px;
  transition: background 0.15s;
  flex-shrink: 0;
}
.nav-hamburger:hover { background: var(--cream); }
.nav-hamburger svg { display: block; }

/* ===================================================================
   MOBILE DRAWER
=================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,22,18,0.45);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 270px;
  background: white;
  z-index: 201;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.drawer-wordmark {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  font-style: italic;
}
.drawer-wordmark .teal { color: var(--teal); }
.drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-muted);
  padding: 4px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  display: flex;
}
.drawer-close:hover { color: var(--ink); background: var(--cream); }
.drawer-nav { padding: 12px; flex: 1; }
.drawer-nav-list { list-style: none; }
.drawer-nav-link {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.drawer-nav-link:hover,
.drawer-nav-link.active { color: var(--teal); background: var(--teal-light); }
.drawer-nav-link:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
.drawer-footer {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.drawer-contact-link {
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.drawer-contact-link:hover { color: var(--teal); }

/* ===================================================================
   SHARED PAGE WRAPPER
=================================================================== */
.page { max-width: 780px; margin: 0 auto; padding: 0 20px; }

/* ===================================================================
   INNER PAGE HEADER (non-home pages)
=================================================================== */
.inner-page { padding: 44px 0 0; }
.inner-header { text-align: center; margin-bottom: 44px; }
.inner-title {
  font-family: var(--serif);
  font-size: clamp(32px, 7vw, 50px);
  line-height: 1.06;
  color: var(--ink);
  margin-bottom: 16px;
}
.inner-title em { font-style: italic; color: var(--teal); }
.inner-sub {
  font-size: 15px;
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
  font-weight: 300;
}

/* ===================================================================
   CONTENT CARDS (reusable)
=================================================================== */
.content-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 28px 32px;
  margin-bottom: 20px;
}
.content-card h2 {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.2;
}
.content-card h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.content-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.72;
  margin-bottom: 12px;
  font-weight: 300;
}
.content-card p:last-child { margin-bottom: 0; }
.content-card ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 12px;
}
.content-card ul li {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  padding: 5px 0 5px 20px;
  position: relative;
  font-weight: 300;
}
.content-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 400;
}

/* ===================================================================
   STAT GRID (Great Lakes + home preview)
=================================================================== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.stat-box {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 22px 20px;
  text-align: center;
}
.stat-number {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  color: var(--teal);
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.5;
  font-weight: 400;
}
.stat-source {
  font-size: 10px;
  color: var(--ink-muted);
  margin-top: 4px;
  opacity: 0.7;
}

/* Inline callout block */
.callout-block {
  border-left: 3px solid var(--teal);
  background: var(--teal-light);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin: 14px 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  font-weight: 300;
}
.callout-block strong { font-weight: 500; color: var(--ink); }

/* Source note */
.source-note {
  font-size: 11px;
  color: var(--ink-muted);
  line-height: 1.6;
  padding: 16px 20px;
  background: var(--cream-dark);
  border-radius: 10px;
  margin-top: 4px;
}
.source-note a { color: var(--teal); text-decoration: none; }
.source-note a:hover { text-decoration: underline; }

/* ===================================================================
   MICROSHOP — ACCORDION
=================================================================== */
.store-tier-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  margin-top: 32px;
}
.store-tier-label:first-of-type { margin-top: 0; }
.store-tier-title {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
}
.store-tier-sub { font-size: 12px; color: var(--ink-muted); font-weight: 300; }

.store-tier-desc {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 16px;
}

.accordion-item {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
}
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
  font-family: var(--sans);
}
.accordion-btn:hover { background: var(--cream); }
.accordion-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.accordion-left { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.accordion-icon { font-size: 18px; flex-shrink: 0; }
.accordion-title { font-size: 14px; font-weight: 500; color: var(--ink); }
.accordion-count { font-size: 12px; color: var(--ink-muted); font-weight: 300; }
.accordion-arrow {
  width: 16px; height: 16px;
  color: var(--ink-muted);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.accordion-item.open .accordion-arrow { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding: 0 20px 16px;
  border-top: 1px solid var(--border);
}
.accordion-item.open .accordion-body { display: block; }
.accordion-intro {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 300;
  line-height: 1.6;
  padding: 12px 0 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

/* Shop product row */
.store-product {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.store-product:last-child { border-bottom: none; padding-bottom: 0; }
.store-product-name { font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.store-product-why { font-size: 12px; color: var(--ink-muted); font-weight: 300; line-height: 1.5; }
.store-product-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--green-light);
  color: var(--green-dark);
  margin-top: 4px;
}
.store-product-link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 7px;
  border: 1.5px solid var(--border-strong);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  flex-shrink: 0;
  align-self: flex-start;
}
.store-product-link:hover { border-color: var(--teal); background: var(--teal-light); color: var(--teal); }

/* ===================================================================
   MICROBRIEF
=================================================================== */
.brief-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.brief-issue-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
}
.brief-issue-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  opacity: 0.4;
}
.brief-issue-num {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.brief-issue-title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 8px;
}
.brief-issue-desc {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 12px;
}
.coming-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  background: var(--cream-dark);
  color: var(--ink-muted);
}

/* MicroBrief email signup */
.brief-signup {
  background: var(--ink);
  border-radius: 16px;
  padding: 36px;
  margin-bottom: 20px;
  text-align: center;
}
.brief-signup .email-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 12px;
}
.brief-signup .email-title { font-family: var(--serif); font-size: 26px; color: white; margin-bottom: 10px; line-height: 1.2; }
.brief-signup .email-sub { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 24px; font-weight: 300; line-height: 1.55; }
.brief-signup .beehiiv-form-wrap { max-width: 400px; margin: 0 auto; }
.brief-signup .beehiiv-form-wrap form { display: flex; gap: 10px; }
.brief-signup .beehiiv-form-wrap input[type="email"] {
  flex: 1; padding: 13px 16px; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08);
  color: white; font-family: var(--sans); font-size: 14px; outline: none;
  transition: border-color 0.15s; min-width: 0;
}
.brief-signup .beehiiv-form-wrap input[type="email"]::placeholder { color: rgba(255,255,255,0.35); }
.brief-signup .beehiiv-form-wrap input[type="email"]:focus { border-color: rgba(255,255,255,0.4); }
.brief-signup .beehiiv-form-wrap button[type="submit"] {
  padding: 13px 20px; border-radius: 8px; background: var(--teal); color: white;
  border: none; font-family: var(--sans); font-size: 14px; font-weight: 500;
  cursor: pointer; white-space: nowrap; transition: background 0.15s; flex-shrink: 0;
}
.brief-signup .beehiiv-form-wrap button[type="submit"]:hover { background: #235F56; }
.brief-signup .email-note { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 12px; }

/* MicroSci section */
.microsci-section {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}
.microsci-header {
  background: var(--ink);
  padding: 28px 32px;
  text-align: center;
}
.microsci-eyebrow {
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 10px;
}
.microsci-title { font-family: var(--serif); font-size: 26px; color: white; margin-bottom: 8px; }
.microsci-title em { font-style: italic; }
.microsci-desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; font-weight: 300; margin-bottom: 16px; }
.microsci-price-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
}
.microsci-articles { padding: 20px 32px 24px; }
.microsci-article {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0.5;
}
.microsci-article:last-child { border-bottom: none; padding-bottom: 0; }
.microsci-article-num {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--border-strong);
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}
.microsci-article-title { font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.microsci-article-desc { font-size: 12px; color: var(--ink-muted); font-weight: 300; line-height: 1.5; }

/* ===================================================================
   MICROSCORE QUIZ STYLES
=================================================================== */
.site-header { padding: 36px 0 0; text-align: center; }
.header-eyebrow {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px;
}
.header-title {
  font-family: var(--serif); font-size: clamp(36px, 8vw, 58px);
  line-height: 1.05; color: var(--ink); margin-bottom: 20px;
}
.header-title em { font-style: italic; color: var(--teal); }
.header-sub {
  font-size: 16px; color: var(--ink-muted); max-width: 480px;
  margin: 0 auto 40px; line-height: 1.65; font-weight: 300;
}
.divider { width: 48px; height: 2px; background: var(--ink); opacity: 0.15; margin: 0 auto 48px; }

.progress-wrap { margin-bottom: 36px; }
.progress-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px; font-size: 12px; color: var(--ink-muted); font-weight: 400;
}
.progress-track { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.progress-fill {
  height: 100%; background: var(--teal); border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.question-card {
  background: white; border-radius: 16px; border: 1px solid var(--border);
  padding: 36px; margin-bottom: 20px;
  animation: cardIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.question-number {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: 10px;
}
.question-text { font-family: var(--serif); font-size: 22px; line-height: 1.3; color: var(--ink); margin-bottom: 8px; }
.question-hint { font-size: 13px; color: var(--ink-muted); margin-bottom: 24px; font-weight: 300; }

.options { display: flex; flex-direction: column; gap: 10px; }
.option-btn {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px;
  border-radius: 10px; border: 1.5px solid var(--border); background: var(--cream);
  cursor: pointer; text-align: left;
  transition: border-color 0.18s, background 0.18s, transform 0.12s;
  font-family: var(--sans); width: 100%;
}
.option-btn:hover { border-color: var(--teal); background: var(--teal-light); transform: translateX(3px); }
.option-btn.selected { border-color: var(--teal); background: var(--teal-light); }
.option-dot {
  width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--border-strong);
  flex-shrink: 0; margin-top: 2px; transition: border-color 0.18s, background 0.18s; position: relative;
}
.option-btn.selected .option-dot, .option-btn:hover .option-dot { border-color: var(--teal); }
.option-btn.selected .option-dot::after {
  content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--teal);
}
.option-label { font-size: 14px; font-weight: 400; color: var(--ink); line-height: 1.45; }
.option-sub { display: block; font-size: 12px; color: var(--ink-muted); margin-top: 2px; font-weight: 300; }

.nav-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.btn-back {
  font-family: var(--sans); font-size: 13px; color: var(--ink-muted); background: none; border: none;
  cursor: pointer; padding: 10px 0; display: flex; align-items: center; gap: 6px; transition: color 0.15s;
}
.btn-back:hover { color: var(--ink); }
.btn-back svg { width: 14px; height: 14px; }
.btn-next {
  font-family: var(--sans); font-size: 14px; font-weight: 500; color: white; background: var(--ink);
  border: none; border-radius: 8px; padding: 13px 28px; cursor: pointer;
  transition: background 0.15s, transform 0.12s; display: flex; align-items: center; gap: 8px;
}
.btn-next:hover { background: var(--teal); transform: translateY(-1px); }
.btn-next:disabled { opacity: 0.35; cursor: not-allowed; transform: none; background: var(--ink); }
.btn-next svg { width: 14px; height: 14px; }

.results-wrap { animation: cardIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both; }
.score-hero {
  background: white; border-radius: 20px; border: 1px solid var(--border);
  padding: 44px 36px 36px; text-align: center; margin-bottom: 20px; position: relative; overflow: hidden;
}
.score-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.tier-low    .score-hero::before { background: var(--teal); }
.tier-mod    .score-hero::before { background: var(--amber); }
.tier-high   .score-hero::before { background: var(--coral); }
.tier-crit   .score-hero::before { background: var(--red-dark); }
.score-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: 16px;
}
.score-number { font-family: var(--serif); font-size: 88px; line-height: 1; margin-bottom: 6px; }
.tier-low  .score-number { color: var(--teal); }
.tier-mod  .score-number { color: var(--amber); }
.tier-high .score-number { color: var(--coral); }
.tier-crit .score-number { color: var(--red-dark); }
.score-outof { font-size: 14px; color: var(--ink-muted); margin-bottom: 20px; }
.tier-badge {
  display: inline-block; padding: 6px 18px; border-radius: 20px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em; margin-bottom: 20px;
}
.tier-low  .tier-badge { background: var(--green-light); color: var(--green-dark); }
.tier-mod  .tier-badge { background: var(--amber-light); color: var(--amber); }
.tier-high .tier-badge { background: var(--coral-light); color: var(--coral); }
.tier-crit .tier-badge { background: var(--red-light);   color: var(--red-dark); }
.score-summary {
  font-size: 15px; color: var(--ink-soft); line-height: 1.65;
  max-width: 460px; margin: 0 auto; font-weight: 300;
}

.share-section {
  background: var(--cream);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 22px 28px;
  margin-bottom: 20px;
  text-align: center;
}
.share-title { font-family: var(--serif); font-size: 19px; color: var(--ink); margin-bottom: 10px; }
.share-preview {
  font-size: 13px; color: var(--ink-muted); font-weight: 300;
  line-height: 1.65; margin-bottom: 16px; font-style: italic;
}
.share-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.btn-share-native {
  font-family: var(--sans); font-size: 13px; font-weight: 500; padding: 10px 22px;
  border-radius: 8px; cursor: pointer; background: var(--teal); color: white; border: none; transition: background 0.15s;
}
.btn-share-native:hover { background: #235F56; }
.btn-share-copy {
  font-family: var(--sans); font-size: 13px; font-weight: 500; padding: 10px 22px;
  border-radius: 8px; cursor: pointer; background: none; color: var(--ink);
  border: 1.5px solid var(--border-strong); transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.btn-share-copy:hover { border-color: var(--teal); background: var(--teal-light); color: var(--teal); }
.share-feedback { font-size: 12px; color: var(--teal); margin-top: 10px; min-height: 18px; }

.breakdown-section {
  background: white; border-radius: 16px; border: 1px solid var(--border);
  padding: 28px 32px; margin-bottom: 20px;
}
.breakdown-title { font-family: var(--serif); font-size: 20px; margin-bottom: 22px; color: var(--ink); }
.cat-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cat-row:last-child { margin-bottom: 0; }
.cat-name { font-size: 13px; color: var(--ink-soft); min-width: 160px; font-weight: 400; }
.cat-bar-wrap { flex: 1; height: 6px; background: var(--cream-dark); border-radius: 3px; overflow: hidden; }
.cat-bar { height: 100%; border-radius: 3px; transition: width 1s cubic-bezier(0.4, 0, 0.2, 1); }
.bar-teal   { background: var(--teal); }
.bar-amber  { background: var(--amber); }
.bar-coral  { background: var(--coral); }
.bar-red    { background: var(--red-dark); }
.cat-pts { font-size: 12px; color: var(--ink-muted); min-width: 58px; text-align: right; }

.risks-section {
  background: white; border-radius: 16px; border: 1px solid var(--border);
  padding: 28px 32px; margin-bottom: 20px;
}
.risks-title { font-family: var(--serif); font-size: 20px; margin-bottom: 20px; color: var(--ink); }
.risk-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.risk-item:last-child { border-bottom: none; padding-bottom: 0; }
.risk-num {
  font-family: var(--serif); font-size: 28px; line-height: 1;
  color: var(--border-strong); min-width: 28px; padding-top: 2px;
}
.risk-name { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.risk-desc { font-size: 13px; color: var(--ink-muted); line-height: 1.55; font-weight: 300; }

.products-section {
  background: white; border-radius: 16px; border: 1px solid var(--border);
  padding: 28px 32px; margin-bottom: 20px;
}
.products-title { font-family: var(--serif); font-size: 20px; margin-bottom: 6px; color: var(--ink); }
.products-sub { font-size: 13px; color: var(--ink-muted); margin-bottom: 22px; font-weight: 300; }
.product-card {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border);
}
.product-card:last-child { border-bottom: none; padding-bottom: 0; }
.product-name { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.product-why { font-size: 12px; color: var(--ink-muted); font-weight: 300; line-height: 1.45; }
.product-link {
  display: inline-block; padding: 8px 16px; border-radius: 7px;
  border: 1.5px solid var(--border-strong); font-size: 12px; font-weight: 500;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: border-color 0.15s, background 0.15s; flex-shrink: 0;
}
.product-link:hover { border-color: var(--teal); background: var(--teal-light); color: var(--teal); }

/* Email section (MicroScore results) */
.email-section {
  background: var(--ink); border-radius: 16px; padding: 36px;
  margin-bottom: 20px; text-align: center;
}
.email-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 12px;
}
.email-title { font-family: var(--serif); font-size: 26px; color: white; margin-bottom: 10px; line-height: 1.2; }
.email-sub { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 24px; font-weight: 300; line-height: 1.55; }
.beehiiv-form-wrap { max-width: 400px; margin: 0 auto; }
.beehiiv-form-wrap form { display: flex; gap: 10px; }
.beehiiv-form-wrap input[type="email"] {
  flex: 1; padding: 13px 16px; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08);
  color: white; font-family: var(--sans); font-size: 14px; outline: none;
  transition: border-color 0.15s; min-width: 0;
}
.beehiiv-form-wrap input[type="email"]::placeholder { color: rgba(255,255,255,0.35); }
.beehiiv-form-wrap input[type="email"]:focus { border-color: rgba(255,255,255,0.4); }
.beehiiv-form-wrap button[type="submit"] {
  padding: 13px 20px; border-radius: 8px; background: var(--teal); color: white;
  border: none; font-family: var(--sans); font-size: 14px; font-weight: 500;
  cursor: pointer; white-space: nowrap; transition: background 0.15s; flex-shrink: 0;
}
.beehiiv-form-wrap button[type="submit"]:hover { background: #235F56; }
.email-note { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 12px; }

.retake-row { text-align: center; margin-top: 8px; }
.btn-retake {
  font-family: var(--sans); font-size: 13px; color: var(--ink-muted); background: none;
  border: none; cursor: pointer; padding: 10px; text-decoration: underline;
  text-underline-offset: 3px; transition: color 0.15s;
}
.btn-retake:hover { color: var(--ink); }

.hidden { display: none !important; }

/* ===================================================================
   ABOUT PAGE
=================================================================== */
.about-mission {
  background: var(--ink);
  border-radius: 16px;
  padding: 36px 32px;
  margin-bottom: 20px;
  text-align: center;
}
.about-mission-eyebrow {
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 14px;
}
.about-mission-text {
  font-family: var(--serif);
  font-size: clamp(20px, 4vw, 26px);
  color: white;
  line-height: 1.35;
  font-style: italic;
  max-width: 520px;
  margin: 0 auto;
}

/* ===================================================================
   SHARED FOOTER
=================================================================== */
.tab-footer {
  text-align: center;
  padding: 28px 20px 44px;
  max-width: 780px;
  margin: 0 auto;
}
.tab-footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.tab-footer-contact { margin-bottom: 14px; }
.tab-footer-contact a {
  font-size: 12px; color: var(--ink-soft); text-decoration: none;
  transition: color 0.15s; font-weight: 400;
}
.tab-footer-contact a:hover { color: var(--teal); }
.tab-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 14px; margin-bottom: 16px; list-style: none;
}
.tab-footer-links a {
  font-size: 12px; color: var(--ink-soft); text-decoration: none;
  transition: color 0.15s; font-weight: 400;
}
.tab-footer-links a:hover { color: var(--teal); }
.tab-footer-sep { color: var(--border-strong); font-size: 12px; }
.tab-footer-disclaimer {
  font-size: 11px; color: var(--ink-muted); line-height: 1.65;
  opacity: 0.7; max-width: 560px; margin: 0 auto;
}
.tab-footer-privacy-link { display: block; text-align: center; margin-top: 10px; }
.tab-footer-privacy-link a {
  font-size: 0.78rem; color: inherit; text-decoration: underline;
  opacity: 0.7; cursor: pointer; background: none; border: none;
  padding: 0; font-family: inherit;
}
.tab-footer-privacy-link a:hover { opacity: 1; }
.tab-footer-copyright {
  font-size: 11px;
  color: var(--ink-muted);
  opacity: 0.55;
  margin-top: 14px;
  text-align: center;
}

/* ===================================================================
   PRIVACY PANEL
=================================================================== */
.pp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9998;
  animation: ppFadeIn 0.2s ease;
}
.pp-overlay.pp-open { display: block; }
.pp-panel {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  max-height: 75vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 28px 24px 36px;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.14);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}
.pp-panel.pp-open { transform: translateY(0); }
.pp-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; font-size: 1.4rem; line-height: 1;
  cursor: pointer; color: inherit; opacity: 0.55;
  padding: 4px 8px; border-radius: 6px;
}
.pp-close:hover { opacity: 1; }
.pp-handle { width: 40px; height: 4px; background: #ccc; border-radius: 2px; margin: 0 auto 20px; }
.pp-panel h2 { font-size: 1rem; font-weight: 700; margin: 0 0 14px; text-align: center; }
.pp-panel p, .pp-panel .tab-footer-disclaimer {
  font-size: 0.82rem; line-height: 1.55; color: inherit; opacity: 0.8; margin: 0 0 10px; text-align: center;
}
.pp-panel p:last-child { margin-bottom: 0; }
@keyframes ppFadeIn { from { opacity: 0; } to { opacity: 1; } }
body.pp-noscroll { overflow: hidden; }

/* ===================================================================
   HOME PAGE — HERO
=================================================================== */
.home-hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-logo { display: block; margin: 0 auto 20px; }
.hero-brand {
  font-family: var(--serif);
  font-size: clamp(44px, 9vw, 76px);
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 28px;
  font-style: italic;
}
.hero-brand .teal { color: var(--teal); }
.hero-phrase {
  font-family: var(--serif);
  font-size: clamp(17px, 2.6vw, 24px);
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto 14px;
  font-style: italic;
}
.hero-subphrase {
  font-size: 15px;
  color: var(--ink-muted);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.65;
  font-weight: 300;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===================================================================
   HOME PAGE — SHARED BUTTONS
=================================================================== */
.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, transform 0.12s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--teal); transform: translateY(-1px); }
.btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  background: none;
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.btn-secondary:hover { border-color: var(--teal); background: var(--teal-light); color: var(--teal); }

/* ===================================================================
   HOME PAGE — SECTION CONTAINER
=================================================================== */
.home-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.home-section { padding: 80px 0; }
.home-section + .home-section { border-top: 1px solid var(--border); }

/* ===================================================================
   HOME PAGE — TWO-COLUMN PREVIEW SECTIONS
=================================================================== */
.section-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.section-preview--reverse .section-preview-image { order: -1; }

.section-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-heading {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-heading em { font-style: italic; color: var(--teal); }
.section-preview-text p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 24px;
}
.section-preview-text .mini-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  font-weight: 300;
  position: relative;
  overflow: hidden;
}
.section-preview-text .mini-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  opacity: 0.4;
}
.section-preview-text .mini-card-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.section-preview-text .mini-card-title {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.section-preview-image img {
  width: 100%;
  border-radius: 16px;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--cream-dark);
}
/* Placeholder when image not yet present */
.section-preview-image .img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--cream-dark);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 300;
}

/* Great Lakes preview stat pair */
.stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

/* MicroShop preview rows */
.mini-product-list { list-style: none; margin-bottom: 24px; }
.mini-product-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.mini-product-item:last-child { border-bottom: none; }
.mini-product-item .mpname { font-weight: 500; color: var(--ink); }
.mini-product-item .mpwhy { color: var(--ink-muted); font-weight: 300; }

/* ===================================================================
   HOME PAGE — QUICK FACTS (dark section)
=================================================================== */
.home-facts {
  background: var(--ink);
  padding: 80px 0;
}
.home-facts .section-eyebrow { color: rgba(255,255,255,0.45); }
.home-facts .section-heading { color: white; margin-bottom: 44px; }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fact-tile {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 28px 24px;
}
.fact-number {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 38px);
  color: #5BBCB0;
  line-height: 1.1;
  margin-bottom: 10px;
}
.fact-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  font-weight: 300;
}

/* ===================================================================
   HOME PAGE — ABOUT PREVIEW
=================================================================== */
.home-about-preview {
  text-align: center;
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.about-preview-card {
  background: var(--ink);
  border-radius: 16px;
  padding: 44px 40px;
  max-width: 680px;
  margin: 0 auto 28px;
  text-align: center;
}
.about-preview-eyebrow {
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 14px;
}
.about-preview-text {
  font-family: var(--serif);
  font-size: clamp(18px, 3vw, 24px);
  color: white;
  line-height: 1.38;
  font-style: italic;
  margin-bottom: 20px;
}
.about-preview-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  line-height: 1.6;
}
.about-preview-link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.about-preview-link:hover { color: var(--teal); }

/* ===================================================================
   FADE-IN-ON-SCROLL (all pages — driven by IntersectionObserver in nav.js)
=================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   INTERIOR PAGE VISUAL VARIETY UTILITIES
=================================================================== */

/* cream-dark background band for grouping related cards */
.section-band {
  background: var(--cream-dark);
  padding: 28px 20px;
  margin: 0 -20px 20px;
  border-radius: 12px;
}

/* thin horizontal rule between major topic sections */
.section-rule {
  height: 48px;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.section-rule::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--teal);
  opacity: 0.2;
}

/* full-width header image banner on interior pages */
.page-header-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin-bottom: 28px;
  background: var(--cream-dark);
}
.page-header-image-wrap {
  margin-bottom: 28px;
}
.page-header-image-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  background: var(--cream-dark);
}

/* ===================================================================
   RESPONSIVE — DESKTOP BODY BACKGROUND
=================================================================== */
@media (min-width: 900px) {
  body { background: #EAE4DA; }
}

/* ===================================================================
   RESPONSIVE — TABLET
=================================================================== */
@media (max-width: 900px) {
  .section-preview {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .section-preview--reverse .section-preview-image { order: 0; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .home-section { padding: 60px 0; }
  .home-facts { padding: 60px 0; }
  .home-about-preview { padding: 60px 0; }
  .home-hero { min-height: 60vh; padding: 60px 24px; }
  .brief-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   RESPONSIVE — MOBILE
=================================================================== */
@media (max-width: 620px) {
  .nav-tabs-list { display: none; }
  .nav-hamburger { display: flex; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .store-tier-label { flex-direction: column; gap: 4px; }

  .question-card, .score-hero, .breakdown-section,
  .risks-section, .products-section, .email-section,
  .content-card, .brief-signup, .about-mission { padding: 22px 18px; }
  .score-number { font-size: 72px; }
  .cat-name { min-width: 110px; font-size: 12px; }
  .beehiiv-form-wrap form,
  .brief-signup .beehiiv-form-wrap form { flex-direction: column; }
  .microsci-articles { padding: 16px 20px 20px; }
  .microsci-header { padding: 24px 20px; }
  .accordion-btn { padding: 14px 16px; }
  .accordion-body { padding: 0 16px 14px; }

  .hero-ctas { flex-direction: column; align-items: center; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .about-preview-card { padding: 32px 24px; }
  .stat-pair { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 400px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 26px; }
  .facts-grid { grid-template-columns: 1fr; }
}
