/* TrialVyx — tvx.css — full-site stylesheet */

/* =========================================
   0. CSS Custom Properties
   ========================================= */
:root {
  --bg-void: #0F1C2E;
  --bg-deep: #152235;
  --bg-panel: #1C2D43;
  --bg-surface: #F4F6F9;
  --bg-white: #FFFFFF;
  --bg-parchment: #F8F6F1;

  --signal-amber: #C4821A;
  --signal-amber-dim: #A06A10;

  --clearance-teal: #2D7D6F;
  --clearance-teal-light: #3A9E8E;

  --text-on-dark-primary: #E8EDF4;
  --text-on-dark-secondary: #8EA4BE;
  --text-on-dark-muted: #5A7A99;

  --text-on-light-primary: #1A2D45;
  --text-on-light-secondary: #3D5A78;
  --text-on-light-muted: #6B8AAA;

  --border-dark: #2A3E58;
  --border-light: #D5DDE8;

  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;

  --max-content: 1200px;
  --radius: 0px;

  --section-py: 96px;
  --section-py-mobile: 64px;
}

/* =========================================
   1. Reset & Base
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-on-light-primary);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

/* =========================================
   2. Typography Base
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
}

.tvx-mono {
  font-family: var(--font-mono);
  font-weight: 400;
}

/* =========================================
   3. Container
   ========================================= */
.tvx-container {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

@media (min-width: 768px) {
  .tvx-container {
    padding: 0 var(--space-6);
  }
}

/* =========================================
   4. Nav
   ========================================= */
.tvx-nav {
  position: relative;
  z-index: 100;
  padding: 0;
  border-bottom: 1px solid transparent;
}

.tvx-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

@media (min-width: 768px) {
  .tvx-nav__inner {
    padding: 0 var(--space-6);
  }
}

.tvx-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tvx-nav__logo img {
  height: 36px;
  width: auto;
}

.tvx-nav__links {
  display: none;
  align-items: center;
  gap: var(--space-4);
}

@media (min-width: 900px) {
  .tvx-nav__links {
    display: flex;
  }
}

.tvx-nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.tvx-nav__link:hover {
  opacity: 0.75;
}

.tvx-nav__ctas {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.tvx-nav__ctas {
  display: none;
}

@media (min-width: 900px) {
  .tvx-nav__ctas {
    display: flex;
  }
}

.tvx-nav__mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-1);
  width: 36px;
  cursor: pointer;
}

@media (min-width: 900px) {
  .tvx-nav__mobile-toggle {
    display: none;
  }
}

.tvx-nav__mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  transition: transform 0.25s, opacity 0.25s;
}

.tvx-nav__mobile-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.tvx-nav__mobile-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.tvx-nav__mobile-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.tvx-nav__mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

.tvx-nav__mobile-menu.is-open {
  display: flex;
}

@media (min-width: 900px) {
  .tvx-nav__mobile-menu {
    display: none !important;
  }
}

.tvx-nav__mobile-link {
  display: block;
  font-weight: 500;
  font-size: 1rem;
  padding: var(--space-2) var(--space-3);
  border-top: 1px solid;
}

.tvx-nav__mobile-ctas {
  padding: var(--space-2) var(--space-3) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* Dark-top nav theme */
.tvx-page--dark-top .tvx-nav {
  background-color: var(--bg-void);
}

.tvx-page--dark-top .tvx-nav__link {
  color: var(--text-on-dark-secondary);
}

.tvx-page--dark-top .tvx-nav__link:hover {
  color: var(--text-on-dark-primary);
  opacity: 1;
}

.tvx-page--dark-top .tvx-nav__mobile-toggle span {
  background-color: var(--text-on-dark-secondary);
}

.tvx-page--dark-top .tvx-nav__mobile-menu {
  background-color: var(--bg-deep);
}

.tvx-page--dark-top .tvx-nav__mobile-link {
  color: var(--text-on-dark-primary);
  border-top-color: var(--border-dark);
}

.tvx-page--dark-top .tvx-nav__mobile-link:hover {
  background-color: var(--bg-panel);
}

.tvx-page--dark-top .tvx-nav__mobile-ctas {
  border-top: 1px solid var(--border-dark);
}

/* Light-top nav theme */
.tvx-page--light-top .tvx-nav {
  background-color: var(--bg-white);
  border-bottom-color: var(--border-light);
}

.tvx-page--light-top .tvx-nav__link {
  color: var(--text-on-light-secondary);
}

.tvx-page--light-top .tvx-nav__link:hover {
  color: var(--text-on-light-primary);
  opacity: 1;
}

.tvx-page--light-top .tvx-nav__mobile-toggle span {
  background-color: var(--text-on-light-secondary);
}

.tvx-page--light-top .tvx-nav__mobile-menu {
  background-color: var(--bg-surface);
}

.tvx-page--light-top .tvx-nav__mobile-link {
  color: var(--text-on-light-primary);
  border-top-color: var(--border-light);
}

.tvx-page--light-top .tvx-nav__mobile-link:hover {
  background-color: var(--bg-parchment);
}

.tvx-page--light-top .tvx-nav__mobile-ctas {
  border-top: 1px solid var(--border-light);
}

/* =========================================
   5. Buttons
   ========================================= */
.tvx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 10px 22px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}

.tvx-btn--primary {
  background-color: var(--signal-amber);
  color: var(--bg-void);
  border-color: var(--signal-amber);
}

.tvx-btn--primary:hover {
  background-color: var(--signal-amber-dim);
  border-color: var(--signal-amber-dim);
  color: var(--bg-void);
}

.tvx-btn--ghost-dark {
  background: transparent;
  color: var(--text-on-dark-secondary);
  border-color: var(--border-dark);
}

.tvx-btn--ghost-dark:hover {
  color: var(--text-on-dark-primary);
  border-color: var(--text-on-dark-secondary);
}

.tvx-btn--ghost-light {
  background: transparent;
  color: var(--text-on-light-secondary);
  border-color: var(--border-light);
}

.tvx-btn--ghost-light:hover {
  color: var(--text-on-light-primary);
  border-color: var(--text-on-light-secondary);
}

.tvx-btn--outline-dark {
  background: transparent;
  color: var(--text-on-light-primary);
  border-color: var(--text-on-light-primary);
}

.tvx-btn--outline-dark:hover {
  background: var(--text-on-light-primary);
  color: var(--bg-white);
}

.tvx-btn--lg {
  font-size: 1rem;
  padding: 14px 32px;
}


/* =========================================
   6. Section Backgrounds
   ========================================= */
.tvx-section--dark {
  background-color: var(--bg-void);
  color: var(--text-on-dark-primary);
}

.tvx-section--dark-alt {
  background-color: var(--bg-deep);
  color: var(--text-on-dark-primary);
}

.tvx-section--light {
  background-color: var(--bg-surface);
  color: var(--text-on-light-primary);
}

.tvx-section--white {
  background-color: var(--bg-white);
  color: var(--text-on-light-primary);
}

/* Section padding */
.tvx-section {
  padding: var(--section-py) 0;
}

@media (max-width: 767px) {
  .tvx-section {
    padding: var(--section-py-mobile) 0;
  }
}

/* =========================================
   7. Section Headlines
   ========================================= */
.tvx-section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.tvx-section--dark .tvx-section-eyebrow,
.tvx-section--dark-alt .tvx-section-eyebrow {
  color: var(--signal-amber);
}

.tvx-section--light .tvx-section-eyebrow,
.tvx-section--white .tvx-section-eyebrow {
  color: var(--signal-amber);
}

.tvx-section-headline {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: var(--space-3);
}

.tvx-section--dark .tvx-section-headline,
.tvx-section--dark-alt .tvx-section-headline {
  color: var(--text-on-dark-primary);
}

.tvx-section--light .tvx-section-headline,
.tvx-section--white .tvx-section-headline {
  color: var(--text-on-light-primary);
}

.tvx-section-subhead {
  font-weight: 300;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  max-width: 640px;
}

.tvx-section--dark .tvx-section-subhead,
.tvx-section--dark-alt .tvx-section-subhead {
  color: var(--text-on-dark-secondary);
}

.tvx-section--light .tvx-section-subhead,
.tvx-section--white .tvx-section-subhead {
  color: var(--text-on-light-secondary);
}

.tvx-section-header {
  margin-bottom: var(--space-8);
}



/* =========================================
   8. Hero — Index
   ========================================= */
.tvx-hero {
  background-color: var(--bg-void);
  padding: var(--space-12) 0 var(--space-10);
  overflow: hidden;
}

.tvx-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

@media (min-width: 768px) {
  .tvx-hero__inner {
    padding: 0 var(--space-6);
  }
}

@media (min-width: 960px) {
  .tvx-hero__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-10);
  }
}

.tvx-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.tvx-hero__headline {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  color: var(--text-on-dark-primary);
}

.tvx-hero__headline em {
  font-style: italic;
  color: var(--signal-amber);
}

.tvx-hero__subhead {
  font-weight: 300;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  color: var(--text-on-dark-secondary);
  max-width: 560px;
}

.tvx-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  margin-top: var(--space-2);
}

.tvx-hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-dark);
}

.tvx-hero__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tvx-hero__metric-value {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--signal-amber);
}

.tvx-hero__metric-label {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.04em;
}

.tvx-hero__media {
  position: relative;
}

.tvx-hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center;
}

/* =========================================
   9. Sub-page Hero
   ========================================= */
.tvx-page-hero {
  padding: var(--space-10) 0 var(--space-8);
}

.tvx-page-hero--dark {
  background-color: var(--bg-void);
}

.tvx-page-hero--light {
  background-color: var(--bg-surface);
}

.tvx-page-hero__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--space-3);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .tvx-page-hero__inner {
    padding: 0 var(--space-6);
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.tvx-page-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tvx-page-hero__headline {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.15;
}

.tvx-page-hero--dark .tvx-page-hero__headline {
  color: var(--text-on-dark-primary);
}

.tvx-page-hero--light .tvx-page-hero__headline {
  color: var(--text-on-light-primary);
}

.tvx-page-hero__subhead {
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
}

.tvx-page-hero--dark .tvx-page-hero__subhead {
  color: var(--text-on-dark-secondary);
}

.tvx-page-hero--light .tvx-page-hero__subhead {
  color: var(--text-on-light-secondary);
}

.tvx-page-hero__visual {
  display: flex;
  justify-content: flex-end;
}

.tvx-page-hero__visual img {
  width: 100%;
  max-width: 540px;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
}

/* Sub-page hero visual anchor — dark ornament */
.tvx-page-hero__ornament {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--border-dark);
}

.tvx-page-hero__ornament--light {
  border-color: var(--border-light);
  background-color: var(--bg-white);
}

.tvx-page-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tvx-page-hero__stat-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--signal-amber);
}

.tvx-page-hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.05em;
}

.tvx-page-hero__ornament--light .tvx-page-hero__stat-label {
  color: var(--text-on-light-muted);
}

/* =========================================
   10. Problem Section
   ========================================= */
.tvx-problem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 768px) {
  .tvx-problem__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tvx-problem__diagram {
  position: relative;
  height: 240px;
  border: 1px solid var(--border-dark);
  overflow: hidden;
}

.tvx-problem__diagram-inner {
  width: 100%;
  height: 100%;
}

.tvx-problem__headline {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.3;
  color: var(--text-on-dark-primary);
  margin-bottom: var(--space-3);
}

.tvx-problem__body {
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-on-dark-secondary);
}

.tvx-problem__body p + p {
  margin-top: var(--space-2);
}

/* =========================================
   11. How It Works — 3-step flow
   ========================================= */
.tvx-how__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

@media (min-width: 768px) {
  .tvx-how__steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tvx-how__step {
  padding: var(--space-5) var(--space-4);
  border: 1px solid var(--border-light);
  border-top: 3px solid transparent;
  position: relative;
}

.tvx-how__step--active {
  border-top-color: var(--signal-amber);
}

.tvx-how__step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--signal-amber);
  margin-bottom: var(--space-2);
  display: block;
}

.tvx-how__step-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-on-light-primary);
  margin-bottom: var(--space-2);
}

.tvx-how__step-body {
  font-size: 0.9rem;
  color: var(--text-on-light-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.tvx-how__step-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-on-light-muted);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 4px 8px;
  display: inline-block;
}

/* =========================================
   12. Signal Features (asymmetric 2+2)
   ========================================= */
.tvx-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .tvx-features {
    grid-template-columns: 1fr 1fr;
  }
}

.tvx-feature {
  padding: var(--space-5);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tvx-feature--large {
  padding: var(--space-6);
}

.tvx-feature__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal-amber);
}

.tvx-feature__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-on-light-primary);
  line-height: 1.3;
}

.tvx-feature__body {
  font-size: 0.9rem;
  color: var(--text-on-light-secondary);
  line-height: 1.7;
}

.tvx-feature__metric {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 500;
  color: var(--signal-amber);
  margin-top: auto;
}

/* =========================================
   13. Integration Strip
   ========================================= */
.tvx-integrations-strip {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-5) 0;
}

.tvx-integrations-strip__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

@media (min-width: 768px) {
  .tvx-integrations-strip__inner {
    padding: 0 var(--space-6);
  }
}

.tvx-integrations-strip__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
  margin-bottom: var(--space-3);
  display: block;
}

.tvx-integrations-strip__logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  align-items: center;
}

.tvx-integrations-strip__logo-item {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-on-light-secondary);
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-white);
}

/* =========================================
   14. Evidence / Metrics Panel
   ========================================= */
.tvx-evidence {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 768px) {
  .tvx-evidence {
    grid-template-columns: 1fr 1fr;
  }
}

.tvx-metrics {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.tvx-metric-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-dark);
}

.tvx-metric-item:last-child {
  border-bottom: none;
}

.tvx-metric-item__value {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--signal-amber);
  line-height: 1;
}

.tvx-metric-item__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-on-dark-secondary);
}

.tvx-metric-item__note {
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
  line-height: 1.5;
}

.tvx-evidence__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tvx-evidence__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text-on-dark-primary);
  line-height: 1.3;
}

.tvx-evidence__body {
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-on-dark-secondary);
}

.tvx-evidence__subnote {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
  padding-top: var(--space-2);
  border-top: 1px solid var(--border-dark);
}

/* =========================================
   15. Testimonials
   ========================================= */
.tvx-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .tvx-testimonials {
    grid-template-columns: 1fr 1fr;
  }
}

.tvx-testimonial {
  padding: var(--space-5);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tvx-testimonial__quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--text-on-light-primary);
}

.tvx-testimonial__attribution {
  font-size: 0.82rem;
  color: var(--text-on-light-muted);
  line-height: 1.5;
}

/* =========================================
   16. CTA Section
   ========================================= */
.tvx-cta-section {
  text-align: center;
  padding: var(--space-12) 0;
}

.tvx-cta-section .tvx-container {
  max-width: 720px;
}

.tvx-cta-section__headline {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.tvx-section--dark .tvx-cta-section__headline {
  color: var(--text-on-dark-primary);
}

.tvx-section--light .tvx-cta-section__headline,
.tvx-section--white .tvx-cta-section__headline {
  color: var(--text-on-light-primary);
}

.tvx-cta-section__subtext {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.tvx-section--dark .tvx-cta-section__subtext {
  color: var(--text-on-dark-secondary);
}

.tvx-section--light .tvx-cta-section__subtext,
.tvx-section--white .tvx-cta-section__subtext {
  color: var(--text-on-light-secondary);
}

.tvx-cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  align-items: center;
}

.tvx-cta-section__contact {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  margin-top: var(--space-3);
}

.tvx-cta-section__contact a {
  color: var(--signal-amber);
  text-decoration: underline;
}

/* =========================================
   17. Footer
   ========================================= */
.tvx-footer {
  background-color: var(--bg-void);
  color: var(--text-on-dark-secondary);
  padding: var(--space-10) 0 0;
}

.tvx-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--space-3);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border-dark);
}

@media (min-width: 768px) {
  .tvx-footer__grid {
    padding: 0 var(--space-6);
    padding-bottom: var(--space-8);
    grid-template-columns: repeat(3, 1fr);
  }
}

.tvx-footer__col-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: var(--space-3);
  display: block;
}

.tvx-footer__col-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tvx-footer__col-link {
  font-size: 0.88rem;
  color: var(--text-on-dark-secondary);
  transition: color 0.2s;
}

.tvx-footer__col-link:hover {
  color: var(--text-on-dark-primary);
}

.tvx-footer__bottom {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
}

@media (min-width: 768px) {
  .tvx-footer__bottom {
    padding: var(--space-4) var(--space-6);
  }
}

.tvx-footer__bottom-copy {
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
}

.tvx-footer__bottom-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.tvx-footer__bottom-legal a {
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
  transition: color 0.2s;
}

.tvx-footer__bottom-legal a:hover {
  color: var(--text-on-dark-secondary);
}

/* =========================================
   18. Platform Page — Architecture
   ========================================= */
.tvx-architecture {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.tvx-arch-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border-light);
}

@media (min-width: 768px) {
  .tvx-arch-item {
    grid-template-columns: 2fr 1fr;
    align-items: center;
  }
}

.tvx-arch-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tvx-arch-item__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal-amber);
  margin-bottom: var(--space-2);
}

.tvx-arch-item__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-on-light-primary);
  margin-bottom: var(--space-2);
}

.tvx-arch-item__body {
  font-size: 0.9rem;
  color: var(--text-on-light-secondary);
  line-height: 1.75;
}

/* =========================================
   19. Data Source Table
   ========================================= */
.tvx-data-table {
  width: 100%;
  border-collapse: collapse;
}

.tvx-data-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
  text-align: left;
  padding: var(--space-2) var(--space-3);
  border-bottom: 2px solid var(--border-light);
  font-weight: 500;
}

.tvx-data-table td {
  font-size: 0.88rem;
  color: var(--text-on-light-secondary);
  padding: var(--space-3);
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.tvx-data-table td:first-child {
  font-weight: 600;
  color: var(--text-on-light-primary);
}

.tvx-data-table .tvx-mono {
  font-size: 0.82rem;
}

.tvx-data-table tr:last-child td {
  border-bottom: none;
}

/* =========================================
   20. Signal Output Mock
   ========================================= */
.tvx-signal-mock {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-dark);
  padding: var(--space-4);
  font-family: var(--font-mono);
}

.tvx-signal-mock__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-dark);
}

.tvx-signal-mock__id {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-on-dark-muted);
}

.tvx-signal-mock__tier {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
}

.tvx-signal-mock__tier--investigate {
  color: var(--signal-amber);
  border: 1px solid var(--signal-amber);
}

.tvx-signal-mock__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  font-size: 0.8rem;
}

.tvx-signal-mock__key {
  color: var(--text-on-dark-muted);
}

.tvx-signal-mock__val {
  color: var(--text-on-dark-primary);
}

.tvx-signal-mock__val--amber {
  color: var(--signal-amber);
}

/* =========================================
   21. API Code Mock
   ========================================= */
.tvx-code-mock {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-dark);
  overflow-x: auto;
}

.tvx-code-mock__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px var(--space-3);
  border-bottom: 1px solid var(--border-dark);
  background-color: var(--bg-deep);
}

.tvx-code-mock__lang {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-on-dark-muted);
}

.tvx-code-mock__copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-on-dark-muted);
  cursor: pointer;
}

.tvx-code-mock pre {
  padding: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-on-dark-primary);
  overflow-x: auto;
  white-space: pre;
}

.tvx-code-mock .json-key { color: var(--clearance-teal-light); }
.tvx-code-mock .json-str { color: #E8B580; }
.tvx-code-mock .json-num { color: var(--signal-amber); }
.tvx-code-mock .json-bool { color: #8EA4BE; }
.tvx-code-mock .json-null { color: var(--text-on-dark-muted); }
.tvx-code-mock .json-bracket { color: var(--text-on-dark-secondary); }

/* =========================================
   22. Case Studies
   ========================================= */
.tvx-case-studies {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .tvx-case-studies {
    grid-template-columns: 1fr 1fr;
  }
}

.tvx-case-card {
  border: 1px solid var(--border-light);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tvx-case-card__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
}

.tvx-case-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-on-light-primary);
  line-height: 1.3;
}

.tvx-case-card__challenge {
  font-size: 0.88rem;
  color: var(--text-on-light-secondary);
  line-height: 1.6;
}

.tvx-case-card__outcome {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--signal-amber);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border-light);
}

.tvx-case-card__attribution {
  font-size: 0.78rem;
  color: var(--text-on-light-muted);
  font-style: italic;
}

/* =========================================
   23. Comparison Table
   ========================================= */
.tvx-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.tvx-compare-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-3);
  border-bottom: 2px solid var(--border-dark);
  font-weight: 500;
  text-align: left;
}

.tvx-compare-table th.tvx-compare-table__ours {
  color: var(--signal-amber);
}

.tvx-compare-table th.tvx-compare-table__std {
  color: var(--text-on-dark-muted);
}

.tvx-compare-table td {
  padding: var(--space-3);
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-on-dark-secondary);
  vertical-align: top;
}

.tvx-compare-table td.tvx-compare-table__feature {
  color: var(--text-on-dark-primary);
  font-weight: 500;
}

.tvx-compare-table td.tvx-compare-table__ours {
  color: var(--signal-amber);
}

/* =========================================
   24. Pricing Tiers
   ========================================= */
.tvx-pricing-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .tvx-pricing-tiers {
    grid-template-columns: 1fr 1fr;
  }
}

.tvx-pricing-card {
  border: 1px solid var(--border-light);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.tvx-pricing-card--featured {
  border-color: var(--signal-amber);
  border-width: 2px;
}

.tvx-pricing-card__tier {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
}

.tvx-pricing-card__name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--text-on-light-primary);
}

.tvx-pricing-card__price {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 500;
  color: var(--text-on-light-primary);
}

.tvx-pricing-card__price-unit {
  font-size: 0.8rem;
  color: var(--text-on-light-muted);
  font-weight: 400;
  font-family: var(--font-body);
  display: block;
  margin-top: 4px;
}

.tvx-pricing-card__price-annual {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--clearance-teal);
}

.tvx-pricing-card__description {
  font-size: 0.9rem;
  color: var(--text-on-light-secondary);
  line-height: 1.6;
}

.tvx-pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.tvx-pricing-card__feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 0.88rem;
  color: var(--text-on-light-secondary);
}

.tvx-pricing-card__feature-item::before {
  content: "—";
  color: var(--signal-amber);
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  margin-top: 1px;
}

.tvx-pricing-card__cta {
  margin-top: auto;
}

/* =========================================
   25. Pricing FAQ (Accordion)
   ========================================= */
.tvx-faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-light);
}

.tvx-faq__item {
  border-bottom: 1px solid var(--border-light);
}

.tvx-faq__question {
  width: 100%;
  text-align: left;
  padding: var(--space-4) var(--space-3) var(--space-4) 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-on-light-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  background: none;
  border: none;
}

.tvx-faq__icon {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-on-light-muted);
  flex-shrink: 0;
  transition: transform 0.25s;
  line-height: 1;
}

.tvx-faq__item.is-open .tvx-faq__icon {
  transform: rotate(45deg);
}

.tvx-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.tvx-faq__answer-inner {
  padding: 0 0 var(--space-4) 0;
  font-size: 0.9rem;
  color: var(--text-on-light-secondary);
  line-height: 1.7;
}

.tvx-faq__item.is-open .tvx-faq__answer {
  max-height: 400px;
}

/* =========================================
   26. About Page — Team
   ========================================= */
.tvx-team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 600px) {
  .tvx-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .tvx-team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tvx-team-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tvx-team-card__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  background-color: var(--bg-surface);
}

.tvx-team-card__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-on-light-primary);
}

.tvx-team-card__title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-on-light-muted);
  letter-spacing: 0.05em;
}

.tvx-founder-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 768px) {
  .tvx-founder-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.tvx-founder-layout__photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  background-color: var(--bg-surface);
}

.tvx-founder-layout__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tvx-founder-layout__name {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--text-on-light-primary);
}

.tvx-founder-layout__role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-on-light-muted);
  letter-spacing: 0.05em;
}

.tvx-founder-layout__body {
  font-size: 0.95rem;
  color: var(--text-on-light-secondary);
  line-height: 1.8;
}

.tvx-founder-layout__body p + p {
  margin-top: var(--space-3);
}

/* Mission quote */
.tvx-mission-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.3;
  color: var(--text-on-dark-primary);
  margin-bottom: var(--space-4);
}

/* =========================================
   27. Blog Listing
   ========================================= */
.tvx-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 600px) {
  .tvx-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .tvx-blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tvx-blog-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}

.tvx-blog-card:hover {
  border-color: var(--signal-amber);
}

.tvx-blog-card__cover {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background-color: var(--bg-surface);
}

.tvx-blog-card__body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.tvx-blog-card__cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal-amber);
}

.tvx-blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-on-light-primary);
  line-height: 1.35;
}

.tvx-blog-card__excerpt {
  font-size: 0.85rem;
  color: var(--text-on-light-secondary);
  line-height: 1.6;
}

.tvx-blog-card__date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-on-light-muted);
  margin-top: auto;
}

/* Blog hero featured */
.tvx-blog-hero__featured {
  margin-top: var(--space-6);
  border: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .tvx-blog-hero__featured {
    grid-template-columns: 1fr 1fr;
  }
}

.tvx-blog-hero__featured-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  background-color: var(--bg-panel);
}

.tvx-blog-hero__featured-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tvx-blog-hero__featured-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal-amber);
}

.tvx-blog-hero__featured-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: var(--text-on-dark-primary);
  line-height: 1.3;
}

.tvx-blog-hero__featured-excerpt {
  font-size: 0.9rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.6;
}

.tvx-blog-hero__featured-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-on-dark-muted);
  margin-top: auto;
}

/* =========================================
   28. Contact Form
   ========================================= */
.tvx-contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .tvx-contact-layout {
    grid-template-columns: 2fr 1fr;
  }
}

.tvx-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.tvx-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.tvx-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
}

.tvx-input,
.tvx-select,
.tvx-textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-on-light-primary);
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: border-color 0.2s;
  width: 100%;
  appearance: none;
}

.tvx-input:focus,
.tvx-select:focus,
.tvx-textarea:focus {
  outline: none;
  border-color: var(--signal-amber);
}

.tvx-textarea {
  resize: vertical;
  min-height: 120px;
}

.tvx-contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
}

.tvx-contact-details__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
}

.tvx-contact-details__value {
  font-size: 0.9rem;
  color: var(--text-on-light-primary);
  line-height: 1.6;
}

.tvx-contact-details__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* =========================================
   29. Security Page — Pillars
   ========================================= */
.tvx-security-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .tvx-security-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tvx-security-pillar {
  padding: var(--space-5);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tvx-security-pillar__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--signal-amber);
  letter-spacing: 0.1em;
}

.tvx-security-pillar__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-on-light-primary);
}

.tvx-security-pillar__body {
  font-size: 0.88rem;
  color: var(--text-on-light-secondary);
  line-height: 1.7;
}

/* =========================================
   30. Auth Pages (fullscreen card)
   ========================================= */
.tvx-auth-page {
  min-height: 100vh;
  background-color: var(--bg-void);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) var(--space-3);
}

.tvx-auth-card {
  width: 100%;
  max-width: 440px;
  background-color: var(--bg-deep);
  border: 1px solid var(--border-dark);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.tvx-auth-card__logo {
  display: flex;
  justify-content: center;
}

.tvx-auth-card__logo img {
  height: 32px;
  width: auto;
}

.tvx-auth-card__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tvx-auth-card__sublabel {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.tvx-auth-card__title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--text-on-dark-primary);
}

.tvx-auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tvx-auth-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  display: block;
  margin-bottom: var(--space-1);
}

.tvx-auth-input {
  width: 100%;
  background-color: var(--bg-panel);
  border: 1px solid var(--border-dark);
  color: var(--text-on-dark-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.tvx-auth-input:focus {
  outline: none;
  border-color: var(--signal-amber);
}

.tvx-auth-input::placeholder {
  color: var(--text-on-dark-muted);
}

.tvx-auth-submit {
  width: 100%;
  background-color: var(--signal-amber);
  color: var(--bg-void);
  border: 1px solid var(--signal-amber);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.tvx-auth-submit:hover {
  background-color: var(--signal-amber-dim);
  border-color: var(--signal-amber-dim);
}

.tvx-auth-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.tvx-auth-link {
  font-size: 0.85rem;
  color: var(--text-on-dark-secondary);
  transition: color 0.2s;
  text-decoration: none;
}

.tvx-auth-link:hover {
  color: var(--text-on-dark-primary);
}

.tvx-auth-link--amber {
  color: var(--signal-amber);
}

.tvx-auth-card__footer {
  border-top: 1px solid var(--border-dark);
  padding-top: var(--space-3);
  text-align: center;
}

.tvx-auth-card__legal {
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
}

.tvx-auth-card__legal a {
  color: var(--text-on-dark-muted);
  text-decoration: underline;
}

.tvx-auth-notice {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-dark);
  border-left: 3px solid var(--signal-amber);
  padding: var(--space-3) var(--space-4);
  font-size: 0.85rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.6;
}

/* =========================================
   31. Legal Pages
   ========================================= */
.tvx-legal-page {
  background-color: var(--bg-white);
}

.tvx-legal-page main {
  background-color: var(--bg-white);
  color: var(--text-on-light-primary);
}

.tvx-legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-10) var(--space-3);
  background-color: var(--bg-white);
}

@media (min-width: 768px) {
  .tvx-legal-content {
    padding: var(--space-10) var(--space-6);
  }
}

/* Legal article base typography */
.legal-article {
  color: var(--text-on-light-primary);
  background-color: var(--bg-white);
}

.legal-header {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-5);
  border-bottom: 2px solid var(--border-light);
}

.legal-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--text-on-light-primary);
  margin-bottom: var(--space-2);
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-on-light-muted);
  margin-top: var(--space-1);
}

.legal-article section {
  margin-bottom: var(--space-6);
}

.legal-article h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-on-light-primary);
  margin-bottom: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
}

.legal-article h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-article h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-on-light-primary);
  margin-bottom: var(--space-2);
  margin-top: var(--space-4);
}

.legal-article p {
  font-size: 0.9rem;
  color: var(--text-on-light-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-3);
}

.legal-article ul {
  list-style: disc;
  padding-left: var(--space-4);
  margin-bottom: var(--space-3);
}

.legal-article ul li {
  font-size: 0.9rem;
  color: var(--text-on-light-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-1);
}

.legal-article address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-on-light-secondary);
  line-height: 1.8;
}

.legal-article a {
  color: var(--signal-amber);
  text-decoration: underline;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-4);
  font-size: 0.88rem;
}

.legal-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
  text-align: left;
  padding: var(--space-2) var(--space-3);
  border-bottom: 2px solid var(--border-light);
  font-weight: 500;
}

.legal-table td {
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-on-light-secondary);
  vertical-align: top;
}

/* =========================================
   32. Cookie Banner
   ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: var(--bg-deep);
  border-top: 1px solid var(--border-dark);
}

.cookie-banner__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--space-3) var(--space-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .cookie-banner__inner {
    padding: var(--space-3) var(--space-6);
  }
}

.cookie-banner__text {
  font-size: 0.85rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

.cookie-banner__text a {
  color: var(--signal-amber);
  text-decoration: underline;
}

.cookie-banner__actions {
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-on-dark-primary);
  background: transparent;
  border: 1px solid var(--border-dark);
  padding: 7px 18px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
}

.cookie-banner__btn:hover {
  border-color: var(--text-on-dark-secondary);
  color: var(--text-on-dark-primary);
}

.cookie-banner__btn--primary {
  color: var(--text-on-dark-primary);
  border-color: var(--signal-amber);
  background: transparent;
}

.cookie-banner__btn--primary:hover {
  background-color: var(--signal-amber);
  color: var(--bg-void);
}

/* =========================================
   33. Workflow Steps (PV page)
   ========================================= */
.tvx-workflow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .tvx-workflow {
    grid-template-columns: repeat(5, 1fr);
  }
}

.tvx-workflow__step {
  padding: var(--space-4) var(--space-3);
  border: 1px solid var(--border-light);
  border-left: none;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tvx-workflow__step:first-child {
  border-left: 1px solid var(--border-light);
}

@media (max-width: 767px) {
  .tvx-workflow__step {
    border-left: 1px solid var(--border-light);
    border-top: none;
  }

  .tvx-workflow__step:first-child {
    border-top: 1px solid var(--border-light);
  }
}

.tvx-workflow__step-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--signal-amber);
}

.tvx-workflow__step-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-on-light-primary);
}

.tvx-workflow__step-body {
  font-size: 0.82rem;
  color: var(--text-on-light-secondary);
  line-height: 1.6;
}

.tvx-workflow__step-saving {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--clearance-teal);
  margin-top: auto;
}

/* =========================================
   34. Integration Cards
   ========================================= */
.tvx-integration-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 600px) {
  .tvx-integration-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .tvx-integration-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tvx-integration-card {
  border: 1px solid var(--border-light);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tvx-integration-card__source {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
}

.tvx-integration-card__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-on-light-primary);
}

.tvx-integration-card__desc {
  font-size: 0.88rem;
  color: var(--text-on-light-secondary);
  line-height: 1.6;
}

.tvx-integration-card__meta {
  display: flex;
  gap: var(--space-4);
  margin-top: auto;
  padding-top: var(--space-2);
  border-top: 1px solid var(--border-light);
}

.tvx-integration-card__meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tvx-integration-card__meta-key {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
}

.tvx-integration-card__meta-val {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-on-light-primary);
}

/* =========================================
   35. IntersectionObserver fade-in
   ========================================= */
.tvx-fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tvx-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   36. Source / Data Cards
   ========================================= */
.tvx-source-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .tvx-source-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tvx-source-card {
  border: 1px solid var(--border-light);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tvx-source-card__icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--signal-amber);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.tvx-source-card__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-on-light-primary);
}

.tvx-source-card__desc {
  font-size: 0.88rem;
  color: var(--text-on-light-secondary);
  line-height: 1.65;
}

.tvx-source-card__stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-light);
}

.tvx-source-card__stat {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.tvx-source-card__stat-key {
  color: var(--text-on-light-muted);
}

.tvx-source-card__stat-val {
  color: var(--signal-amber);
}

/* =========================================
   37. Geo info block
   ========================================= */
.tvx-location-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}

@media (min-width: 768px) {
  .tvx-location-block {
    grid-template-columns: 1fr 1fr;
  }
}

.tvx-location-block__address {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--text-on-light-secondary);
  line-height: 2;
}

.tvx-location-block__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tvx-location-block__detail-row {
  display: flex;
  gap: var(--space-2);
  font-size: 0.9rem;
}

.tvx-location-block__detail-key {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
  min-width: 60px;
  padding-top: 3px;
}

.tvx-location-block__detail-val {
  color: var(--text-on-light-primary);
}

/* =========================================
   38. Utility — Two-col layout
   ========================================= */
.tvx-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 768px) {
  .tvx-two-col {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================
   39. Blog Article (template)
   ========================================= */
.tvx-article-page {
  background-color: var(--bg-white);
}

.tvx-article-hero {
  background-color: var(--bg-surface);
  padding: var(--space-10) 0 var(--space-8);
  border-bottom: 1px solid var(--border-light);
}

.tvx-article-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

@media (min-width: 768px) {
  .tvx-article-hero__inner {
    padding: 0 var(--space-6);
  }
}

.tvx-article-hero__cat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal-amber);
  margin-bottom: var(--space-2);
  display: block;
}

.tvx-article-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--text-on-light-primary);
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.tvx-article-hero__meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-on-light-muted);
}

.tvx-article-cover {
  max-width: 900px;
  margin: var(--space-8) auto;
  padding: 0 var(--space-3);
}

.tvx-article-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

@media (min-width: 768px) {
  .tvx-article-cover {
    padding: 0 var(--space-6);
  }
}

.tvx-article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-3);
}

@media (min-width: 768px) {
  .tvx-article-body {
    padding: var(--space-8) var(--space-4);
  }
}

.tvx-blog-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-on-light-primary);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.tvx-blog-content h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-on-light-primary);
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}

.tvx-blog-content p {
  font-size: 1rem;
  color: var(--text-on-light-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.tvx-blog-content ul,
.tvx-blog-content ol {
  list-style: disc;
  padding-left: var(--space-5);
  margin-bottom: var(--space-4);
}

.tvx-blog-content ol {
  list-style: decimal;
}

.tvx-blog-content li {
  font-size: 1rem;
  color: var(--text-on-light-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-1);
}

.tvx-blog-content blockquote {
  border-left: 3px solid var(--signal-amber);
  padding-left: var(--space-4);
  margin: var(--space-5) 0;
  font-style: italic;
  color: var(--text-on-light-secondary);
}

.tvx-blog-content pre {
  background-color: var(--bg-deep);
  color: var(--text-on-dark-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: var(--space-4);
  overflow-x: auto;
  margin: var(--space-5) 0;
  border: 1px solid var(--border-dark);
}

.tvx-blog-content code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 2px 6px;
  color: var(--text-on-light-primary);
}

.tvx-blog-content img {
  max-width: 100%;
  height: auto;
  margin: var(--space-5) 0;
}

/* =========================================
   40. Pricing Rationale
   ========================================= */
.tvx-pricing-rationale {
  max-width: 640px;
}

.tvx-pricing-rationale__text {
  font-size: 0.95rem;
  color: var(--text-on-light-secondary);
  line-height: 1.8;
}

/* =========================================
   41. Responsive helpers
   ========================================= */
.tvx-desktop-only {
  display: none;
}

@media (min-width: 900px) {
  .tvx-desktop-only {
    display: block;
  }
}

/* =========================================
   42. Accessibility skip link
   ========================================= */
.tvx-skip-link {
  position: absolute;
  top: -40px;
  left: var(--space-3);
  background: var(--signal-amber);
  color: var(--bg-void);
  padding: 8px 16px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s;
}

.tvx-skip-link:focus {
  top: var(--space-2);
}

/* =========================================
   43. Validation methodology
   ========================================= */
.tvx-validation {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.tvx-validation__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
}

.tvx-validation__num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--signal-amber);
  line-height: 1;
  min-width: 40px;
}

.tvx-validation__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.tvx-validation__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-on-light-primary);
}

.tvx-validation__body {
  font-size: 0.88rem;
  color: var(--text-on-light-secondary);
  line-height: 1.65;
}

/* =========================================
   44. Signal detection examples
   ========================================= */
.tvx-signal-examples {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.tvx-signal-example {
  border: 1px solid var(--border-light);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tvx-signal-example__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal-amber);
}

.tvx-signal-example__class {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-on-light-primary);
}

.tvx-signal-example__desc {
  font-size: 0.88rem;
  color: var(--text-on-light-secondary);
  line-height: 1.65;
}

.tvx-signal-example__note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-on-light-muted);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border-light);
}
