/* The Watch pages (marketing plan Track V; layout docs/plans/2026-10-30-public-site-cohesion.md 2.1 and 2.2):
   console/videos.html and console/videos/<slug>.html, generated by scripts/build-video-pages.mjs. The menu, footer and
   testimonials are console/site.css. The look is the sales page's: the same blue, the drawing grid, the amber call to
   action, system fonts. The hub is a catalogue of cards by chapter; a watch page is the video, then what it does not show. */
:root {
  --ink: #0e1a26; --ink-2: #475566; --ink-3: #6a7787;
  --blue: #0b5fa5; --blue-deep: #094b83; --mist: #f2f5f8; --line: #dce3ea;
  --amber: #e8a317; --amber-soft: #fdf2da; --gold: #ffd27a;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); -webkit-font-smoothing: antialiased;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.vp-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.vp-notice { margin: 0; background: var(--amber-soft); color: #5a3d00; text-align: center; padding: 9px 16px;
  font: 600 13px/1.4 var(--mono); }

/* hero: the brand blue with a drawing grid, as on the sales page */
.vp-hero { position: relative; color: #fff; padding-bottom: 56px; background-color: var(--blue-deep);
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 70%);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px, 100% 100%; }
.vp-eyebrow { margin: 0; font: 600 12px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #9fc8ee; }
.vp-eyebrow.dark { color: var(--blue); }
.vp-intro { padding: 12px 0 30px; max-width: 760px; }
.vp-intro h1 { margin: 12px 0 14px; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04; letter-spacing: -.03em;
  font-weight: 850; text-wrap: balance; }
.vp-intro h1 em { font-style: normal; color: var(--gold); }
.vp-lede { margin: 0; font-size: 18px; color: #d6e6f5; max-width: 60ch; }
.vp-lede.dark { color: var(--ink-2); }
.vp-crumb { margin: 0; padding: 10px 0 22px; font-size: 14px; color: #bcd6ee; }
.vp-crumb a { color: #fff; }

/* the stage: the player, and what is in this video */
.vp-stage { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.vp-frame { position: relative; display: flex; justify-content: center; overflow: hidden; border-radius: 12px; background: #06121f;
  aspect-ratio: var(--ar); box-shadow: 0 1px 2px rgba(5,20,40,.3), 0 24px 48px rgba(5,20,40,.35); }
/* A tall video would be a thin strip in a wide box, so it gets a tall box, with its own poster blurred behind it. */
.vp-frame.portrait { aspect-ratio: auto; height: min(76vh, 660px); }
.vp-bd { position: absolute; inset: -24px; background-size: cover; background-position: center;
  filter: blur(22px) brightness(.55) saturate(1.2); }
.vp-media { position: relative; height: 100%; max-width: 100%; aspect-ratio: var(--ar); }
.vp-poster, .vp-media mux-player { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vp-poster { object-fit: cover; }
/* The cast button is hidden: Google's cast script is not on the CSP's list (script-src), so it could only ever be a dead
   button, and the blocked request is a harmless line in the console. AirPlay is the browser's own and stays. */
.vp-media mux-player { --media-object-fit: contain; --media-background-color: transparent; --cast-button: none; }
.vp-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center;
  width: 76px; height: 76px; border: 0; border-radius: 50%; background: var(--amber); color: #1d1504; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.vp-play:hover { background: #f2b23a; }
.vp-play svg { margin-left: 4px; }
.vp-media.ready .vp-play, .vp-media.ready .vp-poster { display: none; }
.vp-media.loading .vp-play { opacity: .55; cursor: progress; }
.vp-noscript { position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0; padding: 8px 10px; border-radius: 6px;
  background: rgba(0,0,0,.6); font-size: 13px; }

.vp-panel { color: #fff; }
.vp-title { margin: 10px 0 12px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; letter-spacing: -.02em;
  font-weight: 800; text-wrap: balance; }
.vp-summary { margin: 0 0 12px; color: #d6e6f5; }
.vp-who { margin: 0 0 22px; font: 600 13px/1.4 var(--mono); letter-spacing: .02em; color: #9fc8ee; }
.vp-ctas { margin-top: 4px; }
.vp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border: 1px solid transparent; border-radius: 7px;
  font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; }
a.vp-btn.primary { background: var(--amber); color: #1d1504; }
a.vp-btn.primary:hover { background: #f2b23a; }
.vp-trial { margin: 10px 0 0; font-size: 14px; color: #bcd6ee; }

/* the words, for people and for search */
.vp-read { border-bottom: 1px solid var(--line); background: #fff; }
.vp-read-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 18px; padding-bottom: 18px; }
.vp-transcript { flex: 1 1 520px; max-width: 70ch; }
.vp-transcript summary { cursor: pointer; font-weight: 700; color: var(--blue); }
.vp-transcript p { margin: 10px 0 0; color: var(--ink-2); }
/* a help article's steps under the video (marketing plan M6): each its own row below the transcript */
.vp-help { flex-basis: 100%; }
.vp-help ol, .vp-help ul { margin: 10px 0 0; padding-left: 22px; color: var(--ink-2); }
.vp-help li { margin: 6px 0 0; }
/* the hub: chips, Start here, a section per chapter */
.vp-cat { background: var(--mist); padding: 28px 0 72px; }
.vp-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 18px; scrollbar-width: none; }
.vp-chips::-webkit-scrollbar { display: none; }
.vp-chip { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  text-decoration: none; font-size: 15px; font-weight: 600; }
.vp-chip:hover { border-color: var(--blue); color: var(--blue); }
.vp-chip[aria-current="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.vp-start h2, .vp-chhead h2, .vp-next h2, .vp-more h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; line-height: 1.15; }
.vp-start { padding: 14px 0 10px; }
.vp-start[hidden], .vp-chapter[hidden] { display: none; }
.vp-chapter { padding-top: 34px; scroll-margin-top: 12px; }
.vp-chhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.vp-chhead h2 { font: 700 15px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.vp-chhead p { margin: 0; color: var(--ink-3); font-size: 15px; }
/* a watch page, below the video */
.vp-teaser { margin: 0 0 12px; font-size: 18px; line-height: 1.5; color: #e6f0fa; }
.vp-body { background: #fff; }
.vp-more { padding: 56px 0 24px; }
.vp-gallery { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.vp-shot { margin: 0; }
.vp-shot.wide { grid-column: 1 / -1; }
.vp-shot img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(5,20,40,.06), 0 12px 28px rgba(5,20,40,.10); background: var(--mist); }
.vp-shot.phone img { width: auto; max-width: 100%; max-height: 560px; margin: 0 auto; border-radius: 22px; }
.vp-shot figcaption { margin-top: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.vp-proof { padding: 28px 0 8px; }
.vp-proof .vp-wrap { display: grid; gap: 16px; max-width: 860px; margin-left: max(0px, calc((100% - 1120px) / 2)); }
.vp-cmp { margin: 0; font-weight: 700; }
.vp-cmp a::after { content: " \203a"; }
.vp-next { padding: 40px 0 56px; }
.vp-next .vp-cards { margin-top: 18px; }
.vp-all { margin: 18px 0 0; font-weight: 700; }

/* the trial, as a band */
.vp-band { background: var(--blue-deep); color: #fff; }
.vp-band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 44px; padding-bottom: 44px; }
.vp-band h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; }
.vp-band p { margin: 6px 0 0; color: #bcd6ee; }
.vp-band p[hidden] { display: none; }

@media (max-width: 900px) {
  .vp-stage { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .vp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vp-gallery { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .vp-wrap { padding: 0 16px; }
  .vp-hero { padding-bottom: 40px; }
  .vp-cards, .vp-gallery { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
