/* MineCart stylesheet entry 1 of 2: the reset.
 *
 * The SPA loaded Tailwind, whose preflight is the only global reset on the
 * page. Tailwind is dropped with this port, so the preflight rules the
 * /minecart routes actually depend on are carried here verbatim (element
 * margins and heading sizes zeroed, lists unmarked, media made block). The
 * page loads this bundle alone, so the reset is unscoped, exactly as
 * preflight was.
 *
 * The pixel font is declared here rather than assumed from the console
 * bundle: minecart pages never load the console stylesheets.
 */

@font-face {
  font-family: "JGS7";
  src: url("/assets/gen/jgs7.bcfc718a.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

*,
::before,
::after,
::backdrop {
  box-sizing: border-box;
  
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}



small {
  font-size: 80%;
}









ol,
ul,
menu {
  list-style: none;
}











/* Page typography — the SPA's index.css defaults, which preflight did not
   override. */
:root {
  font-family: "IBM Plex Sans", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-weight: 400;
  color: #1a1a1a;
  background-color: #ffffff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* MineCart stylesheet entry 2 of 2: tokens, chrome, page layouts, and the
 * hero state machine — the port of src/pages/minecart/minecart.css with its
 * Tailwind utilities folded into the class names the templates emit.
 *
 * Tailwind's `@theme inline` aliases (`--color-mc-*`, `--font-jgs`) are now
 * the plain custom properties below; nothing in this bundle reads a Tailwind
 * variable. The hero's data-attribute state machine is ported unchanged: the
 * script sets data-map-state / data-dither and this file styles
 * off them.
 */

:root {
  --font-jgs: "JGS7", "Courier New", monospace;
  --mc-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ── tokens ──────────────────────────────────────────────────────────────── */

.minecart-site,
.minecart-site[data-mc-theme="light"] {
  --mc-canvas: #f7f5f0;
  --mc-surface: #ffffff;
  --mc-surface-strong: #ede9e0;
  --mc-text: #16232b;
  --mc-muted: #536069;
  --mc-border: #c9c3b8;
  --mc-border-strong: #16232b;
  --mc-action: #16232b;
  --mc-action-text: #ffffff;
  --mc-accent: #f34801;
  --mc-accent-dark: #8b0a1f;
  --mc-signal: #ffb648;
  --mc-focus: #8b0a1f;
  --mc-selection: rgba(243, 72, 1, 0.18);
  /* Chart marks (scored-loads curves): the curve hue and the cool pole of the
     raises/lowers pair, validated together for CVD separation and contrast. */
  --mc-chart: #f34801;
  --mc-raise: #2f6c9e;
  /* The operating app's v3 tokens: the faint ink and soft rule, its bars,
     the asset area's frame colour (--mc-mode) with its text-safe ink, the
     lit tab, the bevel pair, and the film grain. */
  --mc-faint: #8a939a;
  --mc-border-soft: #e8e3d8;
  --mc-bar: #f7f5f0;
  --mc-bar-line: #d9d3c7;
  --mc-bar-hover: rgba(22, 35, 43, 0.06);
  --mc-mode: #ffb648;
  --mc-mode-ink: #a8690a;
  --mc-tab-on: #ffb648;
  --mc-tab-on-text: #16232b;
  --mc-bevel-hi: rgba(255, 255, 255, 0.75);
  --mc-bevel-lo: rgba(22, 35, 43, 0.16);
  --mc-grain-op: 0.05;
  --mc-grain-blend: multiply;
  /* Rows inside a signal box: the pinstripe's yellow, faded. */
  --mc-rule: rgba(255, 182, 72, 0.55);
}

/* The hero band renders the dark cinematic map in both site themes, so it
   pins the dark palette for itself and every overlay inside it. */
.minecart-site[data-mc-theme="dark"],
.minecart-site .hero-map {
  --mc-canvas: #0a0c10;
  --mc-surface: #121920;
  --mc-surface-strong: #16232b;
  --mc-text: #f5f2eb;
  --mc-muted: #b5b1a8;
  --mc-border: #34424a;
  --mc-border-strong: #dad4c8;
  --mc-action: #f34801;
  --mc-action-text: #0a0c10;
  --mc-accent: #ff6a2d;
  --mc-accent-dark: #d74a55;
  --mc-signal: #ffb648;
  --mc-focus: #ffb648;
  --mc-selection: rgba(255, 182, 72, 0.2);
  --mc-chart: #f05d20;
  --mc-raise: #3d8fdc;
  --mc-faint: #7d8891;
  --mc-border-soft: #1f2b34;
  --mc-bar: #0d1318;
  --mc-bar-line: #24313a;
  --mc-bar-hover: rgba(255, 255, 255, 0.07);
  --mc-mode: #ffb648;
  --mc-mode-ink: #ffb648;
  --mc-tab-on: #ffb648;
  --mc-tab-on-text: #16232b;
  --mc-bevel-hi: rgba(255, 255, 255, 0.06);
  --mc-bevel-lo: rgba(0, 0, 0, 0.55);
  --mc-grain-op: 0.07;
  --mc-grain-blend: overlay;
  --mc-rule: rgba(255, 182, 72, 0.42);
}

.minecart-site {
  min-height: 100vh;
  background: var(--mc-canvas);
  color: var(--mc-text);
}

.minecart-site .hero-map {
  color: var(--mc-text);
}

/* Short pages (e.g. Pricing) don't scroll; reserving the scrollbar gutter
   keeps the centered container the same width on every page. In-page links
   land below the sticky centre bar. */
:root:has(.minecart-site) {
  scrollbar-gutter: stable;
  scroll-padding-top: 64px;
}

/* The app's film grain: a fixed noise layer over the whole page, multiplied
   into the light theme and overlaid on the dark one. */
.minecart-site::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: var(--mc-grain-op);
  mix-blend-mode: var(--mc-grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* Link defaults for the subtree. `:where()` keeps them at zero specificity:
   the SPA had these in a cascade layer under Tailwind's utilities, and the
   chrome's class rules below must win here the same way. */


.minecart-site :where(p a, .legal-content a):hover {
  text-decoration: underline;
}

.minecart-site ::selection {
  background: var(--mc-selection);
}

.minecart-site :focus-visible {
  outline: 3px solid var(--mc-focus);
  outline-offset: 3px;
}

/* ── chrome: skip link, header, brand, nav, menu, footer ─────────────────── */

.mc-skip-link {
  position: absolute;
  
  height: 1px;
  
  
  overflow: hidden;
  
  
  
}

.mc-skip-link:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--mc-action);
  padding: 0.5rem 0.75rem;
  font-weight: 700;
  color: var(--mc-action-text);
}

/* One bar, as the operating app's top: the brand cell, a 2px yellow
   separator, the section tabs, then the theme and sign-in controls. Its
   yellow border opens the asset area's frame; it sticks to the top of the
   viewport, so the frame stays closed above the page as it scrolls. */
.mc-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: stretch;
  min-height: 58px;
  border: 2px solid var(--mc-mode);
  border-bottom: 0;
  background: var(--mc-bar);
}

.mc-bar::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--mc-bar-line);
}

.mc-bar__brand {
  display: flex;
  flex: none;
  align-items: center;
  border-right: 2px solid var(--mc-mode);
  padding: 0 18px 0 12px;
}

.mc-bar__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 6px;
  padding: 0 10px 0 6px;
}

.mc-bar .mc-bar__cta {
  min-height: 2rem;
  padding: 0.25rem 0.875rem;
  font-size: 13px;
}

.mc-tabs {
  display: flex;
  flex: 1;
  align-items: stretch;
  min-width: 0;
  padding: 0 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mc-tabs::-webkit-scrollbar {
  display: none;
}

.mc-tab {
  display: flex;
  flex: none;
  align-items: center;
  margin-block: 10px;
  border-right: 1px solid color-mix(in srgb, var(--mc-mode) 60%, transparent);
  padding: 0 16px;
  font-size: 14px;
  white-space: nowrap;
}

.mc-tab:last-child {
  border-right: 0;
}

.mc-tab:hover {
  background: var(--mc-bar-hover);
}

.mc-tab[aria-current] {
  background: var(--mc-tab-on);
  color: var(--mc-tab-on-text);
  font-weight: 700;
}

/* The frame: the bar's yellow runs down both edges of the page and closes
   above the footer. */
.mc-frame {
  display: block;
  border: 2px solid var(--mc-mode);
  border-top: 0;
}

.mc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.mc-brand__home {
  display: inline-flex;
}

/* The MineCart logo is drawn black; dark surfaces invert it. */
.mc-brand__mark {
  width: 2rem;
  height: auto;
}

.minecart-site[data-mc-theme="dark"] .mc-brand__mark,
.minecart-site[data-mc-theme="dark"] .mc-pipe__mark {
  filter: invert(1);
}

.mc-brand__text {
  display: grid;
  gap: 1px;
}

.mc-brand__name {
  font-family: var(--font-jgs);
  font-size: 0.75rem;
  line-height: calc(1 / 0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mc-brand__byline {
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mc-muted);
  
}

.mc-brand__byline:hover {
  color: var(--mc-text);
  text-decoration: underline;
  text-decoration-color: var(--mc-accent);
}

.mc-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--mc-text);
  cursor: pointer;
}

.mc-theme-toggle:hover {
  background: var(--mc-bar-hover);
}

.mc-theme-toggle__icon {
  width: 1.125rem;
  
  fill: currentColor;
}

/* The button shows the mode it switches to: light page, moon icon. The
   inline script only rewrites the accessible label; the icon follows the
   theme attribute in CSS. */
.mc-theme-toggle__icon [data-theme-icon] {
  display: none;
}

.minecart-site[data-mc-theme="light"] .mc-theme-toggle__icon [data-theme-icon="dark"],
.minecart-site[data-mc-theme="dark"] .mc-theme-toggle__icon [data-theme-icon="light"] {
  display: inline;
}

.mc-footer {
  padding: 2.5rem 0 2rem;
}

.mc-footer__inner {
  
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.mc-footer__grid {
  display: grid;
  align-items: flex-start;
  gap: 2rem;
}

.mc-footer__blurb {
  max-width: 28rem;
}

.mc-footer__note {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: var(--mc-muted);
}

.mc-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
  row-gap: 0.625rem;
}

.mc-footer__link {
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: var(--mc-muted);
  
}

.mc-footer__link:hover {
  color: var(--mc-text);
  text-decoration: underline;
}

.mc-footer__legal {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  border-top: 1px solid var(--mc-rule);
  padding-top: 1.25rem;
  font-size: 0.75rem;
  line-height: calc(1 / 0.75);
  color: var(--mc-muted);
}

.mc-footer__made {
  display: inline-flex;
  
  gap: 0.375rem;
}

.mc-footer__dwarf {
  width: 1rem;
  
  
}

/* ── buttons ─────────────────────────────────────────────────────────── */

.mc-cta {
  display: inline-flex;
  align-items: center;
  
  min-height: 2.625rem;
  border: 1px solid var(--mc-action);
  border-radius: 0.125rem;
  background: var(--mc-action);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  
  font-weight: 700;
  color: var(--mc-action-text);
  box-shadow: inset 0 1px 0 var(--mc-bevel-hi), 0 1px 0 var(--mc-bevel-lo);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.mc-cta:hover {
  border-color: var(--mc-accent);
  background: var(--mc-accent);
  color: #0a0c10;
}

.mc-cta:active {
  transform: translateY(1px);
}

.mc-cta--quiet {
  border-color: var(--mc-border-strong);
  background: transparent;
  color: var(--mc-text);
}

.mc-cta--quiet:hover {
  border-color: var(--mc-border-strong);
  background: var(--mc-surface-strong);
  color: var(--mc-text);
}

.mc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* A lone button sits in a block wrapper in the SPA (an `inline-flex` anchor
   in a plain div), so the row only becomes a flex container once it holds
   more than one action. */


.mc-actions--spaced {
  margin-top: 2rem;
}

/* The free-account offer is visible before the visitor explores the model. */
.mc-offer-note {
  margin-top: 0.75rem;
  color: var(--mc-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* The sign-up box under the sample figure: the offer, then the button. */
.mc-proof-cta {
  margin-top: 2rem;
}

.mc-proof-cta__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.mc-proof-cta__title {
  font-size: 1.25rem;
  font-weight: 700;
}

.mc-methodology {
  border-block: 1px solid var(--mc-mode);
}

.mc-methodology > summary {
  max-width: 72rem;
  margin-inline: auto;
  padding: 1.5rem 1.25rem;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 700;
}

.mc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ── page header and legal layout ────────────────────────────────────────── */

.mc-page-header {
  
  max-width: 72rem;
  margin-inline: auto;
  padding: 6rem 1.25rem 4rem;
}

.mc-page-header__title {
  
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.mc-page-header__summary {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 1.25rem;
  line-height: calc(1.75 / 1.25);
  color: var(--mc-muted);
}

.mc-legal {
  display: grid;
  
  gap: 2rem;
  
  max-width: 72rem;
  margin-inline: auto;
  padding: 0 1.25rem 6rem;
}

.mc-legal__nav {
  align-self: start;
}

.mc-legal__link {
  display: block;
  border-bottom: 1px solid var(--mc-rule);
  padding: 0.625rem 14px;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: var(--mc-muted);
}

.mc-legal__link:last-child {
  border-bottom: 0;
}

.mc-legal__link:hover {
  color: var(--mc-text);
  text-decoration: underline;
}

/* ── app boxes ─────────────────────────────────────────────────────────────
   The operating app's panels: a 1px box with a bevel, a header strip whose
   title reads ┤ TITLE ├ in the pixel face, then the body. Signal boxes wear
   the yellow pinstripe (callouts); data panels keep the neutral line. */

.mc-box {
  border: 1px solid var(--mc-border);
  border-radius: 2px;
  background: var(--mc-surface);
  box-shadow: inset 0 1px 0 var(--mc-bevel-hi);
}

.mc-box__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  min-height: 36px;
  border-bottom: 1px solid var(--mc-border-soft);
  padding: 8px 14px;
}

.mc-boxt {
  color: var(--mc-muted);
  font-family: var(--font-jgs);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 var(--mc-bevel-hi);
}

.mc-boxt::before,
.mc-boxt::after {
  color: var(--mc-faint);
  font-family: var(--mc-mono);
}

.mc-boxt::before {
  content: "\2524\00a0";
  content: "\2524\00a0" / "";
}

.mc-boxt::after {
  content: "\00a0\251c";
  content: "\00a0\251c" / "";
}

.mc-box__meta {
  color: var(--mc-muted);
  font-size: 13px;
}

.mc-box__body {
  padding: 14px;
}

.mc-box--signal {
  border-color: var(--mc-signal);
}

.mc-box--signal > .mc-box__head {
  border-bottom-color: color-mix(in srgb, var(--mc-signal) 55%, transparent);
}

.mc-box--signal .mc-boxt {
  color: var(--mc-mode-ink);
}

/* Callout copy: a guide's TL;DR and the legal notes. */
.mc-guide__tldr .mc-box__body,
.mc-note .mc-box__body {
  color: var(--mc-muted);
  line-height: 1.625;
}

.mc-note {
  margin-top: 3rem;
}

/* ── "skip the charts": one expected-profit curve ────────────────────────────
   The generator draws it from sample-run.json with no script. Geometry is in
   percent of the plot: the SVG stretches to fit (strokes stay 2px through
   non-scaling-stroke) and every label is HTML, so text keeps its size from
   phone to desktop. One series, so no legend; the title names it. */

/* The figure is an app box: the strip names the sample load (with Replay at
   its far end once the script is there), and the body (every child after the
   strip) sits inside the box's margin. */
.mc-onechart__figure > .mc-box__head {
  justify-content: flex-start;
}

.mc-onechart__figure > :not(.mc-box__head) {
  margin-inline: 1.25rem;
}

.mc-onechart__replay {
  margin-left: auto;
  border: 1px solid var(--mc-border);
  padding: 3px 10px;
  background: var(--mc-surface);
  box-shadow: inset 0 1px 0 var(--mc-bevel-hi), 0 1px 0 var(--mc-bevel-lo);
  color: var(--mc-muted);
  font-family: var(--font-jgs);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.mc-onechart__replay:hover {
  border-color: var(--mc-border-strong);
  color: var(--mc-text);
}

.mc-onechart__replay:disabled {
  border-color: var(--mc-border);
  color: var(--mc-faint);
  cursor: default;
}

.mc-onechart__replay[hidden] {
  display: none;
}

/* The pipe: the inputs MineCart reads, flowing into MineCart, which hands
   back the one bid. On a phone the inputs take their own row and MineCart
   sits under them; from 900px it all runs left to right. */
.mc-pipe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 10px;
  margin-top: 1.25rem;
}

.mc-pipe__inputs {
  grid-area: in;
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

/* An input as a chip in the pipe: its name only. Its value, note, and
   glyph show on the card it plays in as (below). */
.mc-pipe__inputs > .mc-input {
  border: 1px solid var(--mc-rule);
  padding: 3px 8px;
  background: color-mix(in srgb, var(--mc-mode) 8%, var(--mc-surface));
  color: var(--mc-text);
  font-size: 12px;
  line-height: 1.35;
}

.mc-pipe__inputs > .mc-input > :not(.mc-input__label) {
  display: none;
}

/* A flow is a yellow line with an arrowhead; while MineCart prices, orange
   dashes march along it. */
.mc-pipe__flow {
  position: relative;
  height: 12px;
  overflow: hidden;
  background: linear-gradient(var(--mc-mode), var(--mc-mode)) left center / calc(100% - 3px) 2px no-repeat;
}

.mc-pipe__flow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--mc-mode);
  border-right: 2px solid var(--mc-mode);
  transform: translateY(-50%) rotate(45deg);
}

.mc-pipe__flow::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -16px;
  right: 6px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--mc-chart) 0 8px, transparent 8px 16px);
  opacity: 0;
}

.mc-pipe__flow--in {
  display: none;
}

.mc-pipe__flow--out {
  grid-area: flow;
  flex: 1 0 20px;
  max-width: 64px;
}

/* Under 360px there is no room for the arrow; MineCart and its bid sit side
   by side. */
@media (width < 360px) {
  .mc-pipe__flow--out {
    display: none;
  }

  .mc-pipe .mc-pipe__hub {
    padding-inline: 8px;
  }

  .mc-pipe .mc-pipe__bid {
    letter-spacing: 0.06em;
  }
}

.mc-pipe__hub {
  grid-area: hub;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--mc-mode);
  padding: 8px 12px;
  background: var(--mc-surface);
  box-shadow: inset 0 1px 0 var(--mc-bevel-hi), 0 1px 0 var(--mc-bevel-lo);
}

.mc-pipe__hub::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid var(--mc-mode);
  opacity: 0;
  pointer-events: none;
}

.mc-pipe__mark {
  width: 32px;
  height: auto;
}

.mc-pipe__name {
  font-family: var(--font-jgs);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* The bid, with the script's progress line in the same cell. */
.mc-pipe__out {
  grid-area: out;
  display: grid;
}

/* A phone fits MineCart, its arrow, and the bid on one row: the box's body
   keeps the strip's 14px margin and the hub tightens. */
@media (width < 560px) {
  .mc-onechart__figure > :not(.mc-box__head) {
    margin-inline: 14px;
  }

  .mc-pipe {
    column-gap: 8px;
  }

  .mc-pipe__hub {
    gap: 6px;
    padding: 6px 10px;
  }

  .mc-pipe__mark {
    width: 26px;
  }

  .mc-pipe__name {
    font-size: 12px;
  }
}

@media (width >= 560px) {
  .mc-pipe__out {
    min-width: 9.5rem;
  }
}

.mc-pipe__status,
.mc-pipe__bid {
  grid-area: 1 / 1;
}

.mc-pipe__status {
  align-self: center;
  color: var(--mc-muted);
  font-family: var(--mc-mono);
  font-size: 12px;
}

.mc-pipe__bid {
  color: var(--mc-mode-ink);
  font-family: var(--font-jgs);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mc-pipe__bid strong {
  display: block;
  color: var(--mc-text);
  font-family: var(--mc-mono);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
}

@media (width >= 900px) {
  .mc-pipe {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px auto 56px auto;
    grid-template-areas: "in flowin hub flow out";
    gap: 0 10px;
  }

  .mc-pipe__flow--in {
    display: block;
    grid-area: flowin;
  }
}

.mc-onechart__stage {
  position: relative;
  margin-top: 1.25rem;
  border-top: 1px solid var(--mc-rule);
}

.mc-onechart__title {
  margin-top: 1rem;
  font-weight: 700;
}

/* The wall: while the figure plays, each input lands here as a card over
   the empty chart, before they all compress into the pipe. */
.mc-onechart__wall {
  position: absolute;
  inset: 1rem 0 0.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 6px;
  pointer-events: none;
}

.mc-onechart__wall:empty {
  display: none;
}

.mc-input.is-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--mc-border);
  padding: 6px 8px;
  background: var(--mc-surface);
  box-shadow: inset 0 1px 0 var(--mc-bevel-hi), 0 1px 2px var(--mc-bevel-lo);
}

/* A card too short for its content clips at the bottom; its lines never
   squeeze into each other. */
.mc-input.is-card > * {
  flex-shrink: 0;
}

.is-card .mc-input__label {
  overflow: hidden;
  color: var(--mc-muted);
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.is-card .mc-input__value {
  color: var(--mc-text);
  font-family: var(--mc-mono);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.is-card .mc-input__note {
  color: var(--mc-muted);
  font-size: 11px;
}

/* On a phone a card is its name and value. The glyph joins it from 560px
   (four columns, four rows) and the note from 900px (five columns, three
   rows), as the wall's rows grow tall enough to hold them. */
.is-card .mc-input__note,
.is-card .mc-input__viz {
  display: none;
}

@media (width >= 560px) {
  .mc-onechart__wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .mc-input.is-card {
    padding: 8px 10px;
  }

  .is-card .mc-input__value {
    font-size: 16px;
  }

  .is-card .mc-input__viz {
    display: block;
    margin-top: auto;
  }

  .is-card.mc-input--dots .mc-input__viz {
    display: flex;
  }
}

@media (width >= 900px) {
  .mc-onechart__wall {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .mc-input.is-card {
    padding: 10px 12px;
  }

  .is-card .mc-input__note {
    display: block;
  }
}

/* The card glyphs: a trend line, daily bars, a range with today's mark, a
   meter, and won-or-lost bids. One hue, the chart's. */
svg.mc-input__viz {
  width: 100%;
  height: 24px;
  overflow: visible;
}

svg.mc-input__viz path {
  fill: none;
  stroke: var(--mc-chart);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

svg.mc-input__viz rect {
  fill: var(--mc-chart);
  opacity: 0.75;
}

.mc-input--range .mc-input__viz,
.mc-input--meter .mc-input__viz {
  position: relative;
  height: 8px;
  background: var(--mc-surface-strong);
}

.mc-input__band {
  position: absolute;
  inset-block: 0;
  left: calc(var(--from) * 1%);
  width: calc((var(--to) - var(--from)) * 1%);
  background: color-mix(in srgb, var(--mc-chart) 35%, transparent);
}

.mc-input__mark {
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: calc(var(--at) * 1%);
  width: 2px;
  margin-left: -1px;
  background: var(--mc-text);
}

.mc-input__fill {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: calc(var(--share) * 1%);
  background: var(--mc-chart);
}

.mc-input--dots .mc-input__viz {
  flex-wrap: wrap;
  gap: 3px;
}

.mc-input--dots .mc-input__viz i {
  width: 8px;
  height: 8px;
  border: 1px solid var(--mc-chart);
}

.mc-input--dots .mc-input__viz i.is-won {
  background: var(--mc-chart);
}

/* The play states, set by one-chart.mjs. Armed, the figure waits empty: the
   chips are dashed empty slots, and there is no bid and no chart. Each chip
   fills as its card reaches it; piping marches the flows and pulses
   MineCart; priced shows the bid; drawn wipes the curve in left to right and
   then its labels. The script then clears them all, leaving the printed
   figure. */
.is-armed .mc-pipe__inputs > .mc-input:not(.is-in) {
  border-style: dashed;
  background: transparent;
  color: transparent;
}

.is-armed .mc-pipe__bid,
.is-armed .mc-onechart__chart,
.is-armed .mc-onechart__dot,
.is-armed .mc-onechart__label {
  opacity: 0;
}

.is-armed .mc-onechart__svg {
  clip-path: inset(-20% 100% -5% 0);
}

.is-armed .mc-pipe__inputs > .mc-input.is-in {
  animation: mc-chip-in 0.36s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.is-piping:not(.is-priced) .mc-pipe__flow::before {
  opacity: 1;
  animation: mc-pipe-march 0.32s linear infinite;
}

.is-piping:not(.is-priced) .mc-pipe__hub::after {
  animation: mc-hub-pulse 0.52s ease-out infinite;
}

.is-priced .mc-pipe__status {
  visibility: hidden;
}

.is-armed.is-priced .mc-pipe__bid {
  opacity: 1;
  animation: mc-bid-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.is-armed.is-drawn .mc-onechart__chart {
  opacity: 1;
  transition: opacity 0.3s ease-out;
}

.is-armed.is-drawn .mc-onechart__svg {
  clip-path: inset(-20% 0 -5% 0);
  transition: clip-path 1s cubic-bezier(0.5, 0, 0.2, 1) 0.2s;
}

.is-armed.is-drawn .mc-onechart__dot,
.is-armed.is-drawn .mc-onechart__label {
  opacity: 1;
  transition: opacity 0.4s ease-out 1.05s;
}

@keyframes mc-chip-in {
  from {
    transform: scale(1.18);
  }
}

@keyframes mc-pipe-march {
  to {
    transform: translateX(16px);
  }
}

@keyframes mc-hub-pulse {
  from {
    opacity: 0.9;
    transform: scale(0.96);
  }

  to {
    opacity: 0;
    transform: scale(1.14);
  }
}

@keyframes mc-bid-in {
  from {
    transform: translateY(6px);
  }
}

.mc-onechart__caption,
.mc-onechart__ends {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--mc-muted);
}

.mc-onechart__frame {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
  font-variant-numeric: tabular-nums;
}

.mc-onechart__yaxis,
.mc-onechart__xaxis {
  position: relative;
  font-family: var(--mc-mono);
  font-size: 11px;
  color: var(--mc-muted);
}

.mc-onechart__yaxis {
  width: 3.4em;
}

/* Room above the plot for the recommendation's label: four lines on the
   narrowest phones, three from 400px, two from 560px. */
.mc-onechart__yaxis,
.mc-onechart__plot {
  margin-top: 5.4rem;
}

@media (width >= 400px) {
  .mc-onechart__yaxis,
  .mc-onechart__plot {
    margin-top: 4.4rem;
  }
}

@media (width >= 560px) {
  .mc-onechart__yaxis,
  .mc-onechart__plot {
    margin-top: 3.4rem;
  }
}

.mc-onechart__yaxis span {
  position: absolute;
  right: 0;
  top: calc(var(--at) * 1%);
  transform: translateY(-50%);
}

.mc-onechart__xaxis {
  grid-column: 2;
  height: 1.6em;
}

.mc-onechart__xaxis span {
  position: absolute;
  top: 0.4em;
  left: calc(var(--at) * 1%);
  transform: translateX(-50%);
}

.mc-onechart__ends {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
}

.mc-onechart__ends span:last-child {
  text-align: right;
}

.mc-onechart__plot {
  position: relative;
  height: 240px;
}

.mc-onechart__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.mc-onechart__grid {
  stroke: var(--mc-border);
  stroke-width: 1;
  opacity: 0.6;
}

.mc-onechart__zero {
  stroke: var(--mc-border-strong);
  stroke-width: 1;
  opacity: 0.55;
}

.mc-onechart__area {
  fill: var(--mc-chart);
  opacity: 0.12;
}

.mc-onechart__line {
  fill: none;
  stroke: var(--mc-chart);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mc-onechart__rule {
  stroke: var(--mc-muted);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

.mc-onechart__rule--peak {
  stroke: var(--mc-text);
  stroke-dasharray: none;
}

.mc-onechart__dot {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: 12px;
  height: 12px;
  border: 2px solid var(--mc-surface);
  border-radius: 50%;
  background: var(--mc-chart);
  transform: translate(-50%, -50%);
}

.mc-onechart__label {
  position: absolute;
  left: calc(var(--x) * 1%);
  padding-left: 8px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--mc-muted);
  white-space: nowrap;
}

/* The recommendation's label sits above the plot, where the peak's rule
   reaches up to meet it, clear of the curve and the other rules. */
.mc-onechart__label--peak {
  bottom: calc(100% + 0.9rem);
  max-width: 13rem;
  white-space: normal;
  color: var(--mc-text);
}

.mc-onechart__label--peak strong {
  display: block;
}

/* Each figure stays whole, so a narrow plot breaks the line between them. */
.mc-onechart__stat {
  white-space: nowrap;
}

/* The rules' labels hang from the top of the plot, in the room above the
   curve's climb (cost to serve) and its fall (the lane spot rate). Each
   label's text wears the surface, so a neighboring rule passes behind it
   rather than through it on a narrow plot, while its own rule stays whole. */
.mc-onechart__label--spot,
.mc-onechart__label--cost {
  top: 0.3em;
  padding-right: 4px;
  background: var(--mc-surface) content-box;
}

/* On a phone the plot is too narrow for the rules' labels to hang inside it
   (cost to serve would cross the recommendation's rule), so the plot gets
   shorter and the marked prices become the x-axis: the round ticks give way,
   and the lane spot rate and cost to serve drop below the axis on rows of
   their own, each joined to its rule by a dashed leader. The recommended bid
   keeps its label above the plot. */
@media (width < 560px) {
  .mc-onechart__plot {
    height: 190px;
  }

  .mc-onechart__xaxis {
    height: 44px;
  }

  .mc-onechart__xaxis span {
    display: none;
  }

  .mc-onechart__label--spot,
  .mc-onechart__label--cost {
    padding-left: 9px;
    background: none;
    font-family: var(--mc-mono);
    font-size: 11px;
  }

  .mc-onechart__label--spot {
    top: calc(100% + 6px);
  }

  .mc-onechart__label--cost {
    top: calc(100% + 24px);
  }

  .mc-onechart__label--spot::before,
  .mc-onechart__label--cost::before {
    content: "";
    position: absolute;
    bottom: 50%;
    left: 0;
    width: 5px;
    border-bottom: 1px dashed var(--mc-muted);
    border-left: 1px dashed var(--mc-muted);
  }

  .mc-onechart__label--spot::before {
    top: -6px;
  }

  .mc-onechart__label--cost::before {
    top: -24px;
  }
}

.mc-onechart__caption {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-top: 1px solid var(--mc-rule);
  padding-top: 0.75rem;
}

/* ── guides ──────────────────────────────────────────────────────────────── */

.mc-guides,
.mc-guide__layout {
  max-width: 72rem;
  margin-inline: auto;
  padding: 0 1.25rem 6rem;
}

.mc-guides__link:hover .mc-operations__label {
  text-decoration: underline;
}

.mc-guide__meta {
  display: block;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--mc-muted);
}

.mc-guide__layout > * {
  max-width: 46rem;
}

.mc-guide__tldr {
  margin: 0 0 3rem;
}

.mc-guide__author strong {
  color: var(--mc-text);
}

.mc-guide__body > * + * {
  margin-top: 1rem;
}

.minecart-site .mc-guide__body h2 {
  margin-top: 3rem;
  font-weight: 700;
}

.mc-guide__table {
  overflow-x: auto;
}

.mc-guide__table table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.mc-guide__table caption {
  margin-bottom: 0.5rem;
  text-align: left;
  font-size: 0.875rem;
  color: var(--mc-muted);
}

.mc-guide__table th,
.mc-guide__table td {
  border-bottom: 1px solid var(--mc-rule);
  padding: 0.6rem 0.75rem 0.6rem 0;
  text-align: right;
}

.mc-guide__table td {
  font-family: var(--mc-mono);
  font-size: 0.9375rem;
}

.mc-guide__table :is(th, td):first-child {
  text-align: left;
}

.mc-guide__table thead th {
  border-bottom-color: var(--mc-signal);
  font-size: 0.8125rem;
  color: var(--mc-muted);
}

.mc-guide__table tbody :is(th, td) {
  font-weight: 400;
  color: var(--mc-muted);
}

.mc-guide__table .is-best :is(th, td) {
  font-weight: 700;
  color: var(--mc-text);
}

.mc-guide__faq {
  margin-top: 4rem;
}

.mc-guide__section-title {
  margin-bottom: 1.25rem;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.mc-guide__author {
  margin-top: 4rem;
  color: var(--mc-muted);
}

/* ── landing sections ────────────────────────────────────────────────────── */

/* Bands are panes of the frame: their rules are the frame's yellow. */
.mc-band {
  border-block: 2px solid var(--mc-mode);
}

.mc-band__inner {
  display: grid;
  gap: 1.25rem;
  
  max-width: 72rem;
  margin-inline: auto;
  padding: 3rem 1.25rem;
}

.mc-band__copy > * + * {
  margin-top: 1rem;
}

.mc-band__copy strong {
  color: var(--mc-text);
}

.mc-band--cta {
  border-block: 0;
  border-top: 2px solid var(--mc-mode);
  padding-block: 6rem;
}

.mc-cta-band__inner {
  display: grid;
  align-items: end;
  gap: 2.5rem;
  
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.mc-section {
  padding-block: 5rem;
}

.mc-section__inner {
  
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.mc-section__head {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

.mc-section__title {
  font-size: 2.25rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.mc-section__title--tight {
  
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.mc-section__title--cta {
  max-width: 48rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.mc-section__summary,
.mc-lead {
  font-size: 1.125rem;
  line-height: calc(1.75 / 1.125);
  color: var(--mc-muted);
}



.mc-operations {
  display: grid;
  
  gap: 2rem;
  
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* The contact page's details sit under the page header, like a legal body. */
.mc-contact {
  padding-bottom: 6rem;
}

/* Pricing: one signal box per plan, side by side from 900px. Each column
   is a flex stack so the buttons line up along the bottom. */
.mc-pricing {
  max-width: 72rem;
  margin-inline: auto;
  padding: 0 1.25rem 6rem;
}

.mc-tiers {
  display: grid;
  gap: 1.5rem;
}

.mc-tier {
  display: flex;
  flex-direction: column;
}

/* The plan's name: the box strip's ┤ NAME ├, centred and larger. */
.mc-tier > .mc-box__head {
  justify-content: center;
  min-height: 48px;
}

.mc-tier .mc-boxt {
  font-size: 15px;
}

.mc-tier__top {
  border-bottom: 1px solid var(--mc-rule);
}

.mc-tier__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
}

.mc-tier__amount {
  font-size: 2.5rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--mc-text);
}

.mc-tier__per {
  color: var(--mc-muted);
  font-size: 0.9375rem;
}

.mc-tier__for {
  margin-top: 0.5rem;
  font-style: italic;
  font-weight: 700;
  color: var(--mc-muted);
}

.mc-tier__features {
  flex: 1;
}

.mc-tier__action {
  border-top: 1px solid var(--mc-rule);
}

.mc-tier__action .mc-cta {
  justify-content: center;
  width: 100%;
}

@media (min-width: 900px) {
  .mc-tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* A list in a signal box: one row per item, ruled in the faded yellow. */
.mc-rows > li {
  border-bottom: 1px solid var(--mc-rule);
  padding: 1rem 14px;
}

.mc-rows > li:last-child {
  border-bottom: 0;
}

.mc-operations__label {
  display: block;
  margin-bottom: 0.25rem;
}

.mc-operations__copy {
  
  color: var(--mc-muted);
}

/* Numbered steps in a signal box, ruled like a table: the number in its
   own cell, then the title and the copy (beside it from 768px). */
.mc-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  border-bottom: 1px solid var(--mc-rule);
}

.mc-step:last-child {
  border-bottom: 0;
}

.mc-step > * {
  padding: 1.25rem 1rem;
}

.mc-step__number {
  grid-row: 1 / span 2;
  border-right: 1px solid var(--mc-rule);
}

.mc-step__title {
  padding-bottom: 0.25rem;
}

.mc-step__number {
  font-family: var(--font-jgs);
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  letter-spacing: 0.05em;
  color: var(--mc-accent);
}

.mc-step__title {
  font-size: 1.5rem;
  line-height: calc(2 / 1.5);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.mc-step__copy {
  grid-column: 2;
  padding-top: 0;
  color: var(--mc-muted);
}

/* ── hero layout ─────────────────────────────────────────────────────────── */

/* The hero is a pane of the frame, closed by its yellow rule like a band. */
.minecart-site .hero-map {
  position: relative;
  isolation: isolate;
  min-height: 600px;
  overflow: hidden;
  border-bottom: 2px solid var(--mc-mode);
}

.minecart-site .hero-map__content {
  display: grid;
  align-items: center;
  gap: 1.75rem;
  
  max-width: 72rem;
  min-height: inherit;
  margin-inline: auto;
  padding: 2.5rem 1.25rem;
}

/* A quiet zone behind the hero copy: the map and its labels blur under the
   text at every size (blur only, no tint, so the map keeps its brightness),
   and the zone feathers out at its edges so it never shows as a box. The copy is only as wide as its longest line, so the
   zone ends just past the text, clear of the hub beside it. It paints
   between the stage (z-index -2) and the copy. */
.minecart-site .hero-map__copy {
  position: relative;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
}

.minecart-site .hero-map__copy::before {
  --feather-x: linear-gradient(to right, transparent, #000 2.5rem, #000 calc(100% - 2.5rem), transparent);
  --feather-y: linear-gradient(to bottom, transparent, #000 2.5rem, #000 calc(100% - 2.5rem), transparent);
  content: "";
  position: absolute;
  inset: -2.5rem;
  z-index: -1;
  pointer-events: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  -webkit-mask-image: var(--feather-x), var(--feather-y);
  -webkit-mask-composite: source-in;
  mask-image: var(--feather-x), var(--feather-y);
  mask-composite: intersect;
}



/* A compact wordmark leaves the headline and free offer in the first screen. */
.minecart-site .hero-map__title {
  display: flex;
  align-items: center;
  gap: 0.2em;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
}

/* The black logo, inverted: the hero keeps the dark palette in both
   themes. */
.minecart-site .hero-map__mark {
  flex: none;
  width: 1.05em;
  height: auto;
  filter: invert(1);
}

.minecart-site .hero-map__tagline {
  margin-top: 0.85rem;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.minecart-site .hero-map__lead {
  margin-top: 1.75rem;
  max-width: 500px;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--mc-muted);
}

/* ── hero map/flow/forecast state machine ────────────────────────────────── */

.minecart-site .hero-map__stage {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--mc-canvas);
}

.minecart-site .hero-map__fallback,
.minecart-site .hero-map__fallback img,
.minecart-site .hero-map__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.minecart-site .hero-map__fallback {
  transition: opacity 600ms ease;
}

.minecart-site .hero-map__fallback img {
  object-fit: cover;
}

/* With JavaScript running, the hero opens on the dark stage and the live
   map fades in; the poster returns only when the script chooses a static
   fallback. Without JavaScript the poster stays, untouched by these rules. */
.minecart-site[data-js="true"] .hero-map__fallback {
  opacity: 0;
}

.minecart-site[data-js="true"] .hero-map[data-static="true"] .hero-map__fallback {
  opacity: 1;
}

.minecart-site .hero-map__canvas {
  z-index: 0;
  opacity: 0;
  transition: opacity 500ms ease;
}

.minecart-site .hero-map[data-map-state="ready"] .hero-map__canvas {
  opacity: 1;
}

.minecart-site .hero-map[data-map-state="ready"] .hero-map__fallback {
  opacity: 0;
}

.minecart-site .hero-map__dither-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.1;
  background-image: url("/assets/gen/bayer-4x4.4716e199.svg");
  mix-blend-mode: screen;
}

.minecart-site .hero-map[data-dither="webgl"] .hero-map__dither-fallback {
  display: none;
}

.minecart-site .hero-map__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  
  background:
    linear-gradient(90deg, var(--mc-canvas) 0%, color-mix(in srgb, var(--mc-canvas) 90%, transparent) 24%, transparent 58%),
    linear-gradient(180deg, color-mix(in srgb, var(--mc-canvas) 92%, transparent), transparent 30%),
    linear-gradient(0deg, color-mix(in srgb, var(--mc-canvas) 40%, transparent), transparent 24%);
}

.minecart-site .hero-map .maplibregl-control-container {
  display: none;
}

.minecart-site .hero-map__labels {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.minecart-site .hero-flow__label,
.minecart-site .hero-flow__hub-label,
.minecart-site .hero-flow__recommendation {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform, opacity;
  transition: opacity 180ms linear;
  pointer-events: none;
}

.minecart-site .hero-flow__label {
  border: 1px solid color-mix(in srgb, var(--mc-border) 74%, transparent);
  border-radius: 2px;
  background: color-mix(in srgb, var(--mc-canvas) 90%, transparent);
  padding: 5px 7px;
  color: var(--mc-text);
  font-family: var(--font-jgs);
  font-size: 8px;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.minecart-site .hero-flow__label strong {
  display: block;
}

.minecart-site .hero-flow__hub-label {
  display: flex;
  align-items: center;
  gap: 7px;
  /* Sits below the hub rings. */
  margin-top: 92px;
  border: 1px solid var(--mc-signal);
  border-radius: 2px;
  background: color-mix(in srgb, var(--mc-canvas) 94%, transparent);
  padding: 6px 9px;
  color: var(--mc-text);
}

/* The hub label's logo is drawn white (brand-mark.mjs): it always sits on
   the dark map. */
.minecart-site .hero-flow__hub-label img {
  width: 26px;
  height: auto;
}

.minecart-site .hero-flow__hub-label strong,
.minecart-site .hero-flow__hub-label span {
  display: block;
}

.minecart-site .hero-flow__hub-label strong {
  font-family: var(--font-jgs);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.minecart-site .hero-flow__hub-label span {
  color: var(--mc-muted);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.minecart-site .hero-flow__recommendation {
  min-width: 168px;
  border: 1px solid var(--mc-signal);
  border-radius: 2px;
  background: color-mix(in srgb, var(--mc-canvas) 95%, transparent);
  padding: 8px 10px;
  color: var(--mc-text);
}

.minecart-site .hero-flow__recommendation strong,
.minecart-site .hero-flow__recommendation span {
  display: block;
}

.minecart-site .hero-flow__recommendation strong {
  font-size: 11px;
  line-height: 1.25;
}

.minecart-site .hero-flow__recommendation span {
  margin-top: 3px;
  color: var(--mc-signal);
  font-family: var(--font-jgs);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.minecart-site .hero-map__labels {
  transition: opacity 1100ms ease;
}

.minecart-site .hero-map[data-map-state="ready"] .hero-map__canvas {
  transition: opacity 1100ms ease;
}

.minecart-site .hero-map__attribution {
  position: absolute;
  right: 12px;
  bottom: 8px;
  z-index: 4;
  
  color: var(--mc-muted);
  font-size: 10px;
}



/* On a phone the copy spans the hero, and the quiet zone behind it keeps it
   readable, so the vignette only softens the top and bottom edges instead of
   darkening the whole scene. */
@media (width < 640px) {
  .minecart-site .hero-map__vignette {
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--mc-canvas) 55%, transparent), transparent 30%),
      linear-gradient(0deg, color-mix(in srgb, var(--mc-canvas) 65%, transparent), transparent 30%);
  }
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */

.mc-faq__item {
  border-bottom: 1px solid var(--mc-rule);
}

.mc-faq__item:last-child {
  border-bottom: 0;
}

.mc-faq__q {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 14px;
  font-size: 1.125rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.mc-faq__q::-webkit-details-marker {
  display: none;
}

.mc-faq__q::after {
  content: "+";
  flex: none;
  color: var(--mc-accent);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.mc-faq__item[open] .mc-faq__q::after {
  content: "−";
}

.mc-faq__q:hover {
  color: var(--mc-accent);
}

.mc-faq__a {
  max-width: 70ch;
  padding: 0 14px 1.25rem;
  color: var(--mc-muted);
  line-height: 1.65;
}

/* ── scored loads: the sample run table and its expandable load cards ───── */

/* The board is an app box: the strip names the run and counts its loads,
   the table runs edge to edge, and the note closes the box. */
.mc-scored__count {
  color: var(--mc-accent);
  font-family: var(--font-jgs);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mc-scored__note,
.mc-scored__fallback {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--mc-muted);
}

/* Numbers read in the app's mono face, with tabular figures. */
.mc-num,
.mc-load__compare td,
.mc-load__facts dd,
.mc-chart__tick {
  font-family: var(--mc-mono);
  font-variant-numeric: tabular-nums;
}

.mc-num {
  text-align: right;
}

.mc-loads {
  width: 100%;
  border-collapse: collapse;
}

.mc-loads thead th {
  border-bottom: 1px solid var(--mc-border);
  padding: 10px 12px;
  color: var(--mc-muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.mc-loads thead th.mc-num {
  text-align: right;
}

.mc-loads__row {
  cursor: pointer;
}

.mc-loads__row > * {
  border-bottom: 1px solid var(--mc-border-soft);
  padding: 14px 12px;
  font-size: 15px;
}

.mc-loads__row > .mc-num {
  font-size: 14px;
}

.mc-loads__row:hover {
  background: color-mix(in srgb, var(--mc-surface-strong) 55%, transparent);
}

.mc-loads__row.is-open {
  background: var(--mc-surface);
}

.mc-loads__row.is-open > * {
  border-bottom-color: transparent;
}

/* The open load wears an orange pinstripe, as a selection does in the app:
   the row and its card share one frame. The rule above the row is the
   previous row's (or the header's), so it takes the accent too. */
.mc-loads__row.is-open > :first-child {
  box-shadow: inset 1px 0 0 var(--mc-accent);
}

.mc-loads__row.is-open > :last-child {
  box-shadow: inset -1px 0 0 var(--mc-accent);
}

.mc-loads__row:has(+ .mc-loads__detail + .mc-loads__row.is-open) > *,
.mc-loads:has(tbody > .mc-loads__row.is-open:first-child) thead th {
  border-bottom-color: var(--mc-accent);
}

.mc-loads .mc-loads__lane {
  padding: 0;
  text-align: left;
}

.mc-loads__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: none;
  padding: 14px 12px;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

/* A lane as the generator prints it, before the script swaps in the toggle:
   the toggle's padding and weight, with room kept for its chevron. */
.mc-loads__name {
  display: block;
  padding: 14px 12px 14px 38px;
  font-weight: 600;
}

.mc-loads__toggle svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--mc-muted);
  transition: transform 150ms ease;
}

.mc-loads__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
  color: var(--mc-accent);
}

.mc-loads__bid {
  font-weight: 700;
}

.mc-loads__detail[hidden] {
  display: none;
}

.mc-loads__detail > td {
  border-bottom: 1px solid var(--mc-accent);
  background: var(--mc-surface);
  box-shadow: inset 1px 0 0 var(--mc-accent), inset -1px 0 0 var(--mc-accent);
  padding: 0;
}

.mc-load {
  display: grid;
  gap: 28px;
  padding: 8px 16px 24px 20px;
}

.mc-load__read {
  min-width: 0;
}

.mc-load__compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.mc-load__compare th,
.mc-load__compare td {
  padding: 4px 0 4px 16px;
  text-align: right;
  white-space: nowrap;
}

.mc-load__compare thead th {
  color: var(--mc-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (width < 360px) {
  .mc-load__compare th,
  .mc-load__compare td {
    padding-inline: 4px;
  }

  .mc-load__compare th {
    white-space: normal;
  }
}

.mc-load__compare tbody th {
  padding-left: 0;
  color: var(--mc-muted);
  font-weight: 400;
  text-align: left;
}

.mc-load__compare tbody tr:first-child td {
  font-size: 18px;
  font-weight: 700;
}

.mc-load__delta {
  min-height: 2.8em;
  margin: 8px 0 14px;
  color: var(--mc-muted);
  font-size: 13px;
}

/* "Try a bid": a small app box, its title in the strip. */
.mc-load__try {
  border: 1px solid var(--mc-border);
  border-radius: 2px;
  background: var(--mc-canvas);
  box-shadow: inset 0 1px 0 var(--mc-bevel-hi);
}

.mc-load__try-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 32px;
  border-bottom: 1px solid var(--mc-border);
  padding: 6px 12px;
}

.mc-load__try-body {
  padding: 6px 12px 10px;
}

.mc-load__heading {
  color: var(--mc-muted);
  font-family: var(--font-jgs);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mc-load__reset {
  border: 0;
  background: none;
  padding: 0;
  color: var(--mc-text);
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}

.mc-load__reset:disabled {
  color: var(--mc-muted);
  text-decoration: none;
  cursor: default;
}

/* A square slider: a flat track filled to the value (--fill, set by the
   script) and a square thumb, with no rounding anywhere. */
.mc-load__slider {
  --fill: 50%;
  display: block;
  width: 100%;
  height: 22px;
  margin: 6px 0 2px;
  -webkit-appearance: none;
  appearance: none;
  background: none;
  cursor: pointer;
}

.mc-load__slider::-webkit-slider-runnable-track {
  box-sizing: border-box;
  height: 8px;
  border: 1px solid var(--mc-border);
  border-radius: 0;
  background: linear-gradient(to right, var(--mc-chart) var(--fill), var(--mc-surface-strong) var(--fill));
}

.mc-load__slider::-webkit-slider-thumb {
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  margin-top: -5px;
  border: 2px solid var(--mc-chart);
  border-radius: 0;
  background: var(--mc-surface);
  box-shadow: inset 0 1px 0 var(--mc-bevel-hi), 0 1px 0 var(--mc-bevel-lo);
  -webkit-appearance: none;
  appearance: none;
}

.mc-load__slider::-moz-range-track {
  box-sizing: border-box;
  height: 8px;
  border: 1px solid var(--mc-border);
  border-radius: 0;
  background: var(--mc-surface-strong);
}

.mc-load__slider::-moz-range-progress {
  height: 6px;
  border-radius: 0;
  background: var(--mc-chart);
}

.mc-load__slider::-moz-range-thumb {
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  border: 2px solid var(--mc-chart);
  border-radius: 0;
  background: var(--mc-surface);
}

.mc-load__scale {
  display: flex;
  justify-content: space-between;
  color: var(--mc-muted);
  font-size: 11px;
}

.mc-load__facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  margin: 18px 0 0;
  border-top: 1px solid var(--mc-rule);
  padding-top: 14px;
  font-size: 13px;
}

.mc-load__facts > div {
  display: contents;
}

.mc-load__facts dt {
  color: var(--mc-muted);
}

.mc-load__facts dd {
  margin: 0;
}

.mc-load__charts {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.mc-load__chart {
  min-width: 0;
  margin: 0;
}

.mc-load__chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
}

.mc-load__chart-title {
  font-size: 14px;
  font-weight: 700;
}

.mc-load__chart-sub,
.mc-load__legend {
  color: var(--mc-muted);
  font-size: 12px;
}

.mc-load__legend {
  display: flex;
  gap: 14px;
}

.mc-load__legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mc-load__key {
  display: inline-block;
}

.mc-load__key--line {
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: var(--mc-chart);
}

.mc-load__key--dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mc-muted);
}

.mc-load__plot {
  position: relative;
}

.mc-chart {
  display: block;
  overflow: visible;
  cursor: crosshair;
  touch-action: pan-y;
  font-variant-numeric: tabular-nums;
}

.mc-chart__grid line {
  stroke: var(--mc-border);
  stroke-width: 1;
  opacity: 0.6;
}

.mc-chart__zero {
  stroke: var(--mc-border-strong);
  stroke-width: 1;
  opacity: 0.55;
}

.mc-chart__tick {
  fill: var(--mc-muted);
  font-size: 11px;
}

.mc-chart__tick--y {
  text-anchor: end;
}

.mc-chart__area {
  fill: var(--mc-chart);
  opacity: 0.12;
}

.mc-chart__line {
  fill: none;
  stroke: var(--mc-chart);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mc-chart__dots circle {
  fill: var(--mc-muted);
  stroke: var(--mc-surface);
  stroke-width: 2;
}

.mc-chart__marker line {
  stroke: var(--mc-text);
  stroke-width: 1;
}

.mc-chart__marker circle {
  fill: var(--mc-chart);
  stroke: var(--mc-surface);
  stroke-width: 2;
}

.mc-chart__marker text {
  fill: var(--mc-text);
  font-size: 11px;
  font-weight: 700;
}

.mc-chart__marker--try line {
  stroke: var(--mc-muted);
  stroke-dasharray: 3 3;
}

.mc-chart__marker--try circle {
  fill: var(--mc-text);
}

.mc-chart__marker--try text {
  font-weight: 400;
}

.mc-chart__hover line {
  stroke: var(--mc-muted);
  stroke-width: 1;
}

.mc-chart__hover circle {
  fill: var(--mc-surface);
  stroke: var(--mc-text);
  stroke-width: 2;
}

.mc-chart__hit {
  fill: transparent;
  pointer-events: all;
}

.mc-load__tip {
  position: absolute;
  top: 34px;
  left: 0;
  z-index: 2;
  display: grid;
  gap: 1px;
  border: 1px solid var(--mc-border-strong);
  border-radius: 2px;
  background: var(--mc-canvas);
  padding: 6px 9px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.mc-load__tip[hidden] {
  display: none;
}

.mc-load__tip.is-flipped {
  transform: translateX(calc(-100% - 10px));
}

.mc-load__tip strong {
  font-size: 14px;
}

.mc-load__tip span {
  color: var(--mc-muted);
}

.mc-load__why {
  display: grid;
  gap: 24px;
  border-top: 1px solid var(--mc-rule);
  padding-top: 20px;
}

.mc-load__heading {
  margin-bottom: 10px;
}

.mc-load__why p {
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.6;
}

.mc-load__factors {
  display: grid;
  gap: 9px;
  font-size: 13px;
}

.mc-load__factors li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px 52px;
  align-items: center;
  gap: 12px;
}

.mc-load__factor-bar {
  position: relative;
  height: 8px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--mc-border) 45%, transparent);
}

.mc-load__factor-bar::after {
  content: "";
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: 50%;
  width: 1px;
  background: var(--mc-border-strong);
}

.mc-load__factor-bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(var(--share) * 50%);
}

.mc-load__factor-bar i.is-up {
  left: 50%;
  border-radius: 0 2px 2px 0;
  background: var(--mc-raise);
}

.mc-load__factor-bar i.is-down {
  right: 50%;
  border-radius: 2px 0 0 2px;
  background: var(--mc-chart);
}

.mc-load__factor-effect {
  color: var(--mc-muted);
  font-size: 12px;
  text-align: right;
}

/* Below 1024px the tabs tighten, so the one bar still fits. Below 700px it
   wraps: brand and controls on the first line, the tabs on a second, and it
   no longer sticks (a phone keeps its height for the page). */
@media (width < 1024px) {
  .mc-tab {
    padding-inline: 12px;
  }
}

@media (width < 700px) {
  .mc-bar {
    position: relative;
    flex-wrap: wrap;
  }

  .mc-bar__brand {
    border-right: 0;
    padding-block: 8px;
  }

  .mc-bar__actions {
    margin-left: auto;
  }

  .mc-tabs {
    order: 3;
    flex-basis: 100%;
    border-top: 1px solid color-mix(in srgb, var(--mc-mode) 60%, transparent);
    padding: 0;
  }

  .mc-tab {
    margin-block: 5px;
    font-size: 13px;
  }
}

/* A phone keeps the logo, Sign up, and Sign in on one row: the byline drops
   (the footer still carries it) and the controls tighten. */
@media (width < 520px) {
  .mc-bar__brand {
    padding-right: 10px;
    padding-left: 10px;
  }

  .mc-bar .mc-brand__byline {
    display: none;
  }

  .mc-bar__actions {
    gap: 4px;
    padding-right: 8px;
  }

  .mc-bar .mc-bar__cta {
    padding-inline: 0.625rem;
  }
}

@media (width < 640px) {
  .mc-loads__miles {
    display: none;
  }

  .mc-loads__row > *,
  .mc-loads__toggle {
    padding-inline: 8px;
    font-size: 14px;
  }

  .mc-loads__name {
    padding-inline: 34px 8px;
  }

  /* Stacked, the two ends span the frame, so "Bid lower" starts at the
     box's edge rather than the plot's. */
  .mc-onechart__ends {
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 0.15rem;
  }

  .mc-onechart__ends span:last-child {
    align-self: flex-end;
  }

  .mc-loads thead th {
    padding-inline: 8px;
    font-size: 10px;
  }

  .mc-load {
    padding: 4px 12px 20px 14px;
  }

  .mc-load__factors li {
    grid-template-columns: minmax(0, 1fr) 72px 48px;
    gap: 8px;
  }
}

@media (width < 420px) {
  .mc-loads__ev {
    display: none;
  }

  .mc-loads__row.is-open > .mc-loads__bid {
    box-shadow: inset -1px 0 0 var(--mc-accent);
  }
}

@media (width >= 760px) {
  .mc-load__why {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 40px;
  }
}

@media (width >= 960px) {
  .mc-load {
    grid-template-columns: minmax(270px, 330px) minmax(0, 1fr);
    gap: 28px 44px;
    padding: 12px 24px 28px 28px;
  }

  .mc-load__why {
    grid-column: 1 / -1;
  }
}

/* ── legal-page prose ───────────────────────────────────────────────────── */

.minecart-site .legal-content h2 {
  margin: 54px 0 14px;
  font-size: 28px;
  letter-spacing: -0.025em;
}

.minecart-site .legal-content h2:first-child {
  margin-top: 0;
}

.minecart-site .legal-content h3 {
  margin: 28px 0 8px;
  font-size: 19px;
}

.minecart-site .legal-content p,
.minecart-site .legal-content li {
  color: var(--mc-muted);
}

.minecart-site .legal-content a {
  color: var(--mc-text);
  
}

.minecart-site .legal-content ul {
  padding-left: 20px;
  list-style: disc;
}

/* ── responsive layout ──────────────────────────────────────────────────── */

@media (width >= 640px) {
  .mc-footer__legal {
    flex-direction: row;
    
  }

  

  
}

@media (width >= 768px) {
  .mc-brand {
    gap: 0.625rem;
  }

  .mc-bar .mc-brand__mark {
    width: 2.25rem;
  }

  .mc-brand__name {
    font-size: 15px;
  }

  .mc-footer__grid {
    grid-template-columns: minmax(220px, 1fr) auto;
    
  }

  .mc-page-header__title {
    font-size: 4.5rem;
  }

  .mc-legal {
    grid-template-columns: 220px minmax(0, 720px);
    gap: 4rem;
  }

  .mc-legal__nav {
    position: sticky;
    top: 5rem;
  }

  .mc-band__inner {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 5rem;
  }

  .mc-section {
    padding-block: 7rem;
  }

  .mc-section__head {
    grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
    align-items: end;
    gap: 5rem;
  }

  .mc-section__title {
    font-size: 3rem;
  }

  .mc-section__title--tight {
    font-size: 3.75rem;
  }

  .mc-section__title--cta {
    font-size: 4.5rem;
  }

  .mc-operations {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 5rem;
  }

  .mc-onechart__plot {
    height: 300px;
  }

  .mc-onechart__figure > :not(.mc-box__head) {
    margin-inline: 1.5rem;
  }

  .mc-cta-band__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .minecart-site .hero-map {
    min-height: min(720px, calc(100svh - 60px));
  }

  .minecart-site .hero-map__content {
    grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.45fr);
    gap: 3.5rem;
    padding-block: 3.5rem;
  }

  .minecart-site .hero-map__lead {
    font-size: 1.25rem;
  }

  .mc-step {
    grid-template-columns: 72px minmax(180px, 0.55fr) minmax(0, 1fr);
  }

  .mc-step__number {
    grid-row: auto;
  }

  .mc-step__title {
    border-right: 1px solid var(--mc-rule);
    padding: 1.25rem 1.25rem;
  }

  .mc-step__copy {
    grid-column: auto;
    padding: 1.25rem 1.25rem;
  }
}

/* ── motion and print ───────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .minecart-site *,
  .minecart-site *::before,
  .minecart-site *::after {
    
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    
  }

  .minecart-site .hero-map__canvas {
    transition: none;
  }
}

@media print {
  .minecart-site {
    background: #ffffff;
    color: #16232b;
  }

  .mc-skip-link,
  .mc-bar,
  .mc-footer,
  .mc-legal__nav,
  .minecart-site::after {
    display: none;
  }

  .mc-frame {
    border: 0;
  }

  .mc-legal {
    display: block;
    padding-bottom: 0;
  }

  .minecart-site .legal-content p,
  .minecart-site .legal-content li {
    color: #333333 !important;
  }
}