/* ============================================================================
   MHRealtyAI — marketing site styles (built on the HARMONY design system)
   Requires mhr-ds.css to be loaded first.
   ============================================================================ */

/* ---------------------------------------------------------------- reset/base */
html { scroll-behavior: smooth; }

/* ---------------------------------------------------------------- INTRO HAND-OFF COVER
   Shown only when arriving from the intro (html.from-intro). Same gradient as
   the hero, fades itself out via a pure-CSS animation that ends hidden +
   non-interactive, so it can never trap the user even if JS fails. */
.reveal-cover { display: none; }
.from-intro .reveal-cover {
  display: block; position: fixed; inset: 0; z-index: 400; pointer-events: none;
  background: var(--mhr-gradient-hero);
  animation: coverOut 1.1s var(--mhr-ease-out) .15s both;
}
@keyframes coverOut {
  0% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .from-intro .reveal-cover { animation-duration: .4s; animation-delay: 0s; }
}

/* ---------------------------------------------------------------- SCROLL PROGRESS */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none;
  background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--mhr-green-400), var(--mhr-green-600));
  transform-origin: left; transition: width .1s linear; }
/* overflow-x: clip (not hidden) prevents horizontal scroll WITHOUT turning <body>
   into a scroll container — which would break scroll-padding/scroll-margin anchor
   offsets (the real cause of "Platform" landing in the Free Check section). */
body { overflow-x: clip; }
.wrap { width: min(1200px, 92vw); margin: 0 auto; }
.wrap-wide { width: min(1340px, 94vw); margin: 0 auto; }
img { max-width: 100%; }
section { position: relative; }

/* anchor jumps clear the fixed nav */
section[id], [data-anchor] { scroll-margin-top: 86px; }

/* keyboard focus + skip link (a11y) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, .analyzer__tab:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--mhr-green-600); outline-offset: 2px; border-radius: 6px;
}
.nav a:focus-visible, .hero a:focus-visible, .s--green a:focus-visible, .s--ink a:focus-visible, .foot a:focus-visible { outline-color: #cfe08a; }
.skip { position: absolute; left: 50%; top: -60px; transform: translateX(-50%); z-index: 300;
  background: var(--mhr-ink); color: #fff; padding: 12px 22px; border-radius: var(--mhr-r-pill);
  font-size: 14px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 14px; }

/* ---------------------------------------------------------------- NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: background .4s var(--mhr-ease), box-shadow .4s var(--mhr-ease), padding .4s var(--mhr-ease);
}
.nav--solid { background: rgba(247,248,242,.9); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--mhr-line); padding-top: 12px; padding-bottom: 12px; }
.nav__id { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav__id svg { width: 42px; height: 28px; }
.nav__id b { font-family: var(--mhr-font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: .02em; color: #fff; transition: color .4s; }
.nav__id .ai { font-style: italic; color: #d8e89a; }
.nav--solid .nav__id b { color: var(--mhr-ink); }
.nav--solid .nav__id .ai { color: var(--mhr-green-600); }
.nav__links { display: flex; gap: 30px; align-items: center; }
.nav__links a { font-size: var(--mhr-fs-small); text-decoration: none; color: rgba(255,255,255,.92); transition: color .3s; white-space: nowrap; }
.nav--solid .nav__links a { color: var(--mhr-ink-soft); }
.nav__links a:hover { color: var(--mhr-green-300); }
.nav--solid .nav__links a:hover { color: var(--mhr-green-600); }
.nav__cta { display: flex; gap: 12px; align-items: center; }
.nav--solid .nav__cta .mhr-btn--ghost { color: var(--mhr-ink); border-color: var(--mhr-ink); }
.mhr-btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 24px; height: 2px; background: currentColor; color: #fff; }
.nav--solid .nav__burger span { color: var(--mhr-ink); }
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__cta .mhr-btn--ghost { display: none; }
  .nav__burger { display: flex; }
}

/* ---------------------------------------------------------------- HERO */
.hero { position: relative; min-height: 100svh; overflow: hidden; background: var(--mhr-gradient-hero); }
#mhr-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.hero__veil { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(54% 46% at 50% 44%, rgba(10,22,5,.58) 0%, rgba(10,22,5,.20) 52%, transparent 74%),
    radial-gradient(130% 100% at 50% 14%, transparent 46%, rgba(16,30,10,.5) 100%); }
.hero__inner { position: relative; z-index: 3; min-height: 100svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; color: #fff; padding: 120px 24px 90px; }
/* NOTE: hero text is VISIBLE by default so it always shows (reduced-motion,
   print/PDF, slow first paint). The entrance animation is layered on only when
   motion is welcome, and a JS safety net (.hero-ready) force-reveals it. */
.hero__eyebrow { opacity: 1;
  font-family: var(--mhr-font-mono); font-size: 12px; letter-spacing: .34em; text-transform: uppercase;
  color: #eef3e2; padding-left: .34em; text-shadow: 0 1px 8px rgba(8,18,4,.5); }
.hero__title { opacity: 1; transform: none;
  font-family: var(--mhr-font-display); font-weight: 500; font-size: clamp(2.6rem, 6.2vw, 5.6rem);
  line-height: 1.04; letter-spacing: .005em; margin: 18px 0 0; max-width: 18ch; text-wrap: balance;
  text-shadow: 0 4px 14px rgba(8,18,4,.55), 0 12px 50px rgba(8,18,4,.4); }
.hero__title .ai { font-style: italic; color: #d8e89a; }
.hero__sub { opacity: 1;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.7; max-width: 54ch; margin: 32px auto 0; color: #fff; text-shadow: 0 2px 12px rgba(8,18,4,.5); }
.hero__cta { opacity: 1; margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero__note { opacity: 1; margin-top: 22px; font-size: var(--mhr-fs-small); color: rgba(255,255,255,.78); }
.hero__trust { opacity: 1; margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px; font-family: var(--mhr-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.72); }
.hero__trust b { color: #eef3e2; font-weight: 700; letter-spacing: .14em; }
.hero__trust i { color: rgba(255,255,255,.45); font-style: normal; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; opacity: 1;
  font-family: var(--mhr-font-mono); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.85); text-align: center; }
.hero__scroll span { display: block; width: 1px; height: 36px; margin: 10px auto 0; background: linear-gradient(rgba(255,255,255,.8), transparent); }

/* Entrance animation — only when the user is OK with motion. Starts hidden,
   ends visible (forwards). If anything stops it progressing, .hero-ready wins. */
@media (prefers-reduced-motion: no-preference) {
  .hero:not(.hero-ready) .hero__eyebrow { opacity: 0; animation: heroFade .9s var(--mhr-ease-out) .3s forwards; }
  .hero:not(.hero-ready) .hero__title { opacity: 0; transform: translateY(18px); animation: heroRise 1s var(--mhr-ease-out) .45s forwards; }
  .hero:not(.hero-ready) .hero__sub { opacity: 0; animation: heroFade 1s ease .8s forwards; }
  .hero:not(.hero-ready) .hero__cta { opacity: 0; animation: heroFade 1s ease 1.05s forwards; }
  .hero:not(.hero-ready) .hero__note { opacity: 0; animation: heroFade 1s ease 1.3s forwards; }
  .hero:not(.hero-ready) .hero__trust { opacity: 0; animation: heroFade 1s ease 1.45s forwards; }
  .hero:not(.hero-ready) .hero__scroll { opacity: 0; animation: heroFade 1s ease 1.6s forwards; }
}
/* JS safety net: once set, force everything to its visible end-state. */
.hero-ready .hero__eyebrow, .hero-ready .hero__title, .hero-ready .hero__sub,
.hero-ready .hero__cta, .hero-ready .hero__note, .hero-ready .hero__trust, .hero-ready .hero__scroll {
  opacity: 1 !important; transform: none !important; animation: none !important; }
.hero-ready .hero__scroll { transform: translateX(-50%) !important; }
@keyframes heroRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------------------------------------------------------------- SECTION scaffolding */
.s { padding: clamp(72px, 10vw, 132px) 0; }
.s--cream { background: var(--mhr-cream); }
.s--lime { background: var(--mhr-surface-lime); }
.s--paper { background: var(--mhr-paper); }
.s--green { background: var(--mhr-gradient-spotlight); color: #fff; }
.s--ink { background: var(--mhr-surface-ink); color: rgba(255,255,255,.82); }
.s-eyebrow { font-family: var(--mhr-font-display); text-transform: uppercase; letter-spacing: .2em; font-size: 1rem; color: var(--mhr-green-600); }
.s--green .s-eyebrow, .s--ink .s-eyebrow { color: var(--mhr-green-300); }
.s-title { font-family: var(--mhr-font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; margin: 14px 0 0; max-width: 20ch; }
.s-lead { font-size: var(--mhr-fs-body-lg); line-height: 1.8; color: var(--mhr-ink-soft); max-width: 62ch; margin: 22px 0 0; }
.s--green .s-lead, .s--ink .s-lead { color: rgba(255,255,255,.9); }
.s-head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 56px; }
.s-head--center { text-align: center; align-items: center; }
.s-head--center .s-title, .s-head--center .s-lead { margin-left: auto; margin-right: auto; }

/* panel transition */
.panel-rise { border-radius: var(--mhr-r-xl) var(--mhr-r-xl) 0 0; margin-top: -1px; }

/* ---------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--mhr-ease-out), transform .8s var(--mhr-ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero__title,.hero__eyebrow,.hero__sub,.hero__cta,.hero__note,.hero__trust,.hero__scroll { animation: none; opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- STAT band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat__n { font-family: var(--mhr-font-display); font-weight: 600; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1; color: #fff; }
.stat__l { font-size: var(--mhr-fs-small); color: rgba(255,255,255,.82); margin-top: 12px; line-height: 1.5; }
.stat__src { font-family: var(--mhr-font-mono); font-size: 10px; letter-spacing: .04em; color: rgba(255,255,255,.5); margin-top: 8px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2,1fr); gap: 36px 24px; } }

/* ---------------------------------------------------------------- MODULE cards */
.mods { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.mod { grid-column: span 2; background: var(--mhr-paper); border: 1px solid var(--mhr-line); border-radius: var(--mhr-r-lg);
  padding: 30px; display: flex; flex-direction: column; transition: transform .4s var(--mhr-ease), box-shadow .4s var(--mhr-ease); }
.mod:hover { transform: translateY(-5px); box-shadow: var(--mhr-shadow-md); }
.mod--wide { grid-column: span 3; }
.mod__tag { font-family: var(--mhr-font-mono); font-size: 11px; letter-spacing: .08em; color: var(--mhr-green-600); }
.mod__icon { width: 46px; height: 46px; border-radius: 13px; background: var(--mhr-green-50); border: 1px solid var(--mhr-green-200);
  display: grid; place-items: center; color: var(--mhr-green-700); margin-bottom: 18px; }
.mod__icon svg { width: 24px; height: 24px; }
.mod h3 { font-family: var(--mhr-font-sans); font-weight: 700; font-size: 1.25rem; margin: 6px 0 10px; }
.mod p { font-size: var(--mhr-fs-small); color: var(--mhr-ink-soft); margin: 0; line-height: 1.65; }
@media (max-width: 920px) { .mods { grid-template-columns: 1fr 1fr; } .mod, .mod--wide { grid-column: span 1; } }
@media (max-width: 600px) { .mods { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- PIPELINE */
.pipe { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.pipe__step { flex: 1 1 0; min-width: 130px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--mhr-r-md); padding: 20px 18px; position: relative; }
.pipe__step + .pipe__step { margin-left: 14px; }
.pipe__n { font-family: var(--mhr-font-mono); font-size: 11px; color: var(--mhr-green-300); }
.pipe__step h4 { font-family: var(--mhr-font-sans); font-weight: 700; font-size: 1rem; margin: 8px 0 6px; color: #fff; }
.pipe__step p { font-size: 12.5px; color: rgba(255,255,255,.72); margin: 0; line-height: 1.5; }
.pipe__arrow { align-self: center; color: var(--mhr-green-300); font-size: 18px; padding: 0 2px; }
@media (max-width: 900px) { .pipe__step { flex-basis: 100%; } .pipe__step + .pipe__step { margin-left: 0; margin-top: 12px; } .pipe__arrow { display: none; } }

/* ---------------------------------------------------------------- ANALYZER (Free Compliance Check) */
.analyzer { background: var(--mhr-paper); border: 1px solid var(--mhr-line); border-radius: var(--mhr-r-xl); overflow: hidden; box-shadow: var(--mhr-shadow-lg); }
.analyzer__bar { display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--mhr-line); background: var(--mhr-cream); }
.analyzer__dot { width: 11px; height: 11px; border-radius: 50%; }
.analyzer__title { font-family: var(--mhr-font-mono); font-size: 12px; letter-spacing: .06em; color: var(--mhr-muted); margin-left: 6px; }
.analyzer__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; }
@media (max-width: 860px) { .analyzer__grid { grid-template-columns: 1fr; } }
.analyzer__left { padding: 24px; border-right: 1px solid var(--mhr-line); display: flex; flex-direction: column; }
@media (max-width: 860px) { .analyzer__left { border-right: 0; border-bottom: 1px solid var(--mhr-line); } }
.analyzer__tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.analyzer__tab { flex: 1; padding: 10px; border: 1px solid var(--mhr-line); background: #fff; border-radius: var(--mhr-r-pill);
  font-family: var(--mhr-font-sans); font-size: 13px; font-weight: 500; cursor: pointer; color: var(--mhr-ink-soft); transition: all .25s; }
.analyzer__tab.active { background: var(--mhr-ink); color: #fff; border-color: var(--mhr-ink); }
.analyzer__field { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.analyzer__field label { font-size: 12px; color: var(--mhr-muted); font-family: var(--mhr-font-mono); }
.analyzer__select { padding: 8px 12px; border: 1px solid var(--mhr-line); border-radius: var(--mhr-r-sm); font-family: var(--mhr-font-sans); font-size: 13px; background: #fff; color: var(--mhr-ink); }
.analyzer__ta { flex: 1; width: 100%; resize: none; border: 1px solid var(--mhr-line); border-radius: var(--mhr-r-md); padding: 16px;
  font-family: var(--mhr-font-mono); font-size: 12.5px; line-height: 1.7; color: var(--mhr-ink); background: #fff; min-height: 220px; }
.analyzer__ta:focus { outline: 2px solid var(--mhr-green-300); border-color: transparent; }
.analyzer__run { margin-top: 16px; }
/* subtle "you've edited the sample" hint — hidden until custom text is present */
.analyzer__note { display: none; margin: 14px 0 0; gap: 9px; align-items: flex-start;
  font-family: var(--mhr-font-mono); font-size: 11px; line-height: 1.6; letter-spacing: .01em;
  color: var(--mhr-muted); }
.analyzer__note.show { display: flex; animation: noteIn .4s var(--mhr-ease-out) both; }
.analyzer__note-dot { flex: none; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%;
  background: var(--mhr-green-400, #a9c23f); box-shadow: 0 0 0 4px rgba(169,194,63,.18); }
@keyframes noteIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.analyzer__right { padding: 24px; display: flex; flex-direction: column; background: var(--mhr-cream); overflow: hidden; }
.analyzer__empty { margin: auto; text-align: center; color: var(--mhr-muted); max-width: 30ch; }
.analyzer__empty svg { width: 46px; height: 46px; color: var(--mhr-green-300); margin-bottom: 14px; }

.risk-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--mhr-r-pill); font-weight: 700; font-size: 13px; }
.risk-badge--clear { background: var(--mhr-green-50); color: var(--mhr-green-700); border: 1px solid var(--mhr-green-200); }
.risk-badge--attention { background: #fdf4e3; color: #a9762a; border: 1px solid #f0d9ad; }
.risk-badge--high { background: #fbeae5; color: #c1492c; border: 1px solid #f1c3b6; }
.analyzer__summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.analyzer__count { font-family: var(--mhr-font-mono); font-size: 11px; color: var(--mhr-muted); }
.findings { overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding-right: 4px; }
.finding { background: #fff; border: 1px solid var(--mhr-line); border-left-width: 4px; border-radius: var(--mhr-r-sm); padding: 14px 16px; }
.finding--fail { border-left-color: #c1492c; }
.finding--warn { border-left-color: #d39b35; }
.finding--pass { border-left-color: var(--mhr-green-500); }
.finding__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.finding__sev { font-family: var(--mhr-font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.finding--fail .finding__sev { color: #c1492c; } .finding--warn .finding__sev { color: #b07e22; } .finding--pass .finding__sev { color: var(--mhr-green-600); }
.finding__rule { font-family: var(--mhr-font-mono); font-size: 10px; color: var(--mhr-muted); }
.finding__quote { font-family: var(--mhr-font-mono); font-size: 12px; background: #fbeae5; padding: 2px 6px; border-radius: 4px; display: inline-block; margin-bottom: 7px; color: #a23a22; }
.finding--warn .finding__quote { background: #fdf4e3; color: #946b1d; }
.finding__why { font-size: 12.5px; color: var(--mhr-ink-soft); line-height: 1.55; margin: 0 0 8px; }
.finding__fix { font-size: 12.5px; line-height: 1.55; margin: 0; padding: 8px 10px; background: var(--mhr-green-50); border-radius: 6px; color: var(--mhr-green-800); }
.finding__fix b { font-family: var(--mhr-font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; display: block; margin-bottom: 3px; color: var(--mhr-green-600); }
.finding__auth { font-family: var(--mhr-font-mono); font-size: 10px; color: var(--mhr-muted); margin-top: 8px; }
@keyframes findIn { to { opacity: 1; transform: none; } }
mark.hl { padding: 1px 2px; border-radius: 3px; }
mark.hl--fail { background: #f6c6b8; color: #7a2c18; }
mark.hl--warn { background: #f7e3b4; color: #765516; }

/* ---------------------------------------------------------------- COMPARISON */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; }
.cmp th, .cmp td { padding: 18px 20px; text-align: left; font-size: var(--mhr-fs-small); border-bottom: 1px solid var(--mhr-line); vertical-align: top; }
.cmp thead th { font-family: var(--mhr-font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mhr-muted); font-weight: 400; }
.cmp tbody th { font-family: var(--mhr-font-sans); font-weight: 700; color: var(--mhr-ink); width: 30%; }
.cmp__us { background: var(--mhr-green-50); }
.cmp thead .cmp__us { background: var(--mhr-green-500); color: #fff; border-radius: var(--mhr-r-md) var(--mhr-r-md) 0 0; }
.cmp__yes { color: var(--mhr-green-700); font-weight: 700; }
.cmp__no { color: var(--mhr-muted); }
.cmp-wrap { overflow-x: auto; }

/* ---------------------------------------------------------------- PRICING */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 980px) { .prices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .prices { grid-template-columns: 1fr; } }
.price { background: var(--mhr-paper); border: 1px solid var(--mhr-line); border-radius: var(--mhr-r-lg); padding: 28px; display: flex; flex-direction: column; }
.price--feature { background: var(--mhr-ink); color: #fff; border-color: var(--mhr-ink); }
.price__name { font-family: var(--mhr-font-display); font-weight: 600; font-size: 1.4rem; }
.price--feature .price__name { color: #fff; }
.price__who { font-size: 12px; color: var(--mhr-muted); margin: 4px 0 16px; min-height: 32px; }
.price--feature .price__who { color: rgba(255,255,255,.6); }
.price__amt { font-family: var(--mhr-font-display); font-weight: 600; font-size: 1.9rem; }
.price--feature .price__amt { color: #d8e89a; }
.price__amt small { font-family: var(--mhr-font-sans); font-size: 13px; color: var(--mhr-muted); font-weight: 400; }
.price--feature .price__amt small { color: rgba(255,255,255,.6); }
.price ul { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price li { font-size: 13px; display: flex; gap: 9px; align-items: flex-start; line-height: 1.5; }
.price li svg { width: 15px; height: 15px; color: var(--mhr-green-500); flex: none; margin-top: 3px; }
.price--feature li svg { color: #d8e89a; }

/* ---------------------------------------------------------------- PERSONAS */
.personas { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
@media (max-width: 920px) { .personas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .personas { grid-template-columns: 1fr; } }
.persona { padding: 26px; border-radius: var(--mhr-r-lg); background: var(--mhr-paper); border: 1px solid var(--mhr-line); }
.persona__role { font-family: var(--mhr-font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--mhr-green-600); }
.persona h4 { font-family: var(--mhr-font-display); font-weight: 600; font-size: 1.3rem; margin: 8px 0 10px; }
.persona p { font-size: 13px; color: var(--mhr-ink-soft); line-height: 1.6; margin: 0; }

/* ---------------------------------------------------------------- moat / code */
.code { font-family: var(--mhr-font-mono); font-size: 12.5px; line-height: 1.75; background: #14160f; color: #cfe0a0;
  border-radius: var(--mhr-r-lg); padding: 26px 28px; overflow-x: auto; white-space: pre; tab-size: 2; }
.code .k { color: #9bbef0; } .code .s { color: #e6c98a; } .code .c { color: #7a8466; }

/* ---------------------------------------------------------------- CTA / footer */
.cta-band { text-align: center; }
.foot { background: var(--mhr-surface-ink); color: rgba(255,255,255,.7); padding: 70px 0 40px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 820px) { .foot__grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
.foot__id { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.foot__id svg { width: 46px; height: 30px; }
.foot__id b { font-family: var(--mhr-font-display); color: #fff; font-size: 1.35rem; }
.foot__id .ai { font-style: italic; color: #cfe08a; }
.foot h5 { font-family: var(--mhr-font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.foot a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 13px; }
.foot a:hover { color: #cfe08a; }
.foot__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 54px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.foot__legal { font-size: 11px; color: rgba(255,255,255,.5); max-width: 70ch; line-height: 1.6; }

/* disclaimer ribbon */
.disclaimer { font-size: 12px; color: var(--mhr-muted); font-style: italic; }

/* ---------------------------------------------------------------- active nav */
.nav__links a { position: relative; }
.nav__links a.active { color: #fff; }
.nav--solid .nav__links a.active { color: var(--mhr-green-700); }
.nav__links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: currentColor; border-radius: 2px; opacity: .85; }

/* ---------------------------------------------------------------- mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(16,26,10,.5); opacity: 0; transition: opacity .35s var(--mhr-ease); }
.drawer.open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(330px, 84vw);
  background: var(--mhr-cream); box-shadow: var(--mhr-shadow-lg); padding: 86px 26px 28px;
  display: flex; flex-direction: column; gap: 2px; transform: translateX(100%); transition: transform .4s var(--mhr-ease-out); }
.drawer.open .drawer__panel { transform: none; }
.drawer__panel a { padding: 15px 8px; font-size: 1.15rem; color: var(--mhr-ink); text-decoration: none; border-bottom: 1px solid var(--mhr-line); }
.drawer__panel a:hover { color: var(--mhr-green-600); }
.drawer__panel .mhr-btn { margin-top: 22px; justify-content: center; }
.drawer__close { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; color: var(--mhr-ink); }
.drawer__close::before, .drawer__close::after { content: ""; position: absolute; top: 50%; left: 8px; right: 8px; height: 2px; background: currentColor; }
.drawer__close::before { transform: rotate(45deg); } .drawer__close::after { transform: rotate(-45deg); }
body.no-scroll { overflow: hidden; }

/* ---------------------------------------------------------------- modal (Book a demo) */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal__scrim { position: absolute; inset: 0; background: rgba(16,26,10,.55); backdrop-filter: blur(5px); animation: mFade .3s ease; }
.modal__card { position: relative; width: min(580px, 100%); max-height: 92vh; overflow-y: auto;
  background: var(--mhr-paper); border-radius: var(--mhr-r-xl); box-shadow: var(--mhr-shadow-lg);
  padding: clamp(26px, 4vw, 40px); animation: mRise .42s var(--mhr-ease-out); }
.modal__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--mhr-cream); cursor: pointer; color: var(--mhr-ink); font-size: 20px; line-height: 1; display: grid; place-items: center; transition: background .25s; }
.modal__close:hover { background: var(--mhr-green-50); }
.modal__eyebrow { font-family: var(--mhr-font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--mhr-green-600); }
.modal__title { font-family: var(--mhr-font-display); font-weight: 600; font-size: 1.9rem; margin: 8px 0 6px; line-height: 1.1; }
.modal__sub { font-size: 14px; color: var(--mhr-ink-soft); margin: 0 0 22px; }
@keyframes mFade { from { opacity: 0; } } @keyframes mRise { from { opacity: 0; transform: translateY(20px); } }

/* form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-family: var(--mhr-font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mhr-muted); }
.field label .req { color: #c1492c; }
.field input, .field select, .field textarea {
  font-family: var(--mhr-font-sans); font-size: 15px; color: var(--mhr-ink); background: #fff;
  border: 1px solid var(--mhr-line); border-radius: var(--mhr-r-sm); padding: 12px 14px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--mhr-green-400); border-color: transparent; }
.field textarea { resize: vertical; min-height: 84px; }
.field--invalid input, .field--invalid select { border-color: #c1492c; }
.field__err { font-size: 12px; color: #c1492c; display: none; }
.field--invalid .field__err { display: block; }
.modal .mhr-btn { width: 100%; justify-content: center; margin-top: 6px; }
.modal__legal { font-size: 11px; color: var(--mhr-muted); margin: 14px 0 0; line-height: 1.5; text-align: center; }
.form-success { text-align: center; padding: 14px 0 6px; }
.form-success__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--mhr-green-50); border: 1px solid var(--mhr-green-200);
  display: grid; place-items: center; margin: 0 auto 18px; color: var(--mhr-green-600); }
.form-success__icon svg { width: 30px; height: 30px; }
.form-success h3 { font-family: var(--mhr-font-display); font-weight: 600; font-size: 1.6rem; margin: 0 0 10px; }
.form-success p { font-size: 14px; color: var(--mhr-ink-soft); margin: 0 auto 8px; max-width: 40ch; }
.form-success a { color: var(--mhr-green-700); }

/* analyzer busy state */
.analyzer__run.busy { opacity: .7; pointer-events: none; }
.az-spinner { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; display: inline-block; animation: azSpin .7s linear infinite; }
@keyframes azSpin { to { transform: rotate(360deg); } }
