/* Mailhook marketing — pneumatic station.
   Lacquer housing, brass fittings, paper slips, vermillion only on the send.
   Big Shoulders Display, Schibsted Grotesk, Literata, Fragment Mono.
   Those faces are SIL Open Font License. CJK and Devanagari fall through
   to Noto, which the browser and the image host already carry. */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("/assets/big-shoulders-display-500-8d5c9413.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("/assets/big-shoulders-display-700-adf0ea24.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("/assets/big-shoulders-display-800-5df291fb.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/schibsted-grotesk-400-c375209f.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/schibsted-grotesk-500-e9b33542.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/schibsted-grotesk-600-6b076612.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/schibsted-grotesk-700-74b7cdf8.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("/assets/literata-400-255a4e81.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("/assets/literata-400-italic-cdb914a2.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("/assets/literata-700-867d5bad.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("/assets/literata-400-cyrillic-52c68f44.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("/assets/literata-700-cyrillic-df684571.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  font-display: swap;
}
@font-face {
  font-family: "Fragment Mono";
  src: url("/assets/fragment-mono-400-c9e9ecb2.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --mh-lacquer: #0e332c;
  --mh-lacquer-deep: #071f1b;
  --mh-lacquer-lift: #16473d;
  --mh-brass: #d4b36a;
  --mh-brass-deep: #8c6b32;
  --mh-paper: #f3ecdc;
  --mh-ink: #1c1915;
  --mh-ink-soft: #3e4a3c;
  --mh-vermillion: #c73a1c;
  --mh-vermillion-deep: #8f2a12;
  --mh-on-lacquer: #f3ecdc;
  --mh-on-lacquer-soft: #d7c7a4;
  --mh-felt: #10211e;

  --mh-font-display: "Big Shoulders Display", "Noto Sans Devanagari", "Noto Sans CJK SC", "Noto Sans SC", "Noto Sans", sans-serif;
  --mh-font-body: "Schibsted Grotesk", "Noto Sans Devanagari", "Noto Sans CJK SC", "Noto Sans SC", "Noto Sans", sans-serif;
  --mh-font-read: "Literata", "Noto Serif Devanagari", "Noto Serif CJK SC", "Noto Sans", serif;
  --mh-font-mono: "Fragment Mono", "Noto Sans Mono CJK SC", "Noto Sans Mono", ui-monospace, monospace;

  --mh-shadow-slip: 0 16px 36px rgb(7 31 27 / 0.28);
}

[data-marketing-theme="station"],
[data-marketing-theme="legal"] {
  background: var(--mh-lacquer);
  color: var(--mh-on-lacquer);
  font-family: var(--mh-font-body);
  color-scheme: dark;
  caret-color: var(--mh-brass);
}

[data-marketing-theme="station"] ::selection,
[data-marketing-theme="legal"] ::selection {
  background: var(--mh-brass);
  color: var(--mh-lacquer-deep);
}

[data-marketing-theme="station"],
[data-marketing-theme="legal"] {
  scrollbar-color: var(--mh-brass-deep) var(--mh-lacquer-deep);
}

/* --- Surfaces ------------------------------------------------------------ */
[data-marketing-theme="station"] .bg-white,
[data-marketing-theme="station"] .bg-gray-50 { background: transparent !important; }
[data-marketing-theme="station"] .bg-gray-900 { background: var(--mh-felt) !important; }
[data-marketing-theme="station"] [class*="bg-gradient"] { background-image: none !important; }

[data-marketing-theme="station"] .pt-28,
[data-marketing-theme="station"] .sm\:pt-36,
[data-marketing-theme="station"] .lg\:pt-44 { padding-top: 3.25rem !important; }

[data-marketing-theme="station"] .bg-indigo-600 { background-color: var(--mh-vermillion) !important; }
[data-marketing-theme="station"] .rounded-lg.bg-indigo-600,
[data-marketing-theme="station"] .h-12.w-12.bg-indigo-600 { background-color: var(--mh-brass) !important; color: var(--mh-ink) !important; }

[data-marketing-theme="station"] .text-gray-900 { color: var(--mh-on-lacquer) !important; }
[data-marketing-theme="station"] .text-gray-600,
[data-marketing-theme="station"] .text-gray-700,
[data-marketing-theme="station"] .text-gray-300 { color: var(--mh-on-lacquer-soft) !important; }
[data-marketing-theme="station"] .text-gray-400,
[data-marketing-theme="station"] .text-gray-500 { color: #b7a888 !important; }

[data-marketing-theme="station"] .text-indigo-600,
[data-marketing-theme="station"] .text-indigo-500,
[data-marketing-theme="station"] .text-indigo-700,
[data-marketing-theme="station"] .text-indigo-200 { color: var(--mh-brass) !important; }

[data-marketing-theme="station"] .hover\:text-indigo-600:hover,
[data-marketing-theme="station"] .hover\:text-indigo-500:hover,
[data-marketing-theme="station"] .hover\:text-white:hover { color: var(--mh-paper) !important; }

[data-marketing-theme="station"] .border-gray-200,
[data-marketing-theme="station"] .border-slate-200,
[data-marketing-theme="station"] .border-slate-300,
[data-marketing-theme="station"] .border-white\/10,
[data-marketing-theme="station"] .border-indigo-400\/30 { border-color: rgb(212 179 106 / 0.35) !important; }

[data-marketing-theme="station"] .divide-gray-500\/10 > :not([hidden]) ~ :not([hidden]),
[data-marketing-theme="station"] .divide-gray-900\/10 > :not([hidden]) ~ :not([hidden]) {
  border-color: rgb(212 179 106 / 0.35) !important;
}

[data-marketing-theme="station"] .bg-gray-100,
[data-marketing-theme="station"] .hover\:bg-gray-50:hover,
[data-marketing-theme="station"] .hover\:bg-gray-100:hover,
[data-marketing-theme="station"] .hover\:bg-gray-200:hover { background: var(--mh-lacquer-lift) !important; }

/* Paper slips keep ink, even when a utility asks for gray. */
[data-marketing-theme="station"] .mh-paper,
[data-marketing-theme="station"] .mh-paper .text-gray-900,
[data-marketing-theme="station"] .mh-plan,
[data-marketing-theme="station"] .mh-plan .text-gray-900,
[data-marketing-theme="station"] .mh-sheet,
[data-marketing-theme="station"] .mh-sheet .text-gray-900,
[data-marketing-theme="station"] article.flex .text-gray-900 {
  color: var(--mh-ink) !important;
}
[data-marketing-theme="station"] .mh-paper .text-gray-600,
[data-marketing-theme="station"] .mh-paper .text-gray-500,
[data-marketing-theme="station"] .mh-paper .text-gray-700,
[data-marketing-theme="station"] .mh-plan .text-gray-600,
[data-marketing-theme="station"] .mh-plan .text-gray-500,
[data-marketing-theme="station"] .mh-sheet .text-gray-600,
[data-marketing-theme="station"] .mh-sheet .text-gray-500,
[data-marketing-theme="station"] .mh-sheet .text-gray-700,
[data-marketing-theme="station"] article.flex .text-gray-600,
[data-marketing-theme="station"] article.flex .text-gray-500 {
  color: var(--mh-ink-soft) !important;
}

/* --- Wordmark and type -------------------------------------------------- */
.mh-wordmark {
  font-family: var(--mh-font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

[data-marketing-theme="station"] h1,
[data-marketing-theme="station"] h2,
[data-marketing-theme="station"] h3,
[data-marketing-theme="legal"] h1,
[data-marketing-theme="legal"] h2 {
  font-family: var(--mh-font-display);
  letter-spacing: -0.02em;
}

[data-marketing-theme="station"] h1 { text-wrap: balance; }

/* Serial beside a heading, never a chip floating above it. */
.mh-kicker {
  display: block;
  margin: 0;
  padding: 0.35rem 0 0;
  border: 0;
  border-top: 2px solid var(--mh-brass);
  background: none;
  color: var(--mh-brass);
  font-family: var(--mh-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.mh-kicker svg { display: none; }
.mh-mast {
  display: grid;
  grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
  column-gap: 1.25rem;
  align-items: start;
}
.mh-mast > .mh-kicker { grid-column: 1; grid-row: 1; }
.mh-mast > h1,
.mh-mast > h2 { grid-column: 2; grid-row: 1; margin-top: 0 !important; }
.mh-mast > p,
.mh-mast > div { grid-column: 2; }
@media (max-width: 640px) {
  .mh-mast { grid-template-columns: 4.75rem minmax(0, 1fr); column-gap: 0.75rem; }
}

/* --- Rail ---------------------------------------------------------------- */
[data-marketing-theme="station"] header,
[data-marketing-theme="legal"] header {
  background: var(--mh-lacquer);
  border-bottom: 3px solid var(--mh-brass);
  position: sticky;
  top: 0;
  z-index: 40;
}

[data-marketing-theme="station"] header svg.text-indigo-600,
[data-marketing-theme="station"] footer svg.text-indigo-500,
[data-marketing-theme="legal"] header svg.text-indigo-600 {
  color: var(--mh-brass) !important;
}

[data-marketing-theme="station"] footer,
[data-marketing-theme="legal"] footer {
  background: var(--mh-lacquer-deep) !important;
  border-top: 3px solid var(--mh-brass);
  position: relative;
  z-index: 10;
  color: var(--mh-on-lacquer);
}

[data-marketing-theme="station"] footer a:hover { color: var(--mh-paper) !important; }

[data-marketing-theme="station"] .fixed.inset-y-0.right-0.bg-white,
[data-marketing-theme="legal"] .fixed.inset-y-0.right-0.bg-white {
  background: var(--mh-lacquer) !important;
  box-shadow: inset 0 0 0 3px var(--mh-brass);
  color: var(--mh-on-lacquer);
}

[data-marketing-theme="station"] .absolute.right-0.bg-white {
  background: var(--mh-paper) !important;
  color: var(--mh-ink);
  border: 1px solid var(--mh-brass-deep);
  box-shadow: var(--mh-shadow-slip);
}
[data-marketing-theme="station"] .absolute.right-0.bg-white a,
[data-marketing-theme="station"] .absolute.right-0 .text-gray-700 {
  color: var(--mh-ink) !important;
}
[data-marketing-theme="station"] .absolute.right-0 a:hover {
  background: #e7dcc4 !important;
}

/* --- Buttons ------------------------------------------------------------- */
[data-marketing-theme="station"] a.rounded-md.bg-indigo-600,
[data-marketing-theme="station"] a.rounded-md.bg-indigo-500,
[data-marketing-theme="station"] button.rounded-md.bg-indigo-600,
[data-marketing-theme="station"] .mh-btn-primary,
[data-marketing-theme="legal"] a.rounded-md.bg-indigo-600 {
  background: var(--mh-vermillion) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 18px rgb(7 31 27 / 0.28);
  font-family: var(--mh-font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s;
}

[data-marketing-theme="station"] a.rounded-md.bg-indigo-600:hover,
[data-marketing-theme="station"] a.rounded-md.bg-indigo-500:hover,
[data-marketing-theme="station"] button.rounded-md.bg-indigo-600:hover,
[data-marketing-theme="station"] .mh-btn-primary:hover,
[data-marketing-theme="legal"] a.rounded-md.bg-indigo-600:hover {
  background: #a32e14 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

[data-marketing-theme="station"] a.rounded-md.bg-indigo-600:active,
[data-marketing-theme="station"] .mh-btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgb(7 31 27 / 0.22);
}

[data-marketing-theme="station"] a.rounded-md.bg-white,
[data-marketing-theme="station"] a.bg-white.text-indigo-600 {
  background: var(--mh-lacquer) !important;
  color: var(--mh-paper) !important;
  border-radius: 999px !important;
}

[data-marketing-theme="station"] :focus-visible {
  outline: 2px solid var(--mh-brass);
  outline-offset: 3px;
}

/* Enamel field used as a closing band. */
[data-marketing-theme="station"] .bg-indigo-600.py-16,
[data-marketing-theme="station"] section.bg-indigo-600 {
  background: var(--mh-vermillion) !important;
}
[data-marketing-theme="station"] .bg-indigo-600 .text-white,
[data-marketing-theme="station"] .bg-indigo-600 .text-indigo-200,
[data-marketing-theme="station"] .text-indigo-100 { color: #fff !important; }

/* Small enamel squares (feature glyphs) stay brass, not the send color. */
[data-marketing-theme="station"] .rounded-lg.bg-indigo-600 {
  background: var(--mh-brass) !important;
  color: var(--mh-ink) !important;
}
[data-marketing-theme="station"] .rounded-lg.bg-indigo-600 svg,
[data-marketing-theme="station"] .h-12.w-12.bg-indigo-600 {
  color: var(--mh-ink) !important;
}
[data-marketing-theme="station"] .h-12.w-12.rounded-lg.bg-indigo-600 {
  background: var(--mh-brass) !important;
}

/* --- Capsule (home) ----------------------------------------------------- */
.mh-bay { background: var(--mh-lacquer); }

/* Sorting floor above the hero copy. The box is sized before the canvas
   exists, so the poster and the WebGL view occupy the same space. */
.mh-network { margin: 0 0 1.15rem; }
.mh-network-stage {
  position: relative;
  aspect-ratio: 12 / 5;
  background: var(--mh-lacquer-deep);
  border-radius: 0.35rem;
  overflow: hidden;
  perspective: 900px;
  box-shadow: inset 0 0 0 1px rgb(212 179 106 / 0.55);
}
.mh-network-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 52%, rgb(7 31 27 / 0.38) 100%);
}
.mh-network-poster,
.mh-network-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.mh-network-poster { transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.mh-network-stage canvas { opacity: 0; transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.mh-network.is-live canvas { opacity: 1; }
.mh-network.is-live .mh-network-poster { opacity: 0; visibility: hidden; transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.45s; }
.mh-network.is-live .mh-network-stage { cursor: pointer; }

.mh-network-tag,
.mh-network-slip {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: var(--mh-paper);
  color: var(--mh-ink);
  border-radius: 0.12rem;
}
.mh-network-tag {
  padding: 0.14rem 0.42rem;
  font-family: var(--mh-font-body);
  font-size: 0.68rem;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px transparent;
}
.mh-network-tag.is-hot { box-shadow: inset 0 0 0 1px var(--mh-vermillion); }
.mh-network-slip {
  z-index: 3;
  width: 10.5rem;
  padding: 0.4rem 0.5rem 0.45rem;
  transform-origin: 50% 100%;
  box-shadow: var(--mh-shadow-slip);
  animation: mh-slip-unfold 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}
.mh-network-slip pre {
  margin: 0;
  font-family: var(--mh-font-mono);
  font-size: 0.62rem;
  line-height: 1.35;
  white-space: pre;
}
@keyframes mh-slip-unfold {
  from { opacity: 0; transform: translate(-50%, -50%) rotateX(72deg) scaleY(0.2); }
  to { opacity: 1; transform: translate(-50%, -50%) rotateX(0deg) scaleY(1); }
}

@media (max-width: 860px) {
  .mh-network-tag { font-size: 0.6rem; padding: 0.1rem 0.32rem; }
  .mh-network-slip { width: 8.6rem; }
  .mh-network-slip pre { font-size: 0.56rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mh-network-stage canvas { display: none; }
}

.mh-capsule {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr) 11rem;
  grid-template-areas:
    "cap copy send"
    "cap slip send";
  background: var(--mh-paper);
  color: var(--mh-ink);
  border-radius: 7.5rem;
  overflow: hidden;
  box-shadow: var(--mh-shadow-slip), inset 0 0 0 3px var(--mh-brass);
  animation: mh-arrive 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mh-capsule-cap {
  grid-area: cap;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.5rem 0.85rem;
  background: var(--mh-brass);
  color: var(--mh-lacquer-deep);
  text-align: center;
}

.mh-aperture {
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 50%;
  border: 0.55rem solid var(--mh-brass-deep);
  background: var(--mh-lacquer-deep);
  display: grid;
  place-items: center;
}
.mh-aperture span {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--mh-paper);
  border: 0.35rem solid var(--mh-lacquer);
}

.mh-routing {
  margin: 0;
  max-width: 8rem;
  color: var(--mh-lacquer-deep);
  font-family: var(--mh-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.mh-capsule-copy {
  grid-area: copy;
  padding: 1.75rem 1.5rem 0.25rem 1.6rem;
}
.mh-capsule-copy h1 {
  color: var(--mh-ink);
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 0.92;
  font-weight: 800;
}
.mh-capsule-copy p { color: var(--mh-ink-soft); }
.mh-capsule-copy a { color: var(--mh-lacquer); }

.mh-capsule-slip { grid-area: slip; padding: 0.75rem 1.4rem 1.4rem; }

.mh-capsule-send {
  grid-area: send;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: var(--mh-vermillion);
}
.mh-capsule-send a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--mh-paper);
  color: var(--mh-vermillion-deep);
  font-family: var(--mh-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  text-align: center;
  box-shadow: 0 10px 18px rgb(114 28 12 / 0.28);
}
.mh-capsule-send a:hover { transform: translateY(-1px); color: var(--mh-vermillion-deep); }

@keyframes mh-arrive {
  from { transform: translateY(14px); }
  to { transform: none; }
}

@media (max-width: 860px) {
  .mh-capsule {
    display: flex;
    flex-direction: column;
    border-radius: 1.75rem;
  }
  .mh-capsule-cap { flex-direction: row; justify-content: flex-start; padding: 1rem 1.1rem; }
  .mh-routing { max-width: none; text-align: left; }
  .mh-aperture { width: 3.4rem; height: 3.4rem; border-width: 0.35rem; }
  .mh-aperture span { width: 1.45rem; height: 1.45rem; }
  .mh-capsule-send { order: 3; padding: 1rem; }
  .mh-capsule-slip { order: 4; }
  .mh-capsule-send a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .mh-capsule { animation: none; }
  [data-marketing-theme="station"] *,
  [data-marketing-theme="legal"] * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Nameplate under the capsule. Quiet, not a hero metric row. */
.mh-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
  border-top: 2px solid var(--mh-brass);
}
.mh-stat { padding: 0.9rem 0.2rem 0; }
.mh-stat-value {
  font-family: var(--mh-font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--mh-brass);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  line-height: 1;
}
.mh-stat-label {
  margin-top: 0.35rem;
  color: var(--mh-on-lacquer-soft);
  font-size: 0.82rem;
  line-height: 1.35;
}
@media (max-width: 640px) {
  .mh-stats { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* Tube route for the three steps. */
.mh-route {
  position: relative;
  margin-top: 2.5rem;
}
.mh-route::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 1rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--mh-brass-deep);
  border: 2px solid var(--mh-brass);
}
.mh-step { position: relative; padding-top: 3.25rem; }
.mh-step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mh-paper);
  color: var(--mh-lacquer-deep);
  border: 3px solid var(--mh-brass);
  font-family: var(--mh-font-display);
  font-weight: 800;
  font-size: 0.95rem;
}
.mh-step-title {
  font-family: var(--mh-font-display);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--mh-paper);
  line-height: 1;
}
.mh-step-body { margin-top: 0.45rem; color: var(--mh-on-lacquer-soft); line-height: 1.6; }
@media (max-width: 639px) {
  .mh-route::before { display: none; }
}

/* Hatch manifold. Two wide bays, then smaller plates. Not equal icon cards. */
.mh-manifold { align-items: stretch; }
.mh-feature {
  padding: 1.35rem 1.3rem 1.45rem;
  background: var(--mh-paper);
  color: var(--mh-ink);
  border-radius: 1.25rem 0.35rem 1.25rem 0.35rem;
  box-shadow: var(--mh-shadow-slip);
}
.mh-feature-icon {
  width: 1.8rem;
  height: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mh-vermillion);
}
.mh-feature-title {
  margin-top: 0.7rem;
  font-family: var(--mh-font-display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--mh-ink);
}
.mh-feature-body { margin-top: 0.45rem; color: var(--mh-ink-soft); line-height: 1.55; }
a.mh-feature { text-decoration: none; color: var(--mh-ink); }
a.mh-feature h3 { color: var(--mh-ink); }
a.mh-feature p { color: var(--mh-ink-soft); }
a.mh-feature span { color: var(--mh-vermillion-deep); }
.mh-manifold .mh-feature:nth-child(1),
.mh-manifold .mh-feature:nth-child(2) {
  background: var(--mh-lacquer-lift);
  color: var(--mh-paper);
  box-shadow: inset 0 0 0 2px var(--mh-brass);
}
.mh-manifold .mh-feature:nth-child(1) .mh-feature-title,
.mh-manifold .mh-feature:nth-child(2) .mh-feature-title,
.mh-manifold .mh-feature:nth-child(1) .mh-feature-body,
.mh-manifold .mh-feature:nth-child(2) .mh-feature-body { color: var(--mh-paper); }
.mh-manifold .mh-feature:nth-child(1) .mh-feature-body,
.mh-manifold .mh-feature:nth-child(2) .mh-feature-body { color: var(--mh-on-lacquer-soft); }

.mh-cta {
  background: var(--mh-vermillion);
  border-radius: 999px;
  color: #fff;
}
.mh-cta h2,
.mh-cta p,
.mh-cta a:not(.mh-btn-primary) { color: #fff !important; }
.mh-cta a:not(.mh-btn-primary) { text-underline-offset: 0.16em; }
.mh-cta .mh-btn-primary {
  background: var(--mh-paper) !important;
  color: var(--mh-vermillion-deep) !important;
  box-shadow: 0 10px 18px rgb(7 31 27 / 0.22);
}

/* Code hatch inside the capsule and on docs. */
.mh-codecard,
[data-marketing-theme="station"] pre.bg-gray-900,
[data-marketing-theme="station"] .rounded-lg.bg-gray-900,
[data-marketing-theme="station"] .rounded-xl.bg-gray-900,
[data-marketing-theme="station"] .rounded-2xl.bg-gray-900 {
  background: var(--mh-felt) !important;
  color: var(--mh-paper);
  border-radius: 0.9rem;
  box-shadow: inset 0 0 0 2px var(--mh-brass-deep);
  font-family: var(--mh-font-mono);
}
.mh-codecard { overflow: hidden; font-size: 0.82rem; line-height: 1.65; }
.mh-codecard-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  background: var(--mh-lacquer);
  color: var(--mh-brass);
}
.mh-codecard-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--mh-brass);
}
.mh-codecard-title { margin-left: 0.35rem; font-size: 0.75rem; letter-spacing: 0.04em; }
.mh-codecard-badge { margin-left: auto; color: var(--mh-paper); font-size: 0.72rem; }
.mh-codecard-body { padding: 0.85rem 1rem 1rem; color: var(--mh-on-lacquer-soft); white-space: pre; overflow-x: auto; }
.mh-codecard-body .c-cmd { color: #b7a888; }
.mh-codecard-body .c-key { color: var(--mh-brass); }
.mh-codecard-body .c-str { color: var(--mh-paper); }
.mh-codecard-body .c-punct { color: #b7a888; }
.mh-codecard-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 1rem 0.7rem;
  color: #b7a888;
  font-size: 0.72rem;
}

[data-marketing-theme="station"] pre code,
[data-marketing-theme="station"] .text-gray-300 code { font-family: var(--mh-font-mono); }

/* --- Pricing fare plates ------------------------------------------------- */
.mh-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--mh-paper);
  color: var(--mh-ink);
  border-radius: 1.4rem 0.4rem 1.4rem 0.4rem;
  box-shadow: var(--mh-shadow-slip);
}
.mh-plan-featured {
  box-shadow: var(--mh-shadow-slip), inset 0 0 0 3px var(--mh-brass);
}
.mh-plan-name { font-family: var(--mh-font-display); font-weight: 700; font-size: 1.8rem; line-height: 1; color: var(--mh-ink); }
.mh-plan-tagline { margin-top: 0.35rem; color: var(--mh-vermillion-deep); font-size: 0.92rem; }
.mh-plan-desc { color: var(--mh-ink-soft); font-size: 0.92rem; line-height: 1.55; }
.mh-plan-price {
  font-family: var(--mh-font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 0.9;
  color: var(--mh-ink);
  font-variant-numeric: tabular-nums;
}
.mh-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.2rem 0.55rem;
  background: var(--mh-vermillion);
  color: #fff;
  font-family: var(--mh-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mh-compare { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mh-compare th,
.mh-compare td {
  padding: 0.85rem 0.9rem;
  text-align: center;
  font-size: 0.9rem;
  border-bottom: 1px solid rgb(212 179 106 / 0.28);
  color: var(--mh-on-lacquer-soft);
}
.mh-compare th:first-child,
.mh-compare td:first-child { text-align: left; }
.mh-compare thead th {
  font-family: var(--mh-font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--mh-brass);
  vertical-align: bottom;
}
.mh-compare thead th .price {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--mh-font-body);
  letter-spacing: 0;
  font-size: 0.78rem;
  color: var(--mh-on-lacquer-soft);
}
.mh-compare .row-label { color: var(--mh-paper); font-weight: 600; }
.mh-compare .col-featured { background: rgb(212 179 106 / 0.12); color: var(--mh-paper); }
.mh-compare .x-mark { color: #b7a888; }
.mh-faq-item { border-top: 1px solid rgb(212 179 106 / 0.35); }
.mh-faq-item:last-child { border-bottom: 1px solid rgb(212 179 106 / 0.35); }
.mh-faq-q { font-family: var(--mh-font-display); font-weight: 700; font-size: 1.35rem; color: var(--mh-paper); padding-top: 1.2rem; line-height: 1.05; }
.mh-faq-a { color: var(--mh-on-lacquer-soft); margin-top: 0.4rem; padding-bottom: 1.2rem; line-height: 1.6; }

.mh-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--mh-lacquer-lift);
  color: var(--mh-brass);
  font-size: 0.75rem;
}
.mh-chip-warn { background: #4a2a12; color: #f0c089; }
.mh-chip-muted { background: transparent; color: var(--mh-on-lacquer-soft); box-shadow: inset 0 0 0 1px rgb(212 179 106 / 0.4); }

/* --- Read: docs and articles -------------------------------------------- */
.mh-sheet {
  background: var(--mh-paper);
  color: var(--mh-ink);
  border-radius: 1.25rem 0.35rem 1.25rem 0.35rem;
  box-shadow: var(--mh-shadow-slip);
}
[data-marketing-theme="station"] .mh-sheet { color-scheme: light; caret-color: var(--mh-ink); }

[data-marketing-theme="station"] .mh-tab {
  border-color: transparent;
  color: var(--mh-ink-soft);
  font-family: var(--mh-font-display);
  letter-spacing: 0.04em;
  background: transparent;
}
[data-marketing-theme="station"] .mh-tab:hover { color: var(--mh-ink); border-color: var(--mh-brass-deep); }
[data-marketing-theme="station"] .mh-tab[aria-selected="true"],
[data-marketing-theme="station"] .mh-tab.mh-tab-active {
  border-color: var(--mh-vermillion);
  color: var(--mh-ink);
}

[data-marketing-theme="station"] .mh-sheet .prose,
[data-marketing-theme="station"] .prose {
  --tw-prose-body: var(--mh-ink-soft);
  --tw-prose-headings: var(--mh-ink);
  --tw-prose-links: var(--mh-vermillion-deep);
  --tw-prose-bold: var(--mh-ink);
  --tw-prose-code: var(--mh-lacquer);
  --tw-prose-pre-bg: var(--mh-felt);
  --tw-prose-pre-code: var(--mh-paper);
  --tw-prose-bullets: var(--mh-vermillion);
  --tw-prose-counters: var(--mh-vermillion);
  --tw-prose-quote-borders: var(--mh-brass);
  --tw-prose-hr: rgb(140 107 50 / 0.45);
  --tw-prose-th-borders: rgb(140 107 50 / 0.45);
  --tw-prose-td-borders: rgb(140 107 50 / 0.35);
  font-family: var(--mh-font-read);
  max-width: 68ch;
}
[data-marketing-theme="station"] .prose h1,
[data-marketing-theme="station"] .prose h2,
[data-marketing-theme="station"] .prose h3 {
  font-family: var(--mh-font-display);
  color: var(--mh-ink);
}
[data-marketing-theme="station"] .prose a { color: var(--mh-vermillion-deep); text-underline-offset: 0.16em; }
[data-marketing-theme="station"] .prose code {
  font-family: var(--mh-font-mono);
  background: #e7dcc4;
  padding: 0.1rem 0.3rem;
  border-radius: 0.2rem;
}
[data-marketing-theme="station"] .prose pre {
  background: var(--mh-felt);
  color: var(--mh-paper);
  box-shadow: inset 0 0 0 2px var(--mh-brass-deep);
}
[data-marketing-theme="station"] .prose pre code { background: transparent; color: var(--mh-paper); padding: 0; }

/* Blog index slips. */
[data-marketing-theme="station"] article.flex {
  background: var(--mh-paper);
  color: var(--mh-ink);
  padding: 0.75rem 0.75rem 1rem;
  border-radius: 0.3rem 1.1rem 0.3rem 0.3rem;
  box-shadow: var(--mh-shadow-slip);
}
[data-marketing-theme="station"] article.flex .bg-gradient-to-br {
  background: var(--mh-lacquer) !important;
}
[data-marketing-theme="station"] article.flex .rounded-full.bg-indigo-600,
[data-marketing-theme="station"] .mh-sheet .rounded-full.bg-indigo-600 {
  background: var(--mh-lacquer) !important;
  color: var(--mh-paper) !important;
}
[data-marketing-theme="station"] .rounded-full.bg-indigo-600,
[data-marketing-theme="station"] .rounded-full.bg-indigo-100,
[data-marketing-theme="station"] .rounded-full.bg-gray-50 {
  background: var(--mh-lacquer-lift) !important;
  color: var(--mh-brass) !important;
}
[data-marketing-theme="station"] article.flex .rounded-full.bg-gray-50 {
  background: #e7dcc4 !important;
  color: var(--mh-ink) !important;
}
[data-marketing-theme="station"] a.bg-indigo-600.rounded-full,
[data-marketing-theme="station"] a.rounded-full.bg-indigo-600 {
  background: var(--mh-vermillion) !important;
  color: #fff !important;
}

/* Footer agent plate. */
[data-marketing-theme="station"] footer .rounded-lg,
[data-marketing-theme="legal"] footer .rounded-lg {
  background: var(--mh-paper) !important;
  color: var(--mh-ink) !important;
  border-color: var(--mh-brass) !important;
}
[data-marketing-theme="station"] footer .rounded-lg h3,
[data-marketing-theme="station"] footer .rounded-lg p,
[data-marketing-theme="legal"] footer .rounded-lg h3,
[data-marketing-theme="legal"] footer .rounded-lg p { color: var(--mh-ink) !important; }
[data-marketing-theme="station"] footer .rounded-lg a,
[data-marketing-theme="legal"] footer .rounded-lg a { color: var(--mh-vermillion-deep) !important; }
[data-marketing-theme="station"] footer .rounded-lg svg,
[data-marketing-theme="legal"] footer .rounded-lg svg { color: var(--mh-vermillion) !important; }

/* --- Forms --------------------------------------------------------------- */
.mh-input,
.mh-select,
.mh-textarea {
  display: block;
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 2px solid var(--mh-brass-deep);
  border-radius: 0.4rem;
  background: var(--mh-paper);
  color: var(--mh-ink);
  font-family: var(--mh-font-body);
  font-size: 0.95rem;
  outline: none;
}
.mh-input::placeholder,
.mh-textarea::placeholder { color: #4e463c; }
.mh-input:focus,
.mh-select:focus,
.mh-textarea:focus { border-color: var(--mh-vermillion); }
.mh-label { display: block; margin-bottom: 0.4rem; font-weight: 600; color: var(--mh-paper); }
.mh-alert { display: flex; gap: 0.75rem; padding: 0.9rem 1rem; border-radius: 0.5rem; }
.mh-alert-success { background: #e5f2e4; color: #1c3a22; }
.mh-alert-error { background: #fde4dc; color: #6d2416; }
.mh-alert-icon { width: 1.25rem; height: 1.25rem; flex: none; }

/* --- Legal sheets -------------------------------------------------------- */
[data-marketing-theme="legal"] .bg-white { background: transparent !important; }
[data-marketing-theme="legal"] .bg-white > .mx-auto {
  background: var(--mh-paper);
  color: var(--mh-ink);
  border-radius: 1.25rem 0.35rem;
  box-shadow: var(--mh-shadow-slip);
  padding: 2.5rem 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
[data-marketing-theme="legal"] .bg-white .text-gray-900 { color: var(--mh-ink) !important; }
[data-marketing-theme="legal"] .bg-white .text-gray-500,
[data-marketing-theme="legal"] .bg-white .text-gray-600 { color: var(--mh-ink-soft) !important; }
[data-marketing-theme="legal"] .prose {
  font-family: var(--mh-font-read);
  --tw-prose-body: var(--mh-ink-soft);
  --tw-prose-headings: var(--mh-ink);
  --tw-prose-links: var(--mh-vermillion-deep);
}
[data-marketing-theme="legal"] .prose a { color: var(--mh-vermillion-deep); text-decoration: underline; text-underline-offset: 0.15em; }
[data-marketing-theme="legal"] .fixed.inset-y-0 .text-gray-900 { color: var(--mh-paper) !important; }
[data-marketing-theme="legal"] header .text-gray-900,
[data-marketing-theme="legal"] header .text-gray-700 { color: var(--mh-paper) !important; }
