@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,400&family=Hanken+Grotesk:wght@400;500&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --tvr-dark: #1C2B3A;
  --tvr-dark-alt: #243347;
  --tvr-light: #F7F8FA;
  --tvr-light-alt: #EFF3F6;
  --tvr-white: #FFFFFF;
  --tvr-cream: #F4F1EC;

  --tvr-teal: #0ABFA3;
  --tvr-teal-text: #065F52;
  --tvr-amber: #B45309;

  --tvr-on-dark: #E8EFF5;
  --tvr-on-dark-muted: #8AB4CC;
  --tvr-on-light: #0F1923;
  --tvr-on-light-muted: #4A6074;

  --tvr-nav-h: 64px;

  --tvr-font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --tvr-font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  --tvr-h1: clamp(2rem, 5vw, 3.75rem);
  --tvr-h2: clamp(1.625rem, 3.5vw, 2.5rem);
  --tvr-h3: clamp(1.25rem, 2.5vw, 1.75rem);
  --tvr-body: 1rem;
  --tvr-body-sm: 0.875rem;

  --tvr-section-py: clamp(3rem, 8vw, 6rem);
  --tvr-gap: 1.5rem;
  --tvr-gap-tight: 0.75rem;

  --tvr-container: 1200px;
  --tvr-reading: 68ch;

  --tvr-radius: 8px;
  --tvr-radius-sm: 4px;
  --tvr-radius-lg: 12px;

  --tvr-transition: 200ms ease;
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--tvr-font-body);
  font-size: var(--tvr-body);
  line-height: 1.6;
  background: var(--tvr-dark);
  color: var(--tvr-on-dark);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   TYPOGRAPHY — GLOBAL HEADINGS
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  line-height: 1.2;
  margin: 0;
}

h1 { font-size: var(--tvr-h1); }
h2 { font-size: var(--tvr-h2); }
h3 { font-size: var(--tvr-h3); font-weight: 400; }

p { margin: 0; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.tvr-container {
  max-width: var(--tvr-container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.tvr-reading-col {
  max-width: var(--tvr-reading);
  margin-inline: auto;
}

/* ============================================================
   BACKGROUND CONTEXTS
   ============================================================ */
.tvr-bg--dark {
  background-color: var(--tvr-dark);
  color: var(--tvr-on-dark);
}

.tvr-bg--dark-alt {
  background-color: var(--tvr-dark-alt);
  color: var(--tvr-on-dark);
}

.tvr-bg--light {
  background-color: var(--tvr-light);
  color: var(--tvr-on-light);
}

.tvr-bg--light-alt {
  background-color: var(--tvr-light-alt);
  color: var(--tvr-on-light);
}

.tvr-bg--white {
  background-color: var(--tvr-white);
  color: var(--tvr-on-light);
}

.tvr-bg--cream {
  background-color: var(--tvr-cream);
  color: var(--tvr-on-light);
}

/* ============================================================
   NAV — FIXED, ALWAYS-DARK
   ============================================================ */
.tvr-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--tvr-nav-h);
  background: var(--tvr-dark);
  border-bottom: 1px solid rgba(138, 180, 204, 0.15);
  display: flex;
  align-items: center;
}

.tvr-nav__inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.tvr-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tvr-nav__logo img {
  height: 28px;
  width: auto;
  display: block;
}

.tvr-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 2rem;
}

.tvr-nav__link {
  font-family: var(--tvr-font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--tvr-on-dark-muted);
  padding: 0.375rem 0.625rem;
  border-radius: var(--tvr-radius-sm);
  transition: color var(--tvr-transition);
  white-space: nowrap;
}

.tvr-nav__link:hover {
  color: var(--tvr-on-dark);
}

.tvr-nav__link--active {
  color: var(--tvr-on-dark);
}

.tvr-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.tvr-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  margin-left: auto;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.tvr-nav__hamburger-bar {
  display: block;
  height: 2px;
  background: var(--tvr-on-dark);
  border-radius: 1px;
  transition: transform var(--tvr-transition), opacity var(--tvr-transition);
}

.tvr-nav__drawer {
  display: none;
  position: fixed;
  top: var(--tvr-nav-h);
  left: 0;
  right: 0;
  background: var(--tvr-dark);
  border-bottom: 1px solid rgba(138, 180, 204, 0.15);
  padding: 1rem;
  z-index: 99;
}

.tvr-nav__drawer--open {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tvr-nav__drawer .tvr-nav__link {
  display: block;
  padding: 0.625rem 0.75rem;
  font-size: 1rem;
}

.tvr-nav__drawer .tvr-nav__actions {
  margin-left: 0;
  margin-top: 0.75rem;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}

.tvr-nav__drawer .tvr-btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.tvr-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--tvr-font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--tvr-radius);
  transition: all var(--tvr-transition);
  white-space: nowrap;
  text-align: center;
}

.tvr-btn--primary {
  background: var(--tvr-teal);
  color: var(--tvr-on-light);
  border: none;
}

.tvr-btn--primary:hover {
  background: #08a88e;
}

.tvr-btn--outline-dark {
  background: transparent;
  color: var(--tvr-teal);
  border: 1.5px solid var(--tvr-teal);
}

.tvr-btn--outline-dark:hover {
  background: rgba(10, 191, 163, 0.1);
}

.tvr-btn--ghost-dark {
  background: transparent;
  color: var(--tvr-on-dark-muted);
  border: none;
  padding-inline: 0.75rem;
}

.tvr-btn--ghost-dark:hover {
  color: var(--tvr-on-dark);
}

.tvr-btn--ghost-light {
  background: transparent;
  color: var(--tvr-teal-text);
  border: none;
  padding-inline: 0.75rem;
}

.tvr-btn--ghost-light:hover {
  color: #044a3f;
}

.tvr-btn--lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.tvr-hero {
  padding-top: calc(var(--tvr-nav-h) + clamp(3rem, 8vw, 5rem));
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.tvr-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.tvr-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--tvr-body-sm);
  font-weight: 500;
  color: var(--tvr-teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.tvr-hero__h1 {
  font-size: var(--tvr-h1);
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  line-height: 1.15;
  color: var(--tvr-on-dark);
  margin-bottom: 1.25rem;
}

.tvr-hero__sub {
  font-size: 1.125rem;
  color: var(--tvr-on-dark-muted);
  line-height: 1.65;
  max-width: 52ch;
  margin-bottom: 2rem;
}

.tvr-hero__ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tvr-hero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.tvr-hero__visual svg {
  max-width: 100%;
  height: auto;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.tvr-section {
  padding-block: var(--tvr-section-py);
}

.tvr-section__eyebrow {
  display: block;
  font-size: var(--tvr-body-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.tvr-bg--dark .tvr-section__eyebrow,
.tvr-bg--dark-alt .tvr-section__eyebrow {
  color: var(--tvr-teal);
}

.tvr-bg--light .tvr-section__eyebrow,
.tvr-bg--light-alt .tvr-section__eyebrow,
.tvr-bg--white .tvr-section__eyebrow,
.tvr-bg--cream .tvr-section__eyebrow {
  color: var(--tvr-teal-text);
}

.tvr-section__h2 {
  font-size: var(--tvr-h2);
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.tvr-bg--dark .tvr-section__h2,
.tvr-bg--dark-alt .tvr-section__h2 {
  color: var(--tvr-on-dark);
}

.tvr-bg--light .tvr-section__h2,
.tvr-bg--light-alt .tvr-section__h2,
.tvr-bg--white .tvr-section__h2,
.tvr-bg--cream .tvr-section__h2 {
  color: var(--tvr-on-light);
}

.tvr-section__lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 58ch;
  margin-bottom: 2rem;
}

.tvr-bg--dark .tvr-section__lead,
.tvr-bg--dark-alt .tvr-section__lead {
  color: var(--tvr-on-dark-muted);
}

.tvr-bg--light .tvr-section__lead,
.tvr-bg--light-alt .tvr-section__lead,
.tvr-bg--white .tvr-section__lead,
.tvr-bg--cream .tvr-section__lead {
  color: var(--tvr-on-light-muted);
}

.tvr-section__header--center {
  text-align: center;
}

.tvr-section__header--center .tvr-section__lead {
  margin-inline: auto;
}

/* ============================================================
   PROBLEM SECTION (index.html tvr-problem)
   ============================================================ */
.tvr-problem {
  padding-block: var(--tvr-section-py);
}

.tvr-problem__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.tvr-problem__stat {
  font-family: var(--tvr-font-serif);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 300;
  color: var(--tvr-teal-text);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.tvr-problem__stat-label {
  font-size: 1rem;
  color: var(--tvr-on-light-muted);
  margin-bottom: 2rem;
}

.tvr-problem__body {
  font-size: 1.0625rem;
  color: var(--tvr-on-light-muted);
  line-height: 1.7;
}

/* ============================================================
   HOW IT WORKS PREVIEW (index.html tvr-how-it-works-preview)
   ============================================================ */
.tvr-hiw-preview {
  padding-block: var(--tvr-section-py);
  text-align: center;
}

.tvr-hiw-preview__inner {
  max-width: 800px;
  margin-inline: auto;
}

.tvr-hiw-preview__svg-wrap {
  margin-block: 2.5rem;
  display: flex;
  justify-content: center;
}

.tvr-hiw-preview__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--tvr-teal);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: gap var(--tvr-transition);
}

.tvr-hiw-preview__link:hover {
  gap: 0.625rem;
}

/* ============================================================
   CAPABILITIES CARDS (index.html tvr-capabilities)
   ============================================================ */
.tvr-capabilities {
  padding-block: var(--tvr-section-py);
}

.tvr-capabilities__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--tvr-gap);
  margin-top: 2.5rem;
}

.tvr-cap-card {
  background: var(--tvr-white);
  border-radius: var(--tvr-radius-lg);
  padding: 1.75rem;
  border-top: 3px solid var(--tvr-teal);
  box-shadow: 0 1px 4px rgba(15, 25, 35, 0.06);
}

.tvr-cap-card__title {
  font-family: var(--tvr-font-serif);
  font-size: 1.1875rem;
  font-weight: 400;
  color: var(--tvr-on-light);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.tvr-cap-card__body {
  font-size: 0.9375rem;
  color: var(--tvr-on-light-muted);
  line-height: 1.65;
}

/* ============================================================
   CLINICAL SAFETY SECTION (index.html tvr-clinical-safety)
   ============================================================ */
.tvr-clinical-safety {
  padding-block: var(--tvr-section-py);
}

.tvr-clinical-safety__inner {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.tvr-pullquote {
  font-family: var(--tvr-font-serif);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--tvr-on-light);
  margin-bottom: 1rem;
}

.tvr-pullquote-attr {
  font-size: var(--tvr-body-sm);
  color: var(--tvr-on-light-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   EMR INTEGRATIONS (index.html tvr-emr-integrations)
   ============================================================ */
.tvr-emr-integrations {
  padding-block: var(--tvr-section-py);
}

.tvr-emr-integrations__header {
  text-align: center;
  margin-bottom: 2rem;
}

.tvr-emr-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.tvr-emr-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--tvr-white);
  border: 1.5px solid var(--tvr-teal);
  border-radius: 100px;
  font-size: var(--tvr-body-sm);
  font-weight: 500;
  color: var(--tvr-teal-text);
  transition: background var(--tvr-transition);
}

.tvr-emr-pill:hover {
  background: rgba(10, 191, 163, 0.07);
}

/* ============================================================
   EARLY ACCESS CTA (index.html tvr-early-access)
   ============================================================ */
.tvr-early-access {
  padding-block: var(--tvr-section-py);
  text-align: center;
}

.tvr-early-access__inner {
  max-width: 600px;
  margin-inline: auto;
}

.tvr-early-access__h2 {
  font-size: var(--tvr-h2);
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  color: var(--tvr-on-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.tvr-early-access__sub {
  font-size: 1.0625rem;
  color: var(--tvr-on-dark-muted);
  margin-bottom: 2rem;
}

.tvr-early-access__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ============================================================
   HOW IT WORKS PAGE
   ============================================================ */
.tvr-subhero {
  padding-top: calc(var(--tvr-nav-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}
.tvr-page-hero {
  padding-top: calc(var(--tvr-nav-h) + clamp(2.5rem, 6vw, 4.5rem));
}

.tvr-subhero__inner {
  max-width: var(--tvr-container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.tvr-subhero__h1 {
  font-size: var(--tvr-h1);
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  color: var(--tvr-on-dark);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.tvr-subhero__sub {
  font-size: 1.125rem;
  color: var(--tvr-on-dark-muted);
  max-width: 54ch;
  margin-inline: auto;
  line-height: 1.65;
}

.tvr-subhero__ornament {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.tvr-twit-section {
  padding-block: var(--tvr-section-py);
}

.tvr-twit-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.tvr-twit-section__inner--center {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin-inline: auto;
}

.tvr-twit-section__text {
  max-width: 46ch;
}

.tvr-twit-section__h2 {
  font-size: var(--tvr-h2);
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.tvr-bg--light .tvr-twit-section__h2,
.tvr-bg--light-alt .tvr-twit-section__h2 {
  color: var(--tvr-on-light);
}

.tvr-bg--dark .tvr-twit-section__h2,
.tvr-bg--dark-alt .tvr-twit-section__h2 {
  color: var(--tvr-on-dark);
}

.tvr-twit-section__body {
  font-size: 1rem;
  line-height: 1.7;
}

.tvr-bg--light .tvr-twit-section__body,
.tvr-bg--light-alt .tvr-twit-section__body {
  color: var(--tvr-on-light-muted);
}

.tvr-bg--dark .tvr-twit-section__body,
.tvr-bg--dark-alt .tvr-twit-section__body {
  color: var(--tvr-on-dark-muted);
}

.tvr-twit-section__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tvr-twit-cta {
  padding-block: var(--tvr-section-py);
  text-align: center;
}

.tvr-twit-cta__inner {
  max-width: 560px;
  margin-inline: auto;
}

.tvr-twit-cta__h2 {
  font-size: var(--tvr-h2);
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  color: var(--tvr-on-dark);
  margin-bottom: 1rem;
}

.tvr-twit-cta__sub {
  color: var(--tvr-on-dark-muted);
  margin-bottom: 2rem;
}

/* ============================================================
   INTEGRATIONS PAGE
   ============================================================ */
.tvr-emr-grid {
  padding-block: var(--tvr-section-py);
}

.tvr-emr-grid__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.tvr-emr-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--tvr-gap);
}

.tvr-emr-card {
  background: var(--tvr-white);
  border-radius: var(--tvr-radius-lg);
  padding: 1.75rem;
  border: 1.5px solid rgba(10, 191, 163, 0.2);
}

.tvr-emr-card__name {
  font-family: var(--tvr-font-serif);
  font-size: 1.1875rem;
  font-weight: 400;
  color: var(--tvr-on-light);
  margin-bottom: 0.5rem;
}

.tvr-emr-card__status {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--tvr-teal-text);
  background: rgba(10, 191, 163, 0.1);
  padding: 0.2rem 0.625rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.tvr-emr-card__desc {
  font-size: var(--tvr-body-sm);
  color: var(--tvr-on-light-muted);
  line-height: 1.6;
}

.tvr-int-arch {
  padding-block: var(--tvr-section-py);
}

.tvr-int-arch__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.tvr-int-arch__text {
  max-width: 46ch;
}

.tvr-int-arch__h2 {
  font-size: var(--tvr-h2);
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  color: var(--tvr-on-dark);
  margin-bottom: 1rem;
}

.tvr-int-arch__body {
  color: var(--tvr-on-dark-muted);
  line-height: 1.7;
}

.tvr-int-arch__visual {
  display: flex;
  justify-content: center;
}

.tvr-int-request {
  padding-block: var(--tvr-section-py);
  text-align: center;
}

.tvr-int-request__inner {
  max-width: 600px;
  margin-inline: auto;
}

.tvr-int-request__h2 {
  font-size: var(--tvr-h2);
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  color: var(--tvr-on-light);
  margin-bottom: 1rem;
}

.tvr-int-request__body {
  color: var(--tvr-on-light-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.tvr-int-request__link {
  color: var(--tvr-teal-text);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tvr-int-request__link:hover {
  color: #044a3f;
}

/* ============================================================
   PRICING PAGE
   ============================================================ */
.tvr-pricing-tiers {
  padding-block: var(--tvr-section-py);
}

.tvr-pricing-tiers__header {
  text-align: center;
  margin-bottom: 3rem;
}

.tvr-pricing-tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--tvr-gap);
  align-items: start;
}

.tvr-pricing-card {
  background: var(--tvr-white);
  border: 1.5px solid rgba(15, 25, 35, 0.1);
  border-radius: var(--tvr-radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tvr-pricing-card--highlight {
  border-color: var(--tvr-teal);
  box-shadow: 0 0 0 3px rgba(10, 191, 163, 0.12);
  position: relative;
}

.tvr-pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tvr-teal);
  color: var(--tvr-on-light);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.875rem;
  border-radius: 100px;
  white-space: nowrap;
}

.tvr-pricing-card__name {
  font-family: var(--tvr-font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--tvr-on-light);
}

.tvr-pricing-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
}

.tvr-pricing-card__amount {
  font-family: var(--tvr-font-serif);
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--tvr-on-light);
  line-height: 1;
}

.tvr-pricing-card__per {
  font-size: var(--tvr-body-sm);
  color: var(--tvr-on-light-muted);
}

.tvr-pricing-card__capacity {
  font-size: var(--tvr-body-sm);
  color: var(--tvr-on-light-muted);
}

.tvr-pricing-card__bullets {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.tvr-pricing-card__bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--tvr-body-sm);
  color: var(--tvr-on-light-muted);
}

.tvr-pricing-card__bullet::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tvr-teal);
  flex-shrink: 0;
  margin-top: 0.5em;
}

.tvr-pricing-card__cta {
  margin-top: auto;
}

.tvr-pricing-card__cta .tvr-btn {
  width: 100%;
  justify-content: center;
}

.tvr-pricing-faq {
  padding-block: var(--tvr-section-py);
}

.tvr-pricing-faq__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.tvr-pricing-cta {
  padding-block: var(--tvr-section-py);
  text-align: center;
}

.tvr-pricing-cta__inner {
  max-width: 560px;
  margin-inline: auto;
}

.tvr-pricing-cta__h2 {
  font-size: var(--tvr-h2);
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  color: var(--tvr-on-dark);
  margin-bottom: 1rem;
}

.tvr-pricing-cta__sub {
  color: var(--tvr-on-dark-muted);
  margin-bottom: 2rem;
}

/* ============================================================
   FAQ ACCORDION (pricing page + contact page)
   ============================================================ */
.tvr-faq {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tvr-faq-item {
  border: 1.5px solid rgba(15, 25, 35, 0.1);
  border-radius: var(--tvr-radius);
  overflow: hidden;
  background: var(--tvr-white);
}

.tvr-faq-item__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.125rem 1.25rem;
  font-family: var(--tvr-font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--tvr-on-light);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: background var(--tvr-transition);
}

.tvr-faq-item__trigger:hover {
  background: rgba(10, 191, 163, 0.04);
}

.tvr-faq-item__trigger[aria-expanded="true"] {
  color: var(--tvr-teal-text);
}

.tvr-faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--tvr-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tvr-teal);
  font-size: 1.125rem;
  line-height: 1;
  transition: transform var(--tvr-transition);
}

.tvr-faq-item__trigger[aria-expanded="true"] .tvr-faq-item__icon {
  transform: rotate(45deg);
}

.tvr-faq-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.tvr-faq-item__panel--open {
  max-height: 600px;
}

.tvr-faq-item__body {
  padding: 0 1.25rem 1.25rem;
  font-size: var(--tvr-body-sm);
  color: var(--tvr-on-light-muted);
  line-height: 1.7;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.tvr-about-mission {
  padding-block: var(--tvr-section-py);
}

.tvr-about-mission__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.tvr-about-mission__text {
  max-width: 52ch;
}

.tvr-about-mission__h2 {
  font-size: var(--tvr-h2);
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  color: var(--tvr-on-light);
  margin-bottom: 1rem;
}

.tvr-about-mission__body {
  color: var(--tvr-on-light-muted);
  line-height: 1.75;
}

.tvr-about-mission__values {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tvr-about-mission__value-item {
  padding-left: 1rem;
  border-left: 2px solid var(--tvr-teal);
}

.tvr-about-mission__value-title {
  font-weight: 500;
  color: var(--tvr-on-light);
  margin-bottom: 0.25rem;
  font-size: 0.9375rem;
}

.tvr-about-mission__value-desc {
  font-size: var(--tvr-body-sm);
  color: var(--tvr-on-light-muted);
  line-height: 1.6;
}

.tvr-team {
  padding-block: var(--tvr-section-py);
}

.tvr-team__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.tvr-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--tvr-gap);
  max-width: 860px;
  margin-inline: auto;
}

.tvr-team-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.tvr-team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tvr-dark) 0%, var(--tvr-dark-alt) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tvr-team-card__initials {
  font-family: var(--tvr-font-serif);
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--tvr-teal);
  letter-spacing: 0.05em;
}

.tvr-team-card__name {
  font-family: var(--tvr-font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--tvr-on-light);
  line-height: 1.3;
}

.tvr-team-card__title {
  font-size: var(--tvr-body-sm);
  color: var(--tvr-on-light-muted);
}

.tvr-team-card__bio {
  font-size: var(--tvr-body-sm);
  color: var(--tvr-on-light-muted);
  line-height: 1.65;
  text-align: center;
}

.tvr-about-angel {
  padding-block: var(--tvr-section-py);
}

.tvr-about-angel__inner {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.tvr-about-angel__h2 {
  font-size: var(--tvr-h2);
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  color: var(--tvr-on-light);
  margin-bottom: 1rem;
}

.tvr-about-angel__body {
  color: var(--tvr-on-light-muted);
  line-height: 1.75;
}

.tvr-about-contact {
  padding-block: var(--tvr-section-py);
  text-align: center;
}

.tvr-about-contact__inner {
  max-width: 540px;
  margin-inline: auto;
}

.tvr-about-contact__h2 {
  font-size: var(--tvr-h2);
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  color: var(--tvr-on-dark);
  margin-bottom: 1rem;
}

.tvr-about-contact__body {
  color: var(--tvr-on-dark-muted);
  margin-bottom: 2rem;
}

/* ============================================================
   SECURITY PAGE
   ============================================================ */
.tvr-hipaa-controls {
  padding-block: var(--tvr-section-py);
}

.tvr-hipaa-controls__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.tvr-hipaa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--tvr-gap);
}

.tvr-hipaa-item {
  padding: 1.5rem;
  background: var(--tvr-white);
  border-radius: var(--tvr-radius);
  border-left: 3px solid var(--tvr-teal);
}

.tvr-hipaa-item__title {
  font-weight: 500;
  color: var(--tvr-on-light);
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
}

.tvr-hipaa-item__body {
  font-size: var(--tvr-body-sm);
  color: var(--tvr-on-light-muted);
  line-height: 1.6;
}

.tvr-data-handling {
  padding-block: var(--tvr-section-py);
}

.tvr-data-handling__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.tvr-data-handling__h2 {
  font-size: var(--tvr-h2);
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  color: var(--tvr-on-light);
  margin-bottom: 1rem;
}

.tvr-data-handling__body {
  color: var(--tvr-on-light-muted);
  line-height: 1.75;
}

.tvr-data-handling__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tvr-data-handling__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--tvr-body-sm);
  color: var(--tvr-on-light-muted);
}

.tvr-data-handling__item::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tvr-teal);
  flex-shrink: 0;
  margin-top: 0.45em;
}

.tvr-clinical-safety-protocol {
  padding-block: var(--tvr-section-py);
}

.tvr-clinical-safety-protocol__inner {
  max-width: 860px;
  margin-inline: auto;
}

.tvr-sec-cta {
  padding-block: var(--tvr-section-py);
  text-align: center;
}

.tvr-sec-cta__inner {
  max-width: 560px;
  margin-inline: auto;
}

.tvr-sec-cta__h2 {
  font-size: var(--tvr-h2);
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  color: var(--tvr-on-dark);
  margin-bottom: 1rem;
}

.tvr-sec-cta__sub {
  color: var(--tvr-on-dark-muted);
  margin-bottom: 2rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.tvr-contact-form-section {
  padding-block: var(--tvr-section-py);
}

.tvr-contact-form-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.tvr-contact-form__h2 {
  font-size: var(--tvr-h2);
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  color: var(--tvr-on-light);
  margin-bottom: 1.5rem;
}

.tvr-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tvr-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.tvr-form-group__label {
  font-size: var(--tvr-body-sm);
  font-weight: 500;
  color: var(--tvr-on-light-muted);
}

.tvr-form-group__input {
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(15, 25, 35, 0.15);
  border-radius: var(--tvr-radius);
  font-size: 0.9375rem;
  color: var(--tvr-on-light);
  background: var(--tvr-white);
  transition: border-color var(--tvr-transition);
  width: 100%;
}

.tvr-form-group__input:focus {
  outline: none;
  border-color: var(--tvr-teal);
}

.tvr-form-group__input::placeholder {
  color: rgba(74, 96, 116, 0.5);
}

.tvr-form-group__textarea {
  resize: vertical;
  min-height: 120px;
}

.tvr-contact-info__h3 {
  font-size: var(--tvr-h3);
  font-family: var(--tvr-font-serif);
  font-weight: 400;
  color: var(--tvr-on-light);
  margin-bottom: 1.25rem;
}

.tvr-contact-info__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tvr-contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--tvr-body-sm);
  color: var(--tvr-on-light-muted);
}

.tvr-contact-info__item a {
  color: var(--tvr-teal-text);
}

.tvr-contact-info__item a:hover {
  text-decoration: underline;
}

.tvr-contact-info__icon {
  width: 16px;
  flex-shrink: 0;
  color: var(--tvr-teal);
  margin-top: 0.125rem;
}

.tvr-contact-faq {
  padding-block: var(--tvr-section-py);
}

.tvr-contact-faq__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* ============================================================
   BLOG INDEX PAGE
   ============================================================ */
.tvr-blog-hero {
  padding-top: calc(var(--tvr-nav-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}

.tvr-blog-hero__inner {
  max-width: var(--tvr-container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.tvr-blog-hero__h1 {
  font-size: var(--tvr-h1);
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  color: var(--tvr-on-dark);
  margin-bottom: 0.75rem;
}

.tvr-blog-hero__sub {
  font-size: 1.125rem;
  color: var(--tvr-on-dark-muted);
  max-width: 50ch;
  margin-inline: auto;
}

.tvr-blog-grid-section {
  padding-block: var(--tvr-section-py);
}

.tvr-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--tvr-gap);
}

.tvr-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--tvr-white);
  border-radius: var(--tvr-radius-lg);
  overflow: hidden;
  border: 1.5px solid rgba(15, 25, 35, 0.08);
  transition: box-shadow var(--tvr-transition);
}

.tvr-blog-card:hover {
  box-shadow: 0 4px 20px rgba(15, 25, 35, 0.1);
}

.tvr-blog-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
}

.tvr-blog-card__category {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--tvr-teal-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tvr-blog-card__title {
  font-family: var(--tvr-font-serif);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--tvr-on-light);
  line-height: 1.35;
  flex: 1;
}

.tvr-blog-card__excerpt {
  font-size: var(--tvr-body-sm);
  color: var(--tvr-on-light-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tvr-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--tvr-on-light-muted);
  padding-top: 0.375rem;
  border-top: 1px solid rgba(15, 25, 35, 0.07);
  margin-top: auto;
}

.tvr-blog-card__date {
  color: var(--tvr-on-light-muted);
}

.tvr-blog-card__author {
  color: var(--tvr-on-light-muted);
}

.tvr-blog-card__sep {
  color: rgba(74, 96, 116, 0.4);
}

/* ============================================================
   ARTICLE TEMPLATE (blog/article-template.html)
   ============================================================ */
.tvr-article-hero {
  padding-top: calc(var(--tvr-nav-h) + clamp(2rem, 5vw, 3.5rem));
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.tvr-article-hero__inner {
  max-width: var(--tvr-container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.tvr-article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--tvr-body-sm);
  color: var(--tvr-teal);
  margin-bottom: 1.5rem;
  transition: gap var(--tvr-transition);
}

.tvr-article-back:hover {
  gap: 0.625rem;
}

.tvr-article-hero__category {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--tvr-teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.tvr-article-hero__h1 {
  font-size: var(--tvr-h1);
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  color: var(--tvr-on-dark);
  line-height: 1.2;
  max-width: 22ch;
  margin-bottom: 1.25rem;
}

.tvr-article-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--tvr-body-sm);
  color: var(--tvr-on-dark-muted);
}

.tvr-article-hero__sep {
  color: rgba(138, 180, 204, 0.4);
}

.tvr-article-body {
  padding-block: clamp(2rem, 6vw, 4rem);
}

.tvr-article-content {
  max-width: var(--tvr-reading);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.tvr-prose {
  font-family: var(--tvr-font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--tvr-on-light);
}

.tvr-prose h2 {
  font-family: var(--tvr-font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 300;
  color: var(--tvr-on-light);
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
}

.tvr-prose h3 {
  font-family: var(--tvr-font-serif);
  font-size: 1.1875rem;
  font-weight: 400;
  color: var(--tvr-on-light);
  margin-top: 2rem;
  margin-bottom: 0.625rem;
}

.tvr-prose p {
  margin-bottom: 1.25rem;
  color: var(--tvr-on-light-muted);
}

.tvr-prose a {
  color: var(--tvr-teal-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tvr-prose ul,
.tvr-prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.tvr-prose ul { list-style: disc; }
.tvr-prose ol { list-style: decimal; }

.tvr-prose li {
  margin-bottom: 0.375rem;
  color: var(--tvr-on-light-muted);
}

.tvr-prose blockquote {
  border-left: 3px solid var(--tvr-teal);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--tvr-on-light-muted);
}

.tvr-article-cta {
  padding-block: var(--tvr-section-py);
  background: var(--tvr-dark);
  text-align: center;
}

.tvr-article-cta__inner {
  max-width: 560px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.tvr-article-cta__h2 {
  font-size: var(--tvr-h2);
  font-family: var(--tvr-font-serif);
  font-weight: 300;
  color: var(--tvr-on-dark);
  margin-bottom: 0.875rem;
}

.tvr-article-cta__sub {
  color: var(--tvr-on-dark-muted);
  margin-bottom: 1.75rem;
}

.tvr-article-related {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  background: var(--tvr-light-alt);
}

.tvr-article-related__inner {
  max-width: var(--tvr-container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.tvr-article-related__h2 {
  font-size: 1.375rem;
  font-family: var(--tvr-font-serif);
  font-weight: 400;
  color: var(--tvr-on-light);
  margin-bottom: 1.5rem;
}

.tvr-article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--tvr-gap);
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.tvr-auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--tvr-light);
  padding: 2rem 1rem;
}

.tvr-auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--tvr-white);
  border-radius: var(--tvr-radius-lg);
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(15, 25, 35, 0.1);
}

.tvr-auth-card__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.tvr-auth-card__logo img {
  height: 28px;
  width: auto;
}

.tvr-auth-card__title {
  font-family: var(--tvr-font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--tvr-on-light);
  text-align: center;
  margin-bottom: 0.5rem;
}

.tvr-auth-card__subtitle {
  font-size: var(--tvr-body-sm);
  color: var(--tvr-on-light-muted);
  text-align: center;
  margin-bottom: 1.75rem;
}

.tvr-auth-card__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tvr-auth-card__form .tvr-btn {
  margin-top: 0.25rem;
  justify-content: center;
}

.tvr-auth-card__links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  font-size: var(--tvr-body-sm);
}

.tvr-auth-card__link {
  color: var(--tvr-teal-text);
  transition: color var(--tvr-transition);
}

.tvr-auth-card__link:hover {
  color: #044a3f;
}

.tvr-auth-card__legal {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 25, 35, 0.08);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--tvr-on-light-muted);
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.tvr-auth-card__legal a {
  color: var(--tvr-on-light-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.tvr-footer {
  background: var(--tvr-dark);
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: 1.5rem;
  border-top: 1px solid rgba(138, 180, 204, 0.12);
}

.tvr-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.tvr-footer__brand {
  padding-right: 1rem;
}

.tvr-footer__logo {
  display: inline-flex;
  margin-bottom: 1rem;
}

.tvr-footer__logo img {
  height: 26px;
  width: auto;
}

.tvr-footer__tagline {
  font-size: var(--tvr-body-sm);
  color: var(--tvr-on-dark-muted);
  line-height: 1.65;
  max-width: 28ch;
}

.tvr-footer__col-title {
  font-size: var(--tvr-body-sm);
  font-weight: 500;
  color: var(--tvr-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1rem;
}

.tvr-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.tvr-footer__link {
  font-size: var(--tvr-body-sm);
  color: var(--tvr-on-dark-muted);
  transition: color var(--tvr-transition);
}

.tvr-footer__link:hover {
  color: var(--tvr-on-dark);
}

.tvr-footer__bottom {
  border-top: 1px solid rgba(138, 180, 204, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.tvr-footer__copy {
  font-size: 0.8125rem;
  color: var(--tvr-on-dark-muted);
}

.tvr-footer__contact {
  font-size: 0.8125rem;
  color: var(--tvr-on-dark-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tvr-footer__contact a {
  color: var(--tvr-on-dark-muted);
  transition: color var(--tvr-transition);
}

.tvr-footer__contact a:hover {
  color: var(--tvr-on-dark);
}

.tvr-footer__cookie-link {
  font-size: 0.8125rem;
  color: rgba(138, 180, 204, 0.65);
  transition: color var(--tvr-transition);
}

.tvr-footer__cookie-link:hover {
  color: var(--tvr-on-dark-muted);
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--tvr-dark-alt);
  border-top: 1px solid rgba(138, 180, 204, 0.15);
  padding: 1rem;
}

.cookie-banner__inner {
  max-width: var(--tvr-container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.cookie-banner__text {
  font-size: var(--tvr-body-sm);
  color: var(--tvr-on-dark-muted);
  flex: 1;
  min-width: 200px;
}

.cookie-banner__text a {
  color: var(--tvr-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-banner__btn {
  padding: 0.5rem 1rem;
  border-radius: var(--tvr-radius);
  font-family: var(--tvr-font-body);
  font-size: var(--tvr-body-sm);
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--tvr-transition);
}

.cookie-banner__btn--primary {
  background: var(--tvr-teal);
  color: #0F1923;
  border-color: var(--tvr-teal);
}

.cookie-banner__btn--primary:hover {
  background: #08a88e;
  border-color: #08a88e;
}

.cookie-banner__btn--secondary {
  background: transparent;
  color: var(--tvr-on-dark-muted);
  border-color: rgba(138, 180, 204, 0.3);
}

.cookie-banner__btn--secondary:hover {
  border-color: var(--tvr-on-dark-muted);
  color: var(--tvr-on-dark);
}

/* ============================================================
   LEGAL PAGES (prose container — abw-legal will use this)
   ============================================================ */
.tvr-legal-page {
  padding-top: calc(var(--tvr-nav-h) + clamp(2rem, 5vw, 3.5rem));
  padding-bottom: clamp(3rem, 7vw, 5rem);
  background: var(--tvr-white);
  color: var(--tvr-on-light);
  min-height: 100vh;
}

.tvr-legal-content {
  max-width: var(--tvr-reading);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.tvr-legal-content h1 {
  font-size: var(--tvr-h1);
  font-weight: 300;
  color: var(--tvr-on-light);
  margin-bottom: 0.5rem;
}

.tvr-legal-content h2 {
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--tvr-on-light);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.tvr-legal-content p {
  color: var(--tvr-on-light-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.tvr-legal-content a {
  color: var(--tvr-teal-text);
  text-decoration: underline;
}

.tvr-legal-content ul,
.tvr-legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.tvr-legal-content ul { list-style: disc; }
.tvr-legal-content ol { list-style: decimal; }

.tvr-legal-content li {
  color: var(--tvr-on-light-muted);
  line-height: 1.7;
  margin-bottom: 0.375rem;
}

/* ============================================================
   SVG DIAGRAM SHARED STYLES
   ============================================================ */
.tvr-diagram {
  width: 100%;
  height: auto;
  display: block;
}

.tvr-diagram--flow {
  max-width: 900px;
  margin-inline: auto;
}

/* ============================================================
   WAVEFORM ANIMATION
   ============================================================ */
@keyframes tvr-wave-1 {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

@keyframes tvr-wave-2 {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1); }
}

@keyframes tvr-wave-3 {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

.tvr-wave-bar {
  transform-origin: center bottom;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 2.5s;
}

.tvr-wave-bar--1 { animation-name: tvr-wave-1; animation-delay: 0s; }
.tvr-wave-bar--2 { animation-name: tvr-wave-2; animation-delay: 0.2s; }
.tvr-wave-bar--3 { animation-name: tvr-wave-3; animation-delay: 0.4s; }
.tvr-wave-bar--4 { animation-name: tvr-wave-2; animation-delay: 0.6s; }
.tvr-wave-bar--5 { animation-name: tvr-wave-1; animation-delay: 0.8s; }

.tvr-page--dark-top {
  background: var(--tvr-dark);
}

.tvr-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
}

.tvr-problem__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
  align-items: start;
}

.tvr-fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.tvr-fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}


/* bg-polarity context overrides — dark-section components */
.tvr-bg--dark .tvr-data-handling__h2 { color: var(--tvr-on-dark); }
.tvr-bg--dark .tvr-data-handling__body { color: var(--tvr-on-dark-muted); }
.tvr-bg--dark .tvr-contact-form__h2 h1,
.tvr-bg--dark .tvr-contact-form__h2 h2 { color: var(--tvr-on-dark); }
.tvr-bg--dark .tvr-contact-info__h3 { color: var(--tvr-on-dark); }
.tvr-bg--dark .tvr-contact-info__item { color: var(--tvr-on-dark-muted); }
.tvr-bg--dark .tvr-contact-info__item a { color: var(--tvr-teal); }
.tvr-bg--light .tvr-hiw-preview__link,
.tvr-bg--white .tvr-hiw-preview__link,
.tvr-bg--light-alt .tvr-hiw-preview__link { color: var(--tvr-teal-text); }

.tvr-team-card__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* ============================================================
   SPLIT-SCREEN LOGIN (login.html only — modifier --split)
   ============================================================ */
.tvr-auth-page--split {
  flex-direction: row;
  align-items: stretch;
  padding: 0;
  background: var(--tvr-dark);
}

.tvr-auth-page--split > main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 100vh;
}

.tvr-auth-brand {
  background: var(--tvr-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.tvr-auth-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(10, 191, 163, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.tvr-auth-brand__inner {
  position: relative;
  max-width: 380px;
}

.tvr-auth-brand__logo {
  display: inline-block;
  margin-bottom: 3rem;
}

.tvr-auth-brand__logo img {
  height: 30px;
  width: auto;
  display: block;
}

.tvr-auth-brand__headline {
  font-family: var(--tvr-font-serif);
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--tvr-on-dark);
  margin: 0 0 1rem;
}

.tvr-auth-brand__sub {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--tvr-on-dark-muted);
  margin: 0 0 1.25rem;
}

.tvr-auth-brand__note {
  font-size: var(--tvr-body-sm);
  color: var(--tvr-teal);
  margin: 0;
  opacity: 0.9;
}

.tvr-auth-form-col {
  background: var(--tvr-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
}

.tvr-auth-page--split .tvr-auth-card {
  max-width: 400px;
  box-shadow: 0 4px 24px rgba(15, 25, 35, 0.09);
}

@media (prefers-reduced-motion: reduce) {
  .tvr-wave-bar {
    animation: none;
    transform: scaleY(0.7);
  }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.tvr-text-teal { color: var(--tvr-teal-text); }
.tvr-text-muted-dark { color: var(--tvr-on-dark-muted); }
.tvr-text-muted-light { color: var(--tvr-on-light-muted); }
.tvr-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   RESPONSIVE — max 768px
   ============================================================ */
@media (max-width: 768px) {
  .tvr-nav__links {
    display: none;
  }

  .tvr-nav__actions {
    display: none;
  }

  .tvr-nav__hamburger {
    display: flex;
  }

  .tvr-nav__drawer .tvr-nav__actions {
    display: flex;
  }

  .tvr-hero__inner {
    grid-template-columns: 1fr;
  }

  .tvr-hero__visual {
    justify-content: center;
    order: -1;
  }

  .tvr-problem__inner {
    grid-template-columns: 1fr;
  }

  .tvr-capabilities__grid {
    grid-template-columns: 1fr;
  }

  .tvr-twit-section__inner {
    grid-template-columns: 1fr;
  }

  .tvr-emr-cards {
    grid-template-columns: 1fr;
  }

  .tvr-int-arch__inner {
    grid-template-columns: 1fr;
  }

  .tvr-pricing-tiers__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .tvr-pricing-card--highlight .tvr-pricing-card__badge {
    position: static;
    transform: none;
    display: inline-block;
    margin-bottom: 0.75rem;
    left: auto;
    top: auto;
  }

  .tvr-about-mission__inner {
    grid-template-columns: 1fr;
  }

  .tvr-team__grid {
    grid-template-columns: 1fr 1fr;
  }

  .tvr-hipaa-grid {
    grid-template-columns: 1fr;
  }

  .tvr-data-handling__inner {
    grid-template-columns: 1fr;
  }

  .tvr-contact-form-section__inner {
    grid-template-columns: 1fr;
  }

  .tvr-blog-grid {
    grid-template-columns: 1fr;
  }

  .tvr-article-related__grid {
    grid-template-columns: 1fr;
  }

  .tvr-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .tvr-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .tvr-auth-card {
    padding: 1.75rem 1.25rem;
  }

  .tvr-auth-page--split > main {
    grid-template-columns: 1fr;
  }

  .tvr-auth-brand {
    padding: 2rem 1.5rem;
    min-height: auto;
  }

  .tvr-auth-brand__headline {
    font-size: 1.5rem;
  }

  .tvr-auth-brand__sub {
    font-size: var(--tvr-body-sm);
  }

  .tvr-auth-form-col {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .tvr-team__grid {
    grid-template-columns: 1fr;
    max-width: 260px;
  }

  .tvr-footer__top {
    grid-template-columns: 1fr;
  }

  .tvr-footer__brand {
    padding-right: 0;
  }

  .tvr-hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .tvr-early-access__ctas {
    flex-direction: column;
    align-items: center;
  }

  .tvr-blog-grid {
    grid-template-columns: 1fr;
  }

  .tvr-auth-card__links {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
}
