/* VetIT identity on the shared editorial case-study layout.
   Indigo marks the product. The shared cobalt treatment marks primary actions. */
:root {
  --sig-1: #2335ff;
  --sig-2: #0a12d6;
  --sig-3: #04077a;
  --sig-light: rgb(130 150 255 / 0.32);
  --sig-shade: rgb(0 0 70 / 0.5);
  --sig-drop: rgb(20 40 230 / 0.4);
  --sig-word-shadow: rgb(0 0 50 / 0.6);
  --sig-confetti: #0006df, #4d63ff, #a3a6ff, #f5b70a, #f5efe6;
}
:root,
:root[data-theme="dark"] { --accent: #a3a6ff; --focus: #a3a6ff; }
:root[data-theme="light"] { --accent: #3b3fb5; --focus: #3b3fb5; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --accent: #3b3fb5; --focus: #3b3fb5; } }
.nav, :root .nav, :root[data-theme="light"] .nav { --nav-on: var(--accent); }
.panel a[aria-current="page"] { color: var(--accent); }
.hs-k, .rv-k { color: var(--accent); }
.fin-h em, :root[data-theme='light'] .fin-h em { color: var(--accent); }
.rs-panel, :root[data-theme="light"] .rs-panel { --red: var(--accent); }
.fin-why a:hover { text-decoration-color: var(--accent); }

.nav-mark .nav-vetit { display: block; width: auto; height: 36px; }
:root[data-theme="dark"] .nav-mark .nav-vetit { filter: brightness(1.45); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav-mark .nav-vetit { filter: brightness(1.45); } }

/* ---------- the device: a 16:10 screen, the shape of the system's own desktop screens ---------- */
.ipad-screen { aspect-ratio: 16 / 10; }
@media (max-width: 699px) {
  .ahero-device { display: block; }
  .ahero { height: min(calc(100svh - var(--nav-h)), clamp(410px, 125vw, 720px)); }
  .ipad { --w: min(92vw, 520px); }
}

/* ---------- the splash: the system's indigo, the wordmark in white, a day's route, a board that clatters into
   "Clinic day" (splash.js) ---------- */
.splash,
.ipad-screen.splash,
.rv-endcard {
  background: radial-gradient(120% 90% at 18% 0%, #6f68f0 0%, #4a43c9 42%, #2c2790 100%);
}
.splash .vt-logo { display: flex; align-items: center; justify-content: center; gap: 2.2cqw; width: auto; color: #fff; }
.splash .vt-logo i { display: grid; place-items: center; width: 7cqw; aspect-ratio: 1; border: 0.5cqw solid #fff; border-radius: 50%; font: 700 2.4cqw/1 var(--sans); font-style: normal; }
.splash .vt-logo b { font: 700 6.4cqw/1 var(--sans); letter-spacing: -0.02em; }
.splash .flaps { grid-template-columns: repeat(6, var(--w)); --w: 7.6cqw; }
.splash .tile {
  background:
    linear-gradient(rgb(160 152 255) 0%, rgb(132 124 248) 14%, rgb(112 104 236) 40%, rgb(98 90 226) 48.5%, transparent 49%),
    linear-gradient(rgb(255 255 255 / 0.3) 0%, rgb(255 255 255 / 0.16) 49%, rgb(255 255 255 / 0.07) 51%, rgb(255 255 255 / 0.12) 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.5),
    0 calc(var(--w) * 0.1) calc(var(--w) * 0.24) rgb(20 10 90 / 0.32);
  text-shadow: 0 1px calc(var(--w) * 0.04) rgb(20 10 90 / 0.35);
}
.splash .tile::after { background: rgb(20 10 90 / 0.35); }
.splash .tile.go { background: linear-gradient(#fff 0 49%, #ebe9fb 51%, #f7f6fe 100%); }
.splash .tile.go::after { background: rgb(74 67 201 / 0.22); }
.splash .tile.go svg { fill: #4a43c9; rotate: none; width: 60%; }

/* ---------- the audit page's flow cards: one screen, centred (no iPhone beside it) ---------- */
.af-d { left: 9%; width: 82%; top: 12%; }
/* a finding fixed in the redesign says so, in green */
.chip-fixed { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-weight: 600; font-size: 14px; }
.fd-fixed { margin-top: 18px; color: var(--fg-2); font-size: 15px; }
.fd-fixed a { color: var(--fg); }

/* ---------- the design page: before and after, each in a plain dark bezel ---------- */
.ba .tablet { display: block; padding: 2.2%; border-radius: 18px; background: #0d0d0f; box-shadow: 0 0 0 1px rgb(255 255 255 / .1), var(--shadow); }
.ba .tablet img { width: 100%; height: auto; border-radius: 10px; }
.ba .zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }

.lb .tablet { display: block; padding: 1.6%; border-radius: 20px; background: #0d0d0f; }
.lb .tablet img { border-radius: 12px; }
/* the simulated voices sit apart, under their own heading */
.r-sim { margin-top: 36px; }
.fv-dev[hidden] { display: none !important; }

/* ---------- the ending: the same 16:10 screen on every size (no portrait phone) ---------- */
.fin-screen { aspect-ratio: 16 / 10; }
@media (max-width: 699px) {
  .fin-dev { width: min(92vw, 520px); }
  .fin-frame { padding: 2.2%; border-radius: 4.6% / 7.4%; }
  .fin-screen { aspect-ratio: 16 / 10; border-radius: 2.4% / 3.8%; }
}
/* a decision's fix, as the review listed it: a short list */
.fix-list { display: grid; gap: 6px; padding-left: 1.1em; list-style: disc; }

/* Review examples use their landscape capture on phones as well. */
.rv-step .rv-fig { width: 100%; max-width: none; aspect-ratio: var(--capture-aspect, 16 / 10); border-radius: 14px; }
.rv-step .rv-fig:not(.is-tall) .rv-box { display: block; }
@media (prefers-reduced-motion: reduce) {
  .ahero.is-placed .ahero-device { transition: none; }
}
