:root {
  --tvx-night: #081420;
  --tvx-ocean: #0f2f4a;
  --tvx-steel: #204f72;
  --tvx-mist: #dfe9f2;
  --tvx-gold: #cda15b;
  --tvx-gold-soft: rgba(205, 161, 91, 0.18);
  --tvx-ink: #112132;
  --tvx-copy: #5d7083;
  --tvx-panel: rgba(255, 255, 255, 0.72);
  --tvx-line: rgba(17, 33, 50, 0.1);
  --tvx-shadow: 0 28px 80px rgba(5, 21, 35, 0.18);
  --tvx-radius-xl: 32px;
  --tvx-radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--tvx-ink);
  background:
    radial-gradient(circle at top left, rgba(205, 161, 91, 0.2), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(30, 80, 120, 0.22), transparent 20%),
    linear-gradient(180deg, #f4efe7 0%, #edf2f6 48%, #f6f2ea 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.45;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 80%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.25) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  opacity: 0.12;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.tvx-navbar {
  background: rgba(8, 20, 32, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-badge {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--tvx-steel), var(--tvx-ocean));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-family: Georgia, "Times New Roman", serif;
}

.brand-badge.small {
  width: 52px;
  height: 52px;
}

.brand-kicker,
.section-kicker,
.pill,
.panel-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 700;
}

.brand-kicker {
  color: rgba(255, 255, 255, 0.6);
}

.brand-name {
  color: #fff;
  font-size: 1.12rem;
  font-weight: 600;
  font-family: Georgia, "Times New Roman", serif;
}

.nav-link {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 600;
  padding: 0.9rem 1rem !important;
  border-radius: 999px;
  transition: all 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-gold {
  background: linear-gradient(135deg, #d6ad6c, #b98944);
  color: #101b27;
  border: 0;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  box-shadow: 0 14px 28px rgba(177, 126, 52, 0.24);
}

.btn-gold:hover,
.btn-gold:focus {
  color: #101b27;
  transform: translateY(-1px);
}

.btn-outline-light {
  border-radius: 999px;
}

.hero-shell,
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero-shell {
  padding: 7rem 0 5rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(205, 161, 91, 0.18), transparent 20%),
    radial-gradient(circle at 82% 24%, rgba(68, 124, 174, 0.22), transparent 24%),
    linear-gradient(135deg, #081420 0%, #0c2235 45%, #113759 100%);
}

.page-hero {
  padding: 6rem 0 4rem;
  background:
    radial-gradient(circle at 10% 18%, rgba(205, 161, 91, 0.15), transparent 22%),
    radial-gradient(circle at 85% 20%, rgba(64, 118, 164, 0.2), transparent 24%),
    linear-gradient(135deg, #0b1825 0%, #10283d 50%, #17405f 100%);
}

.hero-shell::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto auto -120px -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(205, 161, 91, 0.16), transparent 68%);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: #f6e3c1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.display-title,
.page-title,
.section-title,
.hero-panel h3,
.glass-card h3,
.module-box h3,
.timeline-step h3,
.footer-title,
.list-card h3,
.number-card h3,
.story-card h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.display-title {
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.96;
  max-width: 11ch;
}

.page-title {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1;
  max-width: 12ch;
}

.hero-copy,
.section-copy,
.glass-card p,
.module-box p,
.timeline-step p,
.hero-panel p,
.metric-card p,
.footer-copy,
.footer-panel p,
.list-card p,
.accordion-body,
.page-hero-copy {
  color: var(--tvx-copy);
  line-height: 1.75;
}

.hero-copy,
.page-hero-copy {
  color: rgba(233, 241, 248, 0.82);
  max-width: 62ch;
  font-size: 1.08rem;
}

.metric-card,
.hero-panel,
.glass-card,
.timeline-card,
.module-box,
.cta-band,
.footer-panel,
.list-card,
.table-shell,
.faq-shell,
.story-card,
.number-card {
  background: var(--tvx-panel);
  backdrop-filter: blur(18px);
  border: 1px solid var(--tvx-line);
  box-shadow: var(--tvx-shadow);
}

.metric-card,
.glass-card,
.module-box,
.list-card,
.number-card,
.story-card {
  border-radius: var(--tvx-radius-lg);
  padding: 1.7rem;
  height: 100%;
}

.metric-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.metric-card p {
  margin: 0.4rem 0 0;
  color: rgba(233, 241, 248, 0.74);
}

.hero-panel {
  padding: 1.5rem;
  border-radius: var(--tvx-radius-xl);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.panel-label {
  color: rgba(255, 255, 255, 0.55);
}

.panel-status {
  color: #f5ddb4;
  font-weight: 700;
}

.stack-list,
.mini-grid {
  display: grid;
  gap: 0.9rem;
}

.stack-item,
.timeline-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.stack-item span,
.timeline-step span,
.number-chip {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tvx-gold-soft);
  color: var(--tvx-gold);
  font-weight: 700;
}

.stack-item h3,
.timeline-step h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.stack-item h3 {
  color: #fff;
}

.stack-item p {
  margin: 0;
  color: rgba(233, 241, 248, 0.78);
}

.timeline-step h3 {
  color: var(--tvx-ink);
}

.section-dark .timeline-step h3 {
  color: #fff;
}

.section-space {
  padding: 5.5rem 0;
}

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(205, 161, 91, 0.11), transparent 22%),
    linear-gradient(135deg, #0a1723 0%, #112f49 100%);
}

.section-kicker {
  color: var(--tvx-gold);
  display: inline-block;
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  margin-bottom: 0;
}

.section-title.light,
.section-copy.light {
  color: #fff;
}

.glass-card h3,
.module-box h3,
.timeline-step h3,
.list-card h3,
.number-card h3,
.story-card h3 {
  margin-bottom: 0.8rem;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: var(--tvx-ocean);
  background: linear-gradient(135deg, rgba(17, 83, 130, 0.12), rgba(205, 161, 91, 0.18));
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.timeline-card,
.table-shell,
.faq-shell {
  border-radius: var(--tvx-radius-xl);
  padding: 1.8rem;
}

.timeline-step + .timeline-step {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-pill,
.tiny-tag {
  padding: 0.85rem 1rem;
  border-radius: 999px;
  color: #f4f7fb;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.module-box,
.story-card {
  position: relative;
  overflow: hidden;
}

.module-box::after,
.story-card::after {
  content: "";
  position: absolute;
  inset: auto -35px -35px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(205, 161, 91, 0.13), transparent 68%);
}

.cta-band {
  border-radius: var(--tvx-radius-xl);
  padding: 2.2rem;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(205, 161, 91, 0.22), transparent 28%),
    linear-gradient(135deg, #0d2032 0%, #143758 100%);
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  align-items: center;
}

.cta-band h2 {
  margin: 0.2rem 0 0.7rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: Georgia, "Times New Roman", serif;
}

.cta-band p {
  margin: 0;
  color: rgba(238, 243, 248, 0.82);
  max-width: 60ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.site-footer {
  padding: 4rem 0;
  background: #081420;
  color: rgba(255, 255, 255, 0.8);
}

.footer-brand {
  color: #fff;
}

.footer-note,
.footer-copy {
  color: rgba(255, 255, 255, 0.62);
}

.footer-title {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.glass-card .footer-links,
.story-card .footer-links {
  margin-top: 1rem;
}

.glass-card .footer-links li,
.story-card .footer-links li {
  color: var(--tvx-copy);
}

.footer-panel {
  padding: 1.4rem;
  border-radius: var(--tvx-radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.95rem;
}

.list-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.list-card li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.list-card li i {
  color: var(--tvx-gold);
}

.table-shell table {
  margin-bottom: 0;
}

.table-shell .table {
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(17, 33, 50, 0.1);
  color: var(--tvx-ink);
}

.table-shell thead th {
  color: var(--tvx-ocean);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-dark .table-shell .table {
  color: #fff;
}

.section-dark .table-shell thead th {
  color: #f5ddb4;
}

.faq-shell .accordion-item {
  border: 0;
  border-radius: 18px !important;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.9rem;
}

.faq-shell .accordion-button {
  background: rgba(255, 255, 255, 0.9);
  color: var(--tvx-ink);
  font-weight: 700;
  box-shadow: none;
}

.faq-shell .accordion-button:not(.collapsed) {
  background: rgba(205, 161, 91, 0.15);
  color: var(--tvx-ocean);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .hero-shell,
  .page-hero {
    padding-top: 5.5rem;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .display-title {
    font-size: 2.8rem;
  }

  .page-title {
    font-size: 2.5rem;
  }

  .section-space {
    padding: 4rem 0;
  }

  .brand-badge {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .hero-panel,
  .timeline-card,
  .cta-band,
  .table-shell,
  .faq-shell {
    padding: 1.25rem;
  }
}
