/* tenantvein.css — Tenantvein brand CSS — web0519 */

/* ============================================================
   OVERFLOW GUARD (HARD RULE — MUST BE FIRST)
   ============================================================ */
html, body {
  overflow-x: hidden;
}

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --tv-accent: #6C3DE0;
  --tv-secondary: #C4964A;
  --tv-bg-dark: #0A0A14;
  --tv-bg-alt: #111126;
  --tv-text-primary: #F0EEF9;
  --tv-text-muted: #9490B5;
  --tv-border: rgba(240, 238, 249, 0.1);
  --tv-border-strong: rgba(240, 238, 249, 0.18);
  --tv-container: 1200px;
  --font-sans: 'Manrope', system-ui, sans-serif;
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ============================================================
   BASE RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--tv-text-primary);
  background: var(--tv-bg-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ============================================================
   NAV — reveal-on-scroll, 3-state machine
   (Patch W: default translateY(0) — background flip, NOT hide-reveal)
   ============================================================ */
.tv-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transform: translateY(0);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* At-hero state: transparent with backdrop for readability (Patch ZF) */
.tv-nav--at-hero {
  background: rgba(10, 10, 20, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
}

.tv-nav--at-hero .tv-nav__link {
  color: var(--tv-text-primary);
}

.tv-nav--at-hero .tv-nav__logo-text {
  color: var(--tv-text-primary);
}

/* Scrolled state: solid background */
.tv-nav--scrolled {
  background: rgba(10, 10, 20, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--tv-border);
}

/* Sub-page solid state (always solid on non-home pages) */
.tv-nav--solid {
  background: rgba(10, 10, 20, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--tv-border);
}

.tv-nav__inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.tv-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.tv-nav__logo-img {
  height: 32px;
  width: auto;
}

.tv-nav__logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--tv-text-primary);
  letter-spacing: -0.02em;
}

.tv-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.tv-nav__item {
  list-style: none;
}

.tv-nav__link {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--tv-text-muted);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.tv-nav__link:hover {
  color: var(--tv-text-primary);
  background: rgba(240, 238, 249, 0.06);
}

.tv-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.tv-nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 7px;
  transition: all 0.2s;
  text-decoration: none;
}

.tv-nav__cta--button {
  background: var(--tv-accent);
  color: #fff;
  border: 1.5px solid var(--tv-accent);
}

.tv-nav__cta--button:hover {
  background: #7b4ef2;
  border-color: #7b4ef2;
}

.tv-nav__cta--ghost {
  background: transparent;
  color: var(--tv-text-primary);
  border: 1.5px solid var(--tv-border-strong);
}

.tv-nav__cta--ghost:hover {
  border-color: var(--tv-text-muted);
  background: rgba(240, 238, 249, 0.05);
}

/* Mobile hamburger toggle */
.tv-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.tv-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tv-text-primary);
  border-radius: 2px;
  transition: all 0.2s;
}

/* Mobile nav menu */
.tv-nav__mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .tv-nav__links {
    display: none;
  }
  .tv-nav__actions {
    display: none;
  }
  .tv-nav__toggle {
    display: flex;
  }
  .tv-nav__mobile-menu {
    display: block;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 20, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--tv-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    z-index: 999;
  }
  .tv-nav__mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .tv-nav__mobile-menu .tv-nav__link {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--tv-border);
  }
  .tv-nav__mobile-menu .tv-nav__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
  }
  .tv-nav__mobile-menu .tv-nav__cta {
    justify-content: center;
    width: 100%;
  }
}

/* ============================================================
   HERO — D-full-bleed (dark typographic variant)
   ============================================================ */
.tv-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--tv-bg-dark);
}

.tv-hero--d-full-bleed {
  background: var(--tv-bg-dark);
}

.tv-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tv-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.45;
}

.tv-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 20, 0.7) 0%,
    rgba(108, 61, 224, 0.15) 50%,
    rgba(10, 10, 20, 0.85) 100%
  );
}

.tv-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 120px;
  padding-bottom: 80px;
}

.tv-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.tv-hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--tv-secondary);
}

.tv-hero__headline {
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  color: var(--tv-text-primary);
  line-height: 1.06;
  max-width: 840px;
  margin-bottom: 24px;
}

.tv-hero__headline em {
  font-style: normal;
  color: var(--tv-accent);
}

.tv-hero__subhead {
  font-size: 19px;
  font-weight: 400;
  color: rgba(240, 238, 249, 0.75);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 40px;
}

.tv-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.tv-hero__cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: var(--tv-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
}

.tv-hero__cta-primary:hover {
  background: #7b4ef2;
  transform: translateY(-1px);
}

.tv-hero__cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  background: transparent;
  color: var(--tv-text-primary);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--tv-border-strong);
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
}

.tv-hero__cta-secondary:hover {
  border-color: var(--tv-text-muted);
  background: rgba(240, 238, 249, 0.05);
}

.tv-hero__stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--tv-border);
}

.tv-hero__stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tv-hero__stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--tv-text-primary);
  letter-spacing: -0.02em;
}

.tv-hero__stat-label {
  font-size: 13px;
  color: var(--tv-text-muted);
}

@media (max-width: 768px) {
  .tv-hero__headline {
    font-size: 38px;
  }
  .tv-hero__subhead {
    font-size: 16px;
  }
  .tv-hero__stats-bar {
    gap: 24px;
  }
}

/* ============================================================
   STATS — B-cards
   ============================================================ */
.tv-stats {
  padding: 80px 0;
  background: var(--tv-bg-alt);
}

.tv-stats__grid {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.tv-stats__card {
  background: rgba(240, 238, 249, 0.04);
  padding: 36px 28px;
  border-radius: 0;
  border-left: 1px solid var(--tv-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tv-stats__card:first-child {
  border-left: none;
  border-radius: 8px 0 0 8px;
}

.tv-stats__card:last-child {
  border-radius: 0 8px 8px 0;
}

.tv-stats__number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--tv-text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.tv-stats__number span {
  color: var(--tv-accent);
}

.tv-stats__label {
  font-size: 14px;
  color: var(--tv-text-muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .tv-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
  }
  .tv-stats__card:first-child {
    border-radius: 8px 0 0 0;
  }
  .tv-stats__card:last-child {
    border-radius: 0 0 8px 0;
  }
}

@media (max-width: 540px) {
  .tv-stats__grid {
    grid-template-columns: 1fr;
  }
  .tv-stats__card {
    border-left: none;
    border-top: 1px solid var(--tv-border);
    border-radius: 0;
  }
}

/* ============================================================
   FEATURES — C-alternating with icons per card
   ============================================================ */
.tv-features {
  padding: 100px 0;
  background: var(--tv-bg-dark);
}

.tv-features__header {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  margin-bottom: 64px;
}

.tv-features__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tv-features__title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  color: var(--tv-text-primary);
  margin-bottom: 16px;
}

.tv-features__subtitle {
  font-size: 17px;
  color: var(--tv-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

.tv-features__grid {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--tv-border);
  border: 1px solid var(--tv-border);
  border-radius: 12px;
  overflow: hidden;
}

.tv-features__card {
  background: var(--tv-bg-dark);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s;
}

.tv-features__card:hover {
  background: var(--tv-bg-alt);
}

.tv-features__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(108, 61, 224, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tv-accent);
  font-size: 18px;
  flex-shrink: 0;
}

.tv-features__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--tv-text-primary);
  line-height: 1.3;
}

.tv-features__one-liner {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--tv-secondary);
  letter-spacing: 0.02em;
}

.tv-features__body {
  font-size: 14px;
  color: var(--tv-text-muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .tv-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .tv-features__grid {
    grid-template-columns: 1fr;
    background: none;
    border: none;
    border-radius: 0;
    gap: 2px;
  }
  .tv-features__card {
    border: 1px solid var(--tv-border);
    border-radius: 10px;
  }
}

/* ============================================================
   PROCESS — A-numbered
   ============================================================ */
.tv-process {
  padding: 100px 0;
  background: var(--tv-bg-alt);
}

.tv-process__inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.tv-process__header {
  text-align: center;
  margin-bottom: 64px;
}

.tv-process__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tv-process__title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--tv-text-primary);
}

.tv-process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--tv-border);
  border: 1px solid var(--tv-border);
  border-radius: 12px;
  overflow: hidden;
}

.tv-process__step {
  background: var(--tv-bg-alt);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tv-process__num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: rgba(108, 61, 224, 0.3);
  line-height: 1;
}

.tv-process__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--tv-text-primary);
  line-height: 1.3;
}

.tv-process__step .tv-process__title {
  font-size: 17px;
}

.tv-process__desc {
  font-size: 14px;
  color: var(--tv-text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .tv-process__steps {
    grid-template-columns: 1fr;
    background: none;
    border: none;
    border-radius: 0;
    gap: 2px;
  }
  .tv-process__step {
    border: 1px solid var(--tv-border);
    border-radius: 8px;
  }
}

/* ============================================================
   TESTIMONIALS — B-stats
   ============================================================ */
.tv-testimonials {
  padding: 100px 0;
  background: var(--tv-bg-dark);
}

.tv-testimonials__inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.tv-testimonials__header {
  text-align: center;
  margin-bottom: 56px;
}

.tv-testimonials__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tv-testimonials__title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--tv-text-primary);
}

.tv-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tv-testimonials__card {
  background: var(--tv-bg-alt);
  border: 1px solid var(--tv-border);
  border-radius: 12px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tv-testimonials__quote {
  font-size: 15px;
  color: rgba(240, 238, 249, 0.85);
  line-height: 1.7;
  font-style: italic;
}

.tv-testimonials__quote::before {
  content: '"';
  font-size: 28px;
  color: var(--tv-accent);
  font-style: normal;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.tv-testimonials__author {
  margin-top: auto;
}

.tv-testimonials__author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--tv-text-primary);
}

.tv-testimonials__author-title {
  font-size: 13px;
  color: var(--tv-text-muted);
  margin-top: 3px;
}

@media (max-width: 900px) {
  .tv-testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   PRICING
   ============================================================ */
.tv-pricing {
  padding: 100px 0;
  background: var(--tv-bg-alt);
}

.tv-pricing__inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.tv-pricing__header {
  text-align: center;
  margin-bottom: 56px;
}

.tv-pricing__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tv-pricing__title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--tv-text-primary);
  margin-bottom: 14px;
}

.tv-pricing__subtitle {
  font-size: 16px;
  color: var(--tv-text-muted);
}

.tv-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--tv-border);
  border: 1px solid var(--tv-border);
  border-radius: 14px;
  overflow: hidden;
}

.tv-pricing__card {
  background: var(--tv-bg-dark);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tv-pricing__card--featured {
  background: var(--tv-bg-alt);
  position: relative;
}

.tv-pricing__card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tv-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 0 0 8px 8px;
}

.tv-pricing__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--tv-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.tv-pricing__price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--tv-text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.tv-pricing__price-annual {
  font-size: 13px;
  color: var(--tv-text-muted);
  margin-bottom: 18px;
}

.tv-pricing__desc {
  font-size: 14px;
  color: var(--tv-text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--tv-border);
}

.tv-pricing__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  list-style: none;
  padding: 0;
}

.tv-pricing__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(240, 238, 249, 0.8);
  line-height: 1.5;
}

.tv-pricing__features li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(108, 61, 224, 0.2);
  border: 1.5px solid var(--tv-accent);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%236C3DE0' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.tv-pricing__cta {
  display: block;
  text-align: center;
  padding: 13px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
  margin-top: auto;
  text-decoration: none;
}

.tv-pricing__card--featured .tv-pricing__cta {
  background: var(--tv-accent);
  color: #fff;
}

.tv-pricing__card--featured .tv-pricing__cta:hover {
  background: #7b4ef2;
}

.tv-pricing__card:not(.tv-pricing__card--featured) .tv-pricing__cta {
  background: transparent;
  color: #F0EEF9;
  border: 1.5px solid var(--tv-border-strong);
}

.tv-pricing__card:not(.tv-pricing__card--featured) .tv-pricing__cta:hover {
  border-color: rgba(240, 238, 249, 0.5);
  background: rgba(240, 238, 249, 0.07);
  color: #fff;
}

@media (max-width: 900px) {
  .tv-pricing__grid {
    grid-template-columns: 1fr;
    background: none;
    border: none;
    border-radius: 0;
    gap: 16px;
  }
  .tv-pricing__card {
    border: 1px solid var(--tv-border);
    border-radius: 12px;
  }
  .tv-pricing__card--featured {
    order: -1;
  }
}

/* ============================================================
   CTA — A-banner
   ============================================================ */
.tv-cta {
  padding: 100px 0;
  background: var(--tv-bg-dark);
  position: relative;
  overflow: hidden;
}

.tv-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(108, 61, 224, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.tv-cta__inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.tv-cta__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tv-cta__headline {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800;
  color: var(--tv-text-primary);
  margin-bottom: 18px;
  line-height: 1.1;
}

.tv-cta__sub {
  font-size: 17px;
  color: rgba(240, 238, 249, 0.7);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.tv-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.tv-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s;
  text-decoration: none;
}

.tv-cta__btn--primary {
  background: var(--tv-accent);
  color: #fff;
}

.tv-cta__btn--primary:hover {
  background: #7b4ef2;
  transform: translateY(-1px);
}

.tv-cta__btn--ghost {
  background: transparent;
  color: var(--tv-text-primary);
  border: 1.5px solid var(--tv-border-strong);
}

.tv-cta__btn--ghost:hover {
  border-color: var(--tv-text-muted);
  background: rgba(240, 238, 249, 0.05);
}

/* ============================================================
   BLOG PREVIEW (insights index preview on home)
   ============================================================ */
.tv-blog-preview {
  padding: 100px 0;
  background: var(--tv-bg-alt);
}

.tv-blog-preview__inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.tv-blog-preview__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.tv-blog-preview__header-text {}

.tv-blog-preview__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.tv-blog-preview__title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--tv-text-primary);
}

.tv-blog-preview__all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tv-accent);
  white-space: nowrap;
  flex-shrink: 0;
  transition: gap 0.2s;
}

.tv-blog-preview__all-link:hover {
  gap: 10px;
}

.tv-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tv-blog-card {
  background: var(--tv-bg-dark);
  border: 1px solid var(--tv-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
  height: 100%;
}

.tv-blog-card:hover {
  border-color: var(--tv-border-strong);
  transform: translateY(-2px);
}

.tv-blog-card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}

.tv-blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.tv-blog-card:hover .tv-blog-card__thumb img {
  transform: scale(1.03);
}

.tv-blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tv-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tv-blog-card__category {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--tv-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tv-blog-card__date {
  font-size: 12px;
  color: var(--tv-text-muted);
}

.tv-blog-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--tv-text-primary);
  line-height: 1.4;
}

.tv-blog-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.tv-blog-card__title a:hover {
  color: var(--tv-accent);
}

.tv-blog-card__excerpt {
  font-size: 14px;
  color: var(--tv-text-muted);
  line-height: 1.6;
  flex: 1;
}

.tv-blog-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tv-accent);
  margin-top: auto;
  transition: gap 0.2s;
}

.tv-blog-card__cta:hover {
  gap: 10px;
}

@media (max-width: 900px) {
  .tv-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tv-blog-preview__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .tv-blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ABOUT PAGE SECTIONS
   ============================================================ */
.tv-page-hero {
  padding-top: 120px;
  padding-bottom: 60px;
  background: var(--tv-bg-dark);
}

.tv-page-hero__inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.tv-page-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tv-page-hero__title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  color: var(--tv-text-primary);
  line-height: 1.1;
  margin-bottom: 18px;
  max-width: 720px;
}

.tv-page-hero__lede {
  font-size: 18px;
  color: rgba(240, 238, 249, 0.75);
  line-height: 1.65;
  max-width: 600px;
}

.tv-about {
  padding: 100px 0;
}

.tv-about__origin {
  background: var(--tv-bg-alt);
  padding: 100px 0;
}

.tv-about__origin-inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.tv-about__section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tv-about__origin-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--tv-text-primary);
  margin-bottom: 32px;
  max-width: 680px;
}

.tv-about__origin-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.tv-about__origin-text p {
  font-size: 16px;
  color: rgba(240, 238, 249, 0.8);
  line-height: 1.75;
  margin-bottom: 18px;
}

.tv-about__origin-text p:last-child {
  margin-bottom: 0;
}

.tv-about__origin-pull {
  background: rgba(108, 61, 224, 0.08);
  border-left: 3px solid var(--tv-accent);
  border-radius: 0 8px 8px 0;
  padding: 28px 28px;
}

.tv-about__origin-pull blockquote {
  font-size: 18px;
  font-weight: 600;
  color: var(--tv-text-primary);
  line-height: 1.55;
  font-style: italic;
}

.tv-about__mission {
  background: var(--tv-bg-dark);
  padding: 100px 0;
}

.tv-about__mission-inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.tv-about__mission-statement {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--tv-text-primary);
  line-height: 1.35;
  max-width: 760px;
  margin-bottom: 24px;
}

.tv-about__mission-context {
  font-size: 16px;
  color: rgba(240, 238, 249, 0.7);
  line-height: 1.75;
  max-width: 640px;
}

.tv-about__stage-focus {
  background: var(--tv-bg-alt);
  padding: 80px 0;
}

.tv-about__stage-inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.tv-about__stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(108, 61, 224, 0.12);
  border: 1px solid rgba(108, 61, 224, 0.3);
  border-radius: 100px;
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--tv-accent);
  margin-bottom: 20px;
}

.tv-about__stage-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--tv-text-primary);
  margin-bottom: 12px;
}

.tv-about__stage-desc {
  font-size: 16px;
  color: rgba(240, 238, 249, 0.75);
  line-height: 1.7;
  max-width: 620px;
}

.tv-about__values {
  background: var(--tv-bg-dark);
  padding: 100px 0;
}

.tv-about__values-inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.tv-about__values-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--tv-text-primary);
  margin-bottom: 48px;
}

.tv-about__values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--tv-border);
  border: 1px solid var(--tv-border);
  border-radius: 12px;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tv-about__values-list li {
  background: var(--tv-bg-dark);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tv-about__value-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--tv-text-primary);
}

.tv-about__value-desc {
  font-size: 14px;
  color: var(--tv-text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .tv-about__origin-body {
    grid-template-columns: 1fr;
  }
  .tv-about__values-list {
    grid-template-columns: 1fr;
    background: none;
    border: none;
    border-radius: 0;
    gap: 2px;
  }
  .tv-about__values-list li {
    border: 1px solid var(--tv-border);
    border-radius: 8px;
  }
}

/* ============================================================
   TEAM — A-grid (on team.html and about.html)
   ============================================================ */
.tv-team {
  padding: 100px 0;
  background: var(--tv-bg-alt);
}

.tv-team__inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.tv-team__header {
  text-align: center;
  margin-bottom: 56px;
}

.tv-team__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tv-team__title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--tv-text-primary);
}

.tv-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tv-team__card {
  background: var(--tv-bg-dark);
  border: 1px solid var(--tv-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.2s;
}

.tv-team__card:hover {
  border-color: var(--tv-border-strong);
}

.tv-team__avatar {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--tv-bg-alt);
}

.tv-team__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tv-team__info {
  padding: 20px 20px 24px;
  flex: 1;
}

.tv-team__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--tv-text-primary);
  margin-bottom: 4px;
}

.tv-team__title {
  font-size: 13px;
  color: var(--tv-text-muted);
}

@media (max-width: 900px) {
  .tv-team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .tv-team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.tv-product-problem {
  padding: 100px 0;
  background: var(--tv-bg-alt);
}

.tv-product-problem__inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.tv-product-problem__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tv-product-problem__title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--tv-text-primary);
  margin-bottom: 32px;
  max-width: 700px;
}

.tv-product-problem__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.tv-product-problem__text p {
  font-size: 16px;
  color: rgba(240, 238, 249, 0.8);
  line-height: 1.75;
  margin-bottom: 16px;
}

.tv-product-problem__text p:last-child {
  margin-bottom: 0;
}

.tv-product-problem__stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tv-product-problem__stat {
  background: rgba(108, 61, 224, 0.08);
  border: 1px solid rgba(108, 61, 224, 0.2);
  border-radius: 10px;
  padding: 20px 22px;
}

.tv-product-problem__stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--tv-text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.tv-product-problem__stat-label {
  font-size: 13px;
  color: var(--tv-text-muted);
  line-height: 1.5;
}

.tv-how-it-works {
  padding: 100px 0;
  background: var(--tv-bg-dark);
}

.tv-how-it-works__inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.tv-how-it-works__header {
  text-align: center;
  margin-bottom: 64px;
}

.tv-how-it-works__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tv-how-it-works__title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--tv-text-primary);
  margin-bottom: 16px;
}

.tv-how-it-works__subtitle {
  font-size: 16px;
  color: var(--tv-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.tv-how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--tv-border);
  border: 1px solid var(--tv-border);
  border-radius: 12px;
  overflow: hidden;
}

.tv-how-it-works__step {
  background: var(--tv-bg-dark);
  padding: 40px 32px;
  position: relative;
}

.tv-how-it-works__step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--tv-accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tv-how-it-works__step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--tv-text-primary);
  margin-bottom: 14px;
}

.tv-how-it-works__step-desc {
  font-size: 14px;
  color: var(--tv-text-muted);
  line-height: 1.7;
}

.tv-integrations {
  padding: 80px 0;
  background: var(--tv-bg-alt);
}

.tv-integrations__inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.tv-integrations__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tv-integrations__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--tv-text-primary);
  margin-bottom: 36px;
}

.tv-integrations__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tv-integrations__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 238, 249, 0.05);
  border: 1px solid var(--tv-border);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--tv-text-primary);
}

.tv-target-customer {
  padding: 100px 0;
  background: var(--tv-bg-dark);
}

.tv-target-customer__inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.tv-target-customer__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tv-target-customer__title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--tv-text-primary);
  margin-bottom: 32px;
  max-width: 660px;
}

.tv-target-customer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.tv-target-customer__for p,
.tv-target-customer__not-for p {
  font-size: 15px;
  color: rgba(240, 238, 249, 0.8);
  line-height: 1.7;
  margin-bottom: 12px;
}

.tv-target-customer__for p:last-child,
.tv-target-customer__not-for p:last-child {
  margin-bottom: 0;
}

.tv-target-customer__label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tv-target-customer__for .tv-target-customer__label {
  color: var(--tv-accent);
}

.tv-target-customer__not-for .tv-target-customer__label {
  color: var(--tv-text-muted);
}

@media (max-width: 768px) {
  .tv-product-problem__body,
  .tv-how-it-works__steps,
  .tv-target-customer__grid {
    grid-template-columns: 1fr;
  }
  .tv-how-it-works__steps {
    background: none;
    border: none;
    border-radius: 0;
    gap: 2px;
  }
  .tv-how-it-works__step {
    border: 1px solid var(--tv-border);
    border-radius: 8px;
  }
}

/* ============================================================
   FOOTER — A-4col
   ============================================================ */
.tv-footer {
  background: var(--tv-bg-alt);
  border-top: 1px solid var(--tv-border);
  padding: 80px 0 0;
}

.tv-footer__grid {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.tv-footer__col {
  display: flex;
  flex-direction: column;
}

.tv-footer__col-brand {}

.tv-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

.tv-footer__logo-img {
  height: 28px;
  width: auto;
}

.tv-footer__logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--tv-text-primary);
  letter-spacing: -0.02em;
}

.tv-footer__tagline {
  font-size: 14px;
  color: var(--tv-text-muted);
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 24px;
}

.tv-footer__social {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tv-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(240, 238, 249, 0.06);
  color: var(--tv-text-muted);
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.tv-footer__social-link:hover {
  background: rgba(108, 61, 224, 0.2);
  color: var(--tv-text-primary);
}

.tv-footer__col-heading {
  font-size: 12px;
  font-weight: 700;
  color: var(--tv-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.tv-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tv-footer__nav-link {
  font-size: 14px;
  color: var(--tv-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.tv-footer__nav-link:hover {
  color: var(--tv-text-primary);
}

.tv-footer__bottom {
  border-top: 1px solid var(--tv-border);
  padding: 24px;
}

.tv-footer__bottom-inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.tv-footer__copyright {
  font-size: 13px;
  color: var(--tv-text-muted);
  line-height: 1.5;
}

.tv-footer__legal-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tv-footer__legal-links a {
  font-size: 13px;
  color: var(--tv-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.tv-footer__legal-links a:hover {
  color: var(--tv-text-primary);
}

@media (max-width: 900px) {
  .tv-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .tv-footer__col-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .tv-footer__grid {
    grid-template-columns: 1fr;
  }
  .tv-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ============================================================
   COOKIE BANNER — corner-toast-bl (bottom-left)
   ============================================================ */
.tv-cookie {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  background: var(--tv-bg-alt);
  border: 1px solid var(--tv-border-strong);
  border-radius: 12px;
  padding: 22px 24px;
  max-width: 360px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.tv-cookie[hidden] {
  display: none !important;
}

.tv-cookie__text {
  font-size: 13px;
  color: rgba(240, 238, 249, 0.8);
  line-height: 1.6;
  margin-bottom: 16px;
}

.tv-cookie__text a {
  color: var(--tv-accent);
  text-decoration: none;
}

.tv-cookie__text a:hover {
  text-decoration: underline;
}

.tv-cookie__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tv-cookie__accept {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: var(--tv-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s;
}

.tv-cookie__accept:hover {
  background: #7b4ef2;
}

.tv-cookie__dismiss {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  background: transparent;
  color: var(--tv-text-muted);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--tv-border);
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s;
}

.tv-cookie__dismiss:hover {
  border-color: var(--tv-text-muted);
  color: var(--tv-text-primary);
}

/* ============================================================
   UTILITIES / SHARED
   ============================================================ */
.tv-section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.tv-section-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--tv-text-primary);
  margin-bottom: 16px;
}

.tv-divider {
  height: 1px;
  background: var(--tv-border);
}

/* ============================================================
   PRICING PAGE (standalone)
   ============================================================ */
.tv-pricing-page-hero {
  padding-top: 120px;
  padding-bottom: 60px;
  background: var(--tv-bg-dark);
  text-align: center;
}

.tv-pricing-page-hero__inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.tv-pricing-faq {
  padding: 100px 0;
  background: var(--tv-bg-dark);
}

.tv-pricing-faq__inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
}

.tv-pricing-faq__title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--tv-text-primary);
  margin-bottom: 48px;
  text-align: center;
}

.tv-faq-item {
  border-bottom: 1px solid var(--tv-border);
  padding: 24px 0;
}

.tv-faq-item:last-child {
  border-bottom: none;
}

.tv-faq-item__q {
  font-size: 16px;
  font-weight: 700;
  color: var(--tv-text-primary);
  margin-bottom: 10px;
}

.tv-faq-item__a {
  font-size: 14px;
  color: var(--tv-text-muted);
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE FINAL PASS
   ============================================================ */
@media (max-width: 768px) {
  .tv-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tv-pricing-page-hero {
    padding-top: 100px;
  }
}

/* ============================================================
   CONTACT PAGE — A-split
   ============================================================ */
.tv-contact {
  padding: 80px 0 100px;
  background: var(--tv-bg-dark);
}

.tv-contact__inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.tv-contact__info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tv-contact__info-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tv-contact__info-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--tv-text-primary);
  margin-bottom: 18px;
  line-height: 1.2;
}

.tv-contact__info-lede {
  font-size: 16px;
  color: rgba(240, 238, 249, 0.75);
  line-height: 1.7;
  margin-bottom: 40px;
}

.tv-contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tv-contact__detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.tv-contact__detail-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(108, 61, 224, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tv-accent);
  font-size: 14px;
  flex-shrink: 0;
}

.tv-contact__detail-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tv-contact__detail-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--tv-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tv-contact__detail-value {
  font-size: 15px;
  color: var(--tv-text-primary);
}

.tv-contact__form-card {
  background: var(--tv-bg-alt);
  border: 1px solid var(--tv-border);
  border-radius: 14px;
  padding: 40px 36px;
}

.tv-contact__form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--tv-text-primary);
  margin-bottom: 8px;
}

.tv-contact__form-sub {
  font-size: 14px;
  color: var(--tv-text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.tv-contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tv-contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tv-contact__field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--tv-text-primary);
}

.tv-contact__field input,
.tv-contact__field select,
.tv-contact__field textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--tv-text-primary);
  background: var(--tv-bg-dark);
  border: 1px solid var(--tv-border-strong);
  border-radius: 8px;
  font-family: var(--font-sans);
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.tv-contact__field input:focus,
.tv-contact__field select:focus,
.tv-contact__field textarea:focus {
  outline: none;
  border-color: var(--tv-accent);
  box-shadow: 0 0 0 3px rgba(108, 61, 224, 0.15);
}

.tv-contact__field input::placeholder,
.tv-contact__field textarea::placeholder {
  color: var(--tv-text-muted);
}

.tv-contact__field select option {
  background: #1a1a2e;
  color: var(--tv-text-primary);
}

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

.tv-contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--tv-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 4px;
  font-family: var(--font-sans);
}

.tv-contact__submit:hover {
  background: #7b4ef2;
  transform: translateY(-1px);
}

.tv-contact__success {
  padding: 14px 18px;
  background: rgba(21, 128, 61, 0.12);
  border: 1px solid rgba(21, 128, 61, 0.3);
  border-radius: 8px;
  font-size: 14px;
  color: #86efac;
  display: none;
  margin-top: 12px;
}

.tv-contact__success.is-visible {
  display: block;
}

@media (max-width: 900px) {
  .tv-contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================================
   404 PAGE
   ============================================================ */
.tv-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tv-bg-dark);
  padding: 120px 24px 80px;
}

.tv-404__inner {
  max-width: 560px;
  text-align: center;
}

.tv-404__code {
  font-family: var(--font-mono);
  font-size: 100px;
  font-weight: 800;
  color: var(--tv-accent);
  line-height: 1;
  opacity: 0.4;
  margin-bottom: 24px;
  letter-spacing: -0.05em;
}

.tv-404__title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--tv-text-primary);
  margin-bottom: 16px;
}

.tv-404__lede {
  font-size: 16px;
  color: rgba(240, 238, 249, 0.7);
  line-height: 1.7;
  margin-bottom: 36px;
}

.tv-404__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.tv-404__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s;
  text-decoration: none;
}

.tv-404__btn--primary {
  background: var(--tv-accent);
  color: #fff;
}

.tv-404__btn--primary:hover {
  background: #7b4ef2;
}

.tv-404__btn--ghost {
  background: transparent;
  color: var(--tv-text-primary);
  border: 1.5px solid var(--tv-border-strong);
}

.tv-404__btn--ghost:hover {
  border-color: var(--tv-text-muted);
  background: rgba(240, 238, 249, 0.05);
}

/* ============================================================
   INSIGHTS INDEX — D-minimal-list
   ============================================================ */
.tv-insights-hero {
  padding-top: 120px;
  padding-bottom: 60px;
  background: var(--tv-bg-dark);
}

.tv-insights-hero__inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.tv-insights-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tv-insights-hero__title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--tv-text-primary);
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 680px;
}

.tv-insights-hero__lede {
  font-size: 17px;
  color: rgba(240, 238, 249, 0.7);
  line-height: 1.65;
  max-width: 560px;
}

.tv-insights-list {
  padding: 60px 0 100px;
  background: var(--tv-bg-dark);
}

.tv-insights-list__inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.tv-insights-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--tv-border);
}

.tv-insights-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--tv-border);
  background: transparent;
  color: var(--tv-text-muted);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s;
}

.tv-insights-filter-btn:hover,
.tv-insights-filter-btn.is-active {
  border-color: var(--tv-accent);
  color: var(--tv-accent);
  background: rgba(108, 61, 224, 0.08);
}

.tv-insights-article-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.tv-insights-article-list > li {
  list-style: none;
}

.tv-insights-list-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--tv-border);
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}

.tv-insights-list-item:first-child {
  border-top: 1px solid var(--tv-border);
}

.tv-insights-list-item:hover .tv-insights-list-item__title {
  color: var(--tv-accent);
}

.tv-insights-list-item__thumb {
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--tv-bg-alt);
}

.tv-insights-list-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.tv-insights-list-item:hover .tv-insights-list-item__thumb img {
  transform: scale(1.04);
}

.tv-insights-list-item__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tv-insights-list-item__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tv-insights-list-item__category {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--tv-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tv-insights-list-item__date {
  font-size: 12px;
  color: var(--tv-text-muted);
}

.tv-insights-list-item__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--tv-text-primary);
  line-height: 1.4;
  transition: color 0.2s;
}

.tv-insights-list-item__excerpt {
  font-size: 14px;
  color: var(--tv-text-muted);
  line-height: 1.6;
}

.tv-insights-list-item__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tv-accent);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .tv-insights-list-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tv-insights-list-item__thumb {
    max-width: 100%;
  }
}

/* ============================================================
   BLOG ARTICLE DETAIL — reading width (verify_site required)
   ============================================================ */
.tv-post {
  background: var(--tv-bg-dark);
}

.tv-post__header {
  padding-top: 120px;
  padding-bottom: 48px;
  background: var(--tv-bg-dark);
}

.tv-post__header-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.tv-post__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.tv-post__eyebrow-sep {
  width: 4px;
  height: 4px;
  background: var(--tv-text-muted);
  border-radius: 50%;
  display: inline-block;
}

.tv-post__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--tv-text-primary);
  line-height: 1.15;
  margin-bottom: 24px;
}

.tv-post__author-bar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tv-post__author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--tv-bg-alt);
}

.tv-post__author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--tv-text-primary);
}

.tv-post__author-title {
  font-size: 12px;
  color: var(--tv-text-muted);
}

.tv-post__cover {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.tv-post__cover img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.tv-post__body,
.post-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px 80px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(240, 238, 249, 0.85);
}

.tv-post__body h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--tv-text-primary);
  margin: 48px 0 18px;
  line-height: 1.25;
}

.tv-post__body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--tv-text-primary);
  margin: 36px 0 14px;
}

.tv-post__body p {
  margin-bottom: 22px;
}

.tv-post__body ul,
.tv-post__body ol {
  margin: 0 0 22px 24px;
}

.tv-post__body li {
  margin-bottom: 8px;
  list-style: disc;
}

.tv-post__body a {
  color: var(--tv-accent);
  text-decoration: underline;
}

.tv-post__body blockquote {
  border-left: 3px solid var(--tv-accent);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(108, 61, 224, 0.07);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: rgba(240, 238, 249, 0.9);
}

/* Related articles */
.tv-related {
  padding: 80px 0;
  background: var(--tv-bg-alt);
}

.tv-related__inner {
  max-width: var(--tv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.tv-related__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--tv-text-primary);
  margin-bottom: 32px;
}

.tv-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tv-related__card {
  background: var(--tv-bg-dark);
  border: 1px solid var(--tv-border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.2s;
}

.tv-related__card:hover {
  border-color: var(--tv-border-strong);
}

.tv-related__card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
  max-height: 180px;
}

.tv-related__card-thumb img {
  width: 100%;
  height: 180px;
  max-height: 180px;
  object-fit: cover;
  display: block;
}

.tv-related__card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tv-related__card-category {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--tv-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tv-related__card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--tv-text-primary);
  line-height: 1.4;
  transition: color 0.2s;
}

.tv-related__card-title a {
  color: inherit;
  text-decoration: none;
}

.tv-related__card-title a:hover {
  color: var(--tv-accent);
}

.tv-related__card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tv-accent);
  margin-top: auto;
}

@media (max-width: 768px) {
  .tv-related__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.tv-legal {
  padding-top: 0;
}

.tv-legal__body h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--tv-text-primary);
  margin-bottom: 8px;
  line-height: 1.15;
}

.tv-legal__body .tv-legal__updated {
  font-size: 13px;
  color: var(--tv-text-muted);
  margin-bottom: 48px;
}

.tv-legal__body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--tv-text-primary);
  margin: 40px 0 14px;
}

.tv-legal__body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--tv-text-primary);
  margin: 28px 0 12px;
}

.tv-legal__body p {
  font-size: 15px;
  color: rgba(240, 238, 249, 0.8);
  line-height: 1.75;
  margin-bottom: 18px;
}

.tv-legal__body ul,
.tv-legal__body ol {
  margin: 0 0 18px 24px;
}

.tv-legal__body li {
  font-size: 15px;
  color: rgba(240, 238, 249, 0.8);
  line-height: 1.7;
  margin-bottom: 8px;
  list-style: disc;
}

.tv-legal__body a {
  color: var(--tv-accent);
  text-decoration: underline;
}

.tv-legal__body address {
  font-style: normal;
  font-size: 15px;
  color: rgba(240, 238, 249, 0.8);
  line-height: 1.75;
  margin-bottom: 18px;
}

.tv-legal__body address a {
  color: var(--tv-accent);
  text-decoration: underline;
}

.tv-legal__body code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  background: rgba(108, 61, 224, 0.12);
  color: var(--tv-accent);
  padding: 2px 6px;
  border-radius: 4px;
}

.tv-legal__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 24px 0;
}

.tv-legal__header {
  padding: 0 0 48px;
  border-bottom: 1px solid var(--tv-border);
  margin-bottom: 0;
}

.tv-legal__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tv-accent);
  margin-bottom: 12px;
}

.tv-legal__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--tv-text-primary);
  margin-bottom: 10px;
  line-height: 1.15;
}

.tv-legal__meta {
  font-size: 13px;
  color: var(--tv-text-muted);
  margin-bottom: 0;
}

.tv-legal__body {
  max-width: 780px;
  margin: 0;
  padding: 48px 0 100px;
}

.tv-legal__table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 14px;
}

.tv-legal__table th {
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tv-text-muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--tv-border);
}

.tv-legal__table td {
  padding: 12px 12px;
  color: rgba(240, 238, 249, 0.8);
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.tv-legal__table tr:last-child td {
  border-bottom: none;
}

/* ============================================================
   LOGIN MODULE — Pattern A (subfolder), B-split-features
   ============================================================ */
.auth-page {
  min-height: 100vh;
  background: var(--tv-bg-dark);
}

.auth-split {
  min-height: 100vh;
  display: flex;
}

.auth-form-side {
  flex: 0 0 480px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 48px;
  padding-left: 40px;
  padding-right: 40px;
  background: #0d0d1a;
}

.auth-info-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 64px;
  background: var(--tv-bg-alt);
  border-left: 1px solid var(--tv-border);
}

.auth-logo-bar {
  margin-bottom: 40px;
}

.auth-logo-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.auth-card {
  background: #1a1a2e;
  border: 1px solid rgba(240, 238, 249, 0.08);
  border-radius: 14px;
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.auth-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 6px;
  line-height: 1.2;
}

.auth-card__sub {
  font-size: 14px;
  color: #9490B5;
  margin-bottom: 28px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-form-field label {
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

.auth-input {
  width: 100%;
  padding: 11px 16px;
  font-size: 15px;
  color: #f1f5f9;
  background: #12121e;
  border: 1px solid rgba(240, 238, 249, 0.12);
  border-radius: 8px;
  font-family: var(--font-sans);
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
  outline: none;
  border-color: var(--tv-accent);
  box-shadow: 0 0 0 3px rgba(108, 61, 224, 0.18);
}

.auth-input::placeholder {
  color: #475569;
}

.auth-input option {
  background: #1a1a2e;
  color: #f1f5f9;
}

.auth-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #9490B5;
}

.btn-auth {
  display: block;
  width: 100%;
  padding: 13px;
  background: var(--tv-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  transition: filter 0.2s;
  font-family: var(--font-sans);
  text-align: center;
  text-decoration: none;
}

.btn-auth:hover {
  filter: brightness(1.12);
}

.auth-links {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: #9490B5;
}

.auth-links a {
  color: var(--tv-accent);
  text-decoration: none;
  font-weight: 600;
}

.auth-links a:hover {
  text-decoration: underline;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(240, 238, 249, 0.1);
}

.auth-divider span {
  font-size: 12px;
  color: #9490B5;
}

.auth-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-message.success {
  background: rgba(21, 128, 61, 0.15);
  color: #86efac;
  border: 1px solid rgba(134, 239, 172, 0.2);
}

.auth-message.error {
  background: rgba(185, 28, 28, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(252, 165, 165, 0.2);
}

.auth-back-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  color: var(--tv-accent);
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
}

.auth-back-bar:hover {
  text-decoration: underline;
}

.auth-info-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--tv-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.auth-info-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--tv-text-primary);
  line-height: 1.2;
  margin-bottom: 12px;
}

.auth-info-sub {
  font-size: 15px;
  color: rgba(240, 238, 249, 0.7);
  line-height: 1.65;
  margin-bottom: 40px;
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.auth-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.auth-features li .auth-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(108, 61, 224, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tv-accent);
  font-size: 15px;
  flex-shrink: 0;
}

.auth-features li .auth-feat-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.auth-features li .auth-feat-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--tv-text-primary);
}

.auth-features li .auth-feat-desc {
  font-size: 13px;
  color: var(--tv-text-muted);
  line-height: 1.55;
}

.auth-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.auth-metric {
  background: rgba(240, 238, 249, 0.04);
  border: 1px solid var(--tv-border);
  border-radius: 10px;
  padding: 18px 16px;
  text-align: center;
}

.auth-metric__num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--tv-text-primary);
  letter-spacing: -0.03em;
}

.auth-metric__label {
  font-size: 12px;
  color: var(--tv-text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.auth-mini-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--tv-border);
  display: flex;
  justify-content: center;
  gap: 20px;
  background: rgba(10, 10, 20, 0.5);
}

.auth-mini-footer a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.auth-mini-footer a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Dashboard sidebar layout */
.auth-dashboard {
  display: flex;
  min-height: 100vh;
  background: var(--tv-bg-dark);
}

.auth-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--tv-bg-alt);
  border-right: 1px solid var(--tv-border);
  display: flex;
  flex-direction: column;
  padding: 28px 0;
}

.auth-sidebar__logo {
  padding: 0 24px 28px;
  border-bottom: 1px solid var(--tv-border);
  margin-bottom: 20px;
}

.auth-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 12px;
  flex: 1;
}

.auth-sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--tv-text-muted);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.auth-sidebar__nav a:hover,
.auth-sidebar__nav a.is-active {
  background: rgba(108, 61, 224, 0.1);
  color: var(--tv-text-primary);
}

.auth-sidebar__nav a i {
  font-size: 16px;
  width: 18px;
  text-align: center;
}

.auth-sidebar__logout {
  padding: 16px 24px 0;
  border-top: 1px solid var(--tv-border);
  margin-top: 16px;
}

.auth-sidebar__logout a {
  font-size: 13px;
  color: var(--tv-text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.auth-sidebar__logout a:hover {
  color: #fca5a5;
}

.auth-main {
  flex: 1;
  padding: 40px 48px;
  overflow-y: auto;
}

.auth-main__welcome {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--tv-text-primary);
  margin-bottom: 32px;
}

.auth-stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.auth-stat-card {
  background: var(--tv-bg-alt);
  border: 1px solid var(--tv-border);
  border-radius: 12px;
  padding: 24px 20px;
}

.auth-stat-card__num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--tv-text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.auth-stat-card__label {
  font-size: 13px;
  color: var(--tv-text-muted);
}

.auth-recent {
  background: var(--tv-bg-alt);
  border: 1px solid var(--tv-border);
  border-radius: 12px;
  padding: 24px 28px;
}

.auth-recent__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--tv-text-primary);
  margin-bottom: 20px;
}

.auth-recent__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-recent__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--tv-border);
  font-size: 14px;
}

.auth-recent__item:last-child {
  border-bottom: none;
}

.auth-recent__item-name {
  color: var(--tv-text-primary);
  font-weight: 500;
}

.auth-recent__item-meta {
  color: var(--tv-text-muted);
  font-size: 13px;
}

.auth-verify {
  min-height: 100vh;
  background: #0d0d1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.auth-verify__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(21, 128, 61, 0.15);
  border: 2px solid rgba(134, 239, 172, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #86efac;
  margin: 0 auto 28px;
}

.auth-verify__title {
  font-size: 28px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 14px;
}

.auth-verify__body {
  font-size: 15px;
  color: #9490B5;
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto 32px;
}

@media (max-width: 768px) {
  .auth-split {
    flex-direction: column;
  }
  .auth-info-side {
    display: none;
  }
  .auth-form-side {
    flex: unset;
    width: 100%;
    padding: 40px 24px;
  }
  .auth-two-col {
    grid-template-columns: 1fr;
  }
  .auth-dashboard {
    flex-direction: column;
  }
  .auth-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--tv-border);
  }
  .auth-stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .auth-main {
    padding: 24px 20px;
  }
  .auth-metrics {
    grid-template-columns: 1fr;
  }
  .auth-two-col {
    grid-template-columns: 1fr;
  }
}
