/* ==========================================================================
   V2 Page Layouts: Hero, Cinema Video, Upgrade ROI Calculator, Research,
   Publications, Timeline, 5-Layer Anti-Spam Contact, Legal Prose
   ========================================================================== */

/* Home Full-Bleed Hero */
.hero {
  position: relative;
  background-color: var(--navy-950);
  color: var(--surface);
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.25rem);
}

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

.hero__media picture,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(108deg, rgba(7, 19, 32, 0.94) 0%, rgba(16, 42, 67, 0.85) 56%, rgba(16, 42, 67, 0.74) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero__title {
  color: var(--surface);
  font-size: var(--text-hero);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero__claim {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--hero-sub);
  margin-bottom: 1.65rem;
  max-width: 58ch;
}

.hero__panel {
  background: rgba(7, 19, 32, 0.78);
  border: 1px solid rgba(82, 199, 208, 0.32);
  border-top: 3px solid var(--teal-500);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.55rem;
  backdrop-filter: blur(8px);
}

.hero__panel-title {
  color: var(--surface);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.hero__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--hero-sub);
}

.hero__facts li {
  margin: 0;
  padding-left: 1rem;
  position: relative;
}

.hero__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--cyan-400);
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
}

/* Subpage Hero */
.page-hero {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  color: var(--surface);
  padding-block: clamp(2.75rem, 5.5vw, 4.25rem);
  border-bottom: 3px solid var(--teal-500);
}

.page-hero h1 {
  color: var(--surface);
  margin-top: 0.4rem;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--hero-sub);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  max-width: 64ch;
}

/* KPI Strip Overlap Wrapper */
.kpi-band {
  margin-top: -2rem;
  position: relative;
  z-index: 3;
}

@media (max-width: 767px) {
  .kpi-band { margin-top: 1.5rem; }
}

/* Split Layouts */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split--equal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

@media (max-width: 860px) {
  .split,
  .split--equal {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Cinema Video Showcase */
.cinema-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  align-items: center;
}

.cinema-frame {
  background-color: var(--navy-900);
  border: 1px solid rgba(82, 199, 208, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cinema-frame__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--navy-950);
  object-fit: cover;
}

.cinema-frame__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  background-color: rgba(7, 19, 32, 0.92);
  border-top: 1px solid rgba(216, 232, 240, 0.14);
  font-size: 0.85rem;
  color: var(--hero-sub);
}

.cinema-chapters {
  background: rgba(16, 42, 67, 0.65);
  border: 1px solid rgba(82, 199, 208, 0.25);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.cinema-chapters__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cinema-chapters__list li {
  margin: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(216, 232, 240, 0.12);
  font-size: 0.9rem;
  color: var(--hero-sub);
}

.cinema-chapters__list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

@media (max-width: 960px) {
  .cinema-layout { grid-template-columns: minmax(0, 1fr); }
}

/* Upgrade Interactive ROI Calculator */
.roi-box {
  background-color: var(--surface-teal);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal-500);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.roi-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.roi-preset-btn {
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background-color: var(--surface);
  color: var(--navy-900);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.roi-preset-btn[aria-pressed="true"] {
  background-color: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--surface);
}

.roi-sliders {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  margin-bottom: 1.25rem;
}

.roi-slider-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.roi-slider-item__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-900);
}

.roi-slider-item input[type="range"] {
  width: 100%;
  accent-color: var(--teal-600);
  cursor: pointer;
}

@media (max-width: 820px) {
  .roi-sliders { grid-template-columns: minmax(0, 1fr); }
}

.roi-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.roi-table th,
.roi-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.roi-table thead th {
  background-color: var(--surface-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.roi-table__amount {
  text-align: right !important;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--teal-600);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Live Proportional Bar Chart */
.roi-bars {
  margin-top: 1.1rem;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.roi-bar-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.38fr) minmax(0, 1fr) 56px;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.85rem;
}

.roi-bar-track {
  height: 10px;
  background-color: var(--surface-soft);
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid var(--border);
}

.roi-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width var(--duration-base) var(--ease-out);
}

.roi-bar-fill--1 { background-color: var(--teal-500); }
.roi-bar-fill--2 { background-color: var(--navy-800); }
.roi-bar-fill--3 { background-color: var(--gold-500); }

.roi-summary {
  margin-top: 1.15rem;
  padding: 1.05rem 1.2rem;
  background-color: var(--navy-900);
  color: var(--surface);
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.roi-summary__total {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--cyan-400);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
  .roi-table thead { display: none; }
  .roi-table,
  .roi-table tbody,
  .roi-table tr,
  .roi-table td {
    display: block;
    width: 100%;
  }
  .roi-table tr {
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid var(--border);
  }
  .roi-table td {
    border: none;
    padding: 0.2rem 0;
  }
  .roi-table__amount {
    text-align: left !important;
    margin-top: 0.25rem;
    font-size: 1.05rem;
  }
  .roi-bar-row {
    grid-template-columns: minmax(0, 1fr) 52px;
  }
  .roi-bar-row > span:first-child {
    grid-column: 1 / -1;
  }
}

/* Target Groups Matrix */
.matrix-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--surface);
}

.matrix-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.matrix-row:last-child { border-bottom: none; }
.matrix-row:nth-child(even) { background-color: var(--surface-soft); }
.matrix-row__title { font-weight: 700; color: var(--navy-900); }

@media (max-width: 640px) {
  .matrix-row { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
}

/* Publications & Book Showcase */
.pub-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pub-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy-800);
  border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 2.5vw, 1.55rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pub-card--pnn { border-left-color: var(--teal-500); }
.pub-card--book { border-left-color: var(--gold-500); }

.pub-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.book-showcase {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  align-items: center;
  background-color: var(--navy-900);
  color: var(--hero-sub);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--gold-500);
  padding: clamp(1.35rem, 3vw, 2.25rem);
}

.book-showcase h3 { color: var(--surface); }

@media (max-width: 700px) {
  .book-showcase { grid-template-columns: minmax(0, 1fr); }
  .book-showcase .media-frame { max-width: 240px; }
}

/* Research Diagrams, Math Formulas & Domain PDE Tables */
.diagram-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow-xs);
}

.math-block {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  background-color: var(--surface-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal-500);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.05rem;
  overflow-x: auto;
  color: var(--navy-900);
  line-height: 1.55;
}

.pde-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--surface);
}

.pde-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.pde-table th,
.pde-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.pde-table thead th {
  background-color: var(--surface-soft);
  color: var(--navy-900);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pde-table tbody tr:last-child td {
  border-bottom: none;
}

/* Timeline (5 Year Blocks + 14 Milestones) */
.year-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.year-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background-color: var(--surface);
  color: var(--navy-900);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}

.year-nav a:hover {
  background-color: var(--navy-900);
  color: var(--surface);
}

.timeline-years {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.timeline-year-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal-500);
  border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 2.5vw, 1.65rem);
}

.timeline-year-card:nth-child(2) { border-left-color: var(--cyan-400); }
.timeline-year-card:nth-child(3) { border-left-color: var(--navy-800); }
.timeline-year-card:nth-child(4) { border-left-color: var(--gold-500); }

.timeline-year-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.timeline-year-card__year {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--teal-600);
}

.milestone-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.milestone-list li {
  margin: 0;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 0.75rem;
  font-size: 0.94rem;
}

.milestone-date {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy-800);
}

@media (max-width: 560px) {
  .milestone-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
  }
}

/* Leadership Card */
.leader-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
  background-color: var(--surface-teal);
  border: 1px solid var(--border);
  border-left: 4px solid var(--cyan-400);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.leader-card__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--surface);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1 / 1;
}

.leader-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .leader-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.15rem;
  }
  .leader-card__photo { max-width: 150px; }
}

/* 5-Layer Anti-Spam Contact Page */
.security-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.reveal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.challenge-box {
  background-color: var(--surface-blue);
  border: 1px solid var(--border);
  border-left: 3px solid var(--navy-800);
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem;
  margin-bottom: 1.1rem;
}

.challenge-box__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.45rem;
}

.challenge-box__input {
  width: 110px;
}

.vcard-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  background-color: var(--navy-900);
  color: var(--surface);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--teal-500);
  padding: 1.35rem;
}

.vcard-box__qr {
  background-color: var(--surface);
  padding: 0.55rem;
  border-radius: var(--radius-md);
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}

/* Legal Document Layout (V1 Lessons Baked In) */
.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2.25rem;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  background-color: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.legal-toc__list {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.legal-toc__list a {
  text-decoration: none;
  color: var(--ink);
}

.legal-toc__list a:hover {
  color: var(--teal-600);
  text-decoration: underline;
}

.legal-prose {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3.5vw, 2.5rem);
  min-width: 0;
  overflow-wrap: anywhere;
}

.legal-prose h2 {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
}

.legal-prose > section:first-child > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-prose h3 { margin-top: 1.4rem; font-size: 1.08rem; }
.legal-prose h4 { margin-top: 1.1rem; font-size: 0.98rem; }

.legal-prose p,
.legal-prose li {
  max-width: 72ch;
  overflow-wrap: anywhere;
}

.legal-prose a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
}

/* CTA Banner */
.cta-band {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--surface);
  border-top: 3px solid var(--teal-500);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.cta-band h2 { color: var(--surface); margin-bottom: 0.4rem; }
.cta-band p { color: var(--hero-sub); }

/* V2.1 Dashboard Preview, Forecasting Tool & CEO Video Section */
.dashboard-preview-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--surface);
  box-shadow: var(--shadow-lg);
}

.dashboard-preview-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.forecast-box {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-md);
}

.forecast-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .forecast-pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .forecast-pipeline { grid-template-columns: minmax(0, 1fr); }
}

.forecast-step {
  background-color: var(--surface-soft);
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal-500);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
}

.forecast-step strong {
  display: block;
  color: var(--navy-900);
  font-size: 0.94rem;
  margin-bottom: 0.25rem;
}

.forecast-step span {
  font-size: 0.85rem;
  color: var(--muted);
}

.forecast-controls-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 760px) {
  .forecast-controls-grid { grid-template-columns: minmax(0, 1fr); }
}

.forecast-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

@media (max-width: 500px) {
  .forecast-cat-grid { grid-template-columns: minmax(0, 1fr); }
}

.forecast-cat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  background-color: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
}

.forecast-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.forecast-stat {
  background-color: var(--surface-teal);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.forecast-stat strong {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--navy-900);
}

.forecast-stat span {
  font-size: 0.82rem;
  color: var(--muted);
}

.forecast-chart-box {
  background-color: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
}

/* CEO Short Profile Video */
.ceo-video-card {
  background: linear-gradient(155deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2.25rem);
  border-top: 3px solid var(--gold-500);
  box-shadow: var(--shadow-lg);
}

.ceo-video-card h3 { color: var(--surface); }
.ceo-video-card p { color: var(--hero-sub); }

.ceo-video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-color: var(--navy-950);
}

.ceo-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ceo-video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(9, 24, 39, 0.45) 0%, rgba(9, 24, 39, 0.82) 100%);
}

.ceo-video-fallback[hidden] {
  display: none;
}

.ceo-play-ring {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  background-color: rgba(16, 42, 67, 0.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  margin-bottom: 0.75rem;
}

/* Cupulis Login Card */
.login-shell {
  max-width: 540px;
  margin: 0 auto;
}

.demo-creds-box {
  background-color: var(--surface-teal);
  border: 1px solid var(--teal-500);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
