@font-face {
  font-family: Geist;
  src: url("./assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "STIX Two Text";
  src: url("./assets/fonts/stix-two-text-latin-500-italic.woff2")
    format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("./assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
:root {
  /* QuantCommerce brand kit 2026-12-02: black, off-white, lime.
     --signal is the accent that follows the surface: black on light, lime on dark.
     --lime is only for always-dark surfaces and solid badges with black ink. */
  --paper: #f0f0ec;
  --surface: #ffffff;
  --ink: #080808;
  --muted: #52524e;
  --line: #d6d6ce;
  --night: #080808;
  --signal: #080808;
  --lime: #c8ff00;
  --lime-hover: #b8eb00;
  --tint: #e6e6e0;
  --soft: #e6e6e0;
  --data-alt: #a1a19a;
  --focus: #080808;
  --serif: "STIX Two Text", serif;
  --mono: "JetBrains Mono", monospace;
  --sans: Geist, system-ui, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #080808;
  --surface: #0f0f0f;
  --ink: #f0f0ec;
  --muted: #a1a19a;
  --line: #262626;
  --signal: #c8ff00;
  --tint: #1a1a1a;
  --soft: #141414;
  --data-alt: #52524e;
  --focus: #c8ff00;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 90px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select,
input {
  touch-action: manipulation;
}
button,
a {
  color: inherit;
}
button {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
}
a {
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[contenteditable]:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
button:disabled {
  cursor: default;
}
input,
select {
  min-width: 0;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 540;
}
em {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.052em;
}
::selection {
  background: #c8ff00;
  color: #080808;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 50;
  top: 8px;
  left: 8px;
  background: var(--surface);
  padding: 10px 18px;
}
.masthead {
  position: sticky;
  top: 0;
  z-index: 15;
  height: 0;
}
.nav-shell {
  --focus: #c8ff00;
  position: relative;
  top: 16px;
  width: min(1376px, calc(100% - 64px));
  min-height: 56px;
  margin: auto;
  padding: 6px 8px 6px 22px;
  border-radius: 32px;
  background: #0f0f0f;
  color: #f0f0ec;
  border: 1px solid #262626;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 3px 18px #08080826;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  flex: none;
  line-height: 0;
  border-radius: 6px;
}
.qc-wordmark-img {
  display: block;
  height: 28px;
  width: auto;
  max-width: none;
  border-radius: 6px;
}
.modal-top .qc-wordmark-img {
  height: 24px;
}
.qc-app-icon {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 7px;
}
.desktop-nav,
.nav-actions {
  display: flex;
  align-items: center;
}
.desktop-nav {
  gap: clamp(17px, 2.2vw, 36px);
}
.desktop-nav a {
  font-size: 13px;
  font-weight: 530;
}
.desktop-nav a:hover,
.footer nav a:hover,
.footer nav button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nav-actions {
  gap: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 46px;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 32px;
  font-weight: 590;
  font-size: 14px;
  line-height: 1.25;
  transition:
    transform 0.18s ease,
    background-color 0.18s;
}
.btn span {
  font-size: 17px;
  line-height: 1;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-ink {
  background: #080808;
  color: #f0f0ec;
}
.nav-cta {
  background: var(--lime);
  color: #080808;
  min-height: 40px;
  font-size: 13px;
  padding: 10px 18px;
}
.theme,
.menu,
.close {
  width: 38px;
  height: 38px;
  display: grid;
  place-content: center;
  align-items: center;
  border-radius: 50%;
}
.theme:hover,
.menu:hover {
  background: #262626;
}
.theme span {
  width: 15px;
  height: 15px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}
.menu,
.mobile-nav {
  display: none;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #080808;
  color: #f0f0ec;
  padding: 112px 0 20px;
}
.contours {
  position: absolute;
  inset: -16% -8% 0;
  z-index: -1;
  pointer-events: none;
  background: #c8ff00;
  mask: url("./assets/market/contours.webp") center / cover no-repeat;
  opacity: 0.63;
}
.hero-intro {
  max-width: 1080px;
  text-align: center;
  position: relative;
  margin: 0 auto;
  padding-inline: 22px;
}
.company-line,
.kicker,
.gallery-note,
.gallery-count {
  font-size: 11px;
}
.company-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #d6d6ce;
  font-size: 12px;
  font-weight: 475;
  letter-spacing: 0.015em;
}
.imprint {
  height: 12px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  transform: skew(-24deg);
}
.imprint i {
  display: block;
  width: 3px;
  height: 8px;
  background: var(--signal);
}
.hero .imprint i,
.rv-hero--dark .imprint i,
.rv-hero--market .imprint i,
.evidence .imprint i {
  background: var(--lime);
}
.imprint i:nth-child(2) {
  height: 12px;
}
.imprint i:nth-child(3) {
  height: 6px;
}
.hero h1 {
  font-size: clamp(68px, 6.25vw, 100px);
  line-height: 0.91;
  letter-spacing: -0.081em;
  margin: 18px 0 12px;
  font-weight: 530;
}
.hero h1 em {
  color: #c8ff00;
  font-size: 1.08em;
  line-height: 0.99;
}
.hero-copy {
  max-width: 52ch;
  margin: 0 auto;
  color: #d6d6ce;
  font-size: clamp(15px, 1.17vw, 18px);
  line-height: 1.48;
  text-wrap: balance;
}
.btn-lime {
  background: #c8ff00;
  color: #080808;
  margin-top: 20px;
}
.btn-lime:hover {
  background: #b8eb00;
}
.gallery {
  position: relative;
  margin-top: 15px;
}
.gallery-stage {
  position: relative;
  --card-width: clamp(212px, 21.5vw, 306px);
  height: calc(var(--card-width) * 0.86 + 48px);
  touch-action: pan-y;
}
.market-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--card-width);
  height: calc(var(--card-width) * 0.86);
  border-radius: 14px;
  isolation: isolate;
  overflow: hidden;
  background: #e6e6e0;
  box-shadow: 0 9px 18px #08080845;
  color: #080808;
  transform: translate(-50%, -50%) translateX(calc(var(--place) * 104%))
    translateY(calc(var(--distance) * 9px)) rotate(calc(var(--place) * 3deg))
    scale(var(--scale));
  transition:
    transform 0.48s cubic-bezier(0.22, 0.78, 0.21, 1),
    opacity 0.3s;
  z-index: var(--level, 1);
}
.market-card[data-place="-2"] {
  --place: -2;
  --distance: 2;
  --scale: 0.7744;
  --level: 1;
}
.market-card[data-place="-1"] {
  --place: -1;
  --distance: 1;
  --scale: 0.88;
  --level: 2;
}
.market-card[data-place="0"] {
  --place: 0;
  --distance: 0;
  --scale: 1;
  --level: 3;
}
.market-card[data-place="1"] {
  --place: 1;
  --distance: 1;
  --scale: 0.88;
  --level: 2;
}
.market-card[data-place="2"] {
  --place: 2;
  --distance: 2;
  --scale: 0.7744;
  --level: 1;
}
.market-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s ease;
  object-position: 50% 37%;
}
.market-card:hover img,
.market-card:focus-visible img {
  transform: scale(1.055);
}
.market-card.medicube {
  background: #e6e6e0;
}
.market-card.medicube img {
  object-fit: contain;
  height: 90%;
  mix-blend-mode: multiply;
  transform: rotate(-12deg) scale(1.02);
  margin-top: -3px;
}
.market-card.medicube:hover img {
  transform: rotate(-9deg) scale(1.09);
}
.market-card.laka img {
  object-position: 50% 32%;
}
.market-card.comfrt img {
  object-position: 50% 32%;
}
.market-card.based img {
  object-position: center 58%;
}
.corners {
  position: absolute;
  inset: 11px;
  border-radius: 4px;
  background:
    linear-gradient(white, white) top left/15px 2px,
    linear-gradient(white, white) top left/2px 15px,
    linear-gradient(white, white) top right/15px 2px,
    linear-gradient(white, white) top right/2px 15px,
    linear-gradient(white, white) bottom left/15px 2px,
    linear-gradient(white, white) bottom left/2px 15px,
    linear-gradient(white, white) bottom right/15px 2px,
    linear-gradient(white, white) bottom right/2px 15px;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.92;
}
.slip {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: #fffffff7;
  color: #080808;
  border-radius: 8px;
  padding: 8px 13px 9px;
  box-shadow: 0 3px 12px #08080812;
}
.slip-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.22;
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -0.045em;
}
.slip-name b {
  font-weight: 400;
  font-size: 15px;
}
.slip-line {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font: 11px/1.4 var(--mono);
  color: #52524e;
}
.slip-line strong {
  font: 600 14px/1.3 var(--sans);
  color: #080808;
  letter-spacing: -0.02em;
}
.gallery-foot,
.gallery-controls,
.gallery-note {
  display: flex;
  align-items: center;
}
.gallery-foot {
  justify-content: space-between;
  margin-top: 2px;
}
.gallery-note {
  gap: 8px;
  font: 11px/1.3 var(--mono);
  color: #a1a19a;
}
.gallery-note i,
.rule-dot,
.code-foot i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
}
.rule-dot {
  background: var(--signal);
}
.gallery-controls {
  gap: 13px;
}
.gallery-controls button {
  display: grid;
  place-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #52524e;
  color: #f0f0ec;
  line-height: 1;
  font-size: 16px;
}
.gallery-controls button:hover {
  color: #080808;
  background: #c8ff00;
  border-color: transparent;
}
#gallery-count {
  font: 11px var(--mono);
  color: #a1a19a;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 26px;
  border-left: 1px solid var(--line);
}
.stats div:first-child {
  padding-left: 0;
  border: 0;
}
.stats strong {
  font-size: clamp(28px, 3.05vw, 48px);
  font-weight: 510;
  letter-spacing: -0.068em;
  line-height: 1.05;
}
.stats span {
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 820px) {
  .shell {
    width: calc(100% - 44px);
  }
  .desktop-nav {
    display: none;
  }
  .menu {
    display: grid;
    gap: 4px;
  }
  .menu i {
    height: 1.6px;
    width: 18px;
    background: currentColor;
  }
  .mobile-nav:not([hidden]) {
    display: grid;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    gap: 0;
    border-radius: 18px;
    background: #0f0f0f;
    box-shadow: 0 12px 35px #08080836;
    padding: 8px 18px;
    border: 1px solid #262626;
  }
  .mobile-nav a,
  .mobile-nav button {
    text-align: left;
    padding: 11px 4px;
    font-size: 15px;
  }
  .nav-shell {
    width: calc(100% - 30px);
    top: 12px;
    min-height: 52px;
  }
  .hero {
    padding-top: 108px;
  }
  .hero h1 {
    font-size: clamp(60px, 9.2vw, 80px);
  }
}
@media (max-width: 570px) {
  .shell {
    width: calc(100% - 36px);
  }
  .nav-shell {
    min-height: 47px;
    top: 10px;
    width: calc(100% - 24px);
    padding: 4px 5px 4px 14px;
    gap: 5px;
  }
  .qc-wordmark-img {
    height: 24px;
  }
  .nav-actions {
    gap: 0;
  }
  .theme,
  .menu {
    width: 32px;
    height: 36px;
  }
  .nav-cta {
    min-height: 33px;
    gap: 4px;
    padding: 7px 10px;
    font-size: 11px;
  }
  .nav-cta span {
    font-size: 12px;
  }
  .hero {
    padding: 93px 0 13px;
  }
  .hero-intro {
    padding-inline: 17px;
  }
  .company-line {
    font-size: 11px;
  }
  .hero h1 {
    font-size: clamp(45px, 12.7vw, 69px);
    margin: 17px 0 12px;
    letter-spacing: -0.075em;
    line-height: 0.96;
  }
  .hero h1 em {
    font-size: 1.09em;
  }
  .hero-copy {
    font-size: 14px;
    max-width: 35ch;
    line-height: 1.45;
  }
  .btn-lime {
    font-size: 13px;
    min-height: 43px;
    margin-top: 17px;
  }
  .gallery {
    margin-top: 14px;
  }
  .gallery-stage {
    --card-width: clamp(198px, 58vw, 264px);
    height: calc(var(--card-width) * 0.86 + 30px);
  }
  .market-card {
    transform: translate(-50%, -50%) translateX(calc(var(--place) * 96%))
      translateY(calc(var(--distance) * 5px)) rotate(calc(var(--place) * 4deg))
      scale(var(--scale));
  }
  .gallery-foot {
    margin-top: 0;
  }
  .slip {
    padding: 7px 10px;
    inset-inline: 9px;
    bottom: 9px;
  }
  .slip-name {
    font-size: 16px;
  }
  .corners {
    inset: 9px;
  }
  .gallery-controls {
    gap: 9px;
  }
  .gallery-controls button {
    width: 32px;
    height: 32px;
  }
  .stats {
    padding: 21px 0;
    grid-template-columns: 1fr 1fr;
    gap: 17px 0;
  }
  .stats div {
    padding-left: 18px;
    gap: 2px;
  }
  .stats div:nth-child(3) {
    padding: 0;
    border: 0;
  }
  .stats strong {
    font-size: 30px;
  }
  .stats span {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 500 11px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  margin-bottom: 13px;
}
.rule-dot {
  border-radius: 0;
  transform: rotate(-12deg);
  background: var(--signal);
  width: 7px;
  height: 7px;
}
.section-heading h2,
.dev-copy h2,
.access h2 {
  font-size: clamp(43px, 4.7vw, 70px);
  line-height: 0.99;
  letter-spacing: -0.071em;
}
.section-heading > p,
.dev-copy > p:not(.kicker),
.access-intro {
  font-size: 16px;
  line-height: 1.52;
  max-width: 38ch;
  color: var(--muted);
  text-wrap: pretty;
}
.type-dot {
  color: var(--signal);
}
.market-section {
  padding-block: 78px 86px;
}
.workspace {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px #08080805;
}
.desk-controls,
.workspace-foot,
.code-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.desk-controls {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
.tabs,
.code-tabs {
  display: flex;
  align-items: center;
}
.tabs {
  background: var(--soft);
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
}
.tabs button,
.code-tabs button {
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
}
.tabs button {
  border-radius: 6px;
  padding: 8px 14px;
  color: var(--muted);
}
.tabs button[aria-selected="true"] {
  background: var(--surface);
  box-shadow: 0 1px 4px #08080822;
  color: var(--ink);
}
.search {
  height: 37px;
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 11px;
  color: var(--muted);
}
.search:focus-within {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}
.glass {
  width: 13px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  position: relative;
  flex: none;
}
.glass::after {
  content: "";
  height: 1.5px;
  width: 5px;
  background: currentColor;
  position: absolute;
  right: -3.5px;
  bottom: -2px;
  transform: rotate(45deg);
}
.search input {
  width: 164px;
  border: 0;
  outline: none !important;
  background: transparent;
  padding: 0;
  font-size: 13px;
  color: var(--ink);
}
.search input::placeholder,
.request-form input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.63fr) minmax(0, 1fr);
}
.results {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.table-scroll {
  overflow: auto;
  max-height: none;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.table-scroll:focus-visible {
  outline-offset: -3px;
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  line-height: 1.35;
}
th,
td {
  padding: 11px 10px;
  text-align: right;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--soft);
  font-size: 11px;
  font-weight: 550;
  line-height: 1.4;
  color: var(--muted);
  white-space: nowrap;
}
th:first-child,
td:first-child {
  text-align: left;
  padding-left: 20px;
}
th:last-child,
td:last-child {
  padding-right: 18px;
}
td {
  font-variant-numeric: tabular-nums;
}
.record-row {
  cursor: pointer;
}
.record-row:hover {
  background: var(--soft);
}
.record-row.is-selected {
  background: var(--tint);
}
.record-row.is-selected td:first-child {
  box-shadow: inset 3px 0 var(--signal);
}
.row-name {
  display: flex;
  gap: 9px;
  align-items: center;
  width: 100%;
  padding: 0;
  text-align: left;
  color: var(--ink);
  font-size: 13px;
}
.row-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.row-text strong {
  font-weight: 580;
  line-height: 1.3;
}
.row-text small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  margin-top: 3px;
}
.avatar {
  width: 33px;
  height: 33px;
  flex: none;
  border-radius: 7px;
  background: var(--soft);
  display: grid;
  place-content: center;
  overflow: hidden;
  font: 500 12px var(--mono);
  color: var(--muted);
  border: 1px solid var(--line);
}
.avatar img {
  width: 33px;
  height: 33px;
  object-fit: cover;
}
.avatar img[src*="medicube"] {
  background: #e6e6e0;
}
.rank {
  font: 11px var(--mono);
  color: var(--muted);
  min-width: 14px;
}
.amount {
  white-space: nowrap;
  font-weight: 610;
}
.result-note,
.workspace-foot {
  font: 11px/1.5 var(--mono);
  color: var(--muted);
}
.result-note {
  padding: 12px 20px;
  margin-top: auto;
}
.workspace-foot {
  padding: 11px 18px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.nowrap {
  white-space: nowrap;
}
.mini-chart {
  width: 74px;
  height: 26px;
  vertical-align: middle;
  color: var(--signal);
}
.empty {
  padding: 30px !important;
  text-align: center !important;
  color: var(--muted);
}
#desk-inspector {
  border-left: 1px solid var(--line);
  padding: 23px;
  background: var(--paper);
  min-width: 0;
}
#desk-inspector:focus {
  outline-offset: -4px;
}
.inspector-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  margin-bottom: 17px;
}
.caption {
  font: 11px/1.4 var(--mono);
  letter-spacing: 0.035em;
  color: var(--muted);
}
.json-btn,
.back-to-records {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font: 11px/1.4 var(--mono);
  color: var(--muted);
}
.json-btn:hover,
.back-to-records:hover {
  color: var(--ink);
  border-color: var(--muted);
}
.back-to-records {
  display: none;
}
.inspector-head h3 {
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 540;
  line-height: 1.15;
  letter-spacing: -0.055em;
}
.inspector-head p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.big-number {
  margin: 15px 0 12px;
}
.big-number strong {
  display: block;
  color: var(--signal);
  font-size: clamp(34px, 3.2vw, 53px);
  line-height: 1.04;
  letter-spacing: -0.066em;
  font-weight: 530;
}
.big-number span,
.metrics dt,
.bars-label,
.chart-axis,
.legend,
.case-label {
  font-size: 11px;
  color: var(--muted);
}
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 14px;
  margin: 15px 0;
}
.metrics div {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  min-width: 0;
}
.metrics dd {
  font-size: 18px;
  font-weight: 560;
  line-height: 1.3;
  letter-spacing: -0.033em;
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}
.bars-label {
  display: block;
  margin-bottom: 6px;
}
.channel-split {
  height: 7px;
  display: flex;
  gap: 2px;
  border-radius: 3px;
  overflow: hidden;
}
.channel-split i {
  background: var(--signal);
  min-width: 0;
}
.channel-split i + i {
  background: #a1a19a;
}
.legend,
.chart-axis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 5px;
}
.week-chart {
  display: block;
  width: 100%;
  height: 77px;
  color: var(--signal);
}
.source-line {
  overflow-wrap: anywhere;
  font: 11px/1.5 var(--mono);
  color: var(--muted);
  margin-top: 14px;
}
.hook-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 23px;
  line-height: 1.18;
  color: var(--signal);
  margin-top: 14px;
}
.text-action {
  display: inline-flex;
  gap: 13px;
  align-items: baseline;
  font-size: 13px;
  font-weight: 620;
  padding: 0 0 3px;
  border-bottom: 1px solid currentColor;
  color: var(--signal);
}
.text-action:hover {
  color: var(--ink);
}
.inspector-foot {
  display: flex;
  align-items: baseline;
  gap: 10px;
  justify-content: space-between;
  margin-top: 15px;
}
.record-json {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 270px;
  overflow: auto;
  background: var(--soft);
  font: 11px/1.6 var(--mono);
  padding: 12px;
  border-radius: 6px;
}
.feature {
  padding: 74px 0 82px;
  background: var(--soft);
  border-block: 1px solid var(--line);
}
.feature-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.37fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.metric-tabs {
  display: grid;
}
.metric-tabs button {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 20px 12px 20px 17px;
  color: var(--muted);
  text-align: left;
}
.metric-tabs button:last-child {
  border-bottom: 1px solid var(--line);
}
.metric-tabs button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 3px;
  background: transparent;
}
.metric-tabs button[aria-selected="true"]::before {
  background: var(--signal);
}
.metric-tabs button[aria-selected="true"] {
  color: var(--ink);
  background: var(--surface);
}
.metric-icon {
  font-size: 23px;
  line-height: 1;
  align-self: flex-start;
  margin-top: 1px;
}
.metric-tabs strong,
.metric-tabs small {
  display: block;
}
.metric-tabs strong {
  font-size: 19px;
  font-weight: 570;
  letter-spacing: -0.035em;
}
.metric-tabs small {
  font-size: 12px;
  margin-top: 3px;
  color: var(--muted);
}
.metric-tabs i {
  margin-left: auto;
  font-style: normal;
  font-size: 17px;
}
.evidence {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr);
  background: #080808;
  color: #f0f0ec;
  min-height: 300px;
  overflow: hidden;
  border-radius: 12px;
}
.case-photo {
  height: 100%;
  min-height: 290px;
  background: #d6d6ce;
}
.case-photo img {
  width: 100%;
  height: 100%;
  max-height: 348px;
  object-fit: cover;
}
.case-slip {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.case-label {
  color: #a1a19a;
  font: 11px/1.45 var(--mono);
  letter-spacing: 0.065em;
  text-transform: uppercase;
}
.case-value {
  display: block;
  font: 500 clamp(36px, 3.9vw, 61px)/1.06 var(--sans);
  letter-spacing: -0.068em;
  color: var(--lime);
  margin: 12px 0 6px;
}
.case-slip p {
  font-size: 15px;
  line-height: 1.5;
  color: #f0f0ec;
}
.case-slip .case-quote {
  font: italic 500 19px/1.24 var(--serif);
  margin-top: 10px;
}
.case-slip .text-action {
  color: #f0f0ec;
  margin-top: 20px;
  line-height: 1.45;
}
.developer-section {
  padding: 87px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.13fr);
  align-items: center;
  gap: clamp(32px, 8vw, 120px);
}
.dev-copy p:not(.kicker) {
  margin-top: 20px;
}
.dev-copy .text-action {
  margin-top: 24px;
}
.code-box {
  background: #141414;
  color: #f0f0ec;
  border-radius: 12px;
  overflow: hidden;
}
.code-bar {
  padding: 10px 16px;
  border-bottom: 1px solid #262626;
}
.code-tabs {
  gap: 2px;
}
.code-tabs button,
#copy-code-btn {
  color: #a1a19a;
  border-radius: 5px;
  padding: 6px 10px;
}
.code-tabs button[aria-selected="true"] {
  background: #262626;
  color: white;
}
#copy-code-btn {
  font: 11px var(--mono);
  border: 1px solid #52524e;
}
.code-box pre {
  margin: 0;
  padding: 23px 22px;
  min-height: 192px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.code-box code {
  font: 12px/1.7 var(--mono);
  color: #c8ff00;
}
.code-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  font: 11px var(--mono);
  color: #a1a19a;
  border-top: 1px solid #262626;
  padding: 12px 19px;
}
.access {
  padding: 70px 0;
  background: var(--tint);
  border-block: 1px solid var(--line);
}
.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.76fr);
  gap: clamp(44px, 11vw, 160px);
  align-items: center;
}
.access h2 {
  max-width: 11ch;
}
.access-intro {
  margin-top: 15px;
}
.access-paths {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.access-paths button {
  display: grid;
  position: relative;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  text-align: left;
  width: 100%;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
}
.access-paths span {
  font-weight: 580;
  font-size: 15px;
}
.access-paths small {
  grid-column: 1;
  font-size: 12px;
  color: var(--muted);
}
.access-paths i {
  grid-area: 1/2/3/3;
  align-self: center;
  font-style: normal;
}
.access-paths button:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.form-card {
  padding: 28px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.form-card h3 {
  font-size: 25px;
  letter-spacing: -0.055em;
}
.request-form {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}
.request-form label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 550;
}
.request-form input,
.request-form select {
  height: 43px;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 400;
}
.request-form .btn {
  width: 100%;
  justify-content: space-between;
  border-radius: 7px;
  margin-top: 3px;
}
.form-note {
  font-size: 11px;
  color: var(--muted);
}
.form-note a {
  text-decoration: underline;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 34px;
}
.footer p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 0;
}
.footer nav {
  display: flex;
  gap: 12px 22px;
  flex-wrap: wrap;
}
.footer nav a,
.footer nav button {
  font-size: 12px;
  color: var(--muted);
  padding: 0;
}
.footer-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-groups nav {
  display: grid;
  gap: 4px;
  text-align: left;
}
.footer-groups nav button {
  text-align: left;
}
dialog {
  position: fixed;
  width: min(410px, calc(100% - 24px));
  max-height: 90%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  padding: 24px;
  box-shadow: 0 24px 70px #08080836;
}
dialog::backdrop {
  background: #080808d1;
}
dialog h2 {
  font-size: 32px;
  letter-spacing: -0.055em;
  margin: 13px 0 5px;
}
dialog > p {
  font-size: 14px;
  color: var(--muted);
}
.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.close {
  border: 1px solid var(--line);
  font-size: 23px;
  width: 32px;
  height: 32px;
}
.close:hover {
  background: var(--soft);
}
body:has(dialog[open]) {
  overflow: hidden;
}
@media (max-width: 1020px) {
  .desktop-nav {
    gap: 17px;
  }
  .desk-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(270px, 1fr);
  }
  .shell {
    width: calc(100% - 64px);
  }
  .rank {
    display: none;
  }
  th:first-child,
  td:first-child {
    padding-left: 13px;
  }
  #desk-inspector {
    padding: 17px;
  }
  .feature-grid {
    gap: 23px;
  }
  .case-slip {
    padding: 20px;
  }
  .developer-section {
    gap: 30px;
  }
}
@media (max-width: 820px) {
  .shell {
    width: calc(100% - 44px);
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .section-heading > p {
    max-width: 58ch;
  }
  .market-section,
  .developer-section {
    padding-block: 56px;
  }
  .feature,
  .access {
    padding-block: 54px;
  }
  .desk-grid {
    grid-template-columns: 1fr;
  }
  .table-scroll {
    max-height: none;
  }
  #desk-inspector {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .back-to-records {
    display: inline-block;
  }
  .metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .metric-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .metric-tabs button {
    border-block: 1px solid var(--line);
    padding: 12px 8px;
    align-items: flex-start;
  }
  .metric-tabs small,
  .metric-tabs i {
    display: none;
  }
  .metric-tabs button::before {
    top: auto;
    bottom: 0;
    width: auto;
    height: 2px;
    left: 8px;
    right: 8px;
  }
  .metric-tabs strong {
    font-size: 14px;
  }
  .metric-icon {
    font-size: 17px;
  }
  .evidence {
    min-height: 246px;
  }
  .case-photo {
    min-height: 235px;
  }
  .case-photo img {
    max-height: 255px;
  }
  .case-value {
    font-size: 47px;
  }
  .case-slip {
    padding: 24px;
  }
  .access-grid {
    gap: 24px;
  }
  .form-card {
    padding: 20px;
  }
  .footer {
    align-items: flex-start;
  }
  .footer nav {
    max-width: 360px;
  }
}
@media (max-width: 570px) {
  html {
    scroll-padding-top: 76px;
  }
  .shell {
    width: calc(100% - 36px);
  }
  .market-section,
  .developer-section {
    padding-block: 39px;
  }
  .feature,
  .access {
    padding-block: 40px;
  }
  .section-heading {
    margin-bottom: 19px;
    gap: 8px;
  }
  .section-heading h2,
  .dev-copy h2,
  .access h2 {
    font-size: 41px;
  }
  .section-heading > p,
  .dev-copy > p:not(.kicker),
  .access-intro {
    font-size: 14px;
  }
  .kicker {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .desk-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 10px;
    gap: 8px;
  }
  .tabs {
    justify-content: space-between;
  }
  .tabs button {
    flex: 1;
    font-size: 11px;
    padding: 8px 5px;
  }
  .search input {
    width: 100%;
  }
  .desk-grid .optional-col {
    display: none;
  }
  .table-scroll {
    max-height: none;
  }
  .desk-grid th,
  .desk-grid td {
    padding: 9px 6px;
  }
  .desk-grid th:first-child,
  .desk-grid td:first-child {
    padding-left: 10px;
  }
  .desk-grid th:last-child,
  .desk-grid td:last-child {
    padding-right: 10px;
  }
  .row-name,
  .amount {
    font-size: 12px;
  }
  .avatar,
  .avatar img {
    width: 28px;
    height: 28px;
  }
  .row-text strong {
    overflow-wrap: anywhere;
  }
  .result-note,
  .workspace-foot {
    font-size: 11px;
    padding: 9px 10px;
  }
  .workspace-foot {
    gap: 7px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .inspector-tools {
    margin-bottom: 10px;
  }
  .big-number {
    margin: 10px 0;
  }
  .big-number strong {
    font-size: 37px;
  }
  .feature-grid {
    gap: 13px;
  }
  .metric-tabs button {
    gap: 5px;
    align-items: center;
  }
  .metric-icon {
    display: none;
  }
  .metric-tabs strong {
    font-size: 12px;
  }
  .evidence {
    grid-template-columns: 0.78fr 1.1fr;
  }
  .case-photo {
    min-height: 235px;
  }
  .case-photo img {
    max-height: none;
    min-height: 235px;
  }
  .case-slip {
    padding: 14px;
  }
  .case-value {
    font-size: 36px;
  }
  .case-slip p {
    font-size: 12px;
  }
  .case-label {
    font-size: 11px;
  }
  .case-slip .text-action {
    font-size: 11px;
  }
  .case-slip .case-quote {
    font-size: 15px;
  }
  .developer-section,
  .access-grid {
    grid-template-columns: 1fr;
  }
  .dev-copy h2,
  .access h2 {
    max-width: 100%;
  }
  .dev-copy p:not(.kicker) {
    margin-top: 12px;
  }
  .dev-copy .text-action {
    margin-top: 14px;
  }
  .developer-section {
    gap: 18px;
  }
  .code-box pre {
    padding: 16px;
    min-height: 165px;
  }
  .code-box code {
    font-size: 10.8px;
  }
  .footer {
    display: grid;
    gap: 19px;
    padding-block: 28px;
  }
  .footer nav {
    gap: 6px 13px;
  }
  .footer-groups {
    gap: 15px;
  }
  .gallery-foot.shell {
    width: calc(100% - 36px);
  }
}
th button {
  font: inherit;
  color: inherit;
  padding: 2px 0;
}
.hook-quote {
  margin-left: 0;
  margin-right: 0;
}
.clipboard-helper {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.draft-link,
.copy-request {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 3px;
  font: inherit;
  font-weight: 600;
}
.copy-request {
  padding: 0;
}
.footer-groups {
  gap: clamp(20px, 4.1vw, 60px);
}
.footer-groups nav {
  align-content: start;
}
@media (max-width: 570px) {
  .footer-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .footer-groups nav {
    max-width: none;
  }
}
@media (max-width: 359px) {
  .nav-shell {
    padding-left: 10px;
    gap: 3px;
  }
  .nav-shell .wordmark {
    font-size: 15.5px;
    gap: 5px;
  }
  .nav-cta {
    font-size: 10px;
    padding: 7px 8px;
  }
  .theme,
  .menu {
    width: 29px;
  }
  .hero h1 {
    font-size: 11.8vw;
  }
  .desk-controls .tabs button {
    font-size: 10px;
  }
}

.stats-basis {
  grid-column: 1/-1;
  color: var(--muted);
  font: 11px/1.45 var(--mono);
  margin-top: 13px;
}
.results-foot {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  padding-right: 15px;
  border-top: 1px solid var(--line);
}
.result-note {
  margin: 0;
}
#expand-results {
  font-size: 12px;
  font-weight: 580;
  color: var(--signal);
  padding: 8px 0;
}
.table-scroll {
  overflow: visible;
}
table .row-rank {
  font: 11px/1.35 var(--mono);
  color: var(--muted);
  text-align: left;
  width: 36px;
  padding-right: 4px;
}
th.row-rank + th,
td.row-rank + td {
  text-align: left;
  padding-left: 2px;
}
.avatar,
.avatar img {
  width: 40px;
  height: 40px;
}
.slip-line {
  font-size: 11px;
}
.access-paths button {
  border-left: 3px solid transparent;
  padding-left: 13px;
}
.access-paths button[aria-pressed="true"] {
  border-left-color: var(--signal);
  background: var(--surface);
}
.access-paths button:hover span {
  text-decoration: none;
}
.access-paths button:hover {
  background: var(--surface);
}
@media (max-width: 1000px) {
  .desk-grid th {
    white-space: normal;
  }
  .row-text {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 570px) {
  .stats-basis {
    margin: 0;
  }
  .slip-line {
    font: 12px/1.3 var(--sans);
    gap: 6px;
  }
  .row-name {
    gap: 6px;
  }
  .desk-grid table .row-rank {
    width: 25px;
    padding-left: 9px;
    padding-right: 3px;
    font-size: 11px;
  }
  .desk-grid td.row-rank + td,
  .desk-grid th.row-rank + th {
    padding-left: 2px;
  }
  .desk-grid :is(th, td):has(+ .optional-col),
  .desk-grid :is(th, td):last-child {
    padding-right: 16px;
  }
  .avatar,
  .avatar img {
    width: 32px;
    height: 32px;
  }
  .mini-chart {
    width: clamp(44px, 13vw, 65px);
  }
  .result-note,
  .workspace-foot,
  .source-line,
  .case-label,
  .kicker {
    font-size: 11px;
  }
  .result-note {
    padding-left: 11px;
  }
  .workspace-foot {
    flex-wrap: wrap;
  }
  .metric-tabs button[aria-selected="true"] small {
    display: block;
    font-size: 11px;
    line-height: 1.25;
    margin-top: 5px;
  }
  .metric-tabs button {
    align-items: flex-start;
  }
  .case-photo img {
    object-position: 50% 35%;
  }
}

/* Re-aim 2026-11-24: content swap only. Every rule below reuses the first build's own values. */
.code-label {
  font: 11px/31px var(--mono);
  letter-spacing: 0.035em;
  color: #a1a19a;
}
.request-form .checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.request-form .checks legend {
  padding: 0;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 550;
}
.request-form .checks label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 400;
}
.request-form .checks input {
  width: 16px;
  height: 16px;
  padding: 0;
  accent-color: var(--signal);
}
#desk-inspector .bars-label {
  margin-top: 14px;
}
#desk-inspector .bars-label + p {
  font-size: 15px;
  line-height: 1.5;
}
.gallery-controls {
  flex: none;
}
.dev-copy h2 {
  text-wrap: balance;
}

/* Round 1 fixes 2026-11-24: components re-proportioned for their content, first build tokens only. */
/* D8: the masthead pill follows the theme */
:root[data-theme="dark"] .nav-shell,
:root[data-theme="dark"] .mobile-nav:not([hidden]) {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
:root[data-theme="dark"] .theme:hover,
:root[data-theme="dark"] .menu:hover {
  background: var(--soft);
}
:root[data-theme="dark"] .nav-cta {
  background: var(--lime);
  color: var(--night);
}
/* D2: the "not customers" sentence at body size, directly above the rail */
.rail-lead {
  max-width: 52ch;
  margin: 30px auto 0;
  padding-inline: 22px;
  text-align: center;
  color: #d6d6ce;
  font-size: 15px;
  line-height: 1.48;
  text-wrap: balance;
}
.gallery-foot {
  justify-content: center;
}
.slip {
  transition: opacity 0.3s;
}
@media (max-width: 820px) {
  .market-card:not([data-place="0"]) .slip {
    opacity: 0;
    visibility: hidden;
  }
}
/* D3: one identifying line, four short figures, one basis line */
.stats {
  row-gap: 0;
}
.stats-lead {
  grid-column: 1/-1;
  margin-bottom: 22px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
  text-wrap: balance;
}
.stats-lead strong {
  font-size: inherit;
  font-weight: 620;
  letter-spacing: -0.02em;
  line-height: inherit;
}
.stats div:nth-child(2) {
  padding-left: 0;
  border: 0;
}
.stats sup {
  font-size: 0.42em;
  color: var(--signal);
  vertical-align: super;
  margin-left: 2px;
}
.stats-basis {
  margin-top: 18px;
}
/* D4: Ship and Reply columns sized for their text */
.desk-grid th.text-col,
.desk-grid td.text-col {
  text-align: left;
}
.desk-grid td.text-col {
  max-width: 230px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* D5: brand picker for the data panel */
.feature-side {
  min-width: 0;
}
.brand-pick {
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 24px;
}
.brand-pick button {
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
}
.brand-pick button[aria-pressed="true"] {
  background: var(--surface);
  box-shadow: 0 1px 4px #08080822;
  color: var(--ink);
}
.evidence[data-shows="Medicube"] .case-photo {
  background: #e6e6e0;
}
.evidence[data-shows="Medicube"] .case-photo img {
  object-fit: contain;
  mix-blend-mode: multiply;
}
.evidence[data-shows="BASED"] .case-photo img {
  object-position: center 58%;
}
.case-slip .case-extra {
  margin-top: 10px;
  font-size: 13px;
  color: #a1a19a;
}
/* D6: build steps as one numbered column, ownership list sized for four short lines */
.developer-section {
  align-items: stretch;
}
.dev-copy {
  align-self: center;
}
.build-steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.build-steps li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 560;
  letter-spacing: -0.02em;
}
.build-steps li span {
  font: 11px/1.5 var(--mono);
  color: var(--muted);
  letter-spacing: 0;
}
.code-box {
  display: flex;
  flex-direction: column;
}
.own-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 6px 28px;
}
.own-list li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid #262626;
  font: 540 clamp(20px, 1.85vw, 27px)/1.2 var(--sans);
  letter-spacing: -0.04em;
  color: #f0f0ec;
}
.own-list li:first-child {
  border-top: 0;
  color: var(--lime);
}
.own-list li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}
/* D7: reason rows select, short fields side by side */
.access-paths i {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
}
.access-paths button[aria-pressed="true"] i {
  border-color: var(--signal);
  background: var(--signal);
  box-shadow: inset 0 0 0 2.5px var(--surface);
}
.field-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 13px;
}
dialog .field-pair {
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 570px) {
  .stats-lead {
    font-size: 15px;
    margin-bottom: 16px;
  }
  .stats div:nth-child(3) {
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }
  .stats div:nth-child(4) {
    padding-left: 0;
    border: 0;
  }
  .stats-basis {
    margin-top: 16px;
  }
  .rail-lead {
    margin-top: 22px;
    padding-inline: 17px;
    font-size: 14px;
  }
  .brand-pick {
    width: 100%;
    margin-bottom: 12px;
  }
  .brand-pick button {
    flex: 1;
    font-size: 11px;
    padding: 8px 6px;
  }
  .own-list {
    padding: 2px 18px;
  }
  .own-list li {
    padding: 15px 0;
    font-size: 19px;
  }
  .build-steps li {
    font-size: 15px;
    padding: 10px 0;
  }
  .field-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* D4: rows share any spare height so no gap sits under the last one */
.desk-grid .table-scroll {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.desk-grid .table-scroll table {
  flex: 1 1 auto;
}
.desk-grid thead tr {
  height: 1px;
}
.feature-grid {
  align-items: start;
}
@media (max-width: 570px) {
  .stats {
    row-gap: 17px;
  }
  .stats-lead,
  .stats-basis {
    margin-block: 0;
  }
  .stats span {
    text-wrap: balance;
  }
}
@media (max-width: 1200px) {
  .field-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* D2: edge cards run off the viewport, so they show the photograph only at every width */
.market-card:is([data-place="-2"], [data-place="2"]) .slip {
  opacity: 0;
  visibility: hidden;
}
/* Dark theme: the form's submit button needs the same contrast as the masthead button */
:root[data-theme="dark"] .btn-ink {
  background: var(--lime);
  color: var(--night);
}

/* Sub pages 2026-11-24 (system, build, switch, proof, data). New class names only; every value is an existing token or a value already used above. */
.link-line {
  display: flex;
  width: fit-content;
  margin-top: 14px;
}
.link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 26px;
  margin-top: 24px;
}
.dev-copy .link-row .text-action {
  margin-top: 0;
}
.stats-lead .text-action {
  margin-left: 6px;
  font-size: 13px;
}
.hero.page-hero {
  padding: 112px 0 74px;
}
.hero.page-hero h1 {
  font-size: clamp(43px, 4.7vw, 70px);
  line-height: 0.99;
  letter-spacing: -0.071em;
  margin: 18px 0 14px;
}
.page-hero .hero-copy {
  max-width: 56ch;
}
.job-index {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 34px auto 0;
}
.job-index a {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid #52524e;
  border-radius: 32px;
  font-size: 13px;
  font-weight: 550;
  color: #f0f0ec;
  transition: background-color 0.18s;
}
.job-index a span {
  font: 11px var(--mono);
  color: #a1a19a;
}
.job-index a:hover {
  background: #c8ff00;
  color: #080808;
  border-color: transparent;
}
.job-index a:hover span {
  color: #080808;
}
.page-note {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.page-note strong {
  color: var(--ink);
  font-weight: 620;
}
.tour {
  padding-block: 78px 86px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 0;
}
.page-note + .tour {
  border-top: 0;
}
.tour.is-soft {
  background: var(--soft);
}
.tour-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.37fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.tour-copy {
  padding-top: 22px;
}
.tour-copy h2 {
  font-size: clamp(34px, 3.2vw, 53px);
  line-height: 1.04;
  letter-spacing: -0.066em;
  font-weight: 530;
  text-wrap: balance;
}
.tour-copy > p:not(.kicker) {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.52;
  max-width: 38ch;
  color: var(--muted);
  text-wrap: pretty;
}
.tour-copy .text-action {
  margin-top: 24px;
}
.pane {
  border-left: 1px solid var(--line);
  padding: 23px;
  background: var(--paper);
  min-width: 0;
}
.pane .bars-label {
  margin-top: 14px;
}
.pane .bars-label + p {
  font-size: 15px;
  line-height: 1.5;
}
.shot .desk-controls {
  min-height: 68px;
}
.shot .table-scroll {
  flex: 1 1 auto;
}
.shot tr.is-picked {
  background: var(--tint);
}
.shot tr.is-picked td:first-child {
  box-shadow: inset 3px 0 var(--signal);
}
.shot .results-foot .result-note {
  margin-top: 0;
}
.ask-qs {
  display: grid;
}
.ask-qs button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  text-align: left;
  padding: 12px 18px 12px 15px;
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--line);
}
.ask-qs button span {
  font-weight: 580;
  font-size: 15px;
}
.ask-qs button small {
  grid-column: 1;
  font: 11px/1.45 var(--mono);
  color: var(--muted);
}
.ask-qs button i {
  grid-area: 1/2/3/3;
  align-self: center;
  font-style: normal;
  color: var(--muted);
}
.ask-qs button:hover,
.ask-qs button[aria-pressed="true"] {
  background: var(--tint);
}
.ask-qs button[aria-pressed="true"] {
  border-left-color: var(--signal);
}
.ask-answer {
  padding: 20px 23px;
  background: var(--paper);
  min-height: 132px;
}
.ask-answer p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
}
.ask-form {
  display: flex;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
}
.ask-form .search {
  flex: 1;
  min-width: 0;
}
.ask-form .search input {
  width: 100%;
}
.ask-form .btn {
  min-height: 37px;
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 7px;
}
.feed {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 6px 22px;
}
.feed li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #262626;
  font-size: 14px;
  line-height: 1.45;
  color: #f0f0ec;
}
.feed li:first-child {
  border-top: 0;
}
.feed time {
  font: 11px/1.9 var(--mono);
  color: #a1a19a;
}
.feed b {
  color: var(--lime);
  font-weight: 560;
}
.page-section {
  padding-block: 78px 86px;
}
.page-section + .page-section,
.page-section + .developer-section {
  border-top: 1px solid var(--line);
}
.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.step-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px);
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.step-row h3 {
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.step-num {
  display: block;
  font: 11px/1.5 var(--mono);
  color: var(--muted);
  margin-bottom: 8px;
}
.step-row .caption {
  display: block;
  margin-bottom: 8px;
}
.step-row p {
  font-size: 16px;
  line-height: 1.52;
  color: var(--muted);
  text-wrap: pretty;
}
.step-row .is-ours p {
  color: var(--ink);
}
.need-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.need-list li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.4;
}
.compare th,
.compare td {
  text-align: left;
  vertical-align: top;
  padding: 15px 18px;
  font-size: 14px;
  line-height: 1.45;
}
.compare thead th {
  font-size: 11px;
  line-height: 1.4;
}
.compare tbody th {
  position: static;
  width: 22%;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 580;
  white-space: normal;
}
.compare td {
  color: var(--muted);
}
.compare .is-ours {
  background: var(--tint);
  color: var(--ink);
}
.compare thead .is-ours {
  color: var(--signal);
}
.compare tbody tr:last-child > * {
  border-bottom: 0;
}
.count-cell {
  width: 34%;
}
.count-bar {
  display: block;
  height: 7px;
  border-radius: 3px;
  background: var(--signal);
  min-width: 4px;
}
.access.cta-band h2 {
  max-width: 16ch;
}
.cta-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 60px;
}
.cta-grid .btn {
  flex: none;
}
@media (max-width: 1020px) {
  .tour-grid {
    gap: 23px;
  }
  .pane {
    padding: 17px;
  }
}
@media (max-width: 820px) {
  .hero.page-hero {
    padding: 108px 0 54px;
  }
  .tour,
  .page-section {
    padding-block: 56px;
  }
  .tour-grid {
    grid-template-columns: 1fr;
  }
  .pane {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .step-row {
    grid-template-columns: 1fr 1fr;
  }
  .step-row > :first-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 570px) {
  .hero.page-hero {
    padding: 93px 0 40px;
  }
  .hero.page-hero h1 {
    font-size: 41px;
    margin: 17px 0 12px;
  }
  .job-index {
    margin-top: 24px;
    gap: 6px;
  }
  .job-index a {
    padding: 7px 11px;
    font-size: 12px;
  }
  .page-note {
    font-size: 14px;
    padding: 18px 0;
  }
  .tour,
  .page-section {
    padding-block: 39px;
  }
  .tour-copy h2 {
    font-size: 34px;
  }
  .tour-copy > p:not(.kicker) {
    margin-top: 12px;
    font-size: 14px;
  }
  .tour-copy .text-action {
    margin-top: 14px;
  }
  .pane {
    padding: 17px;
  }
  .ask-form {
    padding: 10px;
  }
  .ask-qs button {
    padding: 11px 12px 11px 10px;
  }
  .ask-qs button span {
    font-size: 14px;
  }
  .feed {
    padding: 2px 16px;
  }
  .feed li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px;
    font-size: 13px;
  }
  .step-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0;
  }
  .step-row p {
    font-size: 14px;
  }
  .compare thead {
    display: none;
  }
  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: auto;
  }
  .compare tr {
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
  }
  .compare tbody tr:last-child {
    border-bottom: 0;
  }
  .compare tbody th,
  .compare td {
    border: 0;
    padding: 4px 6px;
  }
  .compare td::before {
    content: attr(data-label);
    display: block;
    font: 11px/1.5 var(--mono);
    color: var(--muted);
  }
  .compare td.is-ours {
    border-radius: 6px;
    margin-top: 6px;
    padding: 8px;
  }
  .count-cell {
    width: 28%;
  }
  .cta-grid {
    display: grid;
  }
}
.page-section > .step-list:last-child {
  border-bottom: 0;
}
.market-section + .page-section {
  border-top: 1px solid var(--line);
}
/* Phone: single-table windows follow the demo table's phone rules (optional columns hidden, same cell padding). */
@media (max-width: 570px) {
  .shot .optional-col {
    display: none;
  }
  .shot th,
  .shot td {
    padding: 9px 6px;
  }
  .shot :is(th, td):first-child {
    padding-left: 10px;
  }
  .shot :is(th, td):last-child {
    padding-right: 16px;
  }
  .shot table .row-rank {
    width: 25px;
    padding-left: 9px;
    padding-right: 3px;
  }
  .shot td.row-rank + td,
  .shot th.row-rank + th {
    padding-left: 2px;
  }
  .shot .row-name {
    gap: 6px;
    font-size: 12px;
  }
  .shot .avatar {
    width: 32px;
    height: 32px;
  }
  .shot .amount {
    font-size: 12px;
  }
}
@media (max-width: 570px) {
  .compare tbody th {
    width: auto;
  }
}
/* Sub pages only (the homepage body has no data-page): headings wrap evenly instead of leaving one word alone. */
body[data-page] .section-heading h2,
body[data-page] .cta-band h2 {
  text-wrap: balance;
}
/* Data page: a short filtered list (under 5 rows) keeps natural row heights instead of stretching to the inspector's height. */
#records .desk-grid.is-short .table-scroll table {
  flex: 0 0 auto;
}

/* Hosted app entry (2026-12-03): the Log in text link beside the Start free button,
   and the sending, sent and error states of the two call request forms. */
.nav-login {
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 530;
  white-space: nowrap;
}
.nav-login:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 820px) {
  .nav-login {
    display: none;
  }
}
.form-note[data-state="sent"],
.qc-book-note[data-state="sent"],
.form-note[data-state="error"],
.qc-book-note[data-state="error"] {
  color: var(--ink);
  font-weight: 600;
}
.form-note[data-state="error"],
.qc-book-note[data-state="error"] {
  color: var(--signal);
}
button[aria-busy="true"] {
  cursor: progress;
  opacity: 0.7;
}

/* Focus ring follows the surface: black on light, lime on the always-dark bands. Light cards
   that sit inside a dark band take the black ring back. */
.hero,
.rv-hero--dark,
.rv-hero--market,
.rv-close,
.evidence,
.code-box,
.qc-closing-cta__box,
.qc-short-version,
.qc-scan-rail,
.qc-book-split__promise {
  --focus: #c8ff00;
}
:root:not([data-theme="dark"]) :is(.hero, .rv-hero--dark, .rv-hero--market) :is(.rv-window, .market-card) {
  --focus: #080808;
}

/* Native checkboxes, radios and range inputs take the brand accent, never the system blue */
:root {
  accent-color: var(--signal);
}

/* Judge round 2026-12-03, shared chrome */
/* the drawer sits on the black nav, so its call to action is the same lime button as the header */
.mobile-nav .btn,
.mobile-nav .btn.btn-night {
  background: var(--lime);
  border-color: var(--lime);
  color: #080808;
  justify-content: center;
}
.mobile-nav .btn:hover,
.mobile-nav .btn.btn-night:hover {
  background: var(--lime-hover);
  border-color: var(--lime-hover);
  color: #080808;
}
/* native checkboxes drawn in kit colors; still a real input, so label, space bar and focus ring work */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border: 1.5px solid var(--muted);
  border-radius: 4px;
  background: var(--surface) center / 12px 12px no-repeat;
  vertical-align: -3px;
  cursor: pointer;
}
input[type="checkbox"]:checked {
  border-color: #080808;
  background-color: #080808;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23f0f0ec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] input[type="checkbox"]:checked {
  border-color: #c8ff00;
  background-color: #c8ff00;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23080808' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5'/%3E%3C/svg%3E");
}
input[type="checkbox"]:disabled {
  cursor: default;
}
/* agent wheel: in the dark theme the resting spokes need a lighter kit stroke to be followed */
:root[data-theme="dark"] .rv-spokes path:not(.is-active) {
  stroke: #52524e;
}
