:root {
  --ink: #17343a;
  --ink-strong: #0c252a;
  --muted: #587077;
  --teal: #0b6266;
  --teal-dark: #07474b;
  --teal-soft: #e7f3f1;
  --sand: #f7f4ec;
  --sand-deep: #eee7d9;
  --gold: #b48942;
  --white: #ffffff;
  --line: #d7e1df;
  --danger: #94352f;
  --danger-soft: #fff0ee;
  --success: #24735a;
  --shadow: 0 22px 60px rgba(23, 52, 58, 0.13);
  --shadow-soft: 0 12px 32px rgba(23, 52, 58, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-dark); text-underline-offset: 0.16em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #f0b64b; outline-offset: 4px; }
section[id] { scroll-margin-top: 104px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 10px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.utility {
  padding: 0.58rem 1rem;
  color: var(--white);
  background: var(--teal-dark);
  text-align: center;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(215, 225, 223, 0.95);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(var(--max), calc(100% - 2rem));
  min-height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--ink-strong);
  text-decoration: none;
  font-weight: 900;
  line-height: 1.08;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--gold));
  border-radius: 50% 50% 46% 54% / 55% 45% 55% 45%;
  box-shadow: 0 8px 18px rgba(11, 98, 102, 0.18);
}
.brand-copy { display: grid; gap: 0.18rem; }
.brand-copy small {
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  font-size: 0.9rem;
  font-weight: 800;
}
.desktop-nav a { color: var(--ink); text-decoration: none; }
.desktop-nav a[aria-current="page"] { color: var(--teal); }
.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.58rem 0.95rem;
  color: var(--white) !important;
  background: var(--teal);
  border-radius: 999px;
}
.mobile-menu { display: none; }
.mobile-menu summary {
  min-width: 76px;
  min-height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink-strong);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 850;
  list-style: none;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav {
  position: absolute;
  top: calc(100% + 1px);
  right: 1rem;
  left: 1rem;
  display: grid;
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0 0 18px 18px;
  box-shadow: var(--shadow-soft);
}
.mobile-menu nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0.55rem 0.7rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 750;
}
.mobile-menu nav a:hover { background: var(--teal-soft); }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.soft { background: var(--sand); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(5.3rem, 9vw, 8.2rem);
  background:
    radial-gradient(circle at 82% 12%, rgba(180, 137, 66, 0.16), transparent 25%),
    radial-gradient(circle at 7% 72%, rgba(11, 98, 102, 0.14), transparent 30%),
    linear-gradient(145deg, #fbfaf6 0%, #eef7f5 55%, #ffffff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -26vw;
  width: 50vw;
  height: 50vw;
  z-index: -1;
  border: 1px solid rgba(11, 98, 102, 0.14);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: clamp(2.6rem, 6vw, 6rem);
}
.eyebrow {
  margin: 0 0 0.72rem;
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
h1, h2, h3 { color: var(--ink-strong); line-height: 1.08; }
h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.75rem, 6vw, 5.7rem);
  letter-spacing: -0.055em;
}
h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.045em;
}
h3 { margin: 0; font-size: 1.12rem; letter-spacing: -0.015em; }
.lead {
  max-width: 64ch;
  margin: 1.45rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}
.button-row { display: flex; flex-wrap: wrap; gap: 0.82rem; margin-top: 2rem; }
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  padding: 0.76rem 1.18rem;
  border: 2px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 25px rgba(11, 98, 102, 0.22);
}
.btn-primary:hover { background: var(--teal-dark); }
.btn-secondary { color: var(--ink); background: rgba(255,255,255,0.84); border-color: var(--line); }
.btn-secondary:hover { background: var(--white); box-shadow: var(--shadow-soft); }
.trust-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.55rem; }
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.48rem 0.72rem;
  color: var(--teal-dark);
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(11,98,102,0.17);
  border-radius: 999px;
  font-size: 0.81rem;
  font-weight: 850;
}
.trust-pill svg { width: 15px; height: 15px; }

.guide-card {
  position: relative;
  padding: 1.45rem;
  background: rgba(255,255,255,0.93);
  border: 1px solid rgba(255,255,255,0.98);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.guide-card::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  top: -96px;
  right: -52px;
  background: rgba(180,137,66,0.14);
  border-radius: 50%;
}
.guide-header { position: relative; display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.guide-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
}
.guide-header strong, .guide-header span { display: block; }
.guide-header span { color: var(--muted); font-size: 0.78rem; }
.online-dot { display: inline-block; width: 8px; height: 8px; margin-right: 0.35rem; background: #2c9b68; border-radius: 50%; }
.message {
  margin: 0.72rem 0;
  padding: 0.9rem 1rem;
  background: var(--teal-soft);
  border-radius: 4px 16px 16px 16px;
  font-size: 0.91rem;
}
.message.user { margin-left: 2rem; background: var(--sand); border-radius: 16px 4px 16px 16px; }
.mini-label { margin: 1rem 0 0.42rem; color: var(--muted); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 0.42rem; }
.mini-chip { padding: 0.42rem 0.62rem; color: var(--teal-dark); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 0.74rem; font-weight: 800; }
.privacy-note { margin: 1rem 0 0; color: var(--muted); font-size: 0.76rem; }

.notice { position: relative; z-index: 3; margin-top: -1.7rem; }
.notice-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.08rem 1.22rem;
  background: var(--danger-soft);
  border: 1px solid #efc1bd;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(76,25,22,0.08);
}
.notice-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--danger); background: var(--white); border-radius: 50%; }
.notice strong { display: block; color: var(--danger); }
.notice p { margin: 0.12rem 0 0; font-size: 0.9rem; }

.section-heading { max-width: 760px; margin-bottom: 2.4rem; }
.section-heading p { margin: 1rem 0 0; color: var(--muted); font-size: 1.05rem; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.step {
  min-height: 260px;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.step-num { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 1.8rem; color: var(--white); background: var(--teal); border-radius: 50%; font-weight: 900; }
.step p { margin: 0.7rem 0 0; color: var(--muted); font-size: 0.92rem; }

.evidence-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.evidence-card {
  padding: 1.42rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: var(--radius-lg);
}
.evidence-card:nth-child(2) { border-top-color: #43858a; }
.evidence-card:nth-child(3) { border-top-color: var(--gold); }
.evidence-card:nth-child(4) { border-top-color: var(--danger); }
.evidence-card p { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.9rem; }
.evidence-tag { display: inline-block; margin-bottom: 0.7rem; color: var(--muted); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }

.boundary-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--white);
  background: linear-gradient(145deg, var(--teal-dark), #163f45);
  border-radius: var(--radius-xl);
}
.boundary-shell h2 { max-width: 14ch; color: var(--white); }
.boundary-shell .section-copy { color: #dce8e7; }
.boundary-list { display: grid; gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
.boundary-list li { display: grid; grid-template-columns: 24px 1fr; gap: 0.68rem; }
.boundary-list svg { width: 21px; height: 21px; margin-top: 0.14rem; color: #ebc878; }
.boundary-list p { margin: 0.2rem 0 0; color: #dce8e7; font-size: 0.92rem; }
.boundary-list strong { color: var(--white); }

.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tool-card { padding: 1.55rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.tool-card ol, .tool-card ul { margin: 1rem 0 0; padding-left: 1.2rem; }
.tool-card li { margin: 0.58rem 0; color: var(--muted); }
.tool-note { margin-top: 1.2rem; padding: 1rem 1.1rem; color: #29494f; background: var(--teal-soft); border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; font-size: 0.88rem; }

.source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.source-card { padding: 1.45rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.source-card a { font-weight: 850; }
.source-card p { margin: 0.65rem 0 0; color: var(--muted); font-size: 0.9rem; }
.source-meta { display: block; margin-top: 0.75rem; color: var(--muted); font-size: 0.76rem; }

.faq-list { display: grid; gap: 0.78rem; }
details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
summary { min-height: 56px; display: flex; align-items: center; padding: 0.85rem 1rem; color: var(--ink-strong); font-weight: 850; cursor: pointer; }
details p { margin: -0.15rem 1rem 1rem; color: var(--muted); }

.page-hero { padding: clamp(4rem, 8vw, 6.5rem) 0 3rem; background: linear-gradient(145deg, #fbfaf6, #edf7f5); }
.page-hero h1 { max-width: 14ch; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.page-hero .lead { max-width: 70ch; }
.prose { width: min(820px, calc(100% - 2rem)); margin-inline: auto; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.55rem, 3vw, 2.35rem); }
.prose h3 { margin-top: 1.8rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.25rem; }
.prose .callout { margin: 1.5rem 0; padding: 1rem 1.1rem; background: var(--teal-soft); border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; }

.guide-shell { display: grid; grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr); gap: 1.2rem; align-items: start; }
.guide-panel { padding: 1.45rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.topic-buttons { display: grid; gap: 0.6rem; margin-top: 1rem; }
.topic-button { min-height: 48px; padding: 0.65rem 0.8rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; text-align: left; font-weight: 780; }
.topic-button[aria-pressed="true"], .topic-button:hover { color: var(--teal-dark); background: var(--teal-soft); border-color: rgba(11,98,102,0.35); }
.answer-box { min-height: 300px; padding: 1.5rem; background: linear-gradient(145deg, #fbfaf6, #eef7f5); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.answer-box h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.answer-box p { color: var(--muted); }
.source-note { padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.84rem; }
.ask-form { display: grid; grid-template-columns: 1fr auto; gap: 0.65rem; margin-top: 1rem; }
.ask-form input { min-height: 50px; width: 100%; padding: 0.7rem 0.85rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.ask-form button { min-height: 50px; padding: 0.7rem 1rem; color: var(--white); background: var(--teal); border: 0; border-radius: 12px; font-weight: 850; }
.form-warning { margin: 0.75rem 0 0; color: var(--danger); font-size: 0.8rem; }

.cta {
  padding: clamp(2rem, 5vw, 3.7rem);
  color: var(--white);
  background: linear-gradient(145deg, var(--teal), var(--teal-dark));
  border-radius: var(--radius-xl);
}
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
.cta h2 { color: var(--white); font-size: clamp(1.9rem, 4vw, 3.2rem); }
.cta p { margin-bottom: 0; color: #dce8e7; }
.cta .btn-primary { color: var(--teal-dark); background: var(--white); box-shadow: none; }

.site-footer { padding: 3rem 0; color: #dce8e7; background: var(--ink-strong); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: start; }
.site-footer strong { color: var(--white); font-size: 1.12rem; }
.site-footer p { max-width: 68ch; margin: 0.7rem 0 0; font-size: 0.88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.footer-links a { color: var(--white); font-size: 0.86rem; font-weight: 750; }
.footer-fine { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.16); color: #bcd0ce; font-size: 0.76rem; }

.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(7, 27, 31, 0.78);
  backdrop-filter: blur(9px);
}
.consent-overlay[hidden] { display: none; }
.consent-dialog {
  width: min(680px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 100px rgba(0,0,0,0.32);
}
.consent-kicker { margin: 0 0 0.55rem; color: var(--teal-dark); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.consent-dialog h2 { font-size: clamp(1.75rem, 4vw, 2.7rem); }
.consent-dialog p { color: var(--muted); }
.consent-summary { display: grid; gap: 0.58rem; margin: 1rem 0; padding: 0; list-style: none; }
.consent-summary li { display: grid; grid-template-columns: 20px 1fr; gap: 0.55rem; color: var(--muted); font-size: 0.91rem; }
.consent-summary svg { width: 18px; height: 18px; margin-top: 0.16rem; color: var(--teal); }
.consent-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.7rem;
  align-items: start;
  margin: 1.2rem 0;
  padding: 1rem;
  background: var(--sand);
  border: 1px solid var(--sand-deep);
  border-radius: 14px;
  font-weight: 760;
}
.consent-check input { width: 20px; height: 20px; margin-top: 0.15rem; accent-color: var(--teal); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.consent-actions button { min-height: 50px; padding: 0.72rem 1.12rem; border-radius: 999px; font-weight: 900; }
.accept-button { color: var(--white); background: var(--teal); border: 2px solid var(--teal); }
.accept-button:disabled { opacity: 0.45; cursor: not-allowed; }
.recheck-button { color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.consent-note { margin-top: 1rem; font-size: 0.76rem; }

@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .hero-grid, .boundary-shell, .guide-shell { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14ch; }
  .guide-card { max-width: 720px; }
  .steps, .evidence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-grid, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .utility { font-size: 0.73rem; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy small { display: none; }
  .hero { padding-top: 4rem; }
  h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
  .button-row .btn { width: 100%; }
  .notice-inner { grid-template-columns: 1fr; }
  .steps, .evidence-grid, .tool-grid, .source-grid { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .boundary-shell { padding: 1.45rem; }
  .ask-form { grid-template-columns: 1fr; }
  .ask-form button { width: 100%; }
  .footer-links { display: grid; }
  .consent-actions { display: grid; }
  .consent-actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }


/* Paid research access additions */
.price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  padding: .58rem .8rem;
  color: var(--ink-strong);
  background: #fff7df;
  border: 1px solid #e6c980;
  border-radius: 999px;
  font-weight: 900;
}
.price-badge strong { font-size: 1.15rem; }
.price-badge small { color: var(--muted); font-size: .75rem; }
.offer-card {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.3rem);
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(11,98,102,.18);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.offer-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -95px;
  top: -105px;
  border-radius: 50%;
  background: rgba(180,137,66,.14);
}
.offer-card > * { position: relative; z-index: 1; }
.offer-card .offer-label { color: var(--teal-dark); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.offer-price { display: flex; align-items: end; gap: .55rem; margin: .7rem 0 .9rem; }
.offer-price strong { color: var(--ink-strong); font-size: clamp(3.2rem, 7vw, 5.2rem); letter-spacing: -.06em; line-height: .9; }
.offer-price span { color: var(--muted); font-weight: 800; padding-bottom: .38rem; }
.offer-list { display: grid; gap: .65rem; margin: 1rem 0 1.35rem; padding: 0; list-style: none; }
.offer-list li { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; color: var(--muted); font-size: .91rem; }
.offer-list svg { width: 18px; height: 18px; margin-top: .18rem; color: var(--teal); }
.offer-fine { margin: .9rem 0 0; color: var(--muted); font-size: .76rem; }
.module-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.module-card { min-height: 220px; padding: 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.module-card span { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 1.45rem; color: var(--white); background: var(--teal); border-radius: 50%; font-size: .8rem; font-weight: 900; }
.module-card p { margin: .7rem 0 0; color: var(--muted); font-size: .9rem; }
.pricing-shell { display: grid; grid-template-columns: minmax(0,1fr) minmax(330px,.55fr); gap: clamp(2rem,5vw,5rem); align-items: center; padding: clamp(2rem,5vw,4rem); background: linear-gradient(145deg,#f7f4ec,#e8f4f2); border: 1px solid var(--line); border-radius: var(--radius-xl); }
.pricing-shell h2 { max-width: 13ch; }
.pricing-card { padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.pricing-card .price { margin: .4rem 0 .9rem; color: var(--ink-strong); font-size: 3.4rem; line-height: 1; font-weight: 950; letter-spacing: -.06em; }
.pricing-card .price small { font-size: .82rem; color: var(--muted); letter-spacing: 0; }
.checkout-note { margin-top: .8rem; padding: .85rem 1rem; color: var(--muted); background: var(--sand); border: 1px solid var(--sand-deep); border-radius: 12px; font-size: .82rem; }
.checkout-modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 1rem; background: rgba(7,27,31,.82); backdrop-filter: blur(9px); }
.checkout-modal[hidden] { display: none; }
.checkout-dialog { width: min(560px,100%); padding: clamp(1.4rem,4vw,2.2rem); background: var(--white); border-radius: var(--radius-xl); box-shadow: 0 32px 100px rgba(0,0,0,.34); }
.checkout-dialog h2 { font-size: clamp(1.7rem,4vw,2.5rem); }
.checkout-dialog p { color: var(--muted); }
.checkout-dialog .actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.checkout-dialog button, .checkout-dialog a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1rem; border-radius: 999px; font-weight: 900; text-decoration: none; }
.checkout-dialog button { border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.checkout-dialog a { background: var(--teal); color: var(--white); }
.config-warning { margin: 0; padding: .9rem 1rem; color: #6b4813; background: #fff4d9; border: 1px solid #efd28a; text-align: center; font-size: .82rem; font-weight: 800; }
.config-form { display: grid; gap: 1rem; }
.config-form label { display: grid; gap: .35rem; color: var(--ink-strong); font-weight: 800; }
.config-form input { min-height: 50px; padding: .72rem .85rem; border: 1px solid var(--line); border-radius: 12px; }
.config-output { width: 100%; min-height: 230px; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; font: 13px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; }
.purchased-banner { margin: -1px 0 0; padding: .72rem 1rem; color: #24463f; background: #e7f3f1; border-bottom: 1px solid #c8dfdb; text-align: center; font-size: .82rem; font-weight: 850; }
.worksheet { display: grid; gap: 1rem; }
.worksheet section { padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.worksheet label { display: grid; gap: .35rem; margin: .8rem 0; font-weight: 800; }
.worksheet input, .worksheet textarea, .worksheet select { width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); }
.worksheet textarea { min-height: 105px; resize: vertical; }
.print-button { min-height: 48px; padding: .7rem 1rem; color: var(--white); background: var(--teal); border: 0; border-radius: 999px; font-weight: 900; }
@media(max-width:900px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pricing-shell{grid-template-columns:1fr}}
@media(max-width:680px){.module-grid{grid-template-columns:1fr}.offer-price strong{font-size:4rem}.checkout-dialog .actions{display:grid}.checkout-dialog .actions>*{width:100%}}
@media print {
  .site-header,.utility,.site-footer,.button-row,.print-button,.consent-overlay,.purchased-banner { display:none !important; }
  body { color:#000; background:#fff; font-size:12pt; }
  .page-hero,.section,.soft { padding: 1rem 0; background:#fff; }
  .worksheet section { break-inside: avoid; }
}

/* Narrow-screen containment fixes */
.mobile-menu:not([open]) nav { display: none; }
.pricing-shell > * { min-width: 0; }
.footer-fine, .site-footer a { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .header-inner { gap: 0.5rem; }
  .brand-copy > span { font-size: 0.92rem; }
  .pricing-shell { padding: 1.25rem; }
  .pricing-card { padding: 1.1rem; }
  .pricing-shell h2, .pricing-shell .lead, .pricing-shell .eyebrow { overflow-wrap: anywhere; }
}

.store-return{padding:24px;text-align:center;background:#061018;color:#a3d7f8;font:14px/1.6 system-ui}.store-return a{color:inherit;text-decoration:underline}
