/**
 * Chemesis Core — Homepage styles.
 * Port of the approved Vercel homepage (globals.css + home components).
 * Prefix: generic system classes use .ch-*, homepage blocks use .chh-*.
 */

/* ==================================================================
   Part A — Design-system classes used by the homepage
   ================================================================== */

/* Layout */
.chh-container {
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

.chh-grid-mesh {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
}

.chh-grid-mesh-light {
  background-image:
    linear-gradient(to right, rgba(0, 12, 48, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 12, 48, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* Typography */
.chh-display {
  font-family: var(--ch-font-display);
  font-size: var(--ch-type-display);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
}

.chh-h2 {
  font-family: var(--ch-font-display);
  font-size: var(--ch-type-h2);
  line-height: 1.06;
  letter-spacing: -0.022em;
  font-weight: 600;
  text-wrap: balance;
}

.chh-h3 {
  font-family: var(--ch-font-display);
  font-size: var(--ch-type-h3);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.chh-lead {
  font-size: var(--ch-type-lead);
  line-height: 1.55;
  color: var(--ch-muted);
  text-wrap: pretty;
}

.chh-body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ch-muted);
  text-wrap: pretty;
}

.chh-dark .chh-lead,
.chh-dark .chh-body,
.chh-surface-dark .chh-lead,
.chh-surface-dark .chh-body {
  color: rgba(255, 255, 255, 0.62);
}

.chh-index-num {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  color: var(--ch-faint);
}

.chh-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--ch-blue-600);
}

.chh-arrow-link svg {
  transition: transform 0.4s var(--ch-ease-expo);
}

.chh-arrow-link:hover svg {
  transform: translateX(4px);
}

/* Ghost outline + pedestals + reflection + tick corners */
.chh-ghost {
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 12, 48, 0.13);
}

.chh-ghost-dark {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
}

.chh-pedestal-dark {
  background: radial-gradient(120% 100% at 50% 8%, #071539 0%, #000c30 58%, #01061a 100%);
}

.chh-stage-light {
  background:
    radial-gradient(58% 42% at 50% 38%, #ffffff 0%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(120% 90% at 50% 118%, rgba(0, 12, 48, 0.12), rgba(0, 12, 48, 0) 58%),
    linear-gradient(180deg, #ffffff 0%, #eef1f6 58%, #e4e9f1 100%);
}

.chh-reflect-ghost {
  transform: scaleY(-1);
  opacity: 0.16;
  filter: blur(1px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 55%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 55%);
  pointer-events: none;
}

/* Rail */
.chh-rail-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.chh-rail-track::-webkit-scrollbar {
  display: none;
}

.chh-rail-item {
  scroll-snap-align: start;
  flex: 0 0 auto;
}

.chh-swap-in {
  animation: chh-swap-in 0.5s var(--ch-ease-expo) both;
}

@keyframes chh-swap-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Media */
.chh-media-render {
  transition: transform 0.9s var(--ch-ease-expo);
  will-change: transform;
}

.chh-card:hover .chh-media-render,
.chh-card:focus-within .chh-media-render {
  transform: scale(1.035) translateY(-4px);
}

/* Section rhythm */
.chh-section {
  padding-block: 4rem;
}

@media (min-width: 768px) {
  .chh-section {
    padding-block: 6rem;
  }
}

/* Section head */
.chh-sechead {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .chh-sechead {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.chh-sechead-main {
  max-width: 42rem;
}

.chh-sechead .ch-eyebrow {
  display: inline-flex;
}

.chh-sechead-title {
  margin-top: 1rem;
}

.chh-sechead-lead {
  margin-top: 1rem;
}

.chh-sechead-action {
  flex-shrink: 0;
}

/* ==================================================================
   Part B — Homepage sections
   ================================================================== */

/* ------------------------------------------------------------------
   1 — Hero
   ------------------------------------------------------------------ */
.chh-hero {
  position: relative;
  overflow: hidden;
  background: var(--ch-ink-950);
  color: #fff;
}

.chh-hero .chh-grid-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.chh-hero-glow {
  position: absolute;
  top: 25%;
  right: -8rem;
  height: 560px;
  width: 560px;
  border-radius: 9999px;
  opacity: 0.14;
  filter: blur(64px);
  background: radial-gradient(circle, #0054fc 0%, transparent 65%);
  pointer-events: none;
}

.chh-hero-inner {
  position: relative;
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .chh-hero-inner {
    padding-top: 3.5rem;
    padding-bottom: 5rem;
  }
}

.chh-hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.25rem;
}

.chh-hero-meta span {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
}

.chh-hero-meta-right {
  display: none;
}

@media (min-width: 768px) {
  .chh-hero-meta-right {
    display: block;
  }
}

.chh-hero-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .chh-hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2rem;
    align-items: center;
  }
}

.chh-hero-copy {
  min-width: 0;
}

@media (min-width: 1024px) {
  .chh-hero-copy {
    grid-column: span 6;
  }
}

@media (min-width: 1280px) {
  .chh-hero-copy {
    grid-column: span 5;
  }
}

.chh-hero h1 {
  margin-top: 1.5rem;
}

.chh-hero-lead {
  margin-top: 1.5rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.7);
}

.chh-hero-ctas {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.chh-hero-doclink {
  margin-top: 1.5rem;
  display: inline-flex;
  font-size: var(--ch-type-body-sm);
  color: var(--ch-blue-300);
}

.chh-hero-stage-col {
  min-width: 0;
}

@media (min-width: 1024px) {
  .chh-hero-stage-col {
    grid-column: span 6;
  }
}

@media (min-width: 1280px) {
  .chh-hero-stage-col {
    grid-column: span 7;
  }
}

/* Hero stage */
.chh-hero-stage {
  position: relative;
  margin-inline: auto;
  width: 100%;
  max-width: 540px;
}

@media (min-width: 1024px) {
  .chh-hero-stage {
    margin-right: 0;
  }
}

.chh-hero-ghost {
  position: absolute;
  top: -3rem;
  left: 0;
  display: none;
  pointer-events: none;
  user-select: none;
  font-family: var(--ch-font-display);
  font-size: 6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 0.7;
}

@media (min-width: 1280px) {
  .chh-hero-ghost {
    display: block;
  }
}

.chh-hero-stage-body {
  position: relative;
}

.chh-hero-ruler {
  position: absolute;
  left: -2rem;
  top: 4rem;
  bottom: 4rem;
  display: none;
  pointer-events: none;
}

@media (min-width: 1280px) {
  .chh-hero-ruler {
    display: block;
  }
}

.chh-hero-ruler-line {
  position: relative;
  height: 100%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.chh-hero-ruler-tick {
  position: absolute;
  left: -3px;
  height: 1px;
  width: 7px;
  background: rgba(255, 255, 255, 0.25);
}

.chh-hero-ruler-label {
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--ch-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.35);
  writing-mode: vertical-rl;
  rotate: 180deg;
}

.chh-hero-pedestal {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--ch-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chh-hero-pedestal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 11%;
  padding-bottom: 26%;
}

.chh-hero-pedestal .chh-hero-render-ghost {
  top: 58%;
  bottom: auto;
  height: 100%;
}

.chh-hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--ch-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(1, 6, 26, 0.7);
  padding: 0.5rem 0.75rem;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: transform 0.3s var(--ch-ease-expo), border-color 0.3s var(--ch-ease-expo);
  text-decoration: none;
}

.chh-hero-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.chh-hero-chip .chh-chip-key {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

.chh-hero-chip .chh-chip-val {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-mono);
  color: #fff;
}

.chh-hero-chip-cas {
  left: 1rem;
  top: 1rem;
}

.chh-hero-chip-assay {
  right: 1rem;
  top: 33.333%;
  display: none;
}

@media (min-width: 640px) {
  .chh-hero-chip-assay {
    display: flex;
  }
}

.chh-hero-chip-assay .chh-chip-val {
  color: var(--ch-blue-300);
}

.chh-hero-chip-docs {
  right: 1rem;
  bottom: 1rem;
}

/* Hero spec card */
.chh-hero-spec {
  position: absolute;
  left: -1.25rem;
  bottom: 2.5rem;
  display: none;
  width: 292px;
  border-radius: var(--ch-radius-md);
  border: 1px solid var(--ch-line);
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 36px 80px -40px rgba(0, 0, 0, 0.6);
}

@media (min-width: 768px) {
  .chh-hero-spec {
    display: block;
  }
}

.chh-hero-spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chh-hero-spec-title {
  margin-top: 0.75rem;
  font-family: var(--ch-font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ch-ink-900);
}

.chh-hero-spec dl {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0;
}

.chh-hero-spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--ch-line);
  padding-bottom: 0.5rem;
}

.chh-hero-spec-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.chh-hero-spec-row dt {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ch-faint);
}

.chh-hero-spec-row dd {
  margin: 0;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-mono);
  text-align: right;
  color: var(--ch-inktext, #1c2438);
}

.chh-hero-spec-foot {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--ch-line);
  padding-top: 1rem;
}

.chh-hero-spec-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--ch-type-mono);
  color: var(--ch-muted);
}

.chh-hero-spec-note svg {
  color: var(--ch-blue);
}

.chh-hero-spec-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--ch-type-body-sm);
  font-weight: 500;
  color: var(--ch-blue-600);
  text-decoration: none;
}

/* Mobile chips */
.chh-hero-chips {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .chh-hero-chips {
    display: none;
  }
}

.chh-hero-chips > div {
  border-radius: var(--ch-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem;
}

.chh-hero-chips .chh-mchip-key {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
}

.chh-hero-chips .chh-mchip-val {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-mono);
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.25rem;
}

/* ------------------------------------------------------------------
   2 — Evidence strip
   ------------------------------------------------------------------ */
.chh-evidence {
  border-bottom: 1px solid var(--ch-line);
  background: #fff;
}

.chh-evidence-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.5rem;
  padding-block: 1.25rem;
}

.chh-evidence-lead {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ch-blue-600);
}

.chh-evidence-lead .chh-dot {
  height: 6px;
  width: 6px;
  border-radius: 9999px;
  background: var(--ch-blue);
}

.chh-evidence-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ch-muted);
}

.chh-evidence-item svg {
  color: var(--ch-blue);
  flex-shrink: 0;
}

.chh-evidence-link {
  margin-left: auto;
  display: none;
  font-size: var(--ch-type-body-sm);
}

@media (min-width: 1024px) {
  .chh-evidence-link {
    display: inline-flex;
  }
}

/* ------------------------------------------------------------------
   3 — Featured rail
   ------------------------------------------------------------------ */
.chh-featured {
  background: var(--ch-paper);
}

.chh-rail-wrap {
  margin-top: 2.5rem;
}

.chh-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--ch-radius-md);
  border: 1px solid var(--ch-line);
  background: #fff;
  width: 280px;
  transition:
    border-color 0.5s var(--ch-ease-expo),
    box-shadow 0.5s var(--ch-ease-expo),
    transform 0.5s var(--ch-ease-expo);
}

@media (min-width: 640px) {
  .chh-card {
    width: 318px;
  }
}

@media (min-width: 1024px) {
  .chh-card {
    width: 348px;
  }
}

.chh-card:hover,
.chh-card:focus-within {
  border-color: rgba(0, 12, 48, 0.22);
  box-shadow: 0 34px 70px -48px rgba(0, 12, 48, 0.55);
  transform: translateY(-4px);
}

.chh-card .ch-tick {
  opacity: 0;
}

.chh-card:hover .ch-tick,
.chh-card:focus-within .ch-tick {
  opacity: 1;
}

.chh-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #eef1f6 55%, #e4e9f1 100%);
}

.chh-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.75rem;
}

.chh-card-tag {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.chh-card-sale {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
}

.chh-card-metabar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: stretch;
  gap: 1px;
  background: rgba(1, 6, 26, 0.95);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transform: translateY(102%);
  transition: transform 0.5s var(--ch-ease-expo);
}

.chh-card:hover .chh-card-metabar,
.chh-card:focus-within .chh-card-metabar {
  transform: translateY(0);
}

.chh-card-metabar a,
.chh-card-metabar button {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  font-size: var(--ch-type-body-sm);
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s var(--ch-ease-expo), color 0.3s var(--ch-ease-expo);
}

.chh-card-metabar .chh-view:hover {
  background: rgba(255, 255, 255, 0.1);
}

.chh-card-metabar .chh-add {
  flex: 0 0 auto;
  color: var(--ch-blue-300);
}

.chh-card-metabar .chh-add:hover {
  background: var(--ch-blue);
  color: #fff;
}

.chh-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem 1.25rem 1.25rem;
}

.chh-card-cat {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ch-faint);
}

.chh-card-name {
  margin-top: 0.375rem;
  font-family: var(--ch-font-display);
  font-size: var(--ch-type-product-title);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ch-ink-900);
  text-decoration: none;
  transition: color 0.3s var(--ch-ease-expo);
}

.chh-card:hover .chh-card-name {
  color: var(--ch-blue-600);
}

.chh-card-meta {
  margin-top: 0.5rem;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-mono);
  color: var(--ch-muted);
}

.chh-card-price {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.625rem;
  row-gap: 0.25rem;
}

.chh-card-price-sale {
  font-family: var(--ch-font-display);
  font-size: var(--ch-type-price);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ch-ink-900);
}

.chh-card-price-reg {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-mono);
  color: var(--ch-faint);
  text-decoration: line-through;
}

.chh-card-save {
  margin-left: auto;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ch-blue-600);
}

.chh-card-foot {
  margin-top: auto;
  padding-top: 1rem;
}

.chh-card-foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid var(--ch-line);
  padding-top: 1rem;
}

.chh-card-docs {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ch-faint);
}

.chh-card-docs svg {
  color: var(--ch-blue);
}

.chh-card-source {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ch-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Rail footer (progress + arrows) */
.chh-rail-foot {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.chh-rail-progress {
  position: relative;
  height: 1px;
  flex: 1;
  background: var(--ch-line);
}

.chh-rail-progress-fill {
  position: absolute;
  inset-block: 0;
  left: 0;
  height: 1px;
  background: var(--ch-blue);
  transition: width 0.3s ease-out;
  width: 6%;
}

.chh-rail-arrows {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chh-rail-arrow {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--ch-line);
  background: transparent;
  color: var(--ch-muted);
  cursor: pointer;
  transition: border-color 0.3s var(--ch-ease-expo), color 0.3s var(--ch-ease-expo);
}

.chh-rail-arrow:hover {
  border-color: var(--ch-ink-900);
  color: var(--ch-ink-900);
}

.chh-rail-arrow:focus-visible {
  outline: 2px solid var(--ch-blue);
  outline-offset: 3px;
}

/* ------------------------------------------------------------------
   4 — Category explorer
   ------------------------------------------------------------------ */
.chh-cats {
  border-top: 1px solid var(--ch-line);
  background: #fff;
}

.chh-cats-grid {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .chh-cats-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 3rem;
  }
}

.chh-cats-nav {
  min-width: 0;
}

@media (min-width: 1024px) {
  .chh-cats-nav {
    grid-column: span 4;
  }
}

.chh-cats-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  width: 100%;
  margin-top: -0.25rem;
  padding-bottom: 0.5rem;
}

.chh-cats-chips::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .chh-cats-chips {
    display: none;
  }
}

.chh-cats-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border-radius: 9999px;
  border: 1px solid var(--ch-line);
  background: #fff;
  color: var(--ch-muted);
  padding: 0.75rem 1rem;
  font-size: var(--ch-type-body-sm);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s var(--ch-ease-expo);
}

.chh-cats-chip.is-active {
  border-color: var(--ch-ink-900);
  background: var(--ch-ink-900);
  color: #fff;
}

.chh-cats-list {
  display: none;
  border-top: 1px solid var(--ch-line);
}

@media (min-width: 1024px) {
  .chh-cats-list {
    display: block;
  }
}

.chh-cats-item {
  position: relative;
  display: flex;
  width: 100%;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  border-bottom: 1px solid var(--ch-line);
  background: transparent;
  padding: 1.25rem 0;
  text-align: left;
  cursor: pointer;
  color: rgba(0, 12, 48, 0.55);
  transition: color 0.3s var(--ch-ease-expo);
}

.chh-cats-item:hover,
.chh-cats-item.is-active {
  color: var(--ch-ink-900);
}

.chh-cats-item-bar {
  position: absolute;
  left: 0;
  top: 50%;
  height: 1.5rem;
  width: 2px;
  transform: translateY(-50%) translateX(-4px);
  background: var(--ch-blue);
  opacity: 0;
  transition: all 0.5s var(--ch-ease-expo);
}

.chh-cats-item.is-active .chh-cats-item-bar {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
}

.chh-cats-item-inner {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  transition: padding 0.5s var(--ch-ease-expo);
}

.chh-cats-item.is-active .chh-cats-item-inner {
  padding-left: 1rem;
}

.chh-cats-item-name {
  font-family: var(--ch-font-display);
  font-size: var(--ch-type-h4);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.chh-cats-item-count {
  flex-shrink: 0;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-mono);
  color: var(--ch-faint);
}

.chh-cats-panel-col {
  min-width: 0;
}

@media (min-width: 1024px) {
  .chh-cats-panel-col {
    grid-column: span 8;
  }
}

.chh-cats-panel {
  border-radius: var(--ch-radius-md);
  border: 1px solid var(--ch-line);
  background: var(--ch-paper);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .chh-cats-panel {
    padding: 2rem;
  }
}

.chh-cats-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.chh-cats-panel-label {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ch-blue-600);
}

.chh-cats-panel-title {
  margin-top: 0.5rem;
  font-family: var(--ch-font-display);
  font-size: var(--ch-type-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ch-ink-900);
}

.chh-cats-panel-desc {
  margin-top: 0.5rem;
  max-width: 36rem;
  font-size: var(--ch-type-body-sm);
  line-height: 1.65;
  color: var(--ch-muted);
}

.chh-cats-panel-list {
  margin-top: 1.5rem;
  border-top: 1px solid var(--ch-line);
  list-style: none;
  padding: 0;
}

.chh-cats-panel-list li {
  border-bottom: 1px solid var(--ch-line);
}

.chh-cats-panel-list li:last-child {
  border-bottom: 0;
}

.chh-cat-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 1rem;
  text-decoration: none;
  transition: background-color 0.3s var(--ch-ease-expo);
}

.chh-cat-row:hover {
  background: #fff;
}

.chh-cat-thumb {
  position: relative;
  display: flex;
  height: 56px;
  width: 56px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--ch-radius-sm);
  border: 1px solid var(--ch-line);
  background: #fff;
}

.chh-cat-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.chh-cat-info {
  min-width: 0;
  flex: 1;
}

.chh-cat-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.75rem;
  row-gap: 0.25rem;
}

.chh-cat-name {
  font-family: var(--ch-font-display);
  font-size: var(--ch-type-body);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ch-ink-900);
  transition: color 0.3s var(--ch-ease-expo);
}

.chh-cat-row:hover .chh-cat-name {
  color: var(--ch-blue-600);
}

.chh-cat-grade {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ch-blue-600);
}

.chh-cat-meta {
  margin-top: 0.25rem;
  display: block;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-mono);
  color: var(--ch-faint);
}

.chh-cat-price {
  display: none;
  flex-shrink: 0;
  align-items: baseline;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .chh-cat-price {
    display: flex;
  }
}

.chh-cat-price-sale {
  font-size: var(--ch-type-body);
  font-weight: 600;
  color: var(--ch-ink-900);
}

.chh-cat-price-reg {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-mono);
  color: var(--ch-faint);
  text-decoration: line-through;
}

.chh-cat-docs {
  display: none;
  flex-shrink: 0;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ch-faint);
}

@media (min-width: 768px) {
  .chh-cat-docs {
    display: block;
  }
}

.chh-cat-arrow {
  flex-shrink: 0;
  color: var(--ch-faint);
  transition: transform 0.3s var(--ch-ease-expo), color 0.3s var(--ch-ease-expo);
}

.chh-cat-row:hover .chh-cat-arrow {
  transform: translateX(4px);
  color: var(--ch-blue);
}

/* ------------------------------------------------------------------
   5 — Quality
   ------------------------------------------------------------------ */
.chh-quality {
  background: var(--ch-paper);
}

.chh-quality-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .chh-quality-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

.chh-quality-methods {
  min-width: 0;
}

@media (min-width: 1024px) {
  .chh-quality-methods {
    grid-column: span 7;
  }
}

.chh-methods-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 12, 48, 0.15);
  padding-bottom: 0.75rem;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ch-faint);
}

.chh-method-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--ch-line);
  padding-block: 1rem;
  transition: background-color 0.3s var(--ch-ease-expo);
}

.chh-method-row:hover {
  background: #fff;
}

.chh-method-code {
  width: 9rem;
  flex-shrink: 0;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-mono);
  color: var(--ch-blue-600);
}

.chh-method-label {
  font-size: var(--ch-type-body-sm);
  color: rgba(28, 36, 56, 0.8);
  transition: color 0.3s var(--ch-ease-expo);
}

.chh-method-row:hover .chh-method-label {
  color: var(--ch-inktext, #1c2438);
}

.chh-quality-note {
  margin-top: 1.25rem;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-mono);
  line-height: 1.6;
  color: var(--ch-faint);
}

.chh-quality-card-col {
  min-width: 0;
}

@media (min-width: 1024px) {
  .chh-quality-card-col {
    grid-column: span 5;
  }
}

.chh-spec {
  border-radius: var(--ch-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--ch-ink-950);
  color: #fff;
}

.chh-spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
}

.chh-spec-head span:first-child {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

.chh-spec-body {
  padding: 0.5rem 1.25rem;
}

.chh-spec-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: baseline;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1rem;
}

.chh-spec-row:last-child {
  border-bottom: 0;
}

.chh-spec-item {
  grid-column: span 4;
  font-size: var(--ch-type-body-sm);
  color: rgba(255, 255, 255, 0.8);
}

.chh-spec-method {
  grid-column: span 4;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

.chh-spec-value {
  grid-column: span 4;
  text-align: right;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-mono);
  color: var(--ch-blue-200);
}

.chh-spec-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
}

.chh-spec-foot .chh-spec-prod {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-mono);
  color: rgba(255, 255, 255, 0.45);
}

.chh-spec-foot a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--ch-type-body-sm);
  font-weight: 500;
  color: var(--ch-blue-300);
  text-decoration: none;
}

.chh-quality-card-note {
  margin-top: 1rem;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-mono);
  line-height: 1.6;
  color: var(--ch-faint);
}

/* ------------------------------------------------------------------
   6 — Documentation
   ------------------------------------------------------------------ */
.chh-docs {
  position: relative;
  overflow: hidden;
  background: var(--ch-ink-900);
  color: #fff;
}

.chh-docs .chh-grid-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.chh-docs-inner {
  position: relative;
}

.chh-docs .chh-sechead-title {
  color: #fff;
}

.chh-docs .chh-sechead-lead {
  color: rgba(255, 255, 255, 0.6);
}

.chh-docs .ch-eyebrow {
  color: var(--ch-blue-300);
}

.chh-docs .ch-eyebrow::before,
.chh-docs .ch-eyebrow .chh-dot {
  background: var(--ch-blue-400);
}

.chh-docs .chh-arrow-link {
  color: var(--ch-blue-300);
}

.chh-docs-stats {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  column-gap: 2.5rem;
  row-gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1rem;
}

.chh-doc-stat {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

.chh-doc-stat strong {
  margin-right: 0.5rem;
  font-family: var(--ch-font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.chh-docs-list {
  margin-top: 2rem;
}

.chh-docs-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0.75rem;
  text-decoration: none;
  transition: background-color 0.4s var(--ch-ease-expo);
}

@media (min-width: 768px) {
  .chh-docs-row {
    padding-inline: 1.25rem;
  }
}

.chh-docs-row:hover {
  background: #fff;
}

.chh-docs-type {
  grid-column: span 12;
}

@media (min-width: 768px) {
  .chh-docs-type {
    grid-column: span 3;
  }
}

.chh-docs-prod {
  grid-column: span 8;
  font-size: var(--ch-type-body);
  font-weight: 500;
  color: #fff;
  transition: color 0.4s var(--ch-ease-expo);
}

@media (min-width: 768px) {
  .chh-docs-prod {
    grid-column: span 3;
  }
}

.chh-docs-row:hover .chh-docs-prod {
  color: var(--ch-ink-900);
}

.chh-docs-label {
  grid-column: span 10;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-mono);
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.4s var(--ch-ease-expo);
}

@media (min-width: 768px) {
  .chh-docs-label {
    grid-column: span 4;
  }
}

.chh-docs-row:hover .chh-docs-label {
  color: var(--ch-muted);
}

.chh-docs-label svg {
  margin-right: 0.375rem;
  display: inline;
  vertical-align: -1px;
}

.chh-docs-action {
  grid-column: span 2;
  display: flex;
  justify-content: flex-end;
}

.chh-docs-circle {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s var(--ch-ease-expo);
}

.chh-docs-row:hover .chh-docs-circle {
  border-color: var(--ch-blue);
  background: var(--ch-blue);
  color: #fff;
}

.chh-docs-foot {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.chh-docs-foot p {
  max-width: 36rem;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-mono);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

/* ------------------------------------------------------------------
   7 — Compound spotlight
   ------------------------------------------------------------------ */
.chh-spot {
  position: relative;
  overflow: hidden;
  background: var(--ch-paper-2);
}

.chh-spot-ghost {
  position: absolute;
  top: -1.5rem;
  right: 0;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  font-family: var(--ch-font-display);
  font-size: 5.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .chh-spot-ghost {
    font-size: 10rem;
  }
}

.chh-spot-inner {
  position: relative;
}

.chh-spot-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .chh-spot-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: center;
  }
}

.chh-spot-visual-col {
  min-width: 0;
}

@media (min-width: 1024px) {
  .chh-spot-visual-col {
    grid-column: span 5;
  }
}

.chh-spot-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--ch-radius-md);
  border: 1px solid var(--ch-line);
}

@media (min-width: 640px) {
  .chh-spot-stage {
    aspect-ratio: 5 / 6;
  }
}

@media (min-width: 1024px) {
  .chh-spot-stage {
    aspect-ratio: 4 / 5;
  }
}

.chh-spot-stage .chh-grid-mesh-light {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  pointer-events: none;
}

.chh-spot-glow {
  position: absolute;
  left: 50%;
  top: 40%;
  height: 72%;
  width: 92%;
  transform: translate(-50%, -50%);
  border-radius: 9999px;
  filter: blur(40px);
  background: radial-gradient(closest-side, rgba(0, 84, 252, 0.14), rgba(255, 255, 255, 0) 74%);
  pointer-events: none;
}

.chh-spot-molecule {
  position: absolute;
  right: 1.25rem;
  top: 5rem;
  height: 8rem;
  width: 8rem;
  opacity: 0.16;
}

.chh-spot-stage img.chh-spot-render {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7%;
  padding-bottom: 12%;
  filter: drop-shadow(0 36px 50px rgba(0, 12, 48, 0.22));
}

.chh-spot-baseline {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 11%;
  height: 1px;
  background: rgba(0, 12, 48, 0.1);
}

.chh-spot-shadow {
  position: absolute;
  left: 26%;
  right: 26%;
  bottom: 9%;
  height: 1.25rem;
  border-radius: 100%;
  background: rgba(1, 6, 26, 0.2);
  filter: blur(8px);
}

.chh-spot .ch-tick {
  opacity: 0.4;
  border-color: rgba(0, 12, 48, 0.3);
}

.chh-spot-chip {
  position: absolute;
  border-radius: var(--ch-radius-sm);
  border: 1px solid rgba(0, 12, 48, 0.1);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 0.75rem;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.chh-spot-chip span {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ch-muted);
}

.chh-spot-chip-origin {
  left: 1.25rem;
  top: 1.25rem;
}

.chh-spot-chip-extraction {
  right: 1.25rem;
  bottom: 1.25rem;
}

.chh-spot-content-col {
  min-width: 0;
}

@media (min-width: 1024px) {
  .chh-spot-content-col {
    grid-column: 7 / span 6;
  }
}

.chh-spot h2 {
  margin-top: 1.25rem;
  color: var(--ch-ink-900);
}

.chh-spot-lead {
  margin-top: 1.25rem;
}

.chh-spot-spec {
  margin-top: 2rem;
  border-top: 1px solid rgba(0, 12, 48, 0.15);
}

.chh-spot-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid var(--ch-line);
  padding-block: 0.875rem;
}

.chh-spot-row dt {
  grid-column: span 5;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ch-faint);
}

.chh-spot-row dd {
  grid-column: span 7;
  margin: 0;
  text-align: right;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-mono);
  color: var(--ch-inktext, #1c2438);
}

.chh-spot-use {
  margin-top: 1.5rem;
  border-left: 2px solid var(--ch-blue);
  background: #fff;
  padding: 1rem 1.25rem;
}

.chh-spot-use-label {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ch-faint);
}

.chh-spot-use-text {
  margin-top: 0.5rem;
  font-size: var(--ch-type-body-sm);
  line-height: 1.65;
  color: var(--ch-muted);
}

.chh-spot-ctas {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.chh-spot-catlink {
  margin-top: 1.5rem;
  display: inline-flex;
  font-size: var(--ch-type-body-sm);
}

/* ------------------------------------------------------------------
   8 — Bulk procurement
   ------------------------------------------------------------------ */
.chh-steps {
  border-top: 1px solid var(--ch-line);
  background: #fff;
}

.chh-steps-track {
  position: relative;
  margin-top: 3.5rem;
}

.chh-steps-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0.5rem;
  display: none;
}

@media (min-width: 768px) {
  .chh-steps-line {
    display: block;
  }
}

.chh-steps-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .chh-steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.chh-step {
  position: relative;
}

.chh-step-dot {
  position: relative;
  z-index: 10;
  display: flex;
  height: 1rem;
  width: 1rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(0, 84, 252, 0.4);
  background: #fff;
}

.chh-step-dot span {
  height: 6px;
  width: 6px;
  border-radius: 9999px;
  background: var(--ch-blue);
}

.chh-step-num {
  margin-top: 1.5rem;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-mono);
  color: var(--ch-blue-600);
}

.chh-step-title {
  margin-top: 0.5rem;
  font-family: var(--ch-font-display);
  font-size: var(--ch-type-h4);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ch-ink-900);
}

.chh-step-text {
  margin-top: 0.5rem;
  font-size: var(--ch-type-body-sm);
  line-height: 1.65;
  color: var(--ch-muted);
}

.chh-steps-cta {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  border-radius: var(--ch-radius-md);
  background: var(--ch-ink-950);
  padding: 2rem;
}

@media (min-width: 768px) {
  .chh-steps-cta {
    flex-direction: row;
    align-items: center;
    padding: 2.5rem;
  }
}

.chh-steps-cta-title {
  font-family: var(--ch-font-display);
  font-size: var(--ch-type-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.chh-steps-cta-text {
  margin-top: 0.5rem;
  max-width: 36rem;
  font-size: var(--ch-type-body-sm);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

.chh-steps-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ------------------------------------------------------------------
   9 — Why Chemesis
   ------------------------------------------------------------------ */
.chh-why {
  background: var(--ch-paper);
}

.chh-why-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .chh-why-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

.chh-why-intro {
  min-width: 0;
}

@media (min-width: 1024px) {
  .chh-why-intro {
    grid-column: span 4;
  }
}

.chh-why-intro h2 {
  margin-top: 1.25rem;
}

.chh-why-intro .chh-lead {
  margin-top: 1.25rem;
}

.chh-why-list-col {
  min-width: 0;
}

@media (min-width: 1024px) {
  .chh-why-list-col {
    grid-column: 6 / span 7;
  }
}

.chh-why-list {
  border-top: 1px solid rgba(0, 12, 48, 0.15);
}

.chh-why-item {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid var(--ch-line);
  padding-block: 1.5rem;
  transition: background-color 0.3s var(--ch-ease-expo);
}

@media (min-width: 768px) {
  .chh-why-item {
    gap: 2.5rem;
  }
}

.chh-why-item .chh-index-num {
  padding-top: 0.25rem;
  transition: color 0.3s var(--ch-ease-expo);
}

.chh-why-item:hover .chh-index-num {
  color: var(--ch-blue-600);
}

.chh-why-item h3 {
  font-family: var(--ch-font-display);
  font-size: var(--ch-type-h4);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ch-ink-900);
  transition: transform 0.3s var(--ch-ease-expo);
}

.chh-why-item:hover h3 {
  transform: translateX(4px);
}

.chh-why-item p {
  margin-top: 0.5rem;
  max-width: 36rem;
  font-size: var(--ch-type-body-sm);
  line-height: 1.65;
  color: var(--ch-muted);
}

/* ------------------------------------------------------------------
   10 — Resources
   ------------------------------------------------------------------ */
.chh-res {
  border-top: 1px solid var(--ch-line);
  background: #fff;
}

.chh-res-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--ch-line);
}

.chh-res-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid var(--ch-line);
  padding-block: 1.75rem;
  text-decoration: none;
  transition: background-color 0.3s var(--ch-ease-expo);
}

.chh-res-row:hover {
  background: var(--ch-paper);
}

.chh-res-index {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .chh-res-index {
    grid-column: span 1;
  }
}

.chh-res-title-wrap {
  grid-column: span 10;
}

@media (min-width: 768px) {
  .chh-res-title-wrap {
    grid-column: span 7;
  }
}

.chh-res-title {
  display: block;
  font-family: var(--ch-font-display);
  font-size: var(--ch-type-h4);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ch-ink-900);
  transition: color 0.3s var(--ch-ease-expo);
}

@media (min-width: 768px) {
  .chh-res-title {
    font-size: 1.5rem;
  }
}

.chh-res-row:hover .chh-res-title {
  color: var(--ch-blue-600);
}

.chh-res-cat {
  display: none;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ch-faint);
}

@media (min-width: 768px) {
  .chh-res-cat {
    grid-column: span 2;
    display: block;
  }
}

.chh-res-side {
  grid-column: 3 / span 8;
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .chh-res-side {
    grid-column: span 2;
    display: flex;
  }
}

.chh-res-time {
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ch-faint);
}

.chh-res-arrow {
  color: var(--ch-faint);
  transition: transform 0.3s var(--ch-ease-expo), color 0.3s var(--ch-ease-expo);
}

.chh-res-row:hover .chh-res-arrow {
  transform: translate(2px, -2px);
  color: var(--ch-blue);
}

/* ------------------------------------------------------------------
   11 — FAQ
   ------------------------------------------------------------------ */
.chh-faq {
  background: var(--ch-paper);
}

.chh-faq-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .chh-faq-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

.chh-faq-intro {
  min-width: 0;
}

@media (min-width: 1024px) {
  .chh-faq-intro {
    grid-column: span 4;
  }
}

.chh-faq-intro h2 {
  margin-top: 1.25rem;
}

.chh-faq-intro p {
  margin-top: 1.25rem;
  max-width: 24rem;
  font-size: var(--ch-type-body);
  line-height: 1.65;
}

.chh-faq-intro .chh-arrow-link {
  margin-top: 1.5rem;
  font-size: var(--ch-type-body-sm);
}

.chh-faq-list-col {
  min-width: 0;
}

@media (min-width: 1024px) {
  .chh-faq-list-col {
    grid-column: 6 / span 7;
  }
}

.chh-faq-list {
  border-top: 1px solid var(--ch-line);
}

.chh-faq-item {
  border-bottom: 1px solid var(--ch-line);
}

.chh-faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.25rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.chh-faq-q-text {
  font-family: var(--ch-font-display);
  font-size: var(--ch-type-h4);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ch-ink-900);
  transition: color 0.3s var(--ch-ease-expo);
}

.chh-faq-item.is-open .chh-faq-q-text {
  color: var(--ch-blue-600);
}

.chh-faq-icon {
  display: flex;
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--ch-line);
  color: var(--ch-muted);
  transition: all 0.3s var(--ch-ease-expo);
}

.chh-faq-item.is-open .chh-faq-icon {
  border-color: var(--ch-blue);
  background: var(--ch-blue);
  color: #fff;
}

.chh-faq-icon .chh-minus {
  display: none;
}

.chh-faq-item.is-open .chh-minus {
  display: block;
}

.chh-faq-item.is-open .chh-plus {
  display: none;
}

.chh-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.5s var(--ch-ease-expo), opacity 0.5s var(--ch-ease-expo);
}

.chh-faq-item.is-open .chh-faq-a {
  grid-template-rows: 1fr;
  opacity: 1;
}

.chh-faq-a-inner {
  overflow: hidden;
}

.chh-faq-a p {
  max-width: 48rem;
  padding-bottom: 1.5rem;
  padding-right: 2.5rem;
  font-size: var(--ch-type-body);
  line-height: 1.65;
  color: var(--ch-muted);
}

/* ------------------------------------------------------------------
   12 — Final CTA
   ------------------------------------------------------------------ */
.chh-cta {
  position: relative;
  overflow: hidden;
  background: var(--ch-ink-950);
  color: #fff;
}

.chh-cta .chh-grid-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.chh-cta-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 520px;
  width: 820px;
  transform: translate(-50%, -50%);
  border-radius: 9999px;
  opacity: 0.16;
  filter: blur(64px);
  background: radial-gradient(circle, #0054fc 0%, transparent 62%);
  pointer-events: none;
}

.chh-cta-molecule {
  position: absolute;
  right: 8%;
  top: 18%;
  height: 10rem;
  width: 10rem;
  opacity: 0.3;
  display: none;
}

@media (min-width: 1024px) {
  .chh-cta-molecule {
    display: block;
  }
}

.chh-cta-inner {
  position: relative;
  padding-block: 5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .chh-cta-inner {
    padding-block: 7rem;
  }
}

.chh-cta .ch-eyebrow {
  display: inline-flex;
  justify-content: center;
  color: var(--ch-blue-300);
}

.chh-cta .ch-eyebrow .chh-dot {
  background: var(--ch-blue-400);
}

.chh-cta-title {
  margin: 1.75rem auto 0;
  max-width: 56rem;
}

.chh-cta-lead {
  margin: 1.75rem auto 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.6);
}

.chh-cta-btns {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.chh-cta-foot {
  margin-top: 3rem;
  font-family: var(--ch-font-mono);
  font-size: var(--ch-type-caption);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.45);
}

/* ------------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .chh-swap-in {
    animation: none;
  }

  .chh-media-render,
  .chh-card,
  .chh-card-metabar,
  .chh-cat-arrow,
  .chh-res-arrow {
    transition: none;
  }

  .chh-card:hover .chh-media-render {
    transform: none;
  }
}

/* Elementor editor safety: keep widgets from collapsing in editor iframe */
.elementor-editor-active .chh-hero-pedestal img,
.elementor-editor-active .chh-spot-stage img.chh-spot-render {
  position: absolute;
}

/* ------------------------------------------------------------------
   Homepage button shield: Elementor kit + Hello theme globally style
   raw buttons (blue/pink backgrounds, 17/24 padding). Reset inside all
   homepage blocks, then re-assert the intended styles.
   ------------------------------------------------------------------ */
body :is(.chh-hero, .chh-evidence, .chh-featured, .chh-cats, .chh-quality, .chh-docs, .chh-spot, .chh-steps, .chh-why, .chh-res, .chh-faq, .chh-cta) button,
body :is(.chh-hero, .chh-evidence, .chh-featured, .chh-cats, .chh-quality, .chh-docs, .chh-spot, .chh-steps, .chh-why, .chh-res, .chh-faq, .chh-cta) button:hover,
body :is(.chh-hero, .chh-evidence, .chh-featured, .chh-cats, .chh-quality, .chh-docs, .chh-spot, .chh-steps, .chh-why, .chh-res, .chh-faq, .chh-cta) button:focus,
body :is(.chh-hero, .chh-evidence, .chh-featured, .chh-cats, .chh-quality, .chh-docs, .chh-spot, .chh-steps, .chh-why, .chh-res, .chh-faq, .chh-cta) button:focus-visible {
  background: transparent;
  color: inherit;
  padding: 0;
}

body :is(.chh-featured) .chh-rail-arrow {
  color: var(--ch-muted);
}

body :is(.chh-featured) .chh-rail-arrow:hover,
body :is(.chh-featured) .chh-rail-arrow:focus-visible {
  border-color: var(--ch-ink-900);
  color: var(--ch-ink-900);
}

body :is(.chh-featured) .chh-card-metabar button {
  padding: 0.875rem 1rem;
}

body :is(.chh-featured) .chh-card-metabar .chh-view {
  color: #fff;
}

body :is(.chh-featured) .chh-card-metabar .chh-view:hover {
  background: rgba(255, 255, 255, 0.1);
}

body :is(.chh-featured) .chh-card-metabar .chh-add {
  color: var(--ch-blue-300);
}

body :is(.chh-featured) .chh-card-metabar .chh-add:hover {
  background: var(--ch-blue);
  color: #fff;
}

body :is(.chh-cats) .chh-cats-chip,
body :is(.chh-cats) .chh-cats-chip:hover,
body :is(.chh-cats) .chh-cats-chip:focus,
body :is(.chh-cats) .chh-cats-chip:focus-visible {
  padding: 0.75rem 1rem;
}

body :is(.chh-cats) .chh-cats-chip.is-active {
  border-color: var(--ch-ink-900);
  background: var(--ch-ink-900);
  color: #fff;
}

body :is(.chh-cats) .chh-cats-item {
  color: rgba(0, 12, 48, 0.55);
  padding: 1.25rem 0;
}

body :is(.chh-cats) .chh-cats-item:hover,
body :is(.chh-cats) .chh-cats-item.is-active {
  color: var(--ch-ink-900);
}

body :is(.chh-faq) .chh-faq-q {
  padding-block: 1.25rem;
  padding-inline: 0;
}

.chh-flip {
  transform: rotate(180deg);
}


/* ------------------------------------------------------------------
   Line-height parity with the prototype's Tailwind utilities.
   ------------------------------------------------------------------ */
.chh-card-cat,
.chh-card-meta,
.chh-card-docs,
.chh-card-source,
.chh-card-save,
.chh-card-price-reg,
.chh-method-code,
.chh-step-num,
.chh-spot-use-label,
.chh-docs-label {
  line-height: 1rem;
}

.chh-card-name {
  line-height: 1.3;
}

.chh-method-label,
.chh-why-item p,
.chh-step-text {
  line-height: 1.25rem;
}

.chh-why-item h3,
.chh-step-title {
  line-height: 1.75rem;
}

.chh-card-price-sale {
  line-height: 1.2;
}

/* ------------------------------------------------------------------
   Final Tailwind-parity adjustments (from measured diffs).
   ------------------------------------------------------------------ */
.chh-res-title {
  letter-spacing: -0.025em;
  line-height: 1.375;
}

.chh-steps-cta-title {
  line-height: 1.75rem;
}

@media (min-width: 768px) {
  .chh-steps-cta-title {
    line-height: 2rem;
  }
}

.chh-steps-cta-text {
  line-height: 1.25rem;
}

.chh-spot-row dt,
.chh-spot-row dd {
  line-height: 1rem;
}

.chh-spot-use-text {
  line-height: 1.25rem;
}

/* SplitWords spacing parity: prototype masks carry a 0.24em right margin */
.ch-wordmask {
  margin-right: 0.24em;
}

.ch-wordmask:last-child {
  margin-right: 0;
}

.chh-hero .ch-wordmask:last-child,
.chh-cta .ch-wordmask:last-child {
  margin-right: 0;
}

/* Theme buttons inherit white-space:nowrap; FAQ questions must wrap */
.chh-faq-q {
  white-space: normal;
}

.chh-faq-q-text {
  min-width: 0;
  text-align: left;
  white-space: normal;
}


/* ------------------------------------------------------------------
   Forensic polish (interaction audit):
   1. Card action bar — page shields zero `button` padding/hover feedback;
      these high-specificity re-asserts restore the approved action bar in
      EVERY card context (home rail, archive, categories, PDP related,
      article related) and every interaction state.
   2. FAQ closed-row hover feedback (question text + toggle ring).
   ------------------------------------------------------------------ */
body .chh-card .chh-card-metabar a,
body .chh-card .chh-card-metabar button,
body .chh-card .chh-card-metabar a:hover,
body .chh-card .chh-card-metabar button:hover,
body .chh-card .chh-card-metabar a:focus,
body .chh-card .chh-card-metabar button:focus,
body .chh-card .chh-card-metabar a:focus-visible,
body .chh-card .chh-card-metabar button:focus-visible {
  padding: 0.875rem 1rem;
}

body .chh-card .chh-card-metabar .chh-add,
body .chh-card .chh-card-metabar .chh-add:focus {
  background: transparent;
  color: var(--ch-blue-300);
}

body .chh-card .chh-card-metabar .chh-add:hover {
  background: var(--ch-blue);
  color: #fff;
}

body .chh-card .chh-card-metabar .chh-view,
body .chh-card .chh-card-metabar .chh-view:focus {
  color: #fff;
  background: transparent;
}

body .chh-card .chh-card-metabar .chh-view:hover {
  background: rgba(255, 255, 255, 0.1);
}

body .chh-card .chh-buy {
  background: transparent;
  color: var(--ch-muted);
}

body .chh-card .chh-buy:hover {
  color: var(--ch-blue-600);
}

.chh-faq-item:not(.is-open) .chh-faq-q:hover .chh-faq-q-text {
  color: var(--ch-blue-600);
}

.chh-faq-item:not(.is-open) .chh-faq-q:hover .chh-faq-icon {
  border-color: rgba(0, 12, 48, 0.3);
}
