/* Helix design system
   Tokens and components for the chief technology officer page.
   Scoped to .cto so the older light pages keep styles.css unchanged.
   Loaded after the Tailwind CDN and styles.css. */

.cto {
  /* Color. Night surfaces keep #3dd68c. Paper surfaces use #047857,
     because #3dd68c on #f4f7f5 is about 1.7:1. */
  --color-bg: #0c0e13;
  --color-bg-raised: #10131a;
  --color-bg-panel: #141820;
  --color-bg-footer: #090b0e;
  --color-paper: #f4f7f5;
  --color-paper-deep: #e7f0ea;
  --color-paper-raised: #ffffff;
  --color-line: rgba(255, 255, 255, 0.08);
  --color-line-strong: #8b949e;
  --color-paper-line: #6f8b7c;
  --color-ink: #f4f6f8;
  --color-ink-muted: #c5ccd6;
  --color-ink-faint: #9aa3b2;
  --color-paper-ink: #10231a;
  --color-paper-muted: #3d5248;
  --color-emerald: #3dd68c;
  --color-emerald-hover: #6ee7b0;
  --color-emerald-ink: #042016;
  --color-emerald-deep: #047857;
  --color-nogo: #fda4af;
  --color-nogo-bg: #3f1218;
  --color-nogo-pill: #4c0519;
  --color-nogo-pill-text: #fecdd3;
  --color-unproven: #3dd68c;
  --color-unproven-bg: #0c2a1c;
  --color-unproven-pill: #022c22;
  --color-unproven-pill-text: #a7f3d0;
  --color-focus: #3dd68c;
  --color-focus-paper: #047857;

  /* Type */
  --font-display: "Inter Tight", Inter, ui-sans-serif, system-ui, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --text-display: clamp(2.5rem, 4.6vw, 4rem);
  --text-h2: clamp(2rem, 3.2vw, 3rem);
  --text-h3: clamp(1.2rem, 1.6vw, 1.45rem);
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-eyebrow: 0.75rem;
  --leading-display: 1.02;
  --leading-title: 1.08;
  --leading-body: 1.6;
  --tracking-display: -0.03em;
  --tracking-eyebrow: 0.16em;

  /* Space and measure */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-pad: clamp(4rem, 8vw, 7.5rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --content-max: 76rem;
  --content-narrow: 40rem;
  --content-form: 28rem;
  --header-offset: 5.75rem;

  /* Radius, border, shadow */
  --radius-xs: 4px;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-section: 32px;
  --radius-pill: 999px;
  --border-dark: 1px solid var(--color-line);
  --border-paper: 1px solid var(--color-paper-line);
  --shadow-sm: 0 1px 2px rgba(16, 35, 26, 0.06);
  --shadow-md: 0 18px 40px -28px rgba(9, 11, 14, 0.5);
  --shadow-stage: 0 30px 70px -36px rgba(0, 0, 0, 0.72);

  /* Focus and motion */
  --focus-width: 2px;
  --focus-offset: 2px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-hover: 150ms;
  --duration-slide: 700ms;
  --duration-enter: 700ms;
  --rise: 12px;

  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

.cto [id] {
  scroll-margin-top: var(--header-offset);
}

.cto :focus-visible {
  outline: var(--focus-width) solid var(--color-focus);
  outline-offset: var(--focus-offset);
}

.cto .h-section-paper :focus-visible,
.cto .h-section-deep :focus-visible {
  outline-color: var(--color-focus-paper);
}

.cto .h-wrap {
  width: min(var(--content-max), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.cto .h-skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cto .h-skip:focus {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 80;
  width: auto;
  height: auto;
  margin: 0;
  padding: var(--space-2) var(--space-3);
  clip: auto;
  overflow: visible;
  white-space: normal;
  background: var(--color-paper-raised);
  color: var(--color-paper-ink);
  border-radius: var(--radius-sm);
}

/* Banner and navigation */

.cto .h-banner {
  background: var(--color-emerald);
  color: var(--color-emerald-ink);
  text-align: center;
  font-size: var(--text-small);
  font-weight: 500;
  line-height: 1.4;
  padding: var(--space-2) var(--gutter);
}

.cto .h-banner a {
  color: inherit;
  text-decoration: none;
}

.cto .h-banner a:hover {
  text-decoration: underline;
}

.cto .h-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: var(--space-4) var(--gutter) 0;
  pointer-events: none;
}

.cto .h-nav,
.cto .h-nav-panel {
  pointer-events: auto;
  width: min(var(--content-max), 100%);
  margin-inline: auto;
}

.cto .h-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 4.25rem;
  padding: 0.25rem 0;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid transparent;
  transition:
    min-height var(--duration-slide) var(--ease-out),
    background var(--duration-slide) var(--ease-out),
    border-color var(--duration-slide) var(--ease-out),
    padding var(--duration-slide) var(--ease-out);
}

.cto .h-header.is-scrolled .h-nav {
  min-height: 3.75rem;
  padding: 0.35rem 0.4rem 0.35rem 1.15rem;
  background: rgba(12, 14, 19, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.cto .h-logo {
  display: inline-flex;
  align-items: baseline;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  letter-spacing: var(--tracking-display);
  line-height: 1;
  text-decoration: none;
  flex: none;
}

.cto .h-logo-dot {
  width: 5px;
  height: 5px;
  margin-left: 3px;
  border-radius: 50%;
  background: var(--color-emerald);
  align-self: flex-end;
  margin-bottom: 0.3rem;
}

.cto .h-nav-links {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  font-size: 0.9375rem;
}

.cto .h-nav-links a {
  color: var(--color-ink-muted);
  text-decoration: none;
}

.cto .h-nav-links a:hover {
  color: var(--color-ink);
}

.cto .h-nav-end {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
}

.cto .h-nav-end .h-nav-cta {
  display: none;
}

.cto .h-nav-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 14, 19, 0.45);
  color: var(--color-ink);
  cursor: pointer;
}

.cto .h-nav-toggle span {
  position: absolute;
  left: 0.85rem;
  width: 1rem;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--duration-hover) ease, opacity var(--duration-hover) ease;
}

.cto .h-nav-toggle span:nth-child(1) { transform: translateY(-5px); }
.cto .h-nav-toggle span:nth-child(3) { transform: translateY(5px); }

.cto .h-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.cto .h-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.cto .h-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

.cto .h-nav-panel {
  display: none;
  position: absolute;
  z-index: 2;
  left: 50%;
  top: calc(100% - 0.2rem);
  transform: translateX(-50%);
  width: min(var(--content-max), calc(100% - 2 * var(--gutter)));
  margin-top: 0;
  padding: 0.4rem;
  border-radius: var(--radius-xl);
  background: #141820;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 70px -24px rgba(0, 0, 0, 0.72);
}

.cto .h-nav-panel:not([hidden]) {
  display: block;
}

.cto .h-nav-panel a {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  color: var(--color-ink);
  text-decoration: none;
  font-size: 1.125rem;
  line-height: 1.3;
}

.cto .h-nav-panel a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.cto .h-nav-panel-cta {
  width: calc(100% - 0.4rem);
  margin: 0.35rem 0.2rem 0.2rem;
}

.cto .h-nav-panel-cta:hover {
  background: var(--color-emerald-hover);
}

@media (min-width: 1024px) {
  .cto .h-header .h-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .cto .h-nav-links {
    display: flex;
  }

  .cto .h-nav-end {
    margin-left: 0;
    justify-self: end;
  }

  .cto .h-nav-end .h-nav-cta {
    display: inline-flex;
  }

  .cto .h-nav-toggle,
  .cto .h-nav-panel,
  .cto .h-nav-panel:not([hidden]) {
    display: none;
  }
}

/* Buttons */

.cto .h-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--duration-hover) ease, color var(--duration-hover) ease, border-color var(--duration-hover) ease;
}

.cto .h-btn-primary {
  background: var(--color-emerald);
  color: var(--color-emerald-ink);
}

.cto .h-btn-primary:hover {
  background: var(--color-emerald-hover);
}

.cto .h-btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: rgba(255, 255, 255, 0.16);
}

.cto .h-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.cto .h-btn-lg {
  min-height: 3.6rem;
  padding: 0.4rem 0.4rem 0.4rem 1.35rem;
  font-size: 1rem;
  gap: 0.85rem;
}

.cto .h-btn-arrow {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-emerald-ink);
  color: var(--color-emerald);
  flex: none;
}

.cto .h-btn-arrow svg {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
}

.cto .h-btn-secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: transparent;
  min-height: 3rem;
  padding-inline: 0.35rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.28em;
  text-decoration-color: rgba(244, 246, 248, 0.35);
}

.cto .h-btn-secondary:hover {
  color: var(--color-ink);
  text-decoration-color: var(--color-ink);
}

.cto .h-btn-dark {
  background: var(--color-bg);
  color: var(--color-ink);
}

.cto .h-btn-dark:hover {
  background: var(--color-bg-panel);
}

.cto .h-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
}

.cto .h-icon-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.cto .h-icon-btn svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

/* Section header */

.cto .h-section {
  padding-block: var(--section-pad);
}

.cto .h-section-dark {
  background: var(--color-bg);
  color: var(--color-ink);
}

.cto .h-section-paper {
  background: var(--color-paper);
  color: var(--color-paper-ink);
}

.cto .h-section-deep {
  background: var(--color-paper-deep);
  color: var(--color-paper-ink);
}

.cto .h-section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.cto .h-eyebrow {
  margin: 0 0 var(--space-3);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--color-emerald);
}

.cto .h-section-paper .h-eyebrow,
.cto .h-section-deep .h-eyebrow {
  color: var(--color-emerald-deep);
}

.cto .h-display,
.cto .h-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}

.cto .h-display {
  font-size: var(--text-display);
  line-height: var(--leading-display);
}

.cto .h-title {
  font-size: var(--text-h2);
  line-height: var(--leading-title);
}

.cto .h-lede {
  margin: var(--space-4) 0 0;
  max-width: 40rem;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: var(--leading-body);
  color: var(--color-ink-muted);
}

.cto .h-section-paper .h-lede,
.cto .h-section-deep .h-lede {
  color: var(--color-paper-muted);
}

.cto .h-accent {
  color: var(--color-emerald);
  font-style: normal;
}

.cto .h-section-paper .h-accent,
.cto .h-section-deep .h-accent {
  color: var(--color-emerald-deep);
}

@supports (animation-timeline: view()) {
  html.h-motion .cto .h-reveal {
    animation: h-rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}

@keyframes h-rise {
  from {
    opacity: 0;
    transform: translateY(var(--rise));
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Hero */

.cto .h-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(61, 214, 140, 0.16), transparent 60%),
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  border-bottom-left-radius: var(--radius-section);
  border-bottom-right-radius: var(--radius-section);
}

.cto .h-hero-title {
  max-width: 11em;
  font-size: clamp(2.75rem, 6.4vw, 4.25rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.cto .h-hero-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: end;
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.cto .h-hero-grid > * {
  min-width: 0;
}

.cto .h-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 40rem;
}

.cto .h-hero .h-lede {
  max-width: 32rem;
  margin-top: 1.35rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.cto .h-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
}

.cto .h-points {
  list-style: none;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  color: var(--color-ink-faint);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.cto .h-hero .h-stage {
  display: flex;
  flex-direction: column;
  height: min(42rem, 76svh);
  min-height: 28rem;
}

.cto .h-hero .h-stage-viewport {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

@media (min-width: 720px) {
  .cto .h-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .cto .h-hero .h-wrap {
    width: min(90rem, 100%);
  }

  .cto .h-hero-grid {
    grid-template-columns: minmax(0, 32rem) minmax(0, 1fr);
    align-items: stretch;
    height: max(40rem, calc(100svh - 8.5rem));
    padding-bottom: clamp(2.25rem, 4vw, 3.5rem);
  }

  .cto .h-hero .h-stage {
    height: 100%;
    min-height: 0;
    align-self: stretch;
  }
}

/* Proof band */

.cto .h-bridge {
  position: relative;
  z-index: 0;
  margin-top: calc(var(--radius-section) * -1);
  padding: calc(var(--radius-section) + 2.75rem) 0 3rem;
  background: var(--color-paper);
  color: var(--color-paper-ink);
}

.cto .h-bridge p {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

/* Product stage and numbered tabs */

.cto .h-stage {
  background: var(--color-bg-panel);
  color: var(--color-ink);
  border: var(--border-dark);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-stage);
  min-width: 0;
  container-type: inline-size;
  transition: box-shadow var(--duration-hover) var(--ease-out);
}

.cto .h-stage:hover,
.cto .h-stage:focus-within {
  box-shadow: var(--shadow-stage), inset 0 0 0 1px rgba(61, 214, 140, 0.45);
}

.cto .h-stage-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-4) 0;
}

.cto .h-tabs {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: var(--space-2);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.cto .h-tabs::-webkit-scrollbar {
  display: none;
}

.cto .h-tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid transparent;
  background: #1c212b;
  color: #c5ccd6;
  font: inherit;
  flex: none;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.22rem 0.6rem 0.22rem 0.22rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--duration-hover) var(--ease-out), color var(--duration-hover) var(--ease-out);
}

.cto .h-tab:hover {
  background: #262c38;
  color: var(--color-ink);
}

.cto .h-tab-index {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.cto .h-tab[aria-pressed="true"] {
  background: var(--color-emerald);
  color: var(--color-emerald-ink);
}

.cto .h-tab[aria-pressed="true"] .h-tab-index {
  background: var(--color-emerald-ink);
  color: var(--color-emerald);
}

.cto .h-tab[aria-pressed="true"]:hover {
  background: var(--color-emerald-hover);
  color: var(--color-emerald-ink);
}

.cto .h-stage-arrows {
  display: flex;
  flex: none;
  gap: var(--space-2);
}

.cto .h-stage-viewport {
  overflow: hidden;
}

.cto .h-stage-track {
  display: flex;
  width: 100%;
  transform: translateX(calc(var(--stage, 0) * -100%));
  transition: transform var(--duration-slide) var(--ease-out);
}

.cto .h-stage-track.is-instant {
  transition: none;
}

.cto .h-stage-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: var(--space-4);
}

.cto .h-stage-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: var(--border-dark);
}

.cto .h-stage-repo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-size: var(--text-eyebrow);
  color: var(--color-ink-faint);
}

.cto .h-stage-repo strong {
  color: var(--color-ink-muted);
  font-weight: 500;
}

.cto .h-stage-dots {
  display: inline-flex;
  gap: 0.25rem;
  margin-right: 0.35rem;
}

.cto .h-stage-dots span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-emerald);
}

.cto .h-stage-dots span:first-child {
  background: var(--color-nogo);
}

.cto .h-verdict {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-pill);
}

.cto .h-verdict-nogo {
  background: var(--color-nogo-pill);
  color: var(--color-nogo-pill-text);
  border: 1px solid rgba(159, 18, 57, 0.7);
}

.cto .h-verdict-unproven {
  background: var(--color-unproven-pill);
  color: var(--color-unproven-pill-text);
  border: 1px solid rgba(6, 95, 70, 0.7);
}

.cto .h-stage-grid {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-4);
  min-width: 0;
  max-width: 100%;
}

.cto .h-stage-grid > * {
  min-width: 0;
}

.cto .h-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-faint);
}

.cto .h-section-paper .h-kicker,
.cto .h-section-deep .h-kicker {
  color: var(--color-emerald-deep);
}

.cto .h-verdict-large {
  margin: var(--space-2) 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--tracking-display);
}

.cto .h-verdict-large.is-nogo {
  color: var(--color-nogo);
}

.cto .h-verdict-large.is-unproven {
  color: var(--color-unproven);
}

.cto .h-hold {
  margin: var(--space-2) 0 0;
  font-size: var(--text-small);
  font-weight: 600;
}

.cto .h-stage-col .h-kicker + .h-finding,
.cto .h-finding {
  margin-top: var(--space-2);
}

.cto .h-stage-col > .h-kicker:not(:first-child) {
  margin-top: var(--space-5);
}

.cto .h-finding {
  border: var(--border-dark);
  background: #10141b;
  border-radius: var(--radius-md);
  padding: 0.8rem 0.9rem;
}

.cto .h-finding-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.cto .h-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.cto .h-tag-nogo {
  background: var(--color-nogo-bg);
  color: var(--color-nogo);
}

.cto .h-tag-unproven {
  background: var(--color-unproven-bg);
  color: var(--color-unproven);
}

.cto .h-tag-pass {
  background: rgba(61, 214, 140, 0.12);
  color: var(--color-emerald);
  flex: none;
}

.cto .h-rule-id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-ink-faint);
}

.cto .h-finding-title {
  margin: var(--space-2) 0 0;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.4;
}

.cto .h-finding-rule,
.cto .h-fix,
.cto .h-check-detail {
  margin: 0.25rem 0 0;
  font-size: var(--text-eyebrow);
  line-height: 1.5;
  color: var(--color-ink-faint);
}

.cto .h-fix {
  font-size: var(--text-small);
  color: var(--color-ink-muted);
}

.cto .h-checks {
  list-style: none;
  margin: var(--space-3) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.cto .h-check {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  border: var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
}

.cto .h-check-name {
  display: block;
  font-size: var(--text-eyebrow);
  font-weight: 600;
  color: var(--color-ink);
}

.cto .h-fix-loc {
  margin: var(--space-2) 0 0;
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  color: var(--color-ink-muted);
}

.cto .h-diff {
  max-width: 100%;
  min-width: 0;
  max-height: 9.5rem;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  margin-top: var(--space-3);
  background: #0b0d12;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 10px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.65;
}

.cto .h-line {
  display: flex;
  gap: 10px;
  padding: 0 12px;
  white-space: pre;
  min-width: max-content;
}

.cto .h-line span:last-child {
  white-space: pre;
}

@media (max-width: 639px) {
  .cto .h-tabs {
    flex-wrap: wrap;
    overflow: visible;
  }
}

.cto .h-mark {
  width: 12px;
  flex: none;
  color: #6b7280;
}

.cto .h-line-file { color: #9aa3b2; padding-bottom: 6px; }
.cto .h-line-ctx { color: #e7ebf0; }
.cto .h-line-add { background: rgba(16, 90, 62, 0.55); color: #d1fae5; }
.cto .h-line-del { background: rgba(127, 29, 29, 0.45); color: #ffe4e6; }

.cto .h-stage-note {
  margin: 0.35rem 0 0;
  padding: 0 var(--space-4) var(--space-4);
  text-align: center;
  font-size: 11px;
  color: var(--color-ink-faint);
}

@container (max-width: 700px) {
  .cto .h-tabs {
    flex-wrap: wrap;
    overflow: visible;
  }
}

@container (min-width: 660px) {
  .cto .h-stage-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
  }
}

/* Pillars, panels, steps */

.cto .h-pillars {
  display: grid;
  gap: var(--space-6);
}

.cto .h-pillar {
  margin: 0;
  padding-top: var(--space-4);
  border-top: var(--border-paper);
}

.cto .h-pillar h3,
.cto .h-panel h3,
.cto .h-step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cto .h-pillar p,
.cto .h-panel p,
.cto .h-step p {
  margin: var(--space-3) 0 0;
  font-size: var(--text-small);
  line-height: var(--leading-body);
  color: var(--color-paper-muted);
}

.cto .h-panels {
  display: grid;
  gap: var(--space-4);
}

.cto .h-panel {
  margin: 0;
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: var(--radius-lg);
  min-width: 0;
}

.cto .h-section-dark .h-panel {
  background: var(--color-bg-panel);
  border: var(--border-dark);
}

.cto .h-section-dark .h-panel p,
.cto .h-section-dark .h-step p,
.cto .h-section-paper .h-panel-featured p,
.cto .h-cta .h-lede {
  color: var(--color-ink-muted);
}

.cto .h-section-dark .h-panel-featured {
  background: #101c18;
  box-shadow: inset 0 0 0 1px var(--color-emerald);
}

.cto .h-section-dark .h-panel-featured .h-kicker {
  color: var(--color-emerald);
}

.cto .h-section-paper .h-panel,
.cto .h-section-deep .h-panel {
  background: var(--color-paper-raised);
  border: var(--border-paper);
  box-shadow: var(--shadow-sm);
}

.cto .h-section-paper .h-panel-featured {
  background: var(--color-bg);
  color: var(--color-ink);
  border-color: transparent;
  box-shadow: var(--shadow-stage);
}

.cto .h-section-paper .h-panel-featured .h-kicker {
  color: var(--color-emerald);
}

.cto .h-panel .h-kicker {
  margin-bottom: var(--space-3);
}

.cto .h-panel-meta {
  margin: var(--space-2) 0 0;
  font-size: var(--text-eyebrow);
  color: var(--color-ink-faint);
}

.cto .h-section-paper .h-panel-meta,
.cto .h-section-deep .h-panel-meta {
  color: var(--color-paper-muted);
}

.cto .h-section-paper .h-panel-featured .h-panel-meta {
  color: var(--color-ink-muted);
}

.cto .h-panels-tiers .h-panel h3 {
  margin-top: 0;
}

@media (min-width: 800px) {
  .cto .h-pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-7);
  }

  .cto .h-panels-tiers {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .cto .h-panels-bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .cto .h-panels-bento .h-panel:nth-child(1) { grid-column: span 4; }
  .cto .h-panels-bento .h-panel:nth-child(2) { grid-column: span 2; }
  .cto .h-panels-bento .h-panel:nth-child(n + 3) { grid-column: span 3; }
}

.cto .h-how {
  display: grid;
  gap: var(--space-8);
}

.cto .h-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-6);
}

.cto .h-step-num {
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--tracking-display);
  color: var(--color-emerald);
}

.cto .h-section-paper .h-step-num,
.cto .h-section-deep .h-step-num {
  color: var(--color-emerald-deep);
}

.cto .h-rules {
  background: var(--color-bg-panel);
  border: var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.5rem 1.7rem;
  box-shadow: var(--shadow-md);
}

.cto .h-rules h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 500;
  color: var(--color-ink);
}

.cto .h-rules ul {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.cto .h-rules li {
  padding-top: var(--space-3);
  border-top: var(--border-dark);
  font-size: var(--text-small);
  color: var(--color-ink-muted);
}

@media (min-width: 960px) {
  .cto .h-how {
    grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.8fr);
    align-items: start;
  }
}

/* Below the hero: argument, product tabs, platform, verdicts */

.cto .h-tiers {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  border-top: var(--border-paper);
}

.cto .h-tiers li {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 0.75rem 1.25rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: var(--border-paper);
  color: var(--color-paper-muted);
  font-size: 0.975rem;
  line-height: 1.5;
}

.cto .h-tiers span {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-paper-ink);
}

.cto .h-tiers .is-helix span {
  color: var(--color-emerald-deep);
}

.cto .h-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cto .h-detail-tab {
  text-decoration: none;
}

.cto .h-detail-tab[aria-selected="true"] {
  background: var(--color-emerald);
  color: var(--color-emerald-ink);
}

.cto .h-detail-tab[aria-selected="true"] .h-tab-index {
  background: var(--color-emerald-ink);
  color: var(--color-emerald);
}

.cto .h-detail-tab[aria-selected="true"]:hover {
  background: var(--color-emerald-hover);
  color: var(--color-emerald-ink);
}

.cto .h-detail-panels {
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.cto .h-detail-panel {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

html.js .cto .h-detail-panel:not(.is-selected) {
  display: none;
}

html.js .cto .h-detail-panel.is-selected,
html.js .cto .h-detail-panel:target {
  display: grid;
}

html.h-motion .cto .h-detail.is-enhanced .h-detail-panel.is-selected {
  animation: h-panel-in var(--duration-slide) var(--ease-out);
}

@keyframes h-panel-in {
  from { transform: translateY(8px); }
  to { transform: none; }
}

.cto .h-detail-copy > h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 2.8vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.cto .h-detail-copy .h-steps {
  margin-top: 1.75rem;
}

.cto .h-detail-copy > p {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: var(--color-paper-muted);
}

.cto .h-detail-copy .h-btn {
  margin-top: 1.5rem;
}

.cto .h-detail-aside {
  background: var(--color-bg);
  color: var(--color-ink);
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.35rem 1.5rem;
  min-width: 0;
}

.cto .h-detail-aside h3 {
  color: var(--color-ink);
}

.cto .h-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.cto .h-detail-list li {
  display: grid;
  gap: 0.15rem 0.75rem;
  padding-top: 0.85rem;
  border-top: var(--border-dark);
}

.cto .h-detail-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.cto .h-detail-list li:has(.h-tag) {
  grid-template-columns: auto minmax(0, 1fr);
}

.cto .h-detail-list .h-tag {
  grid-row: span 2;
  align-self: start;
  margin-top: 0.2rem;
}

.cto .h-detail-list strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.cto .h-detail-list li > span:last-child {
  color: var(--color-ink-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.cto .h-platform-grid,
.cto .h-verdicts {
  display: grid;
  gap: 1rem;
}

.cto .h-platform-card,
.cto .h-verdict-block {
  margin: 0;
  min-width: 0;
  padding: 1.5rem 1.35rem 1.65rem;
  border-radius: var(--radius-xl);
}

.cto .h-platform-card {
  background: var(--color-bg-panel);
  border: var(--border-dark);
}

.cto .h-platform-card .h-kicker {
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--color-emerald);
}

.cto .h-platform-card h3,
.cto .h-verdict-block h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.cto .h-platform-card h3 {
  font-size: var(--text-h3);
}

.cto .h-platform-card p,
.cto .h-platform-card li {
  color: var(--color-ink-muted);
  font-size: var(--text-small);
  line-height: 1.55;
}

.cto .h-platform-card p {
  margin: 0.85rem 0 0;
}

.cto .h-platform-card ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.cto .h-platform-card li {
  margin: 0;
  padding-top: 0.55rem;
  border-top: var(--border-dark);
}

.cto .h-verdict-block {
  background: var(--color-paper-raised);
  border: var(--border-paper);
}

.cto .h-verdict-block h3 {
  font-size: clamp(2.4rem, 4vw, 3.25rem);
  color: var(--color-paper-ink);
}

.cto .h-verdict-block.is-nogo h3 {
  color: #9f1239;
}

.cto .h-verdict-block.is-unproven h3 {
  color: var(--color-emerald-deep);
}

.cto .h-verdict-block p {
  margin: 1rem 0 0;
  color: var(--color-paper-muted);
  font-size: var(--text-small);
  line-height: 1.6;
}

.cto .h-flow {
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  padding: 1.15rem 1.15rem 1.3rem;
  border-radius: var(--radius-xl);
  background: var(--color-bg);
  color: var(--color-ink);
  min-height: 18rem;
}

.cto .h-flow figcaption {
  margin: 0 0 1rem;
  max-width: 46rem;
  color: var(--color-ink-muted);
  font-size: var(--text-small);
  line-height: 1.5;
}

.cto .h-flow-steps {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}

.cto .h-flow-step {
  min-width: 0;
  max-width: 100%;
  padding: 0.9rem 0.95rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--color-bg-panel);
  border: var(--border-dark);
  transition: border-color var(--duration-hover) var(--ease-out);
}

.cto .h-flow-step:hover {
  border-color: rgba(61, 214, 140, 0.55);
}

.cto .h-flow-step .h-kicker {
  margin-bottom: 0.7rem;
  color: var(--color-emerald);
}

.cto .h-flow-step ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.cto .h-flow-step li,
.cto .h-flow-step p {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: var(--text-small);
  line-height: 1.45;
}

.cto .h-flow-code {
  max-width: 100%;
  max-height: 8.5rem;
  margin: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 0.75rem 0.8rem;
  border-radius: var(--radius-md);
  background: #0b0d12;
  color: #d1fae5;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  white-space: pre;
}

.cto .h-flow-step .h-flow-verdict {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-nogo);
}

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

  .cto .h-flow-step:first-child {
    grid-column: 1 / -1;
  }

  .cto .h-flow-step:not(:first-child) {
    position: relative;
  }

  .cto .h-flow-step:nth-child(2)::after,
  .cto .h-flow-step:nth-child(3)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -0.62rem;
    width: 0.45rem;
    height: 0.45rem;
    border-top: 1.5px solid rgba(61, 214, 140, 0.75);
    border-right: 1.5px solid rgba(61, 214, 140, 0.75);
    transform: translateY(-50%) rotate(45deg);
  }
}

.cto .h-cta .h-title {
  font-size: clamp(2.6rem, 5vw, 4.15rem);
  line-height: 0.98;
}

@media (max-width: 640px) {
  .cto .h-tiers li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (min-width: 900px) {
  .cto .h-detail-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  }

  .cto .h-platform-grid,
  .cto .h-verdicts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

/* FAQ */

.cto .h-faq {
  max-width: var(--content-narrow);
  border-top: var(--border-paper);
}

.cto .h-faq details {
  border-bottom: var(--border-paper);
}

.cto .h-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: 1.15rem 0;
  font-weight: 600;
  line-height: 1.4;
}

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

.cto .h-faq summary::after {
  content: "+";
  color: var(--color-paper-muted);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1;
}

.cto .h-faq details[open] summary::after {
  content: "–";
}

.cto .h-faq details p {
  margin: 0;
  padding: 0 0 1.15rem;
  max-width: 38rem;
  color: var(--color-paper-muted);
  font-size: 0.975rem;
  line-height: var(--leading-body);
}

/* Closing CTA and footer */

.cto .h-cta {
  background:
    radial-gradient(ellipse 40% 50% at 100% 100%, rgba(61, 214, 140, 0.12), transparent 60%),
    var(--color-bg);
  color: var(--color-ink);
  padding-block: var(--section-pad);
}

.cto .h-cta-grid {
  display: grid;
  gap: var(--space-7);
}

.cto .h-form {
  display: grid;
  gap: 0.9rem;
  width: min(100%, var(--content-form));
}

.cto .h-field {
  display: grid;
  gap: 0.35rem;
}

.cto .h-field label {
  font-size: var(--text-eyebrow);
  font-weight: 600;
  color: var(--color-ink-muted);
}

.cto .h-field label span {
  font-weight: 400;
  color: var(--color-ink-faint);
}

.cto .h-form input {
  width: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-sm);
  color: var(--color-ink);
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-size: var(--text-small);
}

.cto .h-form input:focus {
  outline: var(--focus-width) solid var(--color-focus);
  outline-offset: 1px;
}

.cto .h-form-error {
  margin: 0;
  font-size: var(--text-eyebrow);
  color: var(--color-nogo);
}

.cto .h-form .h-btn {
  width: 100%;
}

.cto .h-form .h-btn:disabled {
  opacity: 0.7;
  cursor: progress;
}

.cto .h-success {
  width: min(100%, var(--content-form));
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--color-bg-panel);
  border: var(--border-dark);
}

.cto .h-success p {
  margin: 0.35rem 0 0;
  color: var(--color-ink-muted);
  font-size: var(--text-small);
}

.cto .h-honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

@media (min-width: 900px) {
  .cto .h-cta-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    align-items: start;
    gap: var(--space-8);
  }
}

.cto .h-footer {
  background: var(--color-bg-footer);
  color: var(--color-ink-muted);
  padding: clamp(3rem, 6vw, 5rem) 0 var(--space-8);
  border-top: var(--border-dark);
}

.cto .h-footer-grid {
  display: grid;
  gap: var(--space-6);
}

.cto .h-footer p {
  margin: var(--space-4) 0 0;
  max-width: 24rem;
  font-size: var(--text-small);
  line-height: var(--leading-body);
}

.cto .h-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  align-content: start;
}

.cto .h-footer a:not(.h-logo) {
  color: var(--color-ink-muted);
  text-decoration: none;
  font-size: var(--text-small);
}

.cto .h-footer a:not(.h-logo):hover {
  color: var(--color-ink);
}

@media (min-width: 800px) {
  .cto .h-footer-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .cto .h-footer nav {
    justify-content: flex-end;
  }
}

/* Preview page */

.cto .h-preview-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--gutter) 0;
}

.cto .h-preview-bar > a:not(.h-logo) {
  color: var(--color-emerald);
  font-size: var(--text-small);
  font-weight: 600;
  text-decoration: none;
}

.cto .h-token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: var(--space-3);
}

.cto .h-swatch {
  border-radius: var(--radius-lg);
  border: var(--border-dark);
  overflow: hidden;
  background: var(--color-bg-panel);
}

.cto .h-swatch-chip {
  height: 4.5rem;
  background: var(--swatch);
}

.cto .h-swatch figcaption {
  padding: 0.7rem 0.8rem 0.85rem;
}

.cto .h-swatch code,
.cto .h-spec code {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-ink-muted);
}

.cto .h-swatch .h-token-value,
.cto .h-spec span {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--text-eyebrow);
  color: var(--color-ink-faint);
}

.cto .h-type-row {
  padding: var(--space-4) 0;
  border-top: var(--border-dark);
}

.cto .h-type-row [data-sample] {
  margin: 0.35rem 0 0;
  color: var(--color-ink-faint);
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
}

.cto .h-spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.cto .h-spec {
  min-width: 7rem;
}

.cto .h-radius-demo,
.cto .h-shadow-demo {
  width: 7rem;
  height: 4rem;
  background: var(--color-bg-panel);
  border: var(--border-dark);
}

.cto .h-contrast {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-small);
}

.cto .h-contrast th,
.cto .h-contrast td {
  text-align: left;
  padding: 0.7rem 0.6rem;
  border-bottom: var(--border-dark);
  vertical-align: top;
}

.cto .h-contrast th {
  color: var(--color-ink-faint);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cto .is-fail {
  color: var(--color-nogo);
  font-weight: 700;
}

.cto .is-pass {
  color: var(--color-emerald);
  font-weight: 700;
}

.cto .h-demo-frame {
  border-radius: var(--radius-xl);
  border: var(--border-dark);
  overflow: hidden;
}

@media (max-width: 719px) {
  .cto .h-hero .h-actions .h-btn-primary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .cto .h-nav,
  .cto .h-btn,
  .cto .h-tab,
  .cto .h-nav-toggle span,
  .cto .h-stage,
  .cto .h-stage-track,
  .cto .h-flow-step,
  .cto .h-detail-panel,
  .cto .h-reveal {
    transition: none !important;
    animation: none !important;
  }

  .cto .h-detail-panel,
  .cto .h-reveal {
    transform: none !important;
  }
}
