:root {
    --bg: #000000;
    --text: #c3c0c0;
    --text2: #E5E0E2;
    --line: #3a3a3e;
    --bg-surface: #222226;
    --bg-surface-alt: #1e1e22;
    --bg-surface-input: #2a2a2e;
    --bg-surface-hover: #3a3a3e;
    --bg-content: rgba(26, 26, 30, 0.85);
    --text-heading: #e0dede;
    --text-heading1: #8A7650;
    --text-sub: #F2F2F2;
    --text-mid: #b0aeae;
    --text-note: #C27508;
    --text-muted: #777;
    --text-code: #b0aeae;
    --bg-code: #2e2e32;
    --bg-pre: #252528;
    --shadow-nav: 0px 3px 4px rgba(0, 0, 0, 0.4);
    --field-bg: #0e0e10;
    --field-text: #e8e6e6;
    --node-active-bg: #2e2e32;
    --node-active-text: #e0dede;
    --receipt-selected-bg: #1a3030;
    --toolbar-bg: #252528;
}

/* 2026 hero — the public threshold into the existing analysis application */
.yinyang { background:#000 !important; }
.icon-sprite { position:absolute; width:0; height:0; overflow:hidden; }
.icon { width:24px; height:24px; flex:0 0 auto; fill:none; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; }
.site-header { min-height:72px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:28px; border-bottom:1px solid rgba(173,173,173,.25); position:relative; z-index:2; }
.yinyang > .center.center--hero { padding-top:0; }
.site-header-shell { position:relative; z-index:2; width:100vw; max-width:100vw; margin-left:calc(50% - 50vw); padding-top:0px; border-bottom:1px solid rgba(173,173,173,.25); background:#000; }
.site-header-shell .site-header { border-bottom:0; }
.site-header-shell .center { width:100%; max-width:90%; margin:0 auto; padding:0 20px 0px; }
.site-header--legacy { width:100%; max-width:90%; margin:0 auto; padding:0 20px 0px; border-bottom:0; }
.page--under-header { position:relative; z-index:1; padding:5 !important; }
.brand { display:inline-flex; align-items:center; gap:13px; width:max-content; color:#eee9df; text-decoration:none; font-family:'Montserrat',sans-serif; font-size:25px; font-weight:600; letter-spacing:-.04em; }
.brand:hover { color:#eee9df; text-decoration:none; }
.brand > span:last-child > span { color:#b36b00; }
.brand-mark { display:flex; align-items:center; gap:3px; height:31px; }
.brand-mark i { display:block; width:9px; height:28px; background:#b36b00; clip-path:polygon(0 18%,100% 0,100% 82%,0 100%); }
.brand-mark i:nth-child(2) { background:#C94716; transform:translateY(3px); }
.brand-mark i:nth-child(3) { background:#BAA886; }
.hero-nav { display:flex; align-items:center; gap:36px; }
.hero-nav a { color:#ffa21a; text-decoration:none; font-size:14px; }
.hero-nav-dropdown { position:relative; }
.hero-nav-dropdown summary { display:flex; align-items:center; gap:6px; color:#b36b00; cursor:pointer; font-size:14px; list-style:none; }
.hero-nav-dropdown summary::-webkit-details-marker { display:none; }
.hero-nav-dropdown summary::after { content:""; width:0; height:0; border-top:5px solid transparent; border-bottom:5px solid transparent; border-left:6px solid #b36b00; transition:transform .2s ease, border-left-color .2s ease; }
.hero-nav-dropdown[open] summary::after { border-left-color:#ffa21a; transform:rotate(90deg); }
.hero-nav-dropdown summary:hover,
.hero-nav-dropdown summary[aria-current="page"] { color:#b36b00; }
.hero-nav-menu { position:absolute; top:calc(100% + 15px); left:50%; z-index:20; display:grid; min-width:240px; padding:8px; border:1px solid rgba(173,173,173,.32); border-radius:8px; background:#151517; box-shadow:0 18px 36px rgba(0,0,0,.42); transform:translateX(-50%); }
.hero-nav-menu a { display:block; padding:10px 12px; border-radius:4px; color:#eee9df; font-size:12px; line-height:1.25; white-space:nowrap; }
.hero-nav-menu a:hover,
.hero-nav-menu a[aria-current="page"] { color:#fff; background:rgba(179,107,0,.22); }
.hero-nav :hover {
    color: #b36b00;
    text-decoration: none;
}
/* selected link */
.hero-nav a:active {
    color: #ffa21a;
    text-decoration: none;
}    
.header-actions { justify-self:end; display:flex; gap:12px; }
.header-actions > *,.hero-actions>* { font:600 14px 'Inter',sans-serif; border-radius:3px; min-height:44px; padding:0 23px; cursor:pointer; }
.header-actions a { display:inline-flex; align-items:center; justify-content:center; text-decoration:none; }
.header-actions a:hover { text-decoration:none; }
.nav-signin,.secondary-cta { 
color: #b36b00;
background:transparent;
border:1px solid #b36b00;
font-weight: 400;
}
.nav-signin:hover { color:#b36b00; border-color:#b36b00; }
.nav-signin:active { color:#ffa21a; border-color:#ffa21a; }
.nav-cta,.primary-cta { color:#fff; background:linear-gradient(135deg,#b36b00,#C94716); border:1px solid #d77918; box-shadow:0 9px 28px rgba(201,71,22,.17); }
.header-actions .nav-cta,
.header-actions .nav-cta:visited { color:#fff !important; background:linear-gradient(135deg,#b36b00,#C94716); border:1px solid #d77918; box-shadow:0 9px 28px rgba(201,71,22,.17); font:400 13px "Inter",sans-serif; }
.hero { position:relative; display:grid; grid-template-columns:minmax(350px,.78fr) minmax(520px,1.22fr); gap:clamp(50px,7vw,110px); padding:72px 0 58px; align-items:start; }
.hero::before { content:""; position:absolute; z-index:0; top:0; bottom:0; left:-6vw; width:58%; background:linear-gradient(115deg,#f5f0e7 0 82%,transparent 82.2%); opacity:.98; }
.hero::after { content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(circle at 57% 54%,rgba(179,107,0,.12),transparent 36%); }
.hero-copy,.product-preview { position:relative; z-index:1; }
.hero-copy { color:#272321; padding-left:2px; padding-bottom:5px; }
.hero-kicker { margin:0 0 20px; color:#b36b00; text-transform:uppercase; letter-spacing:.18em; font-size:12px; font-weight:600; }
.hero-copy h1 { --hero-heading-size:clamp(43px,4vw,58px); display:block; max-width:590px; min-height:calc(var(--hero-heading-size) * 6); height:var(--hero-heading-height,auto); overflow:hidden; margin:0; color:#272321; font:500 var(--hero-heading-size)/.98 'Montserrat',sans-serif; letter-spacing:-.055em; }
.hero-copy h1 span { color:#C94716; }
.hero-copy h1.is-alternate-phrase { font-size:var(--hero-alternate-size,var(--hero-heading-size)); line-height:1.03; letter-spacing:-.04em; }
.hero-copy h1.is-typing::after {
  content:"";
  display:inline-block;
  width:2px;
  height:.80em;
  margin-left:5px;
  vertical-align:-.05em;
  background:#C94716;
  animation:hero-caret-blink 1.2s steps(1,end) infinite;
}
@keyframes hero-caret-blink { 50% { opacity:0; } }
@media (prefers-reduced-motion:reduce) {
  .hero-copy h1.is-typing::after { animation:none; }
}
/*.hero-lede { max-width:470px; margin:28px 0 25px; color:#514a47; font-size:17px; line-height:1.65; letter-spacing:0; } */
.hero-lede {
/*  max-width: 850px; */
  margin-top: 10px !important;
  margin-bottom: 25px !important;
  color: color: var(--text2);
  font: 500 clamp(14px, 2vw, 18px)/1.43 "Montserrat", sans-serif;
  letter-spacing: -.02em;
}
.hero-actions { display:flex; gap:14px; align-items:center; }
.hero-actions a { display:inline-flex; align-items:center; justify-content:center; text-decoration:none; }
.primary-cta { display:inline-flex; align-items:center; gap:24px; }
.primary-cta:hover,.nav-cta:hover { background:linear-gradient(135deg,#d27d00,#e85b24); }
.header-actions .nav-cta:hover,
.header-actions .nav-cta:focus-visible { color:#fff !important; background:linear-gradient(135deg,#d27d00,#e85b24); border-color:#d77918; text-decoration:none; }
.compatibility { display:flex; align-items:center; gap:12px; margin:28px 0 0; color:#514a47; font-size:13px; }
.compatibility .icon { color:#C94716; }
.product-preview { padding:25px 24px 20px; border:1px solid rgba(173,173,173,.35); border-radius:13px; color:#c4c4c4; background:radial-gradient(circle at 91% 10%,rgba(201,71,22,.16),transparent 25%),linear-gradient(135deg,rgba(179,107,0,.14),transparent 46%),linear-gradient(145deg,rgba(32,32,32,.98),rgba(10,10,10,.98)); box-shadow:0 28px 70px rgba(0,0,0,.5); }
.preview-heading { display:flex; justify-content:space-between; gap:20px; align-items:center; padding:0 7px 21px; }
.preview-heading p, .preview-heading h2 { margin:0; color:#eee9df; font:400 28px 'Montserrat',sans-serif; }
.preview-heading small { color:#969696; }
.preview-heading button { display:flex; align-items:center; gap:8px; padding:10px 12px; color:#c4c4c4; border:1px solid #3c3939; border-radius:7px; background:#3B3B3B; }
.preview-heading button .icon { width:18px; height:18px; }
.finding { display:grid; grid-template-columns:auto 1fr auto; gap:16px; align-items:start; padding:20px; border:1px solid #3c3939; border-bottom:0; }
.finding:last-child { border-bottom:1px solid #3c3939; border-radius:0 0 8px 8px; }
.finding:first-of-type { border-radius:8px 8px 0 0; }
.finding > .icon { width:34px; height:34px; }
.finding strong { display:block; margin:1px 0 8px; color:#ffa21a; font-size:15px; }
.finding h3 { margin:0 0 5px; color:#ddd8cf; font:500 16px/1.35 'Inter',sans-serif; }
.finding p { margin:0; color:#969696; font-size:13px; }
.semantic-confirmed { color:#697565; }.semantic-candidate { color:#AD6605; }.semantic-action { color:#C82909; }
.finding-confirmed strong { color:#8b9a7c; }
.status-chip { color:#8b9a7c; border:1px solid rgba(105,117,101,.6); padding:3px 8px; border-radius:3px; font-size:11px; }
.status-open { color:#C82909; border-color:rgba(255,162,26,.5); }
.status-progress { color:#C82909; border-color:#C82909;; }
.value-strip { position:relative; z-index:2; display:grid; grid-template-columns:repeat(3,1fr); border:1px solid rgba(173,173,173,.25); background:#0b0b0b; }
.value-strip > div { display:flex; align-items:center; gap:16px; padding:25px 30px; border-right:1px solid rgba(173,173,173,.25); }
.value-strip > div:last-child { border-right:0; }
.value-strip .icon { width:31px; height:31px; color:#b36b00; }
.value-strip p { display:grid; margin:0; }
.value-strip strong { color:#ddd8cf; font-size:14px; }.value-strip span { color:#969696; font-size:12px; }
.intake-panel { margin-top:44px; background:#1a1919; border-color:rgba(173,173,173,.35); scroll-margin-top:20px; }
.result-tab { display:inline-flex; align-items:center; gap:8px; }
.result-tab .icon { width:18px; height:18px; }
.has-results .hero { padding-top:28px; padding-bottom:24px; }
.has-results .hero-copy h1 { --hero-heading-size:clamp(36px,3.5vw,52px); min-height:calc(var(--hero-heading-size) * 4.15); font-size:var(--hero-heading-size); }
.has-results .hero-copy h1.is-alternate-phrase { font-size:var(--hero-alternate-size,var(--hero-heading-size)); }
.has-results .hero-lede,.has-results .compatibility,.has-results .product-preview,.has-results .value-strip { display:none; }

@media (max-width:1050px) {
  .site-header {
    grid-template-columns:1fr auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    row-gap:0;
  }
  .brand { grid-area:brand; }
  .header-actions { grid-area:actions; }
  .hero-nav {
    grid-area:nav;
    display:flex;
    justify-content:center;
    gap:clamp(16px,5vw,36px);
    width:100%;
    padding:12px 0;
    border-top:1px solid rgba(173,173,173,.18);
  }
  .hero-nav a { white-space:nowrap; }
  .hero { grid-template-columns:1fr 1fr; gap:28px; }.hero::before { width:54%; }
  .hero-copy h1 { font-size:var(--hero-heading-size); }.hero-copy h1.is-alternate-phrase { min-height:calc(var(--hero-heading-size) * 6); }.finding { padding:15px; }
}
@media (max-width:768px) {
  .center { max-width:100%; padding:0 16px 20px; }
  .site-header-shell .center, .site-header--legacy { max-width:100%; padding:0 16px; }
  .site-header { min-height:67px; }.brand { font-size:20px; }.brand-mark { transform:scale(.82); transform-origin:left center; }
  .header-actions > * { min-height:38px; padding:0 12px; font-size:12px; }
  .header-actions .nav-signin { display:inline-flex; align-items:center; justify-content:center; font-size:11px; }
  .header-actions .nav-cta,
  .header-actions .nav-cta:visited { font-size:12px; }
  .hero { display:block; padding:24px 0 34px; }.hero::before { left:-16px; width:calc(100% + 32px); height:57%; background:linear-gradient(164deg,#f5f0e7 0 76%,transparent 76.3%); }
  .hero-copy { padding:0 8px 75px; }.hero-copy h1 { --hero-heading-size:clamp(38px,11vw,52px); min-height:calc(var(--hero-heading-size) * 4.9); }.hero-copy h1.is-alternate-phrase { min-height:calc(var(--hero-heading-size) * 4.9); }.hero-lede { font-size:15px; }
  .product-preview { padding:16px 12px 12px; }.preview-heading p, .preview-heading h2 { font-size:21px; }.preview-heading button { font-size:0; padding:9px; }
  .finding { grid-template-columns:auto 1fr; }.finding > .status-chip { grid-column:2; width:max-content; }.finding h3 { font-size:14px; }
  .value-strip { grid-template-columns:1fr; }.value-strip > div { border-right:0; border-bottom:1px solid rgba(173,173,173,.2); padding:17px 20px; }.value-strip > div:last-child { border-bottom:0; }
  .hero-nav-menu { top:calc(100% + 8px); left:0; transform:none; }
}
@media (max-width:480px) {
  .brand > span:last-child { font-size:18px; }.header-actions .nav-cta { padding:0 9px; }
  .hero-nav { gap:14px; padding:10px 0; }
  .hero-nav a, .hero-nav-dropdown summary { font-size:11px; letter-spacing:0; }
  .hero-copy h1 { font-size:var(--hero-heading-size); }.hero-actions { align-items:stretch; flex-direction:column; }.hero-actions>* { width:100%; }
  .compatibility { align-items:flex-start; }.preview-heading small { font-size:10px; }
  .finding > .icon { width:28px; height:28px; }.intake-panel { margin-top:28px; }
}

[data-theme="light"] {
    --bg: #ffffff;
    --text: #474545;
    --text2: #343333;
    --line: #C5C5C4;
    --bg-surface: #ffffff;
    --bg-surface-alt: #fafafa;
    --bg-surface-input: #ffffff;
    --bg-surface-hover: #e6e6e6;
    --bg-content: rgba(255, 255, 255, 0.95);
    --text-heading: #202020;
    --text-sub: #3B3A3A;
    --text-mid: #555757;
    --text-note: #444444;
    --text-muted: #999;
    --text-code: #555;
    --bg-code: #f0f0f0;
    --bg-pre: #f6f6f6;
/*    --shadow-nav: 0px 3px 4px #DBDBDB; */
    --shadow-nav: 0px 3px 4px rgba(0, 0, 0, 0.4);
    --field-bg: #000000;
    --field-text: #F7F5F5;
    --node-active-bg: #ffffff;
    --node-active-text: black;
    --receipt-selected-bg: #f0fafa;
    --toolbar-bg: #f9f9f9;
}

/* ── For Results── */

#result {
  scroll-margin-top: 20px;
}

.result-workspace {
  width: 100%;
}

.result-tabs {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.result-tab {
  border: 1px solid #b36b00;
  border-radius: 14px;
  background: var(--bg-surface);
  color: var(--text-mid);
  font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  padding: 10px 14px;
  box-shadow: var(--shadow-nav);
}

.result-tab:hover {
  border-color: #b36b00;
  color: #b36b00;
}

.result-tab:focus-visible {
  outline: 2px solid #b36b00;
  outline-offset: 2px;
}

.result-tab.is-active {
  border-color: #b36b00;
  color: #ffa21a;
  background: rgba(255, 162, 26, 0.08);
}

.result-tab-panel {
  width: 100%;
}

@media (max-width: 768px) {
  .result-tabs {
    gap: 8px;
  }

  .result-tab {
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 10px;
  }
}

.structure-preview {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 162, 26, 0.04);
}

.structure-preview-summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 12px;
  font-weight: 600;
  color: #C5C4C4
}

.structure-preview-summary::-webkit-details-marker {
  display: none;
}

.structure-preview-summary::before {
  content: '▸';
  margin-right: 8px;
  color: #b36b00;
  display: inline-block;
  transition: transform 0.15s ease;
}

.structure-preview[open] .structure-preview-summary::before {
  transform: rotate(90deg);
}

.structure-preview-summary:focus-visible {
  outline: 2px solid #b36b00;
  outline-offset: 2px;
}

.structure-preview-body {
  padding: 0 12px 12px 12px;
}

.structure-preview-meta {
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: var(--text-mid);
}

.structure-preview-section-title {
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #b36b00;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.structure-preview-notes {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-mid);
}

.structure-preview-warnings {
  margin: 6px 0 0 16px;
  padding: 0;
}

.structure-preview-warnings li {
  margin-bottom: 2px;
}

.structure-preview-note,
.structure-preview-truncation,
.structure-preview-empty {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-note);
}

.structure-preview-turns {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.structure-preview-row {
  border-left: 3px solid rgba(179, 107, 0, 0.4);
  padding-left: 10px;
}

.structure-preview-row-heading {
  font-size: 12px;
  color: var(--text-mid);
  font-weight: 600;
}

.structure-preview-row-text {
  font-size: 13px;
  color: var(--text-heading);
}

.structure-preview-row-turnref {
  color: #b36b00;
  font-weight: 700;
}

.structure-preview-row.is-highlighted {
  border-left-color: #b36b00;
  background: rgba(255, 162, 26, 0.12);
  border-radius: 6px;
  padding: 8px 10px;
}

.panel-drawer {
  margin-top: 8px;
}

.panel-table {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 162, 26, 0.03);
  padding: 10px 12px;
}

.candidate-panel,
.overview-panel,
.state-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.candidate-panel-note {
  margin: 0 0 10px 0;
  font-size: 13px;
  color: var(--text-mid);
}

.candidate-evidence-message {
  margin: 8px 0;
  font-size: 13px;
  color: var(--text-note);
}

.candidate-group {
  margin-top: 10px;
}

.candidate-group-title {
  margin: 0 0 6px 0;
  font-size: 14px;
  color: var(--text-mid);
}

.candidate-group-grid {
  display: grid;
  gap: 8px;
}

.candidate-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-surface);
  padding: 10px 10px;
}

.candidate-card-type {
  font-size: 14px;
  font-weight: 700;
  color: #b36b00;
}

.candidate-card-statement {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-heading);
}

.candidate-card-meta,
.candidate-card-confidence,
.candidate-card-evidence,
.candidate-panel-empty {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-mid);
}

.candidate-card-details {
  margin-top: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #f8fbff;
  border: 1px solid #dfeaf7;
  font-size: 12px;
  color: #20344b;
  line-height: 1.45;
}

.candidate-card-details > div + div {
  margin-top: 2px;
}

.candidate-evidence-link {
  margin-left: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: #b36b00;
  cursor: pointer;
  font-size: 12px;
  padding: 3px 8px;
}

.candidate-evidence-link:hover {
  border-color: #b36b00;
}

.candidate-card.is-highlighted {
  border-color: #b36b00;
  box-shadow: 0 0 0 2px rgba(179, 107, 0, 0.16);
}

.overview-headline {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #b36b00;
}

.overview-note {
  margin: 6px 0 8px 0;
  font-size: 13px;
  color: var(--text-mid);
}

.overview-section {
  margin-top: 10px;
}

.overview-section-title {
  margin: 0 0 5px 0;
  font-size: 14px;
  color: #DCDBDB;
}

.overview-note-secondary {
  opacity: 0.8;
  font-size: 13px;
}

.overview-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-heading);
}

.overview-list li {
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.45;
}

.overview-state-link {
  margin-left: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: #b36b00;
  cursor: pointer;
  font-size: 12px;
  padding: 3px 8px;
}

.overview-state-link:hover {
  border-color: #b36b00;
}

.overview-empty {
  font-size: 12px;
  color: var(--text-mid);
}

.overview-count-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.overview-count-item {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text-heading);
  background: var(--bg-surface);
}

.state-panel-note {
  margin: 0 0 10px 0;
  font-size: 13px;
  color: var(--text-mid);
}

.state-panel-grid {
  display: grid;
  gap: 8px;
}

.state-panel-empty {
  font-size: 12px;
  color: var(--text-mid);
}

.drawer-hierarchy-list {
  margin: 0 0 10px 18px;
  padding: 0;
  color: var(--text-heading);
  font-size: 13px;
}

.drawer-hierarchy-list li {
  margin-bottom: 4px;
}

.state-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-surface);
  padding: 8px 10px;
}

.state-card-type {
  font-size: 13px;
  font-weight: 700;
  color: #b36b00;
}

.state-card-summary {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-heading);
}

.state-card-status,
.state-card-evidence,
.state-card-missing {
  margin-top: 5px;
  font-size: 13px;
  color: var(--text-mid);
}

.state-card-details {
  margin-top: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #f8fbff;
  border: 1px solid #dfeaf7;
  font-size: 12px;
  color: #20344b;
  line-height: 1.45;
}

.state-card-details > div + div {
  margin-top: 2px;
}

.state-evidence-link,
.state-candidate-link {
  margin-right: 6px;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: #b36b00;
  cursor: pointer;
  font-size: 12px;
  padding: 3px 8px;
}

.state-evidence-link:hover,
.state-candidate-link:hover {
  border-color: #b36b00;
}

.state-card.is-highlighted {
  border-color: #b36b00;
  box-shadow: 0 0 0 2px rgba(179, 107, 0, 0.16);
}

.compare-summary-head {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--text-mid);
}

.compare-summary-note {
  font-size: 13px;
  color: var(--text-mid);
}

.compare-evidence-shell {
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.compare-drawer-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-heading);
  font-size: 13px;
}

.compare-drawer-list li {
  margin-bottom: 6px;
}

.compare-drawer-empty {
  font-size: 12px;
  color: var(--text-mid);
}

.compare-drawer-subtitle {
  margin: 0 0 8px 0;
  font-size: 12px;
  color: var(--text-mid);
}

.integrity-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.summary-metric-shell {
  padding: 12px 14px;
}

.summary-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.summary-metric-card {
  text-align: center;
  min-width: 0;
}

.summary-metric-card .integrity-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #b36b00;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.01em;
}

.summary-metric-card .integrity-card-count {
  margin-top: 5px;
  color: #ffa21a;
}

.summary-metric-card .integrity-card-count strong {
  display: inline-block;
  line-height: 1.1;
  color: #ffa21a;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .summary-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.integrity-filter-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-surface);
  color: var(--text-heading);
  cursor: pointer;
  font-size: 12px;
  padding: 5px 10px;
}

.integrity-filter-btn.is-active {
  border-color: #b36b00;
  color: #b36b00;
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(179, 107, 0, 0.12);
}

/* Decision Integrity presentation controls */
#integrityFilterBar .integrity-filter-btn {
  border-color: #b36b00;
}

#integrityFilterBar .integrity-filter-btn:hover,
#integrityFilterBar .integrity-filter-btn.is-active {
  color: #ffa21a;
}

#integrityDashboardPanel .integrity-open-evidence {
  border-color: #b36b00;
}

#integrityDashboardPanel .integrity-open-evidence:hover {
  border-color: #b36b00;
  color: #ffa21a;
}

.integrity-head {
  display: grid;
  gap: 10px;
}

.integrity-note {
  font-size: 13px;
  color: var(--text-mid);
}

.integrity-grid {
  display: grid;
  gap: 10px;
}

.integrity-grid.two-col {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.integrity-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-surface);
  padding: 10px;
}

.integrity-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #b36b00;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.integrity-card-count {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-heading);
}

.integrity-card-note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-mid);
}

.integrity-card-list,
.integrity-priority-list {
  margin: 8px 0 0 18px;
  padding: 0;
  color: var(--text-heading);
  font-size: 14px;
}

.integrity-card-list li,
.integrity-priority-list li {
  margin-bottom: 6px;
}

.integrity-priority-list button,
.integrity-card-list button {
  margin-left: 6px;
}

.integrity-ledger {
  display: grid;
  gap: 10px;
}

.integrity-ledger-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-surface);
  padding: 10px;
}

.integrity-ledger-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: baseline;
}

.integrity-ledger-summary {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-heading);
}

.integrity-ledger-meta,
.integrity-evidence-meta,
.integrity-evidence-note {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}

.integrity-ledger-flags,
.integrity-evidence-blocks {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.integrity-flag {
  border: 1px solid #dfeaf7;
  background: #f8fbff;
  color: #20344b;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
}

.integrity-flag strong {
  color: #b36b00;
}

.integrity-detail-grid {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.integrity-detail-row {
  display: grid;
  gap: 2px;
  font-size: 12px;
  color: var(--text-mid);
}

.integrity-detail-row strong {
  color: var(--text-heading);
}

.integrity-evidence-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
}

.integrity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.integrity-empty {
  font-size: 12px;
  color: var(--text-mid);
}

.brief-grid {
  display: grid;
  gap: 10px;
}

.brief-section {
  background: #fff;
  color: #444444;
}

.brief-item-list {
  margin: 8px 0 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.brief-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fdfdfd;
  color: #AD6605;
  padding: 8px 10px;
}

.brief-item-summary {
  font-size: 14px;
  color: #794E5E;
  font-weight: 600;
}

.brief-item-detail,
.brief-item-meta,
.brief-item-evidence {
  margin-top: 6px;
  font-size: 13px;
  color: #333333;
}

#resultPanelBrief,
#resultPanelBrief p,
#resultPanelBrief li,
#resultPanelBrief .note {
  color: var(--text);
}

#briefStatusText {
  color: #b36b00 !important;
  font-size: 14px !important;
}

.brief-warning-card {
  border-color: #ffe08a;
  background: #fff9e8;
}

.summary-scope-row {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.45;
}

.summary-shell {
  display: grid;
  gap: 10px;
}

.summary-grid {
  display: grid;
  gap: 10px;
}

.summary-narrative-card {
  border: 1px solid #b36b00;
  border-radius: 10px;
  background: #fffdf8;
  padding: 12px;
}

.summary-narrative-title {
  font-size: 14px;
  font-weight: 700;
  color: #b36b00;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.summary-prose-primary {
  margin-top: 8px;
}

.summary-evidence-drawer {
  margin-top: 0;
}

.summary-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.summary-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #b36b00;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.summary-prose {
  margin: 10px 0 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: #333;
}

.summary-sentence-wrap {
  display: inline;
}

.summary-sentence-text {
  color: #794E5E;
  font-weight: 500;
}

.summary-evidence-marker {
  display: inline-block;
  margin-left: 6px;
  margin-right: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 11px;
  line-height: 1.4;
  color: #b36b00;
  background: rgba(179, 107, 0, 0.06);
}

button.summary-evidence-marker {
  cursor: pointer;
}

button.summary-evidence-marker:hover {
  border-color: #b36b00;
  background: rgba(179, 107, 0, 0.14);
}

#resultPanelSummary,
#resultPanelSummary p,
#resultPanelSummary li,
#resultPanelSummary .note {
  color: var(--text);
}

#summaryTabSubtext {
  color: #b36b00 !important;
}

#chart {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: 240px !important;
}

/* ── MAGIC KEY ── */
.access-bar {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  padding: 10px 20px;
  font-size: 14px;
  text-align: center;
  border-radius: 25px;
  border-left: 1px solid;
  border-right: 1px solid;
  border-top: 1px solid;
  border-bottom: 1px solid;

  backdrop-filter: blur(5px);
  background: rgba(0,0,0,0.4);
  color: #fff;
}

.access-bar.free {
  background: rgba(255, 152, 0, 0.85);
}

.access-bar.paid {
  background: rgba(76, 175, 80, 0.85);
}

.access-bar.expired {
  background: rgba(229, 57, 53, 0.9);
}


/* ── LINKS ── */

a:link {
    color: var(--text-mid);
    text-decoration: none;
}

/* visited link */
a:visited {
    color: var(--text-mid);
}

/* mouse over link */
a:hover {
    color: #b36b00;
    text-decoration: underline;
}

/* selected link */
a:active {
    color: #ffa21a;
    text-decoration: underline;
}

/* The header remains black in both themes, so its navigation contrast stays fixed. */
.site-header a.brand:link,
.site-header a.brand:visited,
.site-header a.brand:hover,
.site-header a.brand:active {
    color: #eee9df;
    text-decoration: none;
}

.site-header .hero-nav > a:link,
.site-header .hero-nav > a:visited {
    color: #c4c4c4;
}

.site-header .hero-nav > a:hover {
    color: #b36b00;
    text-decoration: none;
}

.site-header .hero-nav > a:active {
    color: #ffa21a;
    text-decoration: none;
}

.site-header .hero-nav-menu a:link,
.site-header .hero-nav-menu a:visited {
    color: #eee9df;
}

.site-header .hero-nav-menu a:hover,
.site-header .hero-nav-menu a:focus-visible {
    color: #fff;
    text-decoration: none;
}

.header-actions .nav-signin:link,
.header-actions .nav-signin:visited {
    color: #b36b00;
}

input[type=‘text’]:focus {
    outline: 0;
}


/* ── PAGE ── */

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: 0.4px;
}

/* Keep the page itself as the vertical scroller.  With both html and body
   fixed to 100% tall, overflow-x:hidden makes body an internal auto-scroller
   in Firefox, which removes the browser's normal vertical scrollbar/gutter. */
html {
    overflow-y: scroll;
}

body {
    height: auto;
}

@media (max-width: 768px) {
    body {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 12px;
    }
}


/* === 50/50 SPLIT BACKGROUND === */

.yinyang {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    --yy-split-at: 58vh;
    background: linear-gradient(
      to bottom,
      #f4f4f4 0,
      #f4f4f4 var(--yy-split-at),
      #000000 var(--yy-split-at),
      #000000 100%
    );
}

.yinyang::before {
  content: "";
  position: absolute;
  inset: 0;
/*    background: */
/*    linear-gradient( */
/*      90deg, */
/*      rgba(255,255,255,0.2), */
/*      transparent 45%, */
/*      transparent 50%, */
/*      rgba(0,0,0,0.06) */
/*    ), */
/*    radial-gradient( */
/*      circle at 30% 20%, */
/*      rgba(255,255,255,0.05), */
/*      transparent 60% */
/*    ); */

  pointer-events: none;
}

.yinyang::after {
  content: "";
  position: absolute;
  inset: 0;

/*   background: radial-gradient( */
/*     circle at center, */
/*     rgba(0,0,0,0.08), */
/*     transparent 60% */
/*   ); */

/*  opacity: 0.2; */
/*  transition: all 0.5s ease; */

  pointer-events: none;
}

.yinyang.focus::after {
  transform: scale(0.85);
  opacity: 0.35;
}

/* === Compare BUTTON === */

.action-row {
  text-align: center;
  margin-top: 10px;
}

/* FONTS */
  h1 {
    font-family: 'Montserrat', sans-serif;
/*    font-size: clamp(25px, 4.0vw, 35px); */
    font-size: clamp(20px, 30px, 35px);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0.5em 0 0.3em 0;   /* fixed spacing, not em */
    line-height: 1.1; 
    color: black;
/*    color: black; */
/*  mix-blend-mode: difference;  */
}

  h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0.5em 0 0.3em 0;   /* fixed spacing, not em */
    line-height: 1.1;
    color: #808080;
/*  mix-blend-mode: difference;  */
}

  h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(16px, 20vw, 10px);
    font-weight: 600;
    color: #808080;
}

  h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 15vw, 15px);
    font-weight: 500;
    color: #808080;
    letter-spacing: 0.05em;
}

/* TAGLINE */
.tag {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: clamp(20px, 10vw, 20px);
    color: #B82158;
    font-weight: 500;
    mix-blend-mode: difference;
    letter-spacing: 0.08em;
}

.tag2 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: clamp(20px, 10vw, 20px);
    color: #843458;
    font-weight: 500;
    mix-blend-mode: difference;
    letter-spacing: 0.08em;
}

.comparison-hero__eyebrow {
  margin: 0 0 16px;
  color: var(--pale-pink);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.subheading {
    margin-top: 5px;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(16px, 180vw, 18px);
    color: #8A7650;
    font-weight: 500;
/*    mix-blend-mode: difference; */
}

@media (max-width: 768px) {
.subheading {
    font-size: 16px;
    margin: 12px 0 5px 0;
  }
}

@media (max-width: 480px) {
.subheading {
    font-size: 16px;
    margin: 10px 0 5px 0;
  }
}

.subheading2 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: clamp(14px, 16vw, 16px);
    color: #8A7650;
    font-weight: 500;
/*    mix-blend-mode: difference; */
/*    opacity: 0.9; */
    letter-spacing: 0.05em;
    line-height: 1.2;
}

@media (max-width: 768px) {
.subheading2 {
    font-size: 14px;
    margin: 10px 0 5px 0;
  }
}

@media (max-width: 480px) {
.subheading2 {
    font-size: 13px;
    margin: 8px 0 5px 0;
  }
}

.dashboard {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: clamp(14px, 16vw, 16px);
    color: #ADADAD;
    font-weight: 500;
/*    mix-blend-mode: difference; */
/*    opacity: 0.9; */
    letter-spacing: 0.05em;
    line-height: 1.2;
}

@media (max-width: 768px) {
.dashboard {
    font-size: 14px;
    margin: 10px 0 5px 0;
  }
}

@media (max-width: 480px) {
.dashboard {
    font-size: 13px;
    margin: 8px 0 5px 0;
  }
}

.white { color: #ffffff; }
.light_grey { color: #C4C4C4; }
.mid_grey { color: #ADADAD; }
.dark_grey { color: #525151 }
.black { color: #000000; }
.green { color: #697565; }
.twotone { color: var(--text2); }
.bright { color: #ffa21a !important; }
.brightorange { color: #ffa21a !important; }
.deepred { color: #C94716 !important; }

.colour { 
    color: #AD6605;
}
/* green */
.colour2 { 
    color: #697565;
}
/* red */
.colour3 { 
    color: #853953;
}
/* sand */
.colour4 { 
    color: #8A7650;
    font-weight: 400;
/* sand */
}
.colour5 { 
    color: #b36b00;
    font-weight: 400;
}

/* navigation */
.nav {
  border-radius: 25px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-nav);
  padding: 5px 5px;
  font-size: 14px;
  line-height: 1;
  vertical-align: baseline;
  background-color: var(--bg-surface);
  mix-blend-mode: difference;
  display: table;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .nav {
        border-radius: 15px;
        padding: 4px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .nav {
        border-radius: 10px;
        padding: 2px;
        font-size: 10px;
    }

    .nav td {
        padding: 2px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav a {
        white-space: nowrap;
    }
}

/* === HEADER === */

.header {
    text-align: left;
    margin-bottom: 25px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
}

.logo {
    display: block;
    margin: 0 auto 12px auto;
}

.title {
  margin-bottom: 10px;
  font-size: 25px;
  color: var(--text-heading);
}

.strap {
    margin: 0;
    font-size: 20px;
    font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
    color: #DBDBDB;
    color: var(--text-sub);
/*    color: var(--text-heading); */
}


th,
td {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

/* === CENTER WRAPPER === */
.center {
  width: 100%;
  margin: 0 auto;
  max-width: 90%;
  padding: 20px 20px; /* match .content */
}

/* Page container */
.page {
    position: relative;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    padding: 15px 15px;
    z-index: 1;
}

@media (max-width: 1100px) {
    .page {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .page {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .page {
        padding: 0 5px;
    }
}

/* === UPLOAD ROW (A/B split) === */
.upload-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.upload-cell {
  width: 50%;
}

/* Keep the static email card and dynamic access card matched as their contents change. */
.upload-row--access {
  align-items: stretch;
}

.upload-row--access .upload-cell {
  display: flex;
}

.upload-row--access .access-panel-card {
  height: 100%;
}

.access-panel-content {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.access-panel-content .subheading2 {
  margin: 0;
}

.access-panel-content input {
  margin: 0;
}

#gateMessage {
  margin-top: 0 !important;
}

#gateMessage:empty {
  display: none;
}

/* responsive */
@media (max-width: 768px) {
  .upload-row {
    flex-direction: column;
  }
  .upload-cell {
    width: 100%;
  }
}

.cell {
  display: flex;
  justify-content: center;
}

/* === Tables === */

.table-wrap {
  display: inline-block; /* keeps it tight to table size */
  border-radius: 25px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
/*  overflow: hidden; /* ensures clean rounded corners */
  transform: translateZ(0);
}

.content {
/*  box-shadow: var(--shadow-nav); */
/*  background: var(--bg-content); */
  border: 1px solid rgba(100,100,100,0.20);
  border-collapse: separate;  /* IMPORTANT for radius  */
  border-radius: 25px;
  border-spacing: 0;
  padding: 20px 35px;
  min-height: 100vh;
  backdrop-filter: blur(2px);
  background: rgba(255,255,255,0.05); /* subtle base */
/*  background: transparent; */
}

@media (max-width: 768px) {
  .content {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 10px 15px;
    border-left: none;
    border-right: none;
  }
}

.content p {
  margin: 0 0 15px 0;
}

.intro-table  {
  border: 1px solid #3B3B3B;
  box-shadow: var(--shadow-nav);
  border: 1px solid rgba(224, 224, 224, 0.201);
  border-collapse: separate;  /* IMPORTANT for radius */
  border-radius: 25px;
  border-spacing: 0;
  padding: 15px 25px;
  background-size: contain;
  backdrop-filter: blur(1px);
  background: rgba(255,255,255,0.03); /* subtle base */
}

@media (max-width: 768px) {

    .table,
    .intro-table {
        padding: 5px 5px;
        border-radius: 15px;
    }

    .table td,
    .intro-table td {
        padding: 5px 5px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .table,
    .intro-table {
        padding: 5px 5px;
        border-radius: 10px;
    }

    .table td,
    .intro-table td {
        padding: 5px 5px;
        font-size: 11px;
        word-break: break-word;
    }
}

.table {
  border-radius: 25px;
  border-left: 0px solid var(--line);
  border-right: 0px solid var(--line);
  border-top: 0px solid var(--line);
  border-bottom: 0px solid var(--line);
  padding: 15px 15px;
  width: 100%;
  table-layout: auto;
  word-break: break-word;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
}

.table_white {
  background-color: var(--bg-surface);
  border-radius: 25px;
  border: 1px solid var(--line);
  letter-spacing: 0.05em;
  padding: 15px 15px;
  width: 100%;
  table-layout: auto;
  word-break: break-word;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
}

@media (max-width: 768px) {

    .table,
    .table_white {
        padding: 10px 10px;
        border-radius: 15px;
    }

    .table td,
    .table_white td {
        padding: 6px 4px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .table,
    .table_white {
        padding: 8px 6px;
        border-radius: 10px;
    }

    .table td,
    .table_white td {
        padding: 4px 2px;
        font-size: 11px;
        word-break: break-word;
    }
}

.table_solid {
  background-color: var(--bg-surface);
  border-radius: 25px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-nav);
  padding: 12px 12px;
  width: 100%;
  table-layout: auto;
  word-break: break-word;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
}

@media (max-width: 768px) {

    .table,
    .table_solid {
        padding: 10px 10px;
        border-radius: 15px;
    }

    .table td,
    .table_solid td {
        padding: 6px 5px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .table,
    .table_solid {
        padding: 8px 6px;
        border-radius: 10px;
    }

    .table td,
    .table_solid td {
        padding: 4px 2px;
        font-size: 11px;
        word-break: break-word;
    }
}

.table_orange {
  background-color: var(--bg-surface);
  border-radius: 25px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-nav);
  padding: 15px 15px;
  width: 100%;
  color: #ffa21a;
  table-layout: auto;
  word-break: break-word;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
}

@media (max-width: 768px) {

    .table,
    .table_orange {
        padding: 10px 10px;
        border-radius: 15px;
    }

    .table td,
    .table_orange td {
        padding: 6px 4px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .table,
    .table_orange {
        padding: 8px 6px;
        border-radius: 10px;
    }

    .table td,
    .table_orange td {
        padding: 4px 2px;
        font-size: 11px;
        word-break: break-word;
    }
}

.table_sand {
  background-color: var(--bg-surface);
  border-radius: 25px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-nav);
  padding: 15px 15px;
  width: 100%;
  color: #AD6605;
  table-layout: auto;
  word-break: break-word;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
}

@media (max-width: 768px) {

    .table,
    .table_solid {
        padding: 10px 10px;
        border-radius: 15px;
    }

    .table td,
    .table_sand td {
        padding: 6px 4px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .table,
    .table_sand {
        padding: 8px 6px;
        border-radius: 10px;
    }

    .table td,
    .table_sand td {
        padding: 4px 2px;
        font-size: 11px;
        word-break: break-word;
    }
}

.table_grey {
  background-color: #FAFAFA;
  color: #888888;
  border-radius: 25px;
  border-left: 1px solid;
  border-right: 1px solid;
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-color: #C5C4C4;
  box-shadow: var(--shadow-nav);
  padding: 10px 10px;
  width: 100%;
  table-layout: auto;
  word-break: break-word;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
}

@media (max-width: 768px) {

    .table,
    .table_grey {
        padding: 8px 8px;
        border-radius: 15px;
    }

    .table td,
    .table_grey td {
        padding: 6px 5px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .table,
    .table_grey {
        padding: 8px 6px;
        border-radius: 10px;
    }

    .table td,
    .table_grey td {
        padding: 4px 2px;
        font-size: 11px;
        word-break: break-word;
    }
}

.table_listing {
  background-color: var(--bg-surface);
/* opacity: 0.30; */
  border-left: 1px solid;
  border-right: 1px solid;
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-color: #697565;
  color: var(--text);
  border-radius: 25px;
  padding: 12px 12px;
  width: 100%;
  table-layout: auto;
  word-break: break-word;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
}

@media (max-width: 768px) {

    .table,
    .table_listing {
        padding: 10px 10px;
        border-radius: 15px;
    }

    .table td,
    .table_listing td {
        padding: 6px 4px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .table,
    .table_listing {
        padding: 8px 6px;
        border-radius: 10px;
    }

    .table td,
    .table_listing td {
        padding: 4px 2px;
        font-size: 11px;
        word-break: break-word;
    }
}


.table_api {
  border-radius: 25px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 15px;
  background: url("./images/api.jpg") center center no-repeat;
  background-size: contain;
  opacity: 0.2;
  border-collapse: separate;
  border-spacing: 0;
}

[data-theme="dark"] .table_api {
    background-image: url("./images/api_bk.jpg");
}

.field {
  background-color: var(--field-bg);
  border-radius: 25px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-nav);
  padding: 15px 15px 15px 15px;
  font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
  color: var(--field-text);
  word-break: break-word;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
}

@media (max-width: 768px) {
    .field {
        padding: 10px 10px 10px 10px;
        border-radius: 15px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .field {
        padding: 10px 10px 10px 10px;
        border-radius: 10px;
        font-size: 11px;
    }
}

.api_field {
    border-radius: 25px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 15px 15px 15px 15px;
    font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
    color: var(--field-text);
    background: url("./images/api.jpg") center center no-repeat;
    background-size: contain;
    opacity: 0.1;
}

[data-theme="dark"] .api_field {
    background-image: url("./images/api_bk.jpg");
}

/* THEME TOGGLE */

html {
  transition: background 0.5s ease, color 0.5s ease;
}

.toggle {
  border-radius: 15px;
  border: 1px solid var(--line);
  padding: 5px 5px 5px 5px;
  color: #555757;
  cursor: pointer;
  display: table;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
}

.toggle img {
  width: 4vw;
  min-width: 28px;
  max-width: 40px;
}

/* API Pipeline */

.pipeline {
  background-color: #000000;
  border-radius: 25px;
  border: 1px solid #787777;
  padding: 15px;
  margin: 10px 0;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 5px;
  gap: 5px;
  overflow-x: auto;
  width: 100%;
  box-sizing: border-box;
}

.node {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .pipeline {
    gap: 3px;
    row-gap: 3px;
    padding: 8px;
  }

  .node {
    padding: 3px 6px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .pipeline {
    gap: 2px;
    row-gap: 2px;
    padding: 6px;
    justify-content: flex-start;
    margin: 8px 0;
  }

  .node {
    padding: 2px 4px;
    font-size: 10px;
  }

  .node code {
    font-size: 9px;
  }
}

.node.active {
    background: var(--node-active-bg);
    color: var(--node-active-text);
    font-size: 12px;
    white-space: preserve nowrap;
    white-space: nowrap;
    /* prevent internal text wrap */
}

.node.option {
    background: #969696;
    color: #000;
    font-size: 12px;
    white-space: preserve nowrap;
    white-space: nowrap;
    /* prevent internal text wrap */
}

.node.demo {
    background: #EBD8EB;
    color: #000;
    font-size: 12px;
    white-space: preserve nowrap;
    white-space: nowrap;
    /* prevent internal text wrap */
}

.node.extra {
    background: #969696;
    color: #fff;
    font-size: 12px;
    white-space: preserve nowrap;
    white-space: nowrap;
    /* prevent internal text wrap */
}

.node.muted {
    background: #cccccc;
    color: #888;
    font-size: 12px;
    white-space: preserve nowrap;
    white-space: nowrap;
    /* prevent internal text wrap */
}

.arrow {
  margin: 0 6px;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .arrow {
    margin: 0 3px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .arrow {
    margin: 0 1px;
    font-size: 10px;
  }
}


#textInput {
    width: 100%;
    min-height: 150px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-heading);
    background: var(--bg-surface-input);
    line-height: 1.4;
    box-sizing: border-box;
    padding: 10px 10px 10px 10px;
}

/* Backgrounds */
.bg-multi-yin-yang {
    position: fixed;
    padding: 10px;
    inset: 0;
    background: url("./images/black-diagonal-stripes.jpg") center center no-repeat;
    background-size: cover;
/* opacity: 0.06; */
    pointer-events: none;
    z-index: 0;
}

.bg-yin-yang {
    position: fixed;
    padding: 10px;
    inset: 0;
    background: url("./images/black-diagonal-stripes.jpg") center center no-repeat;
    background-size: cover;
/*    opacity: 0.09; */
    pointer-events: none;
    z-index: 0;
}

[data-theme="light"] .bg-yin-yang {
    background-image: url("./images/white-diagonal-stripes.jpg");
}

/* Dark theme background image swaps */


[data-theme="dark"] .bg-multi-yin-yang {
    background-image: url("./images/black-diagonal-stripes.jpg");
    opacity: 0.6;
    padding: 0px;
}

[data-theme="dark"] .bg-multi-yin-yang {
    background-image: url("./images/white-diagonal-stripes.jpg");
    opacity: 0.6;
    padding: 0px;
}

/* Form */
.box {
    border: 1px solid #787777;
    padding: 10px;
    margin: 10px 0;
    border-radius: 10px;
}

.textarea {
    width: 100%;
    min-height: 120px;
}

.button {
    margin-top: 10px;
    padding: 10px 10px;
    font-size: 14px;
    cursor: pointer;
}

.pre {
    background: var(--bg-pre);
    padding: 12px;
    overflow-x: auto;
    font-size: 14px;
}

.note {
    font-size: 14px;
    color: var(--text-note);
/*   color:#b36b00;  */
}

.metric-label {
    display: inline-block;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
}

/* Buttons */

.form_upload {
/*  background: var(--bg-content);*/
/*  background-color: var(--bg-surface);*/
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-nav);
    border-radius: 15px;
    padding: 10px;
    background-color: fff;
    font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
    color: var(--text-mid);
    font-size: 14px;
    cursor: pointer;
}

button.form_button {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-nav);
    border-radius: 20px;
    border: 2px solid #b36b00;
    padding: 10px;
    color: #b36b00;
    font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
    font-size: 14px;
    cursor: pointer;
}

button.form_button:hover {
  background: rgba(255, 255, 255, 255);
  border-color: #ffa21a;
  color: #b36b00;
}

button.form_button:active {
  transform: scale(0.96);
  border-color: #ffa21a;
}

button.form_button a {
  text-decoration: none;
  border-color: #ffa21a;
}

button.form_button a:hover {
  color: #ffa21a;
}

button.request_key {
    background: var(--bg-content);
    box-shadow: var(--shadow-nav);
    border-radius: 25px;
    border: 1px solid var(--line);
    padding: 15px;
    font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
    color: var(--text-mid);
    font-size: 14px;
    cursor: pointer;
}


/* EMAIL BUTTON */
button.email_button {
/*   background: #242423; */
  background: var(--bg-content);
  box-shadow: var(--shadow-nav);
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 12px 12px;
  font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
  border-color: #b36b00;
  color: #C27508;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

button.email_button:hover {
  border-color: #ffa21a;
  color: #ffa21a;
}

button.email_button:active {
  transform: scale(0.96);
  border-color: #ffa21a;
}

button.email_button a {
  text-decoration: none;
  color: #ffa21a;
  border-color: #ffa21a;
}

button.email_button a:hover {
  color: #ffa21a;
}


/* BUY BUTTON */
button.buy_button {
  background: var(--bg-content);
  box-shadow: var(--shadow-nav);
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 12px 12px;
  font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
  color: #b36b00;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

button.buy_button:hover {
  border-color: #b36b00;
  color: #ffa21a;
}

button.buy_button:active {
  transform: scale(0.96);
  border-color: #ffa21a;
}

button.buy_button a {
  text-decoration: none;
  color: #b36b00;
  border-color: #ffa21a;
}

button.buy_button a:hover {
  color: #ffa21a;
}

/* Status block */
.status {
    margin: 20px 0 10px 0;
    font-size: 14px;
}

.status .pending {
    margin-top: 20px;
}

/* Motto */

.motto {
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
    font-family: "Poiret One", "Trajan Pro", serif;
    font-size: 16px;
    letter-spacing: 1.4px;
    color: #525151;
    white-space: nowrap;
}

/* Footer */

.footer {
    margin-top: 0px;
    text-align: center;
    font-size: 12px;
    color: #b5b5b5;
}


/* ── Image responsiveness ── */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.logo {
    max-width: 100%;
    height: auto;
}

/* ── Table responsiveness ── */

table {
    width: 100%;
    border-collapse: collapse;
}

td,
th {
    word-break: break-word;
    padding: 4px;
}

/* ── Heading and text scales ── */

h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    line-height: 1.2;
}

/* Legacy semantic headings are often the first item in a table cell.
   Keep their document spacing, but prevent an empty band above cell titles. */
td > h1,
td > h2,
td > h3,
td > h4,
td > h5,
td > h6,
th > h1,
th > h2,
th > h3,
th > h4,
th > h5,
th > h6 {
    margin-top: 0 !important;
}

p {
    margin: 0.0em 0;
}

/* Defensive reset for empty paragraphs emitted by legacy or malformed markup. */
p:empty,
.content p:empty {
    margin: 0;
}

h2 + p,
h3 + p,
h4 + p,
h5 + p,
h6 + p,
h2 + em,
h3 + em,
h4 + em,
h5 + em,
h6 + em {
    margin-top: 0;
}

/* ── Content sections ── */
/* Note: .content is also defined above at line 797 with proper padding */

/* Header table specific styles */

.content > table:first-child {
  width: 100%;
}

.content > table:first-child td {
  vertical-align: middle;
}

.content > table:first-child td[align="left"] {
  text-align: left;
}

.content > table:first-child td[align="right"] {
  text-align: right;
  padding-right: 10px;
}

/* Logo alignment */
.content .logo {
  display: block;
  margin: 0;
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .content .logo {
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .content .logo {
    max-width: 180px;
  }
}


.strap {
    font-size: 14px;
    margin: 12px 0;
    word-break: break-word;
}

.subtitle {
    font-size: 16px;
    margin: 16px 0 8px 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .page {
        padding: 16px 12px 12px;
    }

    .strap {
        font-size: 12px;
    }

    .subtitle {
        font-size: 14px;
        margin: 12px 0 6px 0;
    }
    
    .tag {
        font-size: 16px;
        margin: 12px 0 6px 0;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    h4 {
        font-size: 16px;
    }

    .motto {
        font-size: 12px;
        letter-spacing: 0.5px;
        white-space: normal;
    }

    td {
        padding: 3px;
    }
}

@media (max-width: 480px) {
    .page {
        padding: 12px 8px 8px;
    }

    .logo {
        max-width: 200px !important;
    }

    .strap {
        font-size: 11px;
        margin: 8px 0;
    }

    .subtitle {
        font-size: 13px;
        margin: 10px 0 5px 0;
    }
    
    .tag {
        font-size: 13px;
        margin: 12px 0 6px 0;
    }

    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 16px;
    }

    h4 {
        font-size: 14px;
    }

    p {
        font-size: 12px;
        margin: 0;
    }

    .motto {
        font-size: 10px;
        letter-spacing: 0.2px;
        white-space: normal;
        word-break: break-word;
    }

    .footer {
        font-size: 10px;
        margin-top: 12px;
    }

    td {
        padding: 2px;
        font-size: 11px;
    }

    .nav td {
        padding: 2px 2px;
    }
}

/* ── MeetMeaning examples page ── */
  .mm-examples {
    --mm-panel: var(--bg-surface);
    --mm-panel-soft: var(--bg-surface-alt);
    --mm-border: var(--line);
    --mm-ink: var(--text);
    --mm-heading: var(--text-heading);
    --mm-muted: var(--text-mid);
    --mm-accent: #b36b00;
    --mm-hot: #C94716;
    margin: 2px 0 4px;
    color: var(--mm-ink);
    font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
  }

  [data-theme="light"] .mm-examples { --mm-panel-soft: #f6f4f0; --mm-border: #d2cfca; }
  .mm-examples * { box-sizing: border-box; }
  .mm-examples h1, .mm-examples h2, .mm-examples h3, .mm-examples p { margin: 0; font-size: clamp(12px, 1vw, 14px); }

  .mm-kicker, .mm-card-number, .mm-demo-label, .mm-utility-label {
    color: var(--mm-accent);
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  .mm-utility-label2 {
    color: var(--mm-accent);
    font-size: 1spx;
    color: #ffa21a;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
  }


  .mm-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(260px, .88fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: end;
    margin: 0 0 30px;
    padding: clamp(27px, 5vw, 56px);
    overflow: hidden;
    border: 1px solid var(--mm-border);
    border-radius: 22px;
    background: radial-gradient(circle at 91% 10%, rgba(201, 71, 22, .14), transparent 25%), linear-gradient(135deg, rgba(179, 107, 0, .13), transparent 46%), var(--mm-panel);
  }

  .mm-hero::after {
    position: absolute;
    right: -86px;
    bottom: -126px;
    width: 312px;
    height: 312px;
    border: 1px solid rgba(179, 107, 0, .32);
    border-radius: 50%;
    content: "";
    pointer-events: none;
  }

  .mm-hero-copy, .mm-depth { position: relative; z-index: 1; }
  .mm-hero h1 {
    max-width: 660px;
    margin: 12px 0 15px;
    color: var(--mm-heading);
    font: 400 clamp(32px, 4.6vw, 58px)/.98 "Montserrat", sans-serif;
    letter-spacing: -.055em;
  }

  .mm-hero h1 span { color: var(--mm-hot); }
  .mm-hero-copy > p:last-child { max-width: 620px; color: var(--mm-muted); font: 400 clamp(14px, 2vw, 20px)/1.43 "Montserrat", sans-serif; line-height: 1.65; }

  .mm-depth {
    display: grid;
    gap: 9px;
    padding: 16px;
    border: 1px solid var(--mm-border);
/*    border-color: #AD6605; */
    border-radius: 14px;
    background: rgba(0, 0, 0, .16);
  }

  [data-theme="light"] .mm-depth { background: rgba(255, 255, 255, .66); }
  .mm-depth > p { margin: 0 0 4px; color: var(--mm-accent); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
  .mm-depth-step { display: grid; grid-template-columns: 29px 1fr; gap: 11px; align-items: start; padding: 10px 0; border-top: 1px solid var(--mm-border); }
  .mm-depth-step:first-of-type { border-top: 0; }
  .mm-depth-step b { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid var(--mm-accent); border-radius: 50%; color: var(--mm-accent); font-size: 11px; }
  .mm-depth-step strong { display: block; color: var(--text2); font-size: 14px; }
  .mm-depth-step span { display: block; margin-top: 1px; color: var(--mm-muted); font-size: 13px; line-height: 1.45; }

  .mm-section-head { margin: 0 0 20px; }
  .mm-section-head h2, .mm-demo-intro h2 {
    margin: 7px 0 14px;
    color: var(--mm-heading);
    font: 400 clamp(24px, 3vw, 36px)/1.06 "Montserrat", sans-serif;
    letter-spacing: -.04em;
  }

  .mm-section-head > p:last-child { max-width: 760px; margin: 0 0 6px; color: var(--mm-muted); font-size: clamp(14px, 3vw, 15px); line-height: 1.58; }
  .mm-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 49px; }
  .mm-flow-card { position: relative; min-height: 207px; padding: 18px 16px 16px; border: 1px solid var(--mm-border); border-radius: 14px; background: var(--mm-panel); }

  .mm-flow-card::after {
    position: absolute;
    z-index: 2;
    top: 27px;
    right: -8px;
    width: 15px;
    height: 15px;
    border-top: 1px solid var(--mm-accent);
    border-right: 1px solid var(--mm-accent);
    background: var(--mm-panel);
    content: "";
    transform: rotate(45deg);
  }

  .mm-flow-card:last-child::after { display: none; }
  .mm-card-number { display: block; margin-bottom: 23px; }
  .mm-flow-card h3 { margin-bottom: 8px; color: var(--mm-heading); font: 500 17px/1.18 "Montserrat", sans-serif; }
  .mm-flow-card p { color: var(--mm-muted); font-size: 12px; line-height: 1.55; }
  .mm-reassurance { margin: -20px 0 52px; padding: 12px 16px; border-left: 2px solid var(--mm-hot); color: var(--mm-heading); font-size: 14px; line-height: 1.55; }
  .mm-reassurance b { color: var(--mm-hot); }

  .mm-demo { margin: 0 0 52px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--mm-border); border-radius: 22px; background: var(--mm-panel-soft); }
  .mm-demo-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; margin-bottom: 21px; }
  .mm-demo-intro > div > p:last-child { max-width: 650px; color: var(--mm-muted); line-height: 1.58; }
  .mm-source-note { max-width: 244px; padding: 10px 12px; border: 1px solid var(--mm-border); border-radius: 10px; color: var(--mm-muted); font-size: 12px; line-height: 1.45; }
  .mm-source-note b { display: block; margin-bottom: 2px; color: var(--mm-accent); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }

  .mm-demo-control { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mm-demo-tabs { display: flex; gap: 8px; margin-bottom: 17px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }

  .mm-demo-tabs label {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 37px;
    padding: 8px 12px;
    border: 1px solid var(--mm-border);
    border-radius: 999px;
    color: var(--mm-muted);
    background: var(--mm-panel);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
  }

  .mm-demo-tabs label:hover { border-color: var(--mm-accent); color: var(--mm-accent); }
  #mm-summary:checked ~ .mm-demo-tabs label[for="mm-summary"],
  #mm-brief:checked ~ .mm-demo-tabs label[for="mm-brief"],
  #mm-compare:checked ~ .mm-demo-tabs label[for="mm-compare"],
  #mm-evidence:checked ~ .mm-demo-tabs label[for="mm-evidence"],
  #mm-integrity:checked ~ .mm-demo-tabs label[for="mm-integrity"] { border-color: var(--mm-accent); color: #fff; background: linear-gradient(135deg, var(--mm-accent), var(--mm-hot)); }

  #mm-summary:focus ~ .mm-demo-tabs label[for="mm-summary"],
  #mm-brief:focus ~ .mm-demo-tabs label[for="mm-brief"],
  #mm-compare:focus ~ .mm-demo-tabs label[for="mm-compare"],
  #mm-evidence:focus ~ .mm-demo-tabs label[for="mm-evidence"],
  #mm-integrity:focus ~ .mm-demo-tabs label[for="mm-integrity"] { outline: 2px solid var(--mm-hot); outline-offset: 2px; }

  .mm-demo-panel { display: none; grid-template-columns: minmax(0, 1.45fr) minmax(230px, .55fr); gap: 18px; align-items: stretch; animation: mm-panel-in .28s ease both; }
  #mm-summary:checked ~ .mm-demo-panels .mm-demo-panel--summary,
  #mm-brief:checked ~ .mm-demo-panels .mm-demo-panel--brief,
  #mm-compare:checked ~ .mm-demo-panels .mm-demo-panel--compare,
  #mm-evidence:checked ~ .mm-demo-panels .mm-demo-panel--evidence,
  #mm-integrity:checked ~ .mm-demo-panels .mm-demo-panel--integrity { display: grid; }

  @keyframes mm-panel-in { from { opacity: .25; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
  .mm-shot { overflow: hidden; border: 1px solid #ffa21a; border-radius: 13px; background: #202024; box-shadow: 0 14px 32px rgba(0, 0, 0, .22); }
  .mm-shot-image { position: relative; display: block; overflow: hidden; color: #fff; cursor: zoom-in; }
  .mm-shot-image::after { position: absolute; right: 11px; bottom: 11px; padding: 7px 9px; border: 1px solid rgba(255, 162, 26, .85); border-radius: 999px; color: #fff; background: rgba(20, 19, 20, .88); box-shadow: 0 5px 14px rgba(0, 0, 0, .35); content: "Open full-size ↗"; font-size: 10px; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; }
  .mm-shot-image:hover::after, .mm-shot-image:focus-visible::after { opacity: 1; transform: translateY(0); }
  .mm-shot-image:focus-visible { outline: 2px solid #ffa21a; outline-offset: -3px; }
  .mm-shot-image img { width: 100%; height: auto; display: block; transition: transform .25s ease; }
  .mm-shot-image:hover img, .mm-shot-image:focus-visible img { transform: scale(1.012); }
  .mm-shot figcaption { padding: 8px 11px; color: #b9b7b8; font-size: 10px; line-height: 1.4; }

  .mm-demo-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(17px, 2vw, 25px); border: 1px solid var(--mm-border); border-radius: 13px; background: var(--mm-panel); }
  .mm-demo-copy h3 { margin: 8px 0 10px; color: var(--mm-heading); font: 400 clamp(20px, 2.1vw, 26px)/1.08 "Montserrat", sans-serif; letter-spacing: -.03em; }
  .mm-demo-copy > p:not(.mm-demo-label) { color: var(--mm-muted); font-size: clamp(12px, 3vw, 14px); line-height: 1.62; }
  .mm-proof-points { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
  .mm-proof-points li { position: relative; padding-left: 14px; color: var(--mm-heading); font-size: 13px; line-height: 1.45; }
  .mm-proof-points li::before { position: absolute; left: 0; color: var(--mm-accent); content: "•"; }

  .mm-companion { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 28px; align-items: center; margin: 0 0 47px; padding: 0 clamp(4px, 2vw, 18px); }
  .mm-companion h2 { margin: 7px 0 16px; color: var(--mm-heading); font: 400 clamp(25px, 3.1vw, 37px)/1.06 "Montserrat", sans-serif; letter-spacing: -.045em; }
  .mm-companion p:not(.mm-kicker) { color: var(--mm-muted); font-size: 13px; line-height: 1.62; }
  .mm-companion-panel { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 9px; align-items: stretch; }
  .mm-utility { min-width: 0; min-height: 132px; padding: 16px; border: 1px solid var(--mm-border); border-radius: 13px; background: var(--mm-panel); overflow-wrap: anywhere; }
  .mm-utility:nth-child(3) { border-color: #b36b00; }
  .mm-utility:nth-child(5) { border-color: #ffa21a; }
  .mm-utility:nth-child(3) .mm-utility-label2 { overflow-wrap: normal; word-break: normal; hyphens: none; }
  .mm-utility strong { display: block; margin: 8px 0 5px; color: var(--mm-heading); font: 500 15px/1.1 "Montserrat", sans-serif; }
  .mm-utility p { color: var(--mm-muted); font-size: 11px; line-height: 1.47; }
  .mm-utility-arrow { align-self: center; color: #b36b00; font-size: 18px; }
  .mm-utility-arrow2 { align-self: center; color: #ffa21a; font-size: 18px; }
  
  .mm-capabilities { padding: 24px; border-top: 1px solid var(--mm-border); border-bottom: 1px solid var(--mm-border); }
  .mm-capabilities h2 { margin: 5px 0 15px; color: var(--mm-heading); font: 500 24px/1.1 "Montserrat", sans-serif; letter-spacing: -.03em; }
  .mm-capability-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
  .mm-capability-list li { padding: 7px 10px; border: 1px solid var(--mm-border); border-radius: 999px; color: var(--mm-heading); background: var(--mm-panel); font-size: 12px; }
  .mm-example-note { margin: 19px 0 0; color: var(--mm-muted); font-size: 12px; line-height: 1.55; }

  @media (max-width: 1050px) {
    .mm-companion { grid-template-columns: 1fr; }
  }

  @media (max-width: 1000px) {
    .mm-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mm-flow-card::after { display: none; }
    .mm-flow-card { min-height: 170px; }
  }

  @media (max-width: 760px) {
    .mm-hero, .mm-demo-panel, .mm-companion { grid-template-columns: 1fr; }
    .mm-hero { padding: 27px 21px; }
    .mm-depth, .mm-source-note { max-width: none; }
    .mm-demo-intro { grid-template-columns: 1fr; }
    .mm-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .mm-flow-card { min-height: 157px; padding: 15px 13px; }
    .mm-card-number { margin-bottom: 16px; }
    .mm-companion-panel { grid-template-columns: 1fr; gap: 7px; }
    .mm-utility { min-height: 0; }
    .mm-utility-arrow,
    .mm-utility-arrow2 { justify-self: center; transform: rotate(90deg); }
  }

  @media (max-width: 460px) {
    .mm-flow { grid-template-columns: 1fr; }
    .mm-flow-card { min-height: 0; }
    .mm-demo { padding: 15px; border-radius: 16px; }
    .mm-hero { border-radius: 16px; }
    .mm-reassurance { margin-bottom: 42px; }
    .mm-capabilities { padding: 20px 0; }
  }

  @media (prefers-reduced-motion: reduce) {
    .mm-demo-tabs label, .mm-demo-panel, .mm-shot-image::after, .mm-shot-image img { transition: none; animation: none; }
  }

  @media (hover: none) {
    .mm-shot-image::after { opacity: .96; transform: translateY(0); }
  }

/* ── MeetMeaning pricing and about page refinements ── */
.mm-pricing,
.mm-about {
  --mm-page-panel: var(--bg-surface);
  --mm-page-panel-soft: var(--bg-surface-alt);
  --mm-page-border: var(--line);
  --mm-page-ink: var(--text-heading);
  --mm-page-muted: var(--text-mid);
  --mm-page-accent: #b36b00;
  --mm-page-hot: #C94716;
  --mm-page-good: #697565;
  margin: 2px 0 4px;
  color: var(--text);
  font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
}

[data-theme="light"] .mm-pricing,
[data-theme="light"] .mm-about { --mm-page-panel-soft: #f6f4f0; --mm-page-border: #d2cfca; }

.mm-pricing *,
.mm-about * { box-sizing: border-box; }

.mm-pricing h3,
.mm-pricing h4,
.mm-pricing p,
.mm-about h3,
.mm-about h4,
.mm-about p { margin-top: 0; }

.mm-page-kicker {
  margin: 0 5 10px !important;
  color: var(--mm-page-accent);
/*  font-size: 14px; */
  font-size: clamp(10px, 1vw, 14px);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mm-page-kicker2 {
  margin: 0 5 10px !important;
  color: #8A7650;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Pricing */
.mm-pricing-time,
.mm-pricing-plans {
  margin: 0 0 32px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--mm-page-border);
  border-radius: 22px;
}

.mm-pricing-time {
  background:
    radial-gradient(circle at 88% 8%, rgba(201, 71, 22, .14), transparent 25%),
    linear-gradient(135deg, rgba(179, 107, 0, .13), transparent 46%),
    var(--mm-page-panel);
}

.mm-pricing-plans {
  background:
    radial-gradient(circle at 6% 100%, rgba(179, 107, 0, .13), transparent 30%),
    var(--mm-page-panel-soft);
}

.mm-pricing-plans--accent { border-color: #b36b00; }

.mm-pricing-legacy-grid td { vertical-align: top; }

.mm-pricing-head { width: 100%; max-width: none; margin-bottom: 23px; }

.mm-pricing h2.subheading,
.mm-pricing h3.subheading,
.mm-about h1.subheading,
.mm-about h2.subheading,
.mm-about h3.subheading {
  margin: 0 0 12px;
  margin-bottom: 20px;
  color: var(--text-heading1);
  font: 400 clamp(20px, 3vw, 28px)/1.06 "Montserrat", sans-serif;
  letter-spacing: -.04em;
}

.mm-pricing-head > p:last-child {
  max-width: none;
  color: var(--text2);
  font: 400 clamp(14px, 2vw, 20px)/1.43 "Montserrat", sans-serif;
  line-height: 1.62;
  overflow-wrap: break-word;
}

.mm-pricing-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mm-pricing-benefits article {
  min-height: 152px;
  padding: 15px;
  border: 1px solid var(--mm-page-border);
  border-radius: 13px;
  background: var(--mm-page-panel);
}

.mm-pricing-benefits span {
  display: block;
  margin-bottom: 17px;
  color: var(--mm-page-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
}

.mm-pricing-benefits h3,
.mm-pricing-benefits h4 {
  margin-bottom: 7px;
  color: var(--mm-page-ink);
  font: 500 15px/1.22 "Montserrat", sans-serif;
  letter-spacing: 0;
}

.mm-pricing-benefits p { color: var(--mm-page-muted); font-size: 12px; line-height: 1.55; }

.mm-pricing-questions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.mm-pricing-questions article {
  padding: 14px 15px;
  border-top: 1px solid var(--mm-page-border);
  border-bottom: 1px solid var(--mm-page-border);
}

.mm-pricing-questions p {
  margin-bottom: 5px;
/*  color: var(--mm-page-ink);  */
  color: #8A7650;
  font: 500 14px/1.25 "Montserrat", sans-serif;
}

/* .mm-pricing-questions span { color: var(--mm-page-muted); font-size: 12px; line-height: 1.5; } */

.mm-pricing-questions span {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .13em;
}


.mm-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mm-plan-card {
  display: flex;
  min-height: 287px;
  flex-direction: column;
  padding: 15px;
  border: 1px solid rgba(179, 107, 0, .8);
  border-radius: 14px;
  background: var(--mm-page-panel);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.mm-plan-card--focus,
.mm-plan-card:hover,
.mm-plan-card:focus-within {
  border-color: #ffa21a;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .12);
}

.mm-plan-name {
  min-height: 37px;
/*  color: var(--mm-page-ink); */
  color: #ffa21a;
  font: 500 clamp(16px, 180vw, 18px)/1.12 "Montserrat", sans-serif;
}

.mm-plan-price { margin: 17px 0 2px !important; color: var(--mm-page-hot); font: 500 clamp(29px, 3vw, 38px)/1 "Montserrat", sans-serif; letter-spacing: -.05em; }
.mm-plan-uses { padding-bottom: 13px; border-bottom: 1px solid var(--mm-page-border); color: var(--mm-page-accent); font-size: 12px; font-weight: 600; }

.mm-plan-card ul {
  display: grid;
  gap: 7px;
  margin: 15px 0 18px;
  padding: 0;
  list-style: none;
}

.mm-plan-card li { position: relative; padding-left: 13px; color: var(--mm-page-muted); font-size: 14px; line-height: 1.4; }
.mm-plan-card li::before { position: absolute; left: 0; color: var(--mm-page-accent); content: "•"; }

.mm-plan-action {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding: 11px 12px;
  border: 1px solid var(--mm-page-accent);
  border-radius: 7px;
  color: var(--mm-page-accent) !important;
  background: rgba(179, 107, 0, .05);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
}

.mm-plan-action:hover { color: #fff !important; background: linear-gradient(135deg, var(--mm-page-accent), var(--mm-page-hot)); }

/* About */
.mm-about { max-width: 100%; }

.mm-about-intro {
  margin: 0 0 38px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--mm-page-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 8%, rgba(201, 71, 22, .13), transparent 25%),
    linear-gradient(135deg, rgba(179, 107, 0, .11), transparent 46%),
    var(--mm-page-panel);
}

.mm-about-sub {
  margin: 0 0 25px;
  padding: 15px;
  border: 1px solid var(--mm-page-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 8%, rgba(201, 71, 22, .13), transparent 25%),
    linear-gradient(135deg, rgba(179, 107, 0, .11), transparent 46%),
    var(--mm-page-panel);
}

.mm-about-lede {
/*  max-width: 850px; */
  margin-bottom: 10px !important;
  margin-top: 20px !important;
  color: var(--mm-page-ink);
  font: 400 clamp(14px, 2vw, 20px)/1.43 "Montserrat", sans-serif;
  letter-spacing: -.02em;
}

.mm-about-lede2 {
/*  max-width: 850px; */
  margin-bottom: 10px !important;
  margin-top: 10px !important;
  color: var(--mm-page-ink);
  font: 400 clamp(15px, 2vw, 16px)/1.43 "Montserrat", sans-serif;
  letter-spacing: -.02em;
}

.mm-about-intro-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 930px;
}

.mm-about-intro-points p { color: var(--mm-page-muted); font-size: clamp(13px, 2vw, 15px); line-height: 1.64; }

.mm-about-keyline {
  margin: 21px 0 0 !important;
  padding: 11px 14px;
  border-left: 2px solid var(--mm-page-hot);
  color: var(--mm-page-ink);
  font-weight: 600;
  line-height: 1.55;
}

.mm-about-section {
  max-width: none;
  margin: 0 0 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--mm-page-border);
  font-size: 15px;
}

.mm-about-section > header { margin-bottom: 16px; }
.mm-about-section > p { max-width: none; margin-bottom: 14px; color: var(--mm-page-muted); line-height: 1.65; }

.mm-about-frictions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.mm-about-frictions p {
  min-height: 98px;
  margin: 0;
  padding: 14px 15px;
  border-top: 1px solid var(--mm-page-border);
  border-bottom: 1px solid var(--mm-page-border);
}

.mm-about-frictions b { display: block; margin-bottom: 5px; color: var(--mm-page-accent); font: 500 14px/1.2 "Montserrat", sans-serif; }
.mm-about-frictions span { color: var(--mm-page-muted); font-size: 12px; line-height: 1.48; }

.mm-about-list,
.mm-about-contrast {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 26px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.mm-about-list li { position: relative; padding-left: 16px; color: var(--mm-page-ink); font-size: 14px; line-height: 1.45; }
.mm-about-list li::before { position: absolute; left: 0; color: var(--mm-page-accent); content: "•"; }

.mm-about-contrast li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--mm-page-border);
  border-radius: 9px;
  background: var(--mm-page-panel-soft);
  font-size: 13px;
  line-height: 1.4;
}

.mm-about-contrast b { color: var(--mm-page-ink); }
.mm-about-contrast span { color: var(--mm-page-muted); }

.mm-about-callout {
  max-width: none;
  margin: 22px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--mm-page-border);
  border-radius: 13px;
  background: var(--mm-page-panel-soft);
}

.mm-about-callout p { margin: 0 0 7px; color: var(--mm-page-ink); font: 500 15px/1.45 "Montserrat", sans-serif; }
.mm-about-callout p:last-child { margin-bottom: 0; color: var(--mm-page-muted); font: 400 13px/1.55 "Inter", sans-serif; }

.mm-about-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 21px 0 0;
  padding: 0;
  counter-reset: about-step;
  list-style: none;
}

.mm-about-steps li { position: relative; min-height: 123px; padding: 38px 14px 14px; border: 1px solid var(--mm-page-border); border-radius: 12px; background: var(--mm-page-panel); counter-increment: about-step; }
.mm-about-steps li::before { position: absolute; top: 14px; left: 14px; color: var(--mm-page-accent); content: counter(about-step, decimal-leading-zero); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.mm-about-steps b { display: block; margin-bottom: 5px; color: var(--mm-page-ink); font: 500 14px/1.2 "Montserrat", sans-serif; }
.mm-about-steps span { color: var(--mm-page-muted); font-size: 13px; line-height: 1.48; }

.mm-about-quote {
  margin: 20px 0;
  padding: 20px 22px;
  border-left: 2px solid var(--mm-page-hot);
  background: rgba(179, 107, 0, .055);
}

.mm-about-quote p { margin: 0 0 9px; color: var(--mm-page-ink); font: 400 clamp(15px, 2.0vw, 16px)/1.43 "Montserrat", sans-serif; letter-spacing: -.015em; }
.mm-about-quote p:last-child { margin-bottom: 0; }

.mm-about-deep-dive {
  max-width: none;
  margin: 0 0 36px;
  padding: 27px;
  border: 1px solid var(--mm-page-border);
  border-radius: 18px;
  background: var(--mm-page-panel-soft);
}

.mm-about-deep-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.mm-about-deep-grid article {
  padding: 15px;
  border: 1px solid var(--mm-page-border);
  border-radius: 12px;
  background: var(--mm-page-panel);
}

.mm-about-deep-grid article:last-child { grid-column: span 2; }
.mm-about-deep-grid h3 { margin: 0 0 9px; color: var(--mm-page-ink); font: 500 16px/1.18 "Montserrat", sans-serif; }
.mm-about-deep-grid p { margin: 0 0 9px; color: var(--mm-page-muted); font-size: 14px; line-height: 1.58; }
.mm-about-deep-grid p:last-child { margin-bottom: 0; }

.mm-about-use-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.mm-about-use-list li { padding: 5px 8px; border: 1px solid var(--mm-page-border); border-radius: 999px; color: var(--mm-page-ink); font-size: 12px; line-height: 1.3; }
.mm-about-small-note { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--mm-page-border); color: #ffa21a !important; font-weight: 500; }

@media (max-width: 900px) {
  .mm-pricing-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-about-frictions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-about-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .mm-pricing-time, .mm-pricing-plans, .mm-about-intro, .mm-about-deep-dive { padding: 20px 15px; border-radius: 15px; }
  .mm-pricing-benefits, .mm-pricing-questions, .mm-plan-grid, .mm-about-intro-points, .mm-about-list, .mm-about-contrast, .mm-about-deep-grid { grid-template-columns: 1fr; }
  .mm-pricing-benefits article { min-height: 0; }
  .mm-pricing-questions article { padding: 12px 0; }
  .mm-plan-card { min-height: 0; }
  .mm-about-section { margin-bottom: 29px; padding-bottom: 29px; }
  .mm-about-frictions, .mm-about-steps { grid-template-columns: 1fr; }
  .mm-about-frictions p, .mm-about-steps li { min-height: 0; }
  .mm-about-deep-grid article:last-child { grid-column: auto; }
}

@media (max-width: 768px) {
  .mm-pricing-legacy-grid,
  .mm-pricing-legacy-grid tbody,
  .mm-pricing-legacy-grid tr,
  .mm-pricing-legacy-grid td { display: block; width: 100% !important; }
  .mm-pricing-legacy-grid td { padding: 15px !important; }
  .mm-pricing-legacy-grid td + td { margin-top: 15px; border-top: 1px solid var(--line); }
  .mm-pricing-legacy-grid h2.subheading,
  .mm-pricing-legacy-grid h3.subheading { margin-top: 0; }
  .mm-pricing-legacy-grid ul,
  .mm-pricing-legacy-grid ol { padding-left: 22px; }
}

/* ── Public SEO landing pages and semantic page labels ── */
.page-wordmark {
  margin: 0;
  color: var(--text-heading);
  font: 400 clamp(20px, 3vw, 28px)/1.06 "Montserrat", sans-serif;
  letter-spacing: -.04em;
}

.mm-page-title {
  margin: 0 0 25px;
  color: var(--text-heading1);
  font: 400 clamp(28px, 4.2vw, 46px)/1.02 "Montserrat", sans-serif;
  letter-spacing: -.045em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.homepage-questions {
  margin: 34px 0 0;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(173,173,173,.25);
  border-radius: 16px;
  color: #ddd8cf;
  background: radial-gradient(circle at 94% 0, rgba(201,71,22,.15), transparent 26%), linear-gradient(135deg, rgba(179,107,0,.13), transparent 52%), #121214;
}
.homepage-questions h2 { max-width: 720px; margin: 0 0 10px; color: #eee9df; font: 400 clamp(26px, 3.7vw, 43px)/1.05 "Montserrat", sans-serif; letter-spacing: -.045em; }
.homepage-questions > p { max-width: 760px; margin: 0 0 23px; color: #b9b6b3; font-size: 15px; line-height: 1.6; }
.homepage-question-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.homepage-question-grid li { min-height: 78px; padding: 14px; border: 1px solid rgba(173,173,173,.28); border-radius: 8px; color: #eee9df; background: rgba(0,0,0,.22); font: 500 14px/1.36 "Montserrat", sans-serif; }
.homepage-question-grid li::before { display: block; margin-bottom: 5px; color: #ffa21a; content: "?"; font-size: 15px; }

.mm-seo {
  --mm-seo-panel: var(--bg-surface);
  --mm-seo-soft: var(--bg-surface-alt);
  --mm-seo-border: var(--line);
  --mm-seo-ink: var(--text-heading);
  --mm-seo-muted: var(--text-mid);
  --mm-seo-accent: #b36b00;
  --mm-seo-hot: #C94716;
  max-width: 100%;
  font-family: "Liberation Sans", Tahoma, Verdana, sans-serif;
}
[data-theme="light"] .mm-seo { --mm-seo-soft: #f6f4f0; --mm-seo-border: #d2cfca; }
.mm-seo * { box-sizing: border-box; }
.mm-seo h1, .mm-seo h2, .mm-seo h3, .mm-seo p { margin-top: 0; }
.mm-seo-hero {
  position: relative;
  margin: 0 0 34px;
  padding: clamp(25px, 4.3vw, 54px);
  overflow: hidden;
  border: 1px solid var(--mm-seo-border);
  border-radius: 22px;
  background: radial-gradient(circle at 92% 12%, rgba(201,71,22,.16), transparent 25%), linear-gradient(135deg, rgba(179,107,0,.13), transparent 48%), var(--mm-seo-panel);
}
.mm-seo-hero::after { position: absolute; right: -100px; bottom: -132px; width: 320px; height: 320px; border: 1px solid rgba(179,107,0,.22); border-radius: 50%; content: ""; pointer-events: none; }
.mm-seo-hero > * { position: relative; z-index: 1; }
.mm-seo-kicker { margin: 0 0 12px !important; color: var(--mm-seo-accent); font: 600 11px/1.2 "Montserrat", sans-serif; letter-spacing: .17em; text-transform: uppercase; }
.mm-seo-hero h1 { max-width: 800px; margin: 0 0 16px; color: var(--mm-seo-ink); font: 400 clamp(34px, 5vw, 62px)/.98 "Montserrat", sans-serif; letter-spacing: -.055em; }
.mm-seo-hero h1 span { color: var(--mm-seo-hot); }
.mm-seo-lede { margin-bottom: 14px !important; color: var(--mm-seo-ink); font: 400 clamp(15px, 2vw, 21px)/1.48 "Montserrat", sans-serif; letter-spacing: -.02em; }
.mm-seo-hero-copy { margin-bottom: 0 !important; color: var(--mm-seo-muted); font-size: 15px; line-height: 1.65; }
.mm-seo-tagline { display: inline-block; margin: 22px 0 0 !important; padding: 10px 13px; border-left: 2px solid var(--mm-seo-hot); color: var(--mm-seo-ink); background: rgba(179,107,0,.08); font: 500 15px/1.43 "Montserrat", sans-serif; }
.mm-seo-actions, .mm-seo-link-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.mm-seo-button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 0 18px; border: 1px solid #d77918; border-radius: 3px; color: #fff !important; background: linear-gradient(135deg, #b36b00, #C94716); box-shadow: 0 9px 28px rgba(201,71,22,.17); font: 600 13px "Inter", sans-serif; text-decoration: none; }
.mm-seo-button:hover { color: #fff !important; background: linear-gradient(135deg, #d27d00, #e85b24); text-decoration: none; }
.mm-seo-button--quiet { border-color: var(--mm-seo-border); color: var(--mm-seo-ink) !important; background: transparent; box-shadow: none; }
.mm-seo-button--quiet:hover { color: #fff !important; background: var(--mm-seo-accent); }
.mm-seo-section { margin: 0 0 35px; padding-bottom: 35px; border-bottom: 1px solid var(--mm-seo-border); }
.mm-seo-section > header { margin-bottom: 18px; }
.mm-seo-section h2 { margin: 0 0 11px; color: var(--mm-seo-ink); font: 400 clamp(23px, 3vw, 34px)/1.08 "Montserrat", sans-serif; letter-spacing: -.04em; }
.mm-seo-section > p, .mm-seo-section > header > p:last-child { margin-bottom: 15px; color: var(--mm-seo-muted); font-size: 15px; line-height: 1.68; }
.mm-seo-section h3 { margin: 0 0 8px; color: var(--mm-seo-ink); font: 500 16px/1.2 "Montserrat", sans-serif; }
.mm-seo-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mm-seo-card-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mm-seo-card-grid article { padding: 17px; border: 1px solid var(--mm-seo-border); border-radius: 12px; background: var(--mm-seo-panel); }
.mm-seo-card-grid p { margin: 0; color: var(--mm-seo-muted); font-size: 14px; line-height: 1.58; }
.mm-seo-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 27px; margin: 20px 0 0; padding: 0; list-style: none; }
.mm-seo-list li { position: relative; padding-left: 16px; color: var(--mm-seo-ink); font-size: 14px; line-height: 1.48; }
.mm-seo-list li::before { position: absolute; left: 0; color: var(--mm-seo-accent); content: "•"; }
.mm-seo-quote { margin: 21px 0 0; padding: 19px 22px; border-left: 2px solid var(--mm-seo-hot); background: rgba(179,107,0,.055); }
.mm-seo-quote p { margin: 0 0 9px; color: var(--mm-seo-ink); font: 500 16px/1.45 "Montserrat", sans-serif; }
.mm-seo-quote p:last-child { margin-bottom: 0; }
.mm-seo-callout { margin: 22px 0 0; padding: 18px 20px; border: 1px solid var(--mm-seo-border); border-radius: 14px; background: var(--mm-seo-soft); }
.mm-seo-callout p { margin: 0 0 8px; color: var(--mm-seo-ink); font: 500 16px/1.48 "Montserrat", sans-serif; }
.mm-seo-callout p:last-child { margin-bottom: 0; color: var(--mm-seo-muted); font: 400 14px/1.6 "Inter", sans-serif; }
.mm-seo-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; padding: 0; counter-reset: seo-step; list-style: none; }
.mm-seo-steps li { position: relative; min-height: 118px; padding: 39px 14px 14px; border: 1px solid var(--mm-seo-border); border-radius: 12px; background: var(--mm-seo-panel); counter-increment: seo-step; color: var(--mm-seo-muted); font-size: 13px; line-height: 1.48; }
.mm-seo-steps li::before { position: absolute; top: 14px; left: 14px; color: var(--mm-seo-accent); content: counter(seo-step, decimal-leading-zero); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.mm-seo-steps b { display: block; margin-bottom: 5px; color: var(--mm-seo-ink); font: 500 14px/1.2 "Montserrat", sans-serif; }
.mm-seo-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mm-seo-faq article { padding: 17px; border-top: 1px solid var(--mm-seo-border); border-bottom: 1px solid var(--mm-seo-border); }
.mm-seo-faq p { margin: 0; color: var(--mm-seo-muted); font-size: 14px; line-height: 1.58; }
.mm-seo-finish { margin: 0 0 10px; padding: clamp(25px, 4vw, 42px); border: 1px solid var(--mm-seo-border); border-radius: 18px; background: radial-gradient(circle at 92% 0, rgba(201,71,22,.13), transparent 30%), var(--mm-seo-soft); }
.mm-seo-finish h2 {  margin: 0 0 11px; color: var(--mm-seo-ink); font: 400 clamp(26px, 3.8vw, 42px)/1.04 "Montserrat", sans-serif; letter-spacing: -.045em; }
.mm-seo-finish p { margin: 0; color: var(--mm-seo-muted); font-size: 15px; line-height: 1.65; }
.mm-text-link { color: var(--mm-seo-accent, #b36b00); font-weight: 600; text-decoration-color: rgba(179,107,0,.5); text-underline-offset: 3px; }
.mm-text-link:hover { color: var(--mm-seo-hot, #C94716); }
.mm-seo-link-row { --mm-seo-border: var(--line); --mm-seo-ink: var(--text-heading); }
.footer-links { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 3px 9px; margin: 8px 0 0; font-size: 11px; }
.footer-links a { color: inherit; }

@media (max-width: 950px) {
  .homepage-question-grid, .mm-seo-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-seo-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .homepage-questions, .mm-seo-hero, .mm-seo-finish { padding: 22px 17px; border-radius: 15px; }
  .homepage-question-grid, .mm-seo-card-grid, .mm-seo-card-grid--two, .mm-seo-list, .mm-seo-faq, .mm-seo-steps { grid-template-columns: 1fr; }
  .mm-seo-section { margin-bottom: 29px; padding-bottom: 29px; }
  .mm-seo-card-grid article { padding: 15px; }
}
