/**
 * Public marketing site — premium landing, team, on-chain visualisations.
 * Scoped under .public-marketing to avoid portal collisions.
 */

.public-marketing {
  --hm-bg: #f8f6f1;
  --hm-surface: #ffffff;
  --hm-surface-muted: #efe9dd;
  --hm-ink: #14283c;
  --hm-ink-muted: #5c6670;
  --hm-accent: #c8a44d;
  --hm-accent-hover: #b38e36;
  --hm-emerald: #376e5f;
  --hm-sapphire: #5f7dc8;
  --hm-violet: #91a0e1;
  --hm-border: rgba(20, 40, 60, 0.1);
  --hm-radius: 20px;
  --hm-radius-sm: 12px;
  --hm-shadow: 0 24px 64px rgba(20, 40, 60, 0.08);
  --hm-shadow-soft: 0 8px 32px rgba(20, 40, 60, 0.06);
  --hm-max: 1180px;
  --hm-section-pad: clamp(4rem, 8vw, 7rem);
  --hm-display: clamp(2.5rem, 5.5vw, 4.25rem);
  --hm-h2: clamp(1.75rem, 3.5vw, 2.75rem);
  --hm-lead: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--hm-ink);
  background: var(--hm-bg);
  font-family: var(--font-sans, "Inter", system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
}

body.site-page--marketing.public-marketing-page {
  background: var(--hm-bg);
  scroll-padding-top: 5.5rem;
}

.public-marketing a:focus-visible,
.public-marketing button:focus-visible {
  outline: 2px solid var(--hm-accent);
  outline-offset: 3px;
}

/* --- Header --- */
.hm-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(248, 246, 241, 0.88);
  border-bottom: 1px solid var(--hm-border);
}

.hm-hero,
.hm-section {
  scroll-margin-top: 5rem;
}

.hm-header__inner {
  max-width: var(--hm-max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hm-header__nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hm-header__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  color: var(--hm-ink);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  height: 2.125rem;
  padding: 0 0.75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hm-header__link:hover,
.hm-header__link[aria-current="page"] {
  background: rgba(20, 40, 60, 0.06);
  color: var(--hm-ink);
}

.hm-header__link--muted {
  color: var(--hm-ink-muted);
  font-size: 0.82rem;
}

.hm-header .brand-logo {
  max-height: 30px !important;
  height: 30px !important;
}

.public-marketing .hm-header__menu-btn {
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--hm-ink);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.public-marketing .hm-header__menu-btn:hover,
.public-marketing .hm-header__menu-btn:focus-visible {
  background: rgba(20, 40, 60, 0.06);
}

.hm-header__menu-label {
  display: inline-block;
}

@media (max-width: 991px) {
  .hm-header__inner {
    position: relative;
    padding: 0.7rem 1rem;
  }

  .public-marketing .hm-header__menu-btn:not([hidden]) {
    display: inline-flex !important;
    margin-left: auto;
  }

  .hm-header:not(.hm-header--nav-open) .hm-header__nav {
    display: none !important;
  }

  .hm-header--nav-open .hm-header__nav {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.65rem 1rem 1rem;
    background: rgba(248, 246, 241, 0.98);
    border-bottom: 1px solid var(--hm-border);
    box-shadow: var(--hm-shadow-soft);
    flex-wrap: nowrap;
  }

  .hm-header__link {
    border-radius: var(--hm-radius-sm);
    height: 2.375rem;
    padding: 0 0.75rem;
  }

}

@media (min-width: 992px) {
  .public-marketing .hm-header__menu-btn {
    display: none !important;
  }

  .public-marketing .hm-header__menu-btn[hidden] {
    display: none !important;
  }

  .hm-header__nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hm-header .brand-logo {
    max-height: 34px !important;
    height: 34px !important;
  }
}

.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 0.72rem 1.35rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hm-btn:hover {
  transform: translateY(-1px);
}

.hm-btn--primary {
  background: var(--hm-ink);
  color: #fff;
  box-shadow: var(--hm-shadow-soft);
}

.hm-btn--primary:hover {
  background: #0f1f2e;
  color: #fff;
}

.hm-btn--secondary {
  background: transparent;
  color: var(--hm-ink);
  border-color: var(--hm-border);
}

.hm-btn--secondary:hover {
  border-color: var(--hm-ink);
  color: var(--hm-ink);
}

.hm-btn.is-pending {
  pointer-events: none;
  opacity: 0.92;
}

.hm-demo-btn-spinner {
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: hm-btn-spin 0.65s linear infinite;
  flex-shrink: 0;
}

.hm-demo-btn-spinner[hidden] {
  display: none;
}

.hm-demo-pending-form.is-pending {
  position: relative;
}

.hm-demo-pending-form.is-pending::before {
  content: attr(data-hm-demo-pending-message);
  position: absolute;
  inset: -0.35rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: var(--hm-radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--hm-ink);
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(30, 58, 95, 0.12);
}

.hm-demo-pending-form.is-pending > * {
  visibility: hidden;
}

@keyframes hm-btn-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-demo-btn-spinner {
    animation: none;
    border-right-color: currentColor;
    opacity: 0.55;
  }
}

#demo-feedback,
#demo-staff-setup {
  scroll-margin-top: 6rem;
}

.hm-btn--accent {
  background: var(--hm-accent);
  color: var(--hm-ink);
}

.hm-btn--accent:hover {
  background: var(--hm-accent-hover);
  color: var(--hm-ink);
}

.hm-btn--ghost {
  background: transparent;
  color: var(--hm-ink-muted);
  font-size: 0.82rem;
  padding: 0.35rem 0.65rem;
}

/* --- Layout --- */
.hm-main {
  flex: 1;
}

.hm-section {
  padding: var(--hm-section-pad) 1.5rem;
}

.hm-section--tight {
  padding-top: 0;
}

/* Hero must keep top padding when sticky header is present */
.hm-hero.hm-section--tight {
  padding-top: clamp(2.75rem, 6vw, 4.5rem);
}

.hm-demo-hero {
  padding-top: clamp(2.75rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.hm-demo-hero__headline {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.14;
  max-width: 20em;
}

.hm-demo-hero__prose {
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.hm-demo-hero__prose .hm-lead {
  max-width: none;
}

.hm-demo-hero__prose .hm-lead--compact {
  margin-top: 0;
  font-size: 0.98rem;
  line-height: 1.68;
}

.hm-demo-hero__callout {
  padding: 1rem 1.15rem;
  border-left: 3px solid rgba(55, 110, 95, 0.4);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0 var(--hm-radius-sm) var(--hm-radius-sm) 0;
}

.hm-demo-hero__callout .hm-lead {
  margin: 0;
}

.hm-container {
  max-width: var(--hm-max);
  margin: 0 auto;
}

.hm-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hm-emerald);
  margin-bottom: 0.85rem;
}

.hm-title {
  font-size: var(--hm-h2);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--hm-ink);
}

.hm-lead {
  font-size: var(--hm-lead);
  line-height: 1.6;
  color: var(--hm-ink-muted);
  margin: 0;
  max-width: 42rem;
}

.hm-text-block {
  max-width: 38rem;
}

/* --- Hero --- */
.hm-hero {
  padding: clamp(3rem, 7vw, 5.5rem) 1.5rem clamp(4rem, 8vw, 6rem);
}

.hm-hero__grid {
  max-width: var(--hm-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hm-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
}

.hm-hero__headline {
  font-size: var(--hm-display);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: var(--hm-ink);
}

.hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hm-hero__visual {
  position: relative;
  min-height: 320px;
}

.hm-hero-card {
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: calc(var(--hm-radius) + 4px);
  box-shadow: var(--hm-shadow);
  padding: 1.25rem;
  overflow: hidden;
}

/* --- Chain visualisation --- */
.hm-chain {
  position: relative;
  width: 100%;
  aspect-ratio: 1.1;
  max-width: 480px;
  margin: 0 auto;
}

.hm-chain__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hm-chain__block {
  fill: var(--hm-surface);
  stroke: var(--hm-border);
  stroke-width: 1.5;
  transition: stroke 0.35s ease, fill 0.35s ease;
}

.hm-chain__block--active {
  stroke: var(--hm-accent);
  fill: #fffdf8;
}

.hm-chain__link {
  stroke: var(--hm-sapphire);
  stroke-width: 2;
  stroke-dasharray: 6 4;
  opacity: 0.55;
}

.hm-chain__pulse {
  fill: var(--hm-accent);
  opacity: 0;
}

.hm-chain__label {
  font-size: 11px;
  fill: var(--hm-ink-muted);
  font-family: var(--font-sans, sans-serif);
}

.hm-chain__hash {
  font-size: 9px;
  fill: var(--hm-sapphire);
  font-family: "Courier New", monospace;
}

.hm-chain__status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--hm-surface-muted);
  border-radius: var(--hm-radius-sm);
  font-size: 0.88rem;
  color: var(--hm-ink-muted);
  min-height: 3.2rem;
  display: flex;
  align-items: center;
}

.hm-chain__status strong {
  color: var(--hm-ink);
}

.hm-chain__status .hash {
  font-family: "Courier New", monospace;
  color: var(--hm-sapphire);
}

@media (prefers-reduced-motion: reduce) {
  .hm-chain__pulse,
  .hm-chain__link {
    animation: none !important;
  }
}

/* --- Metrics strip --- */
.hm-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 720px) {
  .hm-metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hm-metric {
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius-sm);
  padding: 1.1rem 1rem;
  text-align: center;
}

.hm-metric__value {
  display: block;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--hm-ink);
}

.hm-metric__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--hm-ink-muted);
}

/* --- Problem / solution bands --- */
.hm-band {
  background: var(--hm-surface);
  border-block: 1px solid var(--hm-border);
}

.hm-band--dark {
  background: linear-gradient(145deg, #14283c 0%, #1e3a5f 100%);
  color: #e8eef5;
  border: none;
}

.hm-band--dark .hm-title,
.hm-band--dark .hm-hero__headline {
  color: #fff;
}

.hm-band--dark .hm-lead,
.hm-band--dark .hm-eyebrow {
  color: rgba(232, 238, 245, 0.78);
}

.hm-band--dark .hm-eyebrow {
  color: var(--hm-accent);
}

/* --- Benefits grid --- */
.hm-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .hm-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hm-benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hm-benefit {
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hm-benefit:hover {
  transform: translateY(-3px);
  box-shadow: var(--hm-shadow-soft);
}

.hm-benefit__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--hm-surface-muted);
  margin-bottom: 1rem;
  color: var(--hm-emerald);
}

.hm-benefit__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.hm-benefit h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--hm-ink);
}

.hm-benefit p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--hm-ink-muted);
}

/* --- Feature showcase --- */
.hm-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 900px) {
  .hm-feature {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .hm-feature--reverse .hm-feature__copy {
    order: 2;
  }

  .hm-feature--reverse .hm-feature__visual {
    order: 1;
  }
}

.hm-feature__visual {
  background: linear-gradient(160deg, var(--hm-surface-muted) 0%, var(--hm-surface) 100%);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 2rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hm-feature__mock {
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--hm-ink);
  background: #fff;
  border-radius: var(--hm-radius-sm);
  padding: 1rem;
  border: 1px solid var(--hm-border);
  box-shadow: var(--hm-shadow-soft);
}

.hm-feature__mock .ok {
  color: var(--hm-emerald);
}

.hm-feature__mock .hash {
  color: var(--hm-sapphire);
  word-break: break-all;
}

.hm-feature__list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hm-feature__list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  color: var(--hm-ink-muted);
}

.hm-feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hm-accent);
}

/* --- Social proof --- */
.hm-proof-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hm-proof-pill {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.hm-quote {
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 1.75rem;
  margin-top: 2rem;
}

.hm-quote blockquote {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--hm-ink);
  font-weight: 500;
}

.hm-quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.88rem;
  font-style: normal;
  color: var(--hm-ink-muted);
}

/* --- Comparison table --- */
.hm-compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 0.92rem;
}

.hm-compare th,
.hm-compare td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--hm-border);
  vertical-align: top;
}

.hm-compare th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hm-ink-muted);
  font-weight: 600;
}

.hm-compare td:first-child {
  font-weight: 600;
  color: var(--hm-ink);
  width: 22%;
}

.hm-compare .legacy {
  color: var(--hm-ink-muted);
}

.hm-compare .platform-col {
  color: var(--hm-emerald);
  font-weight: 500;
}

@media (max-width: 720px) {
  .hm-compare thead {
    display: none;
  }

  .hm-compare tr {
    display: block;
    margin-bottom: 1.25rem;
    border: 1px solid var(--hm-border);
    border-radius: var(--hm-radius-sm);
    padding: 0.5rem;
  }

  .hm-compare td {
    display: block;
    border: none;
    padding: 0.5rem 0.75rem;
  }

  .hm-compare td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hm-ink-muted);
    margin-bottom: 0.2rem;
  }
}

/* --- Pricing --- */
.hm-pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .hm-pricing {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.hm-price-card {
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.hm-price-card--featured {
  border-color: var(--hm-accent);
  box-shadow: var(--hm-shadow);
  position: relative;
}

.hm-price-card--featured::before {
  content: "Recommended";
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hm-ink);
  background: var(--hm-accent);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.hm-price-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.hm-price-card__price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--hm-ink);
}

.hm-price-card p {
  flex: 1;
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--hm-ink-muted);
}

/* --- FAQ --- */
.hm-faq {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}

.hm-faq details {
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius-sm);
  padding: 0.25rem 1rem;
}

.hm-faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.85rem 0;
  list-style: none;
  color: var(--hm-ink);
}

.hm-faq summary::-webkit-details-marker {
  display: none;
}

.hm-faq summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--hm-ink-muted);
}

.hm-faq details[open] summary::after {
  content: "−";
}

.hm-faq p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--hm-ink-muted);
}

/* --- Final CTA --- */
.hm-cta-final {
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
  background: linear-gradient(180deg, var(--hm-bg) 0%, var(--hm-surface-muted) 100%);
}

.hm-cta-final .hm-title {
  max-width: 16ch;
  margin-inline: auto;
}

.hm-cta-final .hm-lead {
  margin-inline: auto;
}

.hm-cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

/* --- Team page --- */
.hm-team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .hm-team-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.hm-team-card {
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hm-team-card__photo {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  margin-bottom: 1rem;
  flex-shrink: 0;
  border: 1px solid var(--hm-border);
  box-shadow: var(--hm-shadow-soft);
}

.hm-team-card__identity {
  margin-bottom: 1rem;
}

.hm-team-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hm-team-card__role {
  font-size: 0.85rem;
  color: var(--hm-emerald);
  font-weight: 600;
  line-height: 1.35;
  min-height: 2.7em;
  margin: 0;
}

.hm-team-card__bio {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--hm-ink-muted);
  flex: 1;
}

.hm-team-card p:not(.hm-team-card__role):not(.hm-team-card__bio) {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--hm-ink-muted);
  flex: 1;
}

.hm-team-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-team-card li {
  font-size: 0.82rem;
  color: var(--hm-ink-muted);
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.hm-team-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--hm-accent);
}

/* --- Scroll reveal --- */
.hm-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hm-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hm-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Classic home switch --- */
.marketing-card .marketing-view-switch {
  margin-top: 1.25rem;
  font-size: 0.88rem;
}

.marketing-card .marketing-view-switch a {
  font-weight: 600;
}

/* --- Why now split --- */
.hm-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hm-split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.hm-lead--compact {
  margin-top: 0.75rem;
  font-size: 1rem;
}

.hm-checklist {
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 1.75rem;
}

.hm-checklist__title {
  margin: 0 0 1rem;
  font-weight: 650;
  color: var(--hm-ink);
}

.hm-checklist__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-checklist__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  color: var(--hm-ink-muted);
  font-size: 0.95rem;
}

.hm-checklist__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--hm-emerald);
  font-weight: 700;
}

.hm-checklist__footer {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--hm-ink-muted);
}

/* --- Verifiable records grid --- */
.hm-record-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .hm-record-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hm-record-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hm-record-card {
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius-sm);
  padding: 1.25rem;
}

.hm-record-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--hm-ink);
}

.hm-record-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--hm-ink-muted);
}

.hm-guarantee-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .hm-guarantee-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hm-guarantee-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hm-guarantee {
  background: var(--hm-surface-muted);
  border-radius: var(--hm-radius-sm);
  padding: 1.1rem;
  border: 1px solid var(--hm-border);
}

.hm-guarantee__title {
  display: block;
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--hm-ink);
  margin-bottom: 0.35rem;
}

.hm-guarantee__body {
  display: block;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--hm-ink-muted);
}

/* --- Walmart split --- */
.hm-walmart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .hm-walmart-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* --- Timeline --- */
.hm-timeline {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 42rem;
}

.hm-timeline__step {
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: 2rem;
}

.hm-timeline__marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--hm-ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.hm-timeline__number {
  line-height: 1;
}

.hm-timeline__content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--hm-ink);
}

.hm-timeline__content p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--hm-ink-muted);
}

.hm-timeline__connector {
  display: block;
  margin: 0.5rem 0 0 1rem;
  color: var(--hm-sapphire);
  font-size: 1.1rem;
  opacity: 0.6;
}

/* --- Audience benefits --- */
.hm-audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .hm-audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hm-audience-card {
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 1.75rem;
}

.hm-audience-card h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--hm-ink);
}

.hm-audience-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-audience-card li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--hm-ink-muted);
}

.hm-audience-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hm-accent);
}

/* --- Growth phases --- */
.hm-phases {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 2rem;
}

.hm-phases--compact .hm-phase {
  max-width: 28rem;
}

.hm-phase {
  width: 100%;
  max-width: 32rem;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius-sm);
  padding: 1rem 1.25rem;
  text-align: center;
}

.hm-band--dark .hm-phase {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.hm-phase__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hm-emerald);
  margin-bottom: 0.25rem;
}

.hm-band--dark .hm-phase__label {
  color: var(--hm-accent);
}

.hm-phase__title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--hm-ink);
}

.hm-band--dark .hm-phase__title {
  color: #fff;
}

.hm-phase__arrow {
  color: var(--hm-sapphire);
  opacity: 0.55;
  font-size: 1.1rem;
}

.hm-phase-footnote {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.88rem;
}

.hm-platform-cta {
  margin-top: 2rem;
  text-align: center;
}

/* --- Anchor receipt (Technology) --- */
.hm-anchor-receipt {
  margin-top: 2rem;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 1.75rem;
  box-shadow: var(--hm-shadow-soft);
  max-width: 52rem;
}

.hm-anchor-receipt__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.hm-anchor-receipt__badge {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--hm-surface-muted);
  color: var(--hm-ink-muted);
}

.hm-anchor-receipt__badge--live {
  background: rgba(55, 110, 95, 0.12);
  color: var(--hm-emerald);
}

.hm-anchor-receipt__network {
  font-size: 0.82rem;
  color: var(--hm-ink-muted);
}

.hm-anchor-receipt__headline {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 650;
  color: var(--hm-ink);
}

.hm-anchor-receipt__summary {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--hm-ink-muted);
  max-width: 42rem;
}

.hm-anchor-receipt__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 1.5rem;
  margin: 0;
}

@media (min-width: 640px) {
  .hm-anchor-receipt__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hm-anchor-receipt__grid dt {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hm-ink-muted);
}

.hm-anchor-receipt__grid dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--hm-ink);
  line-height: 1.45;
}

.hm-anchor-receipt__grid code {
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  word-break: break-all;
}

.hm-anchor-receipt__mono {
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
}

.hm-anchor-receipt__grid a {
  color: var(--hm-sapphire);
  text-decoration: none;
  font-weight: 500;
}

.hm-anchor-receipt__grid a:hover {
  text-decoration: underline;
}

.hm-anchor-receipt__cta {
  margin: 1.35rem 0 0;
}

/* --- Why we win --- */
.hm-why-win {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .hm-why-win {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hm-why-win__card {
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 1.5rem;
}

.hm-why-win__legacy {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: var(--hm-ink-muted);
}

.hm-why-win__ours {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--hm-emerald);
}

.hm-proof-logos--light .hm-proof-pill--light {
  background: var(--hm-surface-muted);
  border: 1px solid var(--hm-border);
  color: var(--hm-ink-muted);
}

/* --- Tools (client-side hash) --- */
.hm-tools-hero {
  padding-bottom: 0.5rem;
}

.hm-tools-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.hm-tools-audience__pill {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(55, 110, 95, 0.1);
  color: var(--hm-emerald);
  border: 1px solid rgba(55, 110, 95, 0.18);
}

.hm-tools-workspace {
  padding-top: 2rem;
}

.hm-tools-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--hm-border);
  padding-bottom: 0.75rem;
}

.hm-tools-tabs__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--hm-ink-muted);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.hm-tools-tabs__btn.is-active {
  background: var(--hm-ink);
  color: #fff;
}

.hm-tools-tabs__btn.is-soon {
  cursor: not-allowed;
  opacity: 0.72;
}

.hm-tools-tabs__soon {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: var(--hm-surface-muted);
  color: var(--hm-ink-muted);
}

.hm-tools-tabs__btn.is-active .hm-tools-tabs__soon {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
}

.hm-tools-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .hm-tools-layout {
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 2rem;
  }
}

.hm-tools-trust {
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 1.35rem;
  box-shadow: var(--hm-shadow-soft);
}

.hm-tools-trust__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--hm-ink);
}

.hm-tools-trust__lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--hm-ink-muted);
}

.hm-tools-trust__lead code {
  font-size: 0.82rem;
}

.hm-tools-trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.hm-tools-trust__list li {
  display: grid;
  gap: 0.2rem;
}

.hm-tools-trust__list strong {
  font-size: 0.88rem;
  color: var(--hm-ink);
}

.hm-tools-trust__list span {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--hm-ink-muted);
}

.hm-tools-pipeline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--hm-border);
}

.hm-tools-pipeline__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 4.5rem;
  opacity: 0.45;
  transition: opacity 0.25s ease;
}

.hm-tools-pipeline__step.is-active,
.hm-tools-pipeline__step.is-done {
  opacity: 1;
}

.hm-tools-pipeline__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--hm-surface-muted);
  border: 2px solid var(--hm-border);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hm-tools-pipeline__step.is-active .hm-tools-pipeline__dot {
  background: var(--hm-emerald);
  border-color: var(--hm-emerald);
  box-shadow: 0 0 0 4px rgba(55, 110, 95, 0.15);
}

.hm-tools-pipeline__step.is-done .hm-tools-pipeline__dot {
  background: var(--hm-emerald);
  border-color: var(--hm-emerald);
}

.hm-tools-pipeline__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hm-ink-muted);
}

.hm-tools-pipeline__line {
  flex: 1;
  min-width: 1.5rem;
  height: 2px;
  background: var(--hm-border);
  border-radius: 1px;
  transition: background 0.25s ease;
}

.hm-tools-pipeline__line.is-active {
  background: linear-gradient(90deg, var(--hm-emerald), rgba(55, 110, 95, 0.35));
}

.hm-tools-pipeline__blocked {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hm-ink-muted);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(20, 40, 60, 0.04);
}

.hm-tools-pipeline__x {
  color: #b54a4a;
  font-weight: 700;
}

.hm-tools-panel {
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 1.5rem;
  box-shadow: var(--hm-shadow);
}

.hm-tools-file-pane[hidden],
.hm-tools-paste-pane[hidden],
.hm-tools-result[hidden] {
  display: none !important;
}

.hm-tools-mode {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--hm-surface-muted);
  margin-bottom: 0.65rem;
}

.hm-tools-mode-hint {
  margin: 0 0 1.1rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--hm-ink-muted);
}

.hm-tools-mode-hint strong {
  color: var(--hm-ink);
  font-weight: 600;
}

.hm-tools-mode-hint code {
  font-size: 0.82rem;
}

.hm-tools-mode__btn {
  border: none;
  background: transparent;
  color: var(--hm-ink-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
}

.hm-tools-mode__btn.is-active {
  background: var(--hm-surface);
  color: var(--hm-ink);
  box-shadow: var(--hm-shadow-soft);
}

.hm-tools-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: 2.5rem 1.5rem;
  border: 2px dashed rgba(20, 40, 60, 0.14);
  border-radius: var(--hm-radius);
  background: linear-gradient(180deg, rgba(248, 246, 241, 0.6) 0%, var(--hm-surface) 100%);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hm-tools-drop:hover,
.hm-tools-drop.is-dragover {
  border-color: var(--hm-emerald);
  background: rgba(55, 110, 95, 0.04);
}

.hm-tools-drop__icon {
  color: var(--hm-emerald);
}

.hm-tools-drop__title {
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--hm-ink);
}

.hm-tools-drop__hint {
  font-size: 0.88rem;
  color: var(--hm-ink-muted);
  max-width: 28rem;
}

.hm-tools-drop__cta {
  margin-top: 0.35rem;
  pointer-events: none;
}

.hm-tools-field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.hm-tools-field__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--hm-ink-muted);
}

.hm-tools-field__input {
  width: 100%;
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius-sm);
  background: var(--hm-bg);
  color: var(--hm-ink);
  resize: vertical;
}

.hm-tools-result {
  display: grid;
  gap: 1.15rem;
}

.hm-tools-result__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
}

.hm-tools-result__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hm-ink-muted);
  margin-bottom: 0.2rem;
}

.hm-tools-result__value {
  font-size: 0.92rem;
  color: var(--hm-ink);
  word-break: break-all;
}

.hm-tools-result__badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--hm-surface-muted);
  color: var(--hm-ink-muted);
}

.hm-tools-result__badge--ok {
  background: rgba(55, 110, 95, 0.12);
  color: var(--hm-emerald);
}

.hm-tools-result__badge--busy {
  background: rgba(95, 125, 200, 0.12);
  color: var(--hm-sapphire);
}

.hm-tools-result__badge--error {
  background: rgba(181, 74, 74, 0.12);
  color: #b54a4a;
}

.hm-tools-digest {
  display: grid;
  gap: 0.85rem;
}

.hm-tools-digest__row {
  padding: 0.85rem 1rem;
  border-radius: var(--hm-radius-sm);
  background: var(--hm-bg);
  border: 1px solid var(--hm-border);
}

.hm-tools-digest__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.hm-tools-digest__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hm-ink-muted);
}

.hm-tools-copy {
  border: none;
  background: transparent;
  color: var(--hm-sapphire);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  border-radius: 6px;
}

.hm-tools-copy:hover {
  background: rgba(95, 125, 200, 0.1);
}

.hm-tools-digest__value {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  line-height: 1.45;
  word-break: break-all;
  color: var(--hm-ink);
}

.hm-tools-terminal {
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius-sm);
  padding: 0.85rem 1rem;
  background: rgba(20, 40, 60, 0.03);
}

.hm-tools-terminal summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--hm-ink);
}

.hm-tools-terminal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

@media (min-width: 640px) {
  .hm-tools-terminal__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hm-tools-terminal__os {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hm-ink-muted);
}

.hm-tools-terminal pre {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: var(--hm-ink);
  color: #e8edf2;
  overflow-x: auto;
}

.hm-tools-terminal pre code {
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
}

.hm-tools-terminal__note {
  margin: 0.75rem 0 0;
  font-size: 0.84rem;
  color: var(--hm-ink-muted);
}

.hm-tools-reset {
  justify-self: start;
}

.hm-tools-error {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: #b54a4a;
}

.hm-tools-privacy__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* --- Contact form --- */
.hm-contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .hm-contact-layout {
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 2rem;
  }
}

.hm-contact-aside {
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 1.35rem;
  box-shadow: var(--hm-shadow-soft);
}

.hm-contact-aside__title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 650;
}

.hm-contact-aside__company {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hm-border);
}

.hm-contact-aside__company .company-details-dl dt {
  color: var(--hm-text);
}

.hm-contact-aside__company .company-details-dl dd {
  color: var(--hm-text-muted);
}

.hm-contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 1.5rem;
  box-shadow: var(--hm-shadow);
  isolation: isolate;
}

.hm-contact-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  .hm-contact-form__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hm-contact-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  min-width: 0;
  width: 100%;
}

.hm-contact-field--message {
  margin-top: 1rem;
  flex: 0 0 auto;
}

.hm-contact-form__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 0.25rem;
  flex: 0 0 auto;
  clear: both;
  position: relative;
  z-index: 2;
}

.public-marketing .hm-contact-form__actions .hm-btn {
  margin: 0;
  position: static;
  float: none;
  flex: 0 0 auto;
}

.hm-contact-form__divider {
  border: 0;
  border-top: 1px solid var(--hm-border);
  margin: 0 0 1rem;
  width: 100%;
  flex: 0 0 auto;
}

.public-marketing .hm-contact-field--message textarea.hm-contact-input,
.public-marketing .hm-contact-field--message .hm-contact-input--textarea {
  display: block;
  width: 100%;
  min-height: 10rem;
  max-height: 20rem;
  margin: 0;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}

.hm-contact-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--hm-ink-muted);
}

.hm-contact-input {
  width: 100%;
  font-size: 0.95rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius-sm);
  background: var(--hm-bg);
  color: var(--hm-ink);
  box-sizing: border-box;
}

.hm-contact-input:focus {
  outline: 2px solid var(--hm-accent);
  outline-offset: 2px;
  border-color: var(--hm-accent);
}

.hm-contact-input--textarea {
  display: block;
  resize: vertical;
  min-height: 10rem;
  max-height: 20rem;
  font-family: inherit;
  line-height: 1.5;
}

.hm-contact-field__error,
.hm-contact-form__error {
  margin: 0;
  font-size: 0.84rem;
  color: #b54a4a;
}

.hm-contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Header nav — single pill size; overrides portal/base button styles if they leak in */
.public-marketing .hm-header .hm-header__nav > .hm-header__link,
.public-marketing .hm-header .hm-header__nav > a.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 2.125rem;
  min-height: 2.125rem;
  max-height: 2.125rem;
  padding: 0 0.75rem;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  box-shadow: none;
  transform: none;
  background: transparent;
  color: var(--hm-ink);
  border: 1px solid transparent;
  border-radius: 999px;
}

.public-marketing .hm-header .hm-header__nav > .hm-header__link:hover,
.public-marketing .hm-header .hm-header__nav > .hm-header__link:focus-visible,
.public-marketing .hm-header .hm-header__nav > .hm-header__link[aria-current="page"] {
  background: rgba(20, 40, 60, 0.06);
  color: var(--hm-ink);
  border-color: transparent;
}

@media (max-width: 991px) {
  .public-marketing .hm-header .hm-header__nav > .hm-header__link,
  .public-marketing .hm-header .hm-header__nav > a.hm-btn {
    width: 100%;
    height: 2.375rem;
    min-height: 2.375rem;
    max-height: 2.375rem;
    border-radius: var(--hm-radius-sm);
    justify-content: flex-start;
  }
}

/* Verification demo (/demo/verification/) */
.hm-demo-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--hm-radius);
  border: 1px solid rgba(154, 52, 18, 0.25);
  background: rgba(254, 243, 199, 0.45);
  color: var(--hm-ink);
}

.hm-demo-alert--neutral {
  border-color: rgba(30, 58, 95, 0.2);
  background: rgba(241, 245, 249, 0.85);
}

.hm-demo-unavailable__message {
  margin: 0.5rem 0 0;
  max-width: 42rem;
}

.hm-demo-watermark {
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #9a3412;
}

.hm-demo-register {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.5rem;
  margin-top: 1.25rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--hm-radius);
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
}

.hm-demo-register dt {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hm-ink-muted);
  margin-bottom: 0.2rem;
}

.hm-demo-register dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--hm-ink);
}

.hm-demo-downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.hm-demo-download {
  padding: 1.15rem 1.2rem;
  border-radius: var(--hm-radius);
  border: 1px solid var(--hm-border);
  background: var(--hm-surface);
}

.hm-demo-download--warn {
  border-color: rgba(154, 52, 18, 0.28);
  background: rgba(254, 242, 242, 0.55);
}

.hm-demo-download h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.hm-demo-download__name {
  font-size: 0.82rem;
  color: var(--hm-ink-muted);
  margin: 0 0 0.85rem;
  word-break: break-all;
}

.hm-demo-pack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.hm-text-link {
  color: var(--hm-emerald);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hm-demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.5rem;
  margin-top: 1.25rem;
  align-items: start;
}

@media (max-width: 991px) {
  .hm-demo-layout {
    grid-template-columns: 1fr;
  }
}

.hm-demo-panel {
  margin: 0;
}

.hm-demo-result {
  display: grid;
  gap: 1rem;
}

.hm-demo-verdict {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: var(--hm-radius);
  border: 1px solid var(--hm-border);
}

.hm-demo-verdict--pass {
  border-color: rgba(55, 110, 95, 0.35);
  background: rgba(55, 110, 95, 0.08);
}

.hm-demo-verdict--fail {
  border-color: rgba(185, 28, 28, 0.35);
  background: rgba(254, 242, 242, 0.85);
}

.hm-demo-verdict--warn {
  border-color: rgba(180, 83, 9, 0.35);
  background: rgba(255, 251, 235, 0.9);
}

.hm-demo-verdict__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-weight: 700;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.65);
}

.hm-demo-verdict__title {
  margin: 0 0 0.25rem;
  font-weight: 650;
  color: var(--hm-ink);
}

.hm-demo-verdict__body {
  margin: 0;
  font-size: 0.92rem;
  color: var(--hm-ink-muted);
}

.hm-demo-aside {
  display: grid;
  gap: 1rem;
}

.hm-demo-receipt {
  margin: 0;
}

.hm-demo-aside__note {
  font-size: 0.88rem;
  color: var(--hm-ink-muted);
  margin: 0.85rem 0 0;
}

.hm-demo-trust {
  padding: 1rem 1.1rem;
  border-radius: var(--hm-radius);
  border: 1px solid var(--hm-border);
  background: rgba(248, 246, 241, 0.65);
}

.hm-demo-trust h3 {
  font-size: 0.95rem;
  margin: 0 0 0.65rem;
}

.hm-demo-trust ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--hm-ink-muted);
}

.hm-demo-trust li + li {
  margin-top: 0.35rem;
}

.hm-demo-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin-top: 1.75rem;
  font-size: 0.88rem;
}

.hm-demo-jump a {
  color: var(--hm-emerald);
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(55, 110, 95, 0.25);
  background: rgba(55, 110, 95, 0.06);
}

.hm-demo-jump a:hover {
  background: rgba(55, 110, 95, 0.12);
}

.hm-demo-summary-page {
  margin-top: 1.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--hm-radius);
  border: 1px solid var(--hm-border);
  background: var(--hm-surface);
}

.hm-demo-summary-page__disclaimer {
  color: #9a3412;
  font-weight: 600;
  font-size: 0.88rem;
  margin: 0 0 0.5rem;
}

.hm-demo-summary-page__verdict {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.hm-demo-summary-page__verdict--pass {
  color: #376e5f;
}

.hm-demo-summary-page__verdict--neutral {
  color: #5f6b7a;
}

.hm-demo-summary-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.hm-demo-summary-page h3 {
  font-size: 0.95rem;
  margin: 0 0 0.65rem;
}

.hm-demo-summary-dl {
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.hm-demo-summary-dl dt {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hm-ink-muted);
}

.hm-demo-summary-dl dd {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
}

.hm-demo-summary-docs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.hm-demo-summary-docs li {
  font-size: 0.9rem;
}

.hm-demo-summary-docs code {
  display: block;
  font-size: 0.78rem;
  color: var(--hm-ink-muted);
  margin-top: 0.2rem;
  word-break: break-all;
}

.hm-demo-summary-docs__status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.hm-demo-summary-docs__status--pass {
  background: rgba(55, 110, 95, 0.12);
  color: #376e5f;
}

.hm-demo-summary-docs__status--neutral {
  background: rgba(95, 107, 122, 0.12);
  color: #5f6b7a;
}

.hm-demo-summary-trust {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--hm-ink-muted);
}

.hm-demo-summary-limits {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--hm-ink-muted);
  font-style: italic;
}

.hm-demo-export-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1.5rem;
  margin-top: 1.25rem;
  align-items: start;
}

@media (max-width: 991px) {
  .hm-demo-export-layout {
    grid-template-columns: 1fr;
  }
}

.hm-demo-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.hm-demo-steps li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.hm-demo-steps__num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--hm-emerald);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hm-demo-steps strong {
  display: block;
  margin-bottom: 0.2rem;
}

.hm-demo-steps p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--hm-ink-muted);
}

.hm-demo-zip-tree {
  padding: 1rem 1.1rem;
  border-radius: var(--hm-radius);
  border: 1px solid var(--hm-border);
  background: rgba(20, 40, 60, 0.03);
}

.hm-demo-zip-tree h3 {
  font-size: 0.95rem;
  margin: 0 0 0.65rem;
}

.hm-demo-zip-tree__pre {
  margin: 0;
  padding: 0.75rem;
  border-radius: var(--hm-radius-sm);
  background: #0f172a;
  overflow-x: auto;
}

.hm-demo-zip-tree__pre code {
  color: #e2e8f0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.hm-demo-zip-tree__note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--hm-ink-muted);
}

.hm-demo-explorer-badge {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hm-ink-muted);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--hm-border);
}

.hm-demo-explorer-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.hm-demo-explorer-header .hm-demo-explorer-badge {
  margin-top: 0;
}

.hm-demo-explorer-badge--live {
  border-color: rgba(55, 110, 95, 0.35);
  background: rgba(55, 110, 95, 0.1);
  color: var(--hm-emerald);
}

.hm-demo-explorer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(55, 110, 95, 0.4);
  background: rgba(55, 110, 95, 0.12);
  color: var(--hm-emerald);
  text-decoration: none;
  white-space: nowrap;
}

.hm-demo-explorer-pill:hover {
  background: rgba(55, 110, 95, 0.2);
  color: var(--hm-emerald);
  text-decoration: none;
}

.hm-demo-explorer-pill--cta {
  font-size: 0.78rem;
  padding: 0.45rem 0.95rem;
  letter-spacing: 0.04em;
}

.hm-demo-contract-callout {
  margin-top: 1.25rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  background: rgba(15, 23, 42, 0.03);
}

.hm-demo-contract-callout__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hm-ink-muted);
}

.hm-demo-contract-callout__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.hm-demo-contract-callout__summary {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  color: var(--hm-ink-muted);
  line-height: 1.55;
}

.hm-demo-contract-callout__address {
  margin: 0;
}

.hm-demo-contract-callout__address--pending {
  font-size: 0.9rem;
  color: var(--hm-ink-muted);
}

.hm-demo-contract-callout__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hm-ink-muted);
}

.hm-demo-contract-callout__address code {
  display: block;
  overflow-x: auto;
  font-size: 0.82rem;
  word-break: break-all;
}

.hm-demo-pack--tight {
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.hm-demo-explorer-table-heading {
  margin: 1.25rem 0 0.65rem;
  font-size: 1rem;
}

.hm-demo-explorer-table {
  margin-top: 1.25rem;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  overflow: hidden;
}

.hm-demo-explorer-table__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.65rem 1rem;
}

.hm-demo-explorer-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--hm-border);
}

@media (max-width: 767px) {
  .hm-demo-explorer-table__head,
  .hm-demo-explorer-table__row {
    grid-template-columns: 1fr;
  }
}

.hm-demo-explorer-table__technical {
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.04);
  border-right: 1px solid var(--hm-border);
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
}

.hm-demo-explorer-table__label {
  display: block;
  font-family: var(--hm-font, system-ui, sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hm-ink-muted);
  margin-bottom: 0.35rem;
}

.hm-demo-explorer-table__technical code {
  word-break: break-all;
  color: #0f172a;
}

.hm-demo-explorer-table__plain {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
}

.hm-demo-explorer-table__plain strong {
  display: block;
  margin-bottom: 0.25rem;
}

.hm-demo-explorer-table__plain p {
  margin: 0;
  color: var(--hm-ink-muted);
  font-size: 0.88rem;
}

.hm-demo-explorer-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--hm-ink-muted);
}

.hm-demo-pitch-order {
  margin: 1rem 0 1.25rem;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  color: var(--hm-ink-muted);
}

.hm-demo-pitch-order li + li {
  margin-top: 0.35rem;
}

.hm-demo-anchor-panel {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--hm-radius);
  border: 1px solid var(--hm-border);
  background: rgba(55, 110, 95, 0.06);
}

.hm-demo-anchor-panel--internal {
  border-style: dashed;
  background: rgba(95, 107, 122, 0.06);
}

.hm-demo-anchor-panel__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hm-ink-muted);
}

.hm-demo-anchor-panel__lead {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--hm-ink-muted);
}

.hm-demo-anchor-panel__hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--hm-ink-muted);
}

.hm-demo-anchor-panel__status {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.hm-demo-anchor-panel__status--live {
  color: #376e5f;
}

.hm-demo-same-bytes {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  color: var(--hm-ink-muted);
}

.hm-demo-flow {
  margin: 0 0 1rem;
}

.hm-demo-flow__intro {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--hm-ink-muted);
  line-height: 1.5;
}

.hm-demo-flow__aligned {
  color: #376e5f;
}

.hm-demo-flow__drift {
  color: #9a3412;
}

.hm-demo-flow__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.hm-demo-flow__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--hm-radius-sm);
  border: 1px solid var(--hm-border);
  background: var(--hm-surface);
  font-size: 0.88rem;
}

.hm-demo-flow__step--aligned,
.hm-demo-flow__step--ready {
  border-color: rgba(55, 110, 95, 0.35);
}

.hm-demo-flow__step--drift {
  border-color: rgba(154, 52, 18, 0.35);
  background: rgba(154, 52, 18, 0.04);
}

.hm-demo-flow__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--hm-surface-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.hm-demo-flow__status {
  display: inline-block;
  margin-left: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hm-ink-muted);
}

.hm-demo-flow__step p {
  margin: 0.25rem 0;
  color: var(--hm-ink-muted);
  font-size: 0.84rem;
}

.hm-demo-flow__hash {
  font-size: 0.78rem;
  word-break: break-all;
}

.hm-demo-flow__commands {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--hm-ink-muted);
  line-height: 1.5;
}

.hm-demo-flow__commands code {
  font-size: 0.78rem;
}
