@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  color-scheme: dark;
  --tv-ink: #070706;
  --tv-ink-soft: #0d0d0b;
  --tv-panel: rgba(18, 18, 15, 0.88);
  --tv-panel-solid: #131310;
  --tv-panel-raised: #191914;
  --tv-paper: #f4f1e8;
  --tv-copy: #ede9df;
  --tv-muted: #9d9b91;
  --tv-dim: #66655f;
  --tv-line: rgba(244, 241, 232, 0.12);
  --tv-line-strong: rgba(244, 241, 232, 0.22);
  --tv-orange: #ff5a1f;
  --tv-orange-hot: #ff7848;
  --tv-green: #b7ff45;
  --tv-cyan: #73e8ff;
  --tv-red: #ff5d6c;
  --tv-yellow: #ffd166;
  --tv-display: 'Space Grotesk', Inter, system-ui, sans-serif;
  --tv-body: 'DM Sans', Inter, system-ui, sans-serif;
  --tv-mono: 'Space Mono', 'JetBrains Mono', Consolas, monospace;
  --tv-max: 1240px;
  --tv-radius-xs: 6px;
  --tv-radius-sm: 10px;
  --tv-radius: 16px;
  --tv-radius-lg: 24px;
  --tv-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  --tv-glow: 0 0 0 1px rgba(255, 90, 31, 0.16), 0 18px 60px rgba(255, 90, 31, 0.12);

  /* Backwards-compatible aliases for existing pages. */
  --bg: var(--tv-ink);
  --bg-elevated: var(--tv-panel-solid);
  --bg-card: var(--tv-panel-solid);
  --fg: var(--tv-copy);
  --muted: var(--tv-muted);
  --accent: var(--tv-orange);
  --accent-hover: var(--tv-orange-hot);
  --accent2: var(--tv-green);
  --border: var(--tv-line);
  --border-hover: var(--tv-line-strong);
  --radius: var(--tv-radius);
  --radius-sm: var(--tv-radius-sm);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% -12%, rgba(255, 90, 31, 0.15), transparent 28rem),
    radial-gradient(circle at -8% 40%, rgba(115, 232, 255, 0.07), transparent 34rem),
    var(--tv-ink);
  color: var(--tv-copy);
  font-family: var(--tv-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  content: '';
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

body::after {
  position: fixed;
  z-index: 9999;
  inset: 0;
  pointer-events: none;
  content: '';
  opacity: 0.025;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.55) 4px
  );
}

::selection {
  background: var(--tv-orange);
  color: #090806;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--tv-green);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border: 1px solid var(--tv-green);
  border-radius: var(--tv-radius-xs);
  background: var(--tv-ink);
  color: var(--tv-paper);
  font-family: var(--tv-mono);
  font-size: 0.75rem;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.tv-container,
.container {
  width: min(calc(100% - 40px), var(--tv-max));
  margin-inline: auto;
}

.tv-kicker,
.eyebrow,
.sub,
.tag,
.label {
  color: var(--tv-green);
  font-family: var(--tv-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.tv-kicker::before,
.eyebrow::before {
  margin-right: 0.55rem;
  color: var(--tv-orange);
  content: '//';
}

.tv-display {
  margin: 0;
  font-family: var(--tv-display);
  font-size: clamp(2.7rem, 7vw, 6.9rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.tv-display em,
.hero h1 span {
  color: var(--tv-orange);
  font-style: normal;
}

.tv-lede {
  max-width: 660px;
  margin: 0;
  color: var(--tv-muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
}

.tv-btn,
.btn,
button.primary {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0.75rem 1.1rem;
  overflow: hidden;
  border: 1px solid var(--tv-orange);
  border-radius: var(--tv-radius-xs);
  background: var(--tv-orange);
  box-shadow: 0 8px 28px rgba(255, 90, 31, 0.18);
  color: #110b08;
  cursor: pointer;
  font-family: var(--tv-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.tv-btn::after,
.btn::after,
button.primary::after {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid currentColor;
  content: '';
}

.tv-btn:hover,
.btn:hover,
button.primary:hover:not(:disabled) {
  transform: translateY(-2px);
  background: var(--tv-orange-hot);
  box-shadow: 0 13px 36px rgba(255, 90, 31, 0.26);
}

.tv-btn--ghost,
.btn-outline,
button.secondary {
  border-color: var(--tv-line-strong);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
  color: var(--tv-copy);
}

.tv-btn--ghost:hover,
.btn-outline:hover,
button.secondary:hover {
  border-color: var(--tv-orange);
  background: rgba(255, 90, 31, 0.08);
  color: var(--tv-copy);
}

.tv-btn--ghost::after,
.btn-outline::after,
button.secondary::after {
  display: none;
}

.tv-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--tv-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--tv-muted);
  font-family: var(--tv-mono);
  font-size: 0.68rem;
}

.tv-chip::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tv-green);
  box-shadow: 0 0 14px rgba(183, 255, 69, 0.7);
  content: '';
}

.tv-card,
.card,
.panel,
.demo-box,
.price-card,
.testimonial {
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius);
  background: linear-gradient(145deg, rgba(24, 24, 20, 0.94), rgba(12, 12, 10, 0.94));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.tv-card {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 34px);
}

.tv-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, var(--tv-orange), transparent);
  content: '';
}

.tv-card-number {
  color: var(--tv-dim);
  font-family: var(--tv-mono);
  font-size: 0.72rem;
}

.tv-rule {
  height: 1px;
  border: 0;
  background: var(--tv-line);
}

.tv-site-nav {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid var(--tv-line);
  background: rgba(7, 7, 6, 0.82);
  backdrop-filter: blur(18px);
}

.tv-site-nav__inner,
.nav-inner,
.topbar {
  display: flex;
  width: min(calc(100% - 40px), var(--tv-max));
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
}

.tv-wordmark,
.nav-logo,
.logo,
.sidebar-logo {
  display: inline-flex;
  align-items: baseline;
  color: var(--tv-copy);
  font-family: var(--tv-display);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.tv-wordmark span,
.nav-logo span,
.logo span,
.sidebar-logo span {
  color: var(--tv-orange);
}

.tv-wordmark::after,
.nav-logo::after,
.logo::after,
.sidebar-logo::after {
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-radius: 1px;
  background: var(--tv-green);
  box-shadow: 0 0 14px rgba(183, 255, 69, 0.55);
  content: '';
}

.tv-nav-links,
.tv-site .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tv-nav-links > a,
.tv-site .nav-links > a {
  padding: 9px 10px;
  border-radius: var(--tv-radius-xs);
  color: var(--tv-muted);
  font-family: var(--tv-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 150ms ease, background 150ms ease;
}

.tv-nav-links > a:hover,
.tv-site .nav-links > a:hover,
.tv-nav-links > a[aria-current='page'],
.tv-site .nav-links > a[aria-current='page'],
.tv-site .nav-links > a.active {
  background: rgba(255, 255, 255, 0.04);
  color: var(--tv-copy);
}

.tv-site .nav-inner {
  min-height: 72px;
  padding: 8px 0;
}

.tv-site .nav-logo {
  font-size: 1.15rem;
}

.tv-site .nav-links > a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.tv-site .nav-links > .btn {
  min-height: 42px;
  padding-inline: 16px;
  background: var(--tv-orange);
  color: #110b08;
}

.tv-site .nav-links > .btn:hover {
  background: var(--tv-orange-hot);
  color: #110b08;
}

.tv-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius-xs);
  background: transparent;
  color: var(--tv-copy);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.tv-nav-toggle:hover,
.tv-nav-toggle[aria-expanded='true'] {
  border-color: var(--tv-orange);
  background: rgba(255, 90, 31, 0.08);
}

.tv-nav-toggle > span[aria-hidden],
.tv-nav-toggle > span[aria-hidden]::before,
.tv-nav-toggle > span[aria-hidden]::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  content: '';
}

.tv-nav-toggle > span[aria-hidden]::before {
  transform: translateY(-6px);
}

.tv-nav-toggle > span[aria-hidden]::after {
  transform: translateY(5px);
}

.tv-nav-toggle[aria-expanded='true'] > span[aria-hidden] {
  background: transparent;
}

.tv-nav-toggle[aria-expanded='true'] > span[aria-hidden]::before {
  transform: translateY(0) rotate(45deg);
}

.tv-nav-toggle[aria-expanded='true'] > span[aria-hidden]::after {
  transform: translateY(-1px) rotate(-45deg);
}

.tv-section {
  position: relative;
  padding-block: clamp(76px, 10vw, 136px);
}

.tv-section + .tv-section {
  border-top: 1px solid var(--tv-line);
}

.tv-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.42fr);
  align-items: end;
  gap: clamp(24px, 6vw, 90px);
  margin-bottom: clamp(38px, 6vw, 70px);
}

.tv-section-head h2,
.section-title {
  max-width: 820px;
  margin: 0;
  color: var(--tv-copy);
  font-family: var(--tv-display);
  font-size: clamp(2rem, 5vw, 4.9rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-transform: none;
}

.tv-section-head p,
.section-sub {
  max-width: 620px;
  margin: 0;
  color: var(--tv-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.tv-grid {
  display: grid;
  gap: 16px;
}

.tv-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tv-status-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--tv-muted);
  font-family: var(--tv-mono);
  font-size: 0.7rem;
}

.tv-status-line::before {
  width: 42px;
  height: 1px;
  background: var(--tv-orange);
  content: '';
}

.tv-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Marketing */
.tv-home .nav {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid var(--tv-line);
  background: rgba(7, 7, 6, 0.84);
  backdrop-filter: blur(18px);
}

.tv-home .hero {
  position: relative;
  min-height: min(850px, calc(100vh - 72px));
  padding: clamp(72px, 9vw, 126px) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--tv-line);
  background: transparent;
  text-align: left;
}

.tv-home .hero::before {
  position: absolute;
  z-index: -1;
  top: 6%;
  right: -8%;
  width: min(61vw, 850px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 90, 31, 0.22);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 42px, rgba(255, 90, 31, 0.055) 43px 44px),
    radial-gradient(circle, rgba(255, 90, 31, 0.12), transparent 62%);
  content: '';
}

.tv-home .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 0.72fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.tv-home .hero-copy {
  display: grid;
  align-content: center;
  gap: 24px;
}

.tv-home .hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--tv-display);
  font-size: clamp(3.4rem, 7.2vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.87;
  text-align: left;
  text-transform: none;
}

.tv-home .hero p:not(.sub) {
  max-width: 670px;
  margin: 0;
  color: var(--tv-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.7;
}

.tv-home .hero-cta {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin: 4px 0 0;
}

.tv-home .hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tv-home .hero-visual {
  position: relative;
  min-height: 560px;
}

.tv-home .hero-orbit {
  position: absolute;
  inset: 1% -5% auto auto;
  width: 84%;
  aspect-ratio: 1;
  border: 1px dashed rgba(183, 255, 69, 0.25);
  border-radius: 50%;
  animation: tv-spin 70s linear infinite;
}

.tv-home .hero-art {
  position: absolute;
  inset: 0 0 auto auto;
  width: 88%;
  height: 76%;
  overflow: hidden;
  border: 1px solid var(--tv-line-strong);
  border-radius: var(--tv-radius-lg);
  background: #11110e;
  box-shadow: var(--tv-shadow);
  transform: rotate(2.5deg);
}

.tv-home .hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  filter: saturate(0.9) contrast(1.05);
}

.tv-home .hero-ui-card {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 78%;
  padding: 18px;
  border: 1px solid rgba(183, 255, 69, 0.28);
  border-radius: var(--tv-radius);
  background: rgba(9, 9, 7, 0.93);
  box-shadow: var(--tv-shadow);
  backdrop-filter: blur(14px);
  transform: rotate(-2deg);
}

.tv-home .hero-ui-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  color: var(--tv-muted);
  font-family: var(--tv-mono);
  font-size: 0.62rem;
}

.tv-home .hero-ui-card__copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tv-home .hero-ui-card__copy div {
  min-height: 118px;
  padding: 14px;
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius-sm);
  background: rgba(255, 255, 255, 0.025);
  color: var(--tv-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.tv-home .hero-ui-card__copy strong {
  display: block;
  margin-bottom: 9px;
  color: var(--tv-copy);
  font-family: var(--tv-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tv-home .quality-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tv-home .quality-card {
  min-height: 330px;
}

.tv-home .quality-card h3 {
  margin: 48px 0 15px;
  font-family: var(--tv-display);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.04em;
}

.tv-home .quality-card p {
  color: var(--tv-muted);
  line-height: 1.7;
}

.tv-home .quality-card__signal {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--tv-line);
  color: var(--tv-dim);
  font-family: var(--tv-mono);
  font-size: 0.64rem;
}

.tv-home .quality-card__signal b {
  color: var(--tv-green);
}

.tv-home .gate-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius);
  background: var(--tv-panel);
}

.tv-home .gate-step {
  position: relative;
  min-height: 170px;
  padding: 24px;
  border-right: 1px solid var(--tv-line);
}

.tv-home .gate-step:last-child {
  border-right: 0;
}

.tv-home .gate-step span {
  color: var(--tv-orange);
  font-family: var(--tv-mono);
  font-size: 0.65rem;
}

.tv-home .gate-step h3 {
  margin: 34px 0 8px;
  font-family: var(--tv-display);
  letter-spacing: -0.03em;
}

.tv-home .gate-step p {
  margin: 0;
  color: var(--tv-muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

.tv-home .research-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 18px;
}

.tv-home .research-visual {
  min-height: 510px;
  padding: 0;
}

.tv-home .research-visual img {
  width: 100%;
  height: 100%;
  min-height: 510px;
  object-fit: cover;
  opacity: 0.82;
}

.tv-home .research-copy {
  display: grid;
  gap: 14px;
}

.tv-home .research-stat {
  padding: 24px;
}

.tv-home .research-stat strong {
  display: block;
  margin-bottom: 7px;
  color: var(--tv-copy);
  font-family: var(--tv-display);
  font-size: 2.3rem;
  letter-spacing: -0.05em;
}

.tv-home .research-stat span {
  color: var(--tv-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.tv-home .research-claim {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--tv-line);
  color: var(--tv-muted);
  font-family: var(--tv-mono);
  font-size: 0.64rem;
  letter-spacing: 0.045em;
}

.tv-home .research-claim .status {
  color: var(--tv-orange);
}

.tv-home .research-claim strong {
  display: inline;
  color: var(--tv-copy);
  font-family: var(--tv-mono);
  font-size: inherit;
  letter-spacing: inherit;
}

.tv-home .product-preview {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--tv-line-strong);
  border-radius: var(--tv-radius-lg);
  background: #080807;
  box-shadow: var(--tv-shadow);
}

.tv-home .product-preview::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 7, 6, 0.55), transparent 35%);
  content: '';
  pointer-events: none;
}

.tv-home .product-preview img {
  display: block;
  width: 100%;
  transition: transform 400ms ease, opacity 400ms ease;
}

.tv-home .product-preview:hover img {
  transform: scale(1.012);
  opacity: 0.86;
}

.tv-home .product-preview__cta {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--tv-orange);
  border-radius: var(--tv-radius-xs);
  background: rgba(7, 7, 6, 0.88);
  color: var(--tv-copy);
  font-family: var(--tv-mono);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.tv-home .pricing-addons {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  max-width: 1100px;
  margin: 18px auto 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(183, 255, 69, 0.22);
  border-radius: var(--tv-radius);
  background:
    linear-gradient(105deg, rgba(183, 255, 69, 0.06), transparent 45%),
    var(--tv-panel);
}

.tv-home .pricing-addons h3 {
  margin: 8px 0;
  font-family: var(--tv-display);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  letter-spacing: -0.035em;
}

.tv-home .pricing-addons p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--tv-muted);
  line-height: 1.65;
}

.tv-home .feed-shell {
  max-width: 800px;
  margin: 0 auto;
}

.tv-home .feed-status,
.tv-matrix .render-status {
  max-width: 760px;
  margin: 18px auto;
  padding: 12px 14px;
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius-xs);
  background: rgba(255, 255, 255, 0.025);
  color: var(--tv-muted);
  font-family: var(--tv-mono);
  font-size: 0.68rem;
  letter-spacing: 0.025em;
  line-height: 1.55;
}

.tv-home .feed-status::before,
.tv-matrix .render-status::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--tv-green);
  box-shadow: 0 0 12px rgba(183, 255, 69, 0.6);
  content: '';
}

.tv-home .feed-status--error,
.tv-matrix .render-status--error {
  border-color: rgba(255, 209, 102, 0.28);
  color: var(--tv-copy);
}

.tv-home .feed-status--error::before,
.tv-matrix .render-status--error::before {
  background: var(--tv-yellow);
  box-shadow: 0 0 12px rgba(255, 209, 102, 0.45);
}

.tv-home #news-feed-status {
  width: fit-content;
  margin: -34px auto 28px;
}

.tv-site main[tabindex='-1']:focus {
  outline: 0;
  box-shadow: none;
}

.tv-home section {
  padding-block: clamp(76px, 9vw, 126px);
}

.tv-home section + section {
  border-top: 1px solid var(--tv-line);
}

.tv-home .grid {
  gap: 16px;
}

.tv-home .card,
.tv-home .price-card,
.tv-home .testimonial {
  border-color: var(--tv-line);
  transition: transform 180ms ease, border-color 180ms ease;
}

.tv-home .card:hover,
.tv-home .price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 90, 31, 0.42);
}

.tv-home footer {
  border-top: 1px solid var(--tv-line);
  background: #050504;
}

/* Editor */
.tv-editor {
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 90, 31, 0.14), transparent 34rem),
    var(--tv-ink);
}

.tv-editor.auth-pending {
  visibility: visible;
}

.tv-editor.auth-pending .shell {
  opacity: 0.35;
  pointer-events: none;
}

.tv-editor.auth-pending::before {
  position: fixed;
  z-index: 5000;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin: -24px;
  border: 2px solid var(--tv-line-strong);
  border-top-color: var(--tv-orange);
  border-radius: 50%;
  animation: tv-spin 700ms linear infinite;
  content: '';
}

.tv-editor .shell {
  max-width: none;
}

.tv-editor .topbar {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  max-width: none;
  min-height: 72px;
  padding-inline: max(20px, calc((100vw - var(--tv-max)) / 2));
  border-bottom: 1px solid var(--tv-line);
  background: rgba(7, 7, 6, 0.86);
  backdrop-filter: blur(18px);
}

.tv-editor .topbar .nav {
  gap: 10px;
}

.tv-editor main {
  width: min(calc(100% - 40px), var(--tv-max));
  margin-inline: auto;
  padding: 48px 0 90px;
}

.tv-editor .hero {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.38fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 38px;
  text-align: left;
}

.tv-editor .hero h1 {
  margin: 10px 0 15px;
  font-family: var(--tv-display);
  font-size: clamp(2.4rem, 5vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.tv-editor .hero p {
  max-width: 690px;
  color: var(--tv-muted);
  line-height: 1.65;
}

.tv-editor .notice {
  margin: 0;
  border-color: rgba(183, 255, 69, 0.18);
  border-radius: var(--tv-radius);
  background: rgba(183, 255, 69, 0.045);
  color: var(--tv-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.tv-editor .workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.58fr);
  gap: 16px;
}

.tv-editor .panel {
  overflow: hidden;
  border-radius: var(--tv-radius);
}

.tv-editor .editor-panel {
  min-height: 660px;
}

.tv-editor .panel-head {
  min-height: 62px;
  padding: 0 20px;
  border-bottom: 1px solid var(--tv-line);
}

.tv-editor .panel-head h2 {
  font-family: var(--tv-display);
  font-size: 1rem;
}

.tv-editor .source-toolbar {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid var(--tv-line);
  background: rgba(255, 255, 255, 0.015);
}

.tv-editor .source-toolbar span {
  margin-right: 3px;
  color: var(--tv-dim);
  font-family: var(--tv-mono);
  font-size: 0.61rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tv-editor .source-toolbar button {
  padding: 6px 8px;
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius-xs);
  background: transparent;
  color: var(--tv-muted);
  cursor: pointer;
  font-family: var(--tv-mono);
  font-size: 0.61rem;
}

.tv-editor .source-toolbar button:hover {
  border-color: var(--tv-orange);
  color: var(--tv-copy);
}

.tv-editor .source-toolbar .source-clear {
  margin-left: auto;
  color: var(--tv-red);
}

.tv-editor textarea,
.tv-editor input,
.tv-editor select {
  border-color: var(--tv-line-strong);
  border-radius: var(--tv-radius-sm);
  background: rgba(5, 5, 4, 0.62);
  color: var(--tv-copy);
}

.tv-editor textarea {
  min-height: 596px;
  padding: 24px;
  border: 0;
  border-radius: 0;
  color: #ddd9cf;
  font-size: 1.02rem;
  line-height: 1.8;
}

.tv-editor .sidebar {
  gap: 16px;
}

.tv-editor .control-panel {
  padding: 22px;
}

.tv-editor .modes {
  gap: 8px;
}

.tv-editor .mode {
  border-radius: var(--tv-radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.tv-editor .mode.active {
  border-color: var(--tv-orange);
  background: rgba(255, 90, 31, 0.09);
  box-shadow: inset 3px 0 var(--tv-orange);
}

.tv-editor .actions {
  padding: 5px;
}

.tv-editor button.primary {
  width: 100%;
  min-height: 54px;
}

.tv-editor .provider-state {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.tv-editor .results {
  margin-top: 18px;
  border-color: rgba(183, 255, 69, 0.24);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.tv-editor .result-banner {
  background: linear-gradient(90deg, rgba(183, 255, 69, 0.07), transparent);
}

.tv-editor .output-grid {
  gap: 0;
}

.tv-editor .output-grid > section + section {
  border-left: 1px solid var(--tv-line);
}

/* Authentication */
.tv-auth {
  display: block;
}

.tv-auth .auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.52fr);
  width: min(calc(100% - 40px), 1180px);
  min-height: 100vh;
  align-items: stretch;
  gap: clamp(30px, 7vw, 100px);
  margin-inline: auto;
  padding-block: 36px;
}

.tv-auth .auth-story {
  display: flex;
  min-height: 620px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 70px);
  overflow: hidden;
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius-lg);
  background:
    linear-gradient(to top, rgba(7, 7, 6, 0.98), rgba(7, 7, 6, 0.08)),
    var(--tv-auth-art) center/cover;
  box-shadow: var(--tv-shadow);
}

.tv-auth .auth-story h1 {
  max-width: 680px;
  margin: 0;
  font-family: var(--tv-display);
  font-size: clamp(3rem, 6vw, 6.5rem);
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.tv-auth .auth-story h1 span {
  color: var(--tv-orange);
}

.tv-auth .auth-story p {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--tv-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.tv-auth .hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tv-auth .auth-panel {
  display: flex;
  align-items: center;
}

.tv-auth .auth-container {
  width: 100%;
  max-width: 460px;
}

.tv-auth .logo {
  margin-bottom: 24px;
  text-align: left;
}

.tv-auth .auth-card {
  padding: clamp(26px, 4vw, 42px);
  border-color: var(--tv-line-strong);
  border-radius: var(--tv-radius-lg);
  box-shadow: var(--tv-shadow);
}

.tv-auth .auth-card h1,
.tv-auth .auth-card h2 {
  margin: 0.3rem 0 0.6rem;
  font-family: var(--tv-display);
  font-size: 2rem;
  letter-spacing: -0.045em;
}

.tv-auth input {
  min-height: 52px;
  border-color: var(--tv-line-strong);
  border-radius: var(--tv-radius-sm);
  background: rgba(255, 255, 255, 0.025);
}

.tv-auth .btn {
  width: 100%;
  min-height: 52px;
}

/* Dashboard */
.tv-dashboard .sidebar {
  width: 268px;
  border-right: 1px solid var(--tv-line);
  background: rgba(8, 8, 7, 0.94);
  backdrop-filter: blur(20px);
}

.tv-dashboard .sidebar-logo {
  padding: 24px;
}

.tv-dashboard .sidebar-nav {
  gap: 4px;
  padding: 12px;
}

.tv-dashboard .sidebar-nav a {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--tv-radius-sm);
  color: var(--tv-muted);
  font-family: var(--tv-mono);
  font-size: 0.69rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.tv-dashboard .sidebar-nav a.active {
  border-color: rgba(255, 90, 31, 0.24);
  background: rgba(255, 90, 31, 0.08);
  color: var(--tv-copy);
  box-shadow: inset 3px 0 var(--tv-orange);
}

.tv-dashboard .main {
  margin-left: 268px;
  padding: clamp(30px, 5vw, 64px);
}

.tv-dashboard .page-header h1 {
  font-family: var(--tv-display);
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.tv-dashboard .legacy-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 209, 102, 0.22);
  border-radius: var(--tv-radius-sm);
  background: rgba(255, 209, 102, 0.045);
  color: var(--tv-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.tv-dashboard .legacy-banner strong {
  color: var(--tv-yellow);
  font-family: var(--tv-mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tv-dashboard #page-process > .card {
  padding: clamp(18px, 3vw, 30px);
  border-radius: var(--tv-radius);
}

.tv-dashboard #page-process > .card > .form-row:first-child {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tv-dashboard #page-process > .card > .form-row:first-child .form-group {
  min-width: 0 !important;
}

.tv-dashboard .form-group label {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--tv-muted);
  font-family: var(--tv-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tv-dashboard .form-group input,
.tv-dashboard .form-group select,
.tv-dashboard textarea {
  border-color: var(--tv-line);
  border-radius: var(--tv-radius-sm);
  background: rgba(4, 4, 3, 0.62);
}

.tv-dashboard .form-group select,
.tv-dashboard .form-group input {
  min-height: 44px;
}

.tv-dashboard #input-text {
  min-height: 270px;
  padding: 18px;
  color: var(--tv-copy);
  font-size: 0.96rem;
  line-height: 1.65;
}

.tv-dashboard .mobile-dashboard-bar {
  display: none;
}

/* Research archive */
.tv-matrix .nav {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(7, 7, 6, 0.86);
  backdrop-filter: blur(18px);
}

.tv-matrix .hero {
  padding: clamp(70px, 10vw, 132px) 0;
  background:
    linear-gradient(120deg, rgba(255, 90, 31, 0.11), transparent 44%),
    transparent;
}

.tv-matrix .hero h1 {
  max-width: 1000px;
  font-family: var(--tv-display);
  font-size: clamp(3.2rem, 7vw, 7rem);
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.tv-matrix .lede {
  color: var(--tv-muted);
  line-height: 1.72;
}

.tv-matrix .archive-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: var(--tv-radius-xs);
  color: var(--tv-yellow);
  font-family: var(--tv-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tv-matrix .archive-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 940px;
  margin-top: 30px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 209, 102, 0.26);
  border-radius: var(--tv-radius-sm);
  background: rgba(255, 209, 102, 0.045);
}

.tv-matrix .archive-context div {
  display: grid;
  gap: 3px;
}

.tv-matrix .archive-context strong {
  color: var(--tv-yellow);
  font-family: var(--tv-mono);
  font-size: 0.72rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.tv-matrix .archive-context span {
  color: var(--tv-muted);
  font-size: 0.87rem;
}

.tv-matrix .archive-context a,
.tv-matrix .method-links a {
  color: var(--tv-green);
  font-family: var(--tv-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-underline-offset: 4px;
}

.tv-matrix .stats {
  gap: 14px;
  margin: 36px 0 0;
}

.tv-matrix .stat {
  min-width: 0;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(24, 24, 20, 0.96), rgba(12, 12, 10, 0.96));
}

.tv-matrix .stat dt {
  margin-bottom: 12px;
  color: var(--tv-copy);
  font-family: var(--tv-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tv-matrix .stat .n {
  margin: 0;
  font-family: var(--tv-display);
  font-size: clamp(1.85rem, 3.5vw, 2.7rem);
  line-height: 1;
}

.tv-matrix .stat .l {
  margin: 10px 0 0;
  color: #b8b5aa;
  font-size: 0.86rem;
  line-height: 1.45;
}

.tv-matrix .research-jump-shell {
  position: sticky;
  z-index: 80;
  top: 72px;
  border-block: 1px solid var(--tv-line);
  background: rgba(7, 7, 6, 0.94);
  backdrop-filter: blur(18px);
}

.tv-matrix .research-jump {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tv-matrix .research-jump > span {
  flex: 0 0 auto;
  margin-right: 8px;
  color: var(--tv-orange);
  font-family: var(--tv-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tv-matrix .research-jump a {
  flex: 0 0 auto;
  padding: 7px 9px;
  border-radius: var(--tv-radius-xs);
  color: var(--tv-muted);
  font-family: var(--tv-mono);
  font-size: 0.66rem;
  font-weight: 700;
  text-decoration: none;
}

.tv-matrix .research-jump a:hover,
.tv-matrix .research-jump a:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  color: var(--tv-copy);
}

.tv-matrix section {
  border-top: 1px solid var(--tv-line);
  scroll-margin-top: 142px;
}

.tv-matrix #summary {
  scroll-margin-top: 142px;
}

.tv-matrix #finding {
  border-top: 0;
  padding-top: 32px;
  padding-bottom: 32px;
}

.tv-matrix .callout {
  margin: 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 90, 31, 0.28);
  border-left: 4px solid var(--tv-orange);
  border-radius: 0 var(--tv-radius) var(--tv-radius) 0;
  background:
    linear-gradient(100deg, rgba(255, 90, 31, 0.07), transparent 50%),
    var(--tv-panel);
}

.tv-matrix .callout h2 {
  margin: 0 0 8px;
  font-family: var(--tv-display);
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  letter-spacing: -0.035em;
}

.tv-matrix .callout p {
  max-width: 900px;
  margin: 0;
  color: var(--tv-muted);
  line-height: 1.65;
}

.tv-matrix .legend {
  flex-wrap: wrap;
}

.tv-matrix .bars {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius);
  background: var(--tv-panel);
}

.tv-matrix .bars > .render-status {
  margin: 18px;
}

.tv-matrix .bar-row {
  display: grid;
  grid-template-columns: minmax(120px, 170px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--tv-line);
}

.tv-matrix .bar-row:last-child {
  border-bottom: 0;
}

.tv-matrix .bar-row .lab {
  color: var(--tv-copy);
  font-size: 0.78rem;
  font-weight: 600;
}

.tv-matrix .bar-series {
  display: grid;
  gap: 6px;
}

.tv-matrix .bar-measure {
  display: grid;
  grid-template-columns: 48px minmax(80px, 1fr) 46px;
  align-items: center;
  gap: 10px;
}

.tv-matrix .bar-key {
  color: var(--tv-muted);
  font-family: var(--tv-mono);
  font-size: 0.63rem;
}

.tv-matrix .track {
  display: block;
  height: 9px;
}

.tv-matrix .fill-brief,
.tv-matrix .fill-keep {
  display: block;
  height: 100%;
}

.tv-matrix .pct {
  color: var(--tv-copy);
}

.tv-matrix #matrix-status {
  width: fit-content;
  margin: 0 0 14px;
}

.tv-matrix .table-region {
  overflow-x: auto;
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius);
  background: var(--tv-panel);
}

.tv-matrix .table-region:focus-visible {
  outline-color: var(--tv-green);
}

.tv-matrix table {
  min-width: 780px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.tv-matrix caption {
  padding: 14px 16px;
  border-bottom: 1px solid var(--tv-line);
  color: var(--tv-copy);
  font-family: var(--tv-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-align: left;
}

.tv-matrix thead {
  background: rgba(255, 255, 255, 0.025);
}

.tv-matrix th,
.tv-matrix td {
  padding: 12px 10px;
}

.tv-matrix tbody th {
  color: var(--tv-copy);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
}

.tv-matrix tbody tr {
  transition: background 140ms ease;
}

.tv-matrix tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.tv-matrix .method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tv-matrix .method-card {
  min-width: 0;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius);
  background:
    linear-gradient(145deg, rgba(24, 24, 20, 0.94), rgba(12, 12, 10, 0.94));
}

.tv-matrix .method-card h3 {
  margin: 30px 0 10px;
  font-family: var(--tv-display);
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.tv-matrix .method-card p {
  margin: 0;
  color: var(--tv-muted);
  font-size: 0.9rem;
  line-height: 1.68;
}

.tv-matrix .method-links {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--tv-line);
  list-style: none;
}

.tv-matrix .research-layout {
  display: grid;
  margin-top: 32px;
}

.tv-matrix .research-layout .shot {
  overflow: hidden;
  border: 1px solid var(--tv-line);
  border-radius: var(--tv-radius-lg);
  background: var(--tv-panel);
}

.tv-matrix .research-layout img {
  display: block;
  width: 100%;
  max-height: 650px;
  object-fit: cover;
  opacity: 0.84;
}

.tv-matrix .research-layout figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--tv-line);
  color: var(--tv-muted);
  font-family: var(--tv-mono);
  font-size: 0.68rem;
}

@keyframes tv-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .tv-grid--3,
  .tv-home .quality-cards {
    grid-template-columns: 1fr;
  }

  .tv-section-head,
  .tv-home .hero-layout,
  .tv-home .research-layout,
  .tv-editor .hero,
  .tv-auth .auth-shell {
    grid-template-columns: 1fr;
  }

  .tv-home .hero {
    min-height: auto;
  }

  .tv-home .hero-visual {
    min-height: 500px;
  }

  .tv-home .gate-rail {
    grid-template-columns: 1fr 1fr;
  }

  .tv-home .gate-step:nth-child(2) {
    border-right: 0;
  }

  .tv-home .gate-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--tv-line);
  }

  .tv-matrix .stats,
  .tv-matrix .method-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tv-matrix .method-card:last-child {
    grid-column: 1 / -1;
  }

  .tv-editor .workspace {
    grid-template-columns: 1fr;
  }

  .tv-editor .editor-panel {
    min-height: 480px;
  }

  .tv-editor textarea {
    min-height: 420px;
  }

  .tv-auth .auth-story {
    min-height: 520px;
  }

  .tv-auth .auth-panel,
  .tv-auth .auth-container {
    max-width: none;
  }

  .tv-dashboard #page-process > .card > .form-row:first-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 68px;
  }

  .tv-container,
  .container,
  .nav-inner {
    width: min(calc(100% - 28px), var(--tv-max));
  }

  .tv-nav-toggle {
    display: inline-flex;
  }

  .tv-site .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--tv-line-strong);
    border-radius: 0 0 var(--tv-radius) var(--tv-radius);
    background: rgba(7, 7, 6, 0.98);
    box-shadow: var(--tv-shadow);
  }

  .tv-site .nav-links[data-open='true'] {
    display: flex;
  }

  .tv-site .nav-links > a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding-inline: 13px;
    font-size: 0.76rem;
  }

  .tv-site .nav-links > .btn {
    justify-content: space-between;
    margin-top: 4px;
    color: #110b08;
  }

  .tv-home .hero {
    min-height: auto;
    padding: 46px 0 62px;
  }

  .tv-home .hero-copy {
    gap: 18px;
  }

  .tv-home .hero h1 {
    font-size: clamp(2.8rem, 14.5vw, 4.8rem);
    line-height: 0.9;
  }

  .tv-home .hero p:not(.sub) {
    font-size: 1rem;
    line-height: 1.62;
  }

  .tv-home .hero .sub {
    max-width: 30ch;
    margin: 0;
    font-size: 0.66rem;
  }

  .tv-home .hero-visual {
    display: none;
    min-height: 0;
  }

  .tv-home .hero-cta .btn {
    min-height: 50px;
  }

  .tv-home .hero-proof {
    margin-top: 2px;
  }

  .tv-home .hero-art {
    width: 96%;
    height: 72%;
  }

  .tv-home .hero-ui-card {
    right: 0;
    width: 91%;
  }

  .tv-home .hero-ui-card__copy {
    grid-template-columns: 1fr;
  }

  .tv-home .hero-ui-card__copy div:first-child {
    display: none;
  }

  .tv-home .gate-rail {
    grid-template-columns: 1fr;
  }

  .tv-home .gate-step,
  .tv-home .gate-step:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--tv-line);
  }

  .tv-home .gate-step:last-child {
    border-bottom: 0;
  }

  .tv-home .tv-section-head {
    align-items: start;
    gap: 18px;
  }

  .tv-home .tv-section-head h2,
  .tv-home .section-title {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .tv-home section {
    padding-block: 66px;
  }

  .tv-home .pricing-addons {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tv-home .pricing-addons .btn {
    width: 100%;
  }

  .tv-home #news-feed-status {
    width: auto;
    margin: -22px auto 24px;
  }

  .tv-matrix .hero {
    padding: 52px 0 58px;
  }

  .tv-matrix .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.7rem);
    line-height: 0.9;
  }

  .tv-matrix .archive-context {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .tv-matrix .stats,
  .tv-matrix .method-grid {
    grid-template-columns: 1fr;
  }

  .tv-matrix .method-card:last-child {
    grid-column: auto;
  }

  .tv-matrix .research-jump-shell {
    top: 68px;
  }

  .tv-matrix .research-jump {
    width: 100%;
    padding-inline: 14px;
  }

  .tv-matrix section {
    scroll-margin-top: 130px;
  }

  .tv-matrix #summary {
    scroll-margin-top: 130px;
  }

  .tv-matrix .bar-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tv-matrix .bar-measure {
    grid-template-columns: 43px minmax(70px, 1fr) 42px;
    gap: 8px;
  }

  .tv-matrix .table-region {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .tv-matrix table,
  .tv-matrix tbody,
  .tv-matrix tr,
  .tv-matrix th,
  .tv-matrix td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .tv-matrix caption,
  .tv-matrix thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .tv-matrix tbody {
    display: grid;
    gap: 12px;
  }

  .tv-matrix tbody tr {
    padding: 16px;
    border: 1px solid var(--tv-line);
    border-radius: var(--tv-radius-sm);
    background: var(--tv-panel);
  }

  .tv-matrix tbody th {
    margin-bottom: 8px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--tv-line-strong);
    color: var(--tv-copy);
    font-family: var(--tv-display);
    font-size: 1.05rem;
  }

  .tv-matrix tbody td {
    display: grid;
    grid-template-columns: minmax(105px, 0.9fr) minmax(0, 1fr);
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--tv-line);
    color: var(--tv-copy);
    text-align: right;
  }

  .tv-matrix tbody td:last-child {
    border-bottom: 0;
  }

  .tv-matrix tbody td::before {
    color: var(--tv-muted);
    content: attr(data-label);
    font-family: var(--tv-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-align: left;
    text-transform: uppercase;
  }

  .tv-matrix tbody .data-placeholder td,
  .tv-matrix tbody td[colspan] {
    display: block;
    text-align: left;
  }

  .tv-matrix tbody .data-placeholder td::before,
  .tv-matrix tbody td[colspan]::before {
    display: none;
  }

  .tv-editor .topbar {
    padding-inline: 14px;
  }

  .tv-editor .topbar .nav a {
    display: none;
  }

  .tv-editor main {
    width: min(calc(100% - 28px), var(--tv-max));
    padding-top: 28px;
  }

  .tv-editor .hero {
    gap: 18px;
  }

  .tv-editor .output-grid {
    grid-template-columns: 1fr;
  }

  .tv-editor .output-grid > section + section {
    border-top: 1px solid var(--tv-line);
    border-left: 0;
  }

  .tv-auth .auth-shell {
    width: min(calc(100% - 24px), 1180px);
    padding-block: 12px;
  }

  .tv-auth .auth-story {
    min-height: 330px;
    padding: 20px;
  }

  .tv-auth .auth-story h1 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .tv-dashboard .mobile-dashboard-bar {
    position: sticky;
    z-index: 300;
    top: 0;
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border-bottom: 1px solid var(--tv-line);
    background: rgba(7, 7, 6, 0.94);
    backdrop-filter: blur(18px);
  }

  .tv-dashboard .sidebar {
    z-index: 400;
    display: flex;
    width: min(310px, 86vw);
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .tv-dashboard .sidebar[data-open='true'] {
    transform: translateX(0);
  }

  .tv-dashboard .main {
    margin-left: 0;
    padding: 28px 14px 70px;
  }

  .tv-dashboard #page-process > .card > .form-row:first-child {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .tv-home .hero-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .tv-home .hero-visual {
    min-height: 350px;
  }

  .tv-home .hero-ui-card {
    width: 96%;
  }

  .tv-editor .credit-pill {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
