/* /persona-8b/overview/: the Demo video and Eval Infra card, moved from the
   home page (css/home.css). Colors and fonts come from dark-theme.css, which
   also adds the dark .os-card background, border, and shadow. */

/* Home page layout: centered panels, numbered eyebrow over a centered title
   (mirrors .panel, .sec-head, .idx, and .sec-title in home.css and home-light.css) */
.ov-main { padding-bottom: clamp(80px, 10vw, 120px); }
.ov-panel { max-width: 1080px; margin: 0 auto; padding: clamp(70px, 10vw, 110px) clamp(20px, 5vw, 64px) 0; }
.ov-panel.application-types { max-width: 1160px; }
@media (min-width: 1280px) { .ov-panel.application-types { max-width: 1360px; } }
.ov-sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.ov-idx { color: var(--phos); font-family: "Inter", var(--disp); font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.ov-title {
  margin: 14px 0; color: var(--ink); font-family: var(--disp); font-size: clamp(1.95rem, 4.5vw, 2.44rem);
  font-weight: 400 !important; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance;
}
.ov-demo .video-frame, .ov-infra .os-card { margin: 0 auto; }

/* Demo video */
.video-frame {
  position: relative; max-width: 1040px; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--line); border-radius: 14px; background: #000;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Eval Infra card */
.os-card { max-width: 1080px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.os-card-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 14px 18px; border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(to bottom, rgba(0, 61, 122, 0.08), rgba(0, 52, 163, 0.05));
}
.os-card-id { color: var(--ink); font-family: var(--disp); font-size: 1.45rem; font-weight: 500; letter-spacing: -0.01em; }
.os-card-id em { color: var(--phos); font-style: normal; text-shadow: var(--glow); }
.os-card-status { display: flex; align-items: center; gap: 14px; }
.os-card-status .led { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-dim); font-size: .75rem; letter-spacing: 0.1em; }
.os-card-status .led::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--phos); box-shadow: var(--glow); animation: ovpulse 1.4s infinite; }
@keyframes ovpulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.os-card-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 26px 20px; }
.os-card-vitals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border: 1px solid var(--line-soft); }
.os-card-vitals > div { min-width: 0; padding: 14px 22px; border-right: 1px solid var(--line-soft); }
.os-card-vitals > div:last-child { border-right: none; }
.os-card-vitals b { display: block; color: var(--phos); font-family: var(--disp); font-size: 1.5rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.os-card-vitals span { color: var(--ink-dim); font-size: .8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.pg-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* The home page's primary button, scoped to this card */
.ov-infra .btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; cursor: pointer;
  border: 1px solid rgba(93,166,214,.62); border-radius: 10px;
  background: linear-gradient(135deg, #245d88 0%, #347eae 58%, #3c8cbd 100%);
  box-shadow: 0 10px 28px rgba(8,38,61,.32), inset 0 1px 0 rgba(255,255,255,.13);
  color: #f7fbff; font-family: "Inter", var(--disp); font-size: .88rem; font-weight: 650; letter-spacing: -0.01em; text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.ov-infra .btn:hover {
  transform: translateY(-2px); color: #fff; border-color: rgba(123,195,237,.78);
  background: linear-gradient(135deg, #2b6c9d 0%, #3d8dbc 58%, #48a0ce 100%);
  box-shadow: 0 14px 34px rgba(7,40,64,.4), 0 0 0 3px rgba(74,143,194,.11), inset 0 1px 0 rgba(255,255,255,.17);
}
.ov-infra .btn .arr { color: #d5efff; transition: transform .25s; }
.ov-infra .btn:hover .arr { transform: translateX(5px); }

@media (max-width: 760px) {
  .os-card-body { grid-template-columns: 1fr; }
  .os-card-vitals > div { padding: 12px 8px; }
  .os-card-vitals b { font-size: 1.16rem; }
  .os-card-vitals span { font-size: .66rem; }
}
@media (max-width: 640px) {
  .os-card-body { justify-items: center; text-align: center; }
  .pg-actions { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .os-card-status .led::before { animation: none; }
  .ov-infra .btn, .ov-infra .btn .arr { transition: none; }
}
