/* The public site's shared parts (docs/plans/2026-10-30-public-site-cohesion.md): the menu, the footer, the testimonial
   banner and a single quote. Written by scripts/site-chrome.mjs into every public page. Self-contained: its own tokens,
   so it reads the same beside the sales page's, the Watch pages' and the compare page's own styles. */
.st-top, .st-foot, .st-tm, .st-quote {
  --st-ink: #0e1a26; --st-ink-2: #475566; --st-ink-3: #6a7787;
  --st-blue: #0b5fa5; --st-blue-deep: #094b83; --st-line: #dce3ea; --st-mist: #f2f5f8;
  --st-amber: #e8a317; --st-gold: #ffd27a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.st-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.st-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the menu ---------- */
.st-top { position: relative; z-index: 20; color: #fff; margin: 0; padding: 0; background: none; }
/* over a page's own blue hero (the sales page), out of the flow like the hero's old menu */
.st-top.over { position: absolute; top: 0; left: 0; right: 0; }
.st-top.solid { background: linear-gradient(160deg, var(--st-blue) 0%, var(--st-blue-deep) 80%); }
.st-top .st-wrap { display: flex; align-items: center; gap: 26px; height: 68px; }
.st-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.3px;
  color: #fff; text-decoration: none; flex: none; }
.st-brand img { width: 30px; height: 30px; border-radius: 7px; display: block; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.st-nav { display: flex; gap: 22px; margin-left: auto; }
.st-nav a, .st-menu nav a { color: #dbe9f7; text-decoration: none; font-size: 15px; line-height: 1.3; }
.st-nav a:hover { color: #fff; }
.st-nav a.here { color: #fff; border-bottom: 2px solid var(--st-amber); padding-bottom: 2px; }
.st-acts { display: flex; align-items: center; gap: 10px; flex: none; }
.st-signin { color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.45); line-height: 1.2; }
.st-signin:hover { background: rgba(255,255,255,.1); }
.st-trial { background: var(--st-amber); color: #1d1504; text-decoration: none; font-size: 15px; font-weight: 700;
  padding: 9px 14px; border-radius: 6px; line-height: 1.2; white-space: nowrap; }
.st-trial:hover { background: #f2b23a; }
.st-top a:focus-visible, .st-top summary:focus-visible, .st-foot a:focus-visible, .st-tm button:focus-visible {
  outline: 3px solid var(--st-amber); outline-offset: 2px; }
/* the phone menu: a details element, so it opens with no script */
.st-menu { display: none; position: relative; }
.st-menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 42px; height: 40px;
  border: 1px solid rgba(255,255,255,.45); border-radius: 6px; }
.st-menu summary::-webkit-details-marker { display: none; }
.st-burger, .st-burger::before, .st-burger::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 1px;
  position: relative; content: ""; }
.st-burger::before { position: absolute; top: -6px; }
.st-burger::after { position: absolute; top: 6px; }
.st-menu nav { position: absolute; right: 0; top: 48px; min-width: 210px; display: grid; gap: 2px; padding: 8px;
  background: var(--st-blue-deep); border-radius: 10px; box-shadow: 0 12px 32px rgba(5,20,40,.35); }
.st-menu nav a { padding: 10px 12px; border-radius: 6px; font-size: 16px; }
.st-menu nav a:hover, .st-menu nav a.here { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 980px) {
  .st-nav { display: none; }
  .st-acts { margin-left: auto; }
  .st-menu { display: block; }
}
@media (max-width: 520px) {
  .st-wrap { padding: 0 16px; }
  .st-top .st-wrap { gap: 12px; }
  .st-signin { display: none; }
  .st-trial { padding: 9px 12px; font-size: 14px; }
}

/* ---------- the footer ---------- */
.st-foot { max-width: none; margin: 0; background: #fff; color: var(--st-ink-3); font-size: 13px; padding: 30px 0 36px; border-top: 1px solid var(--st-line); }
.st-foot .st-wrap { display: grid; gap: 12px; }
.st-foot p { margin: 0; max-width: 90ch; }
.st-foot a { color: var(--st-ink-2); }
.st-footnav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.st-footnav a { text-decoration: none; font-weight: 600; }
.st-footnav a:hover { text-decoration: underline; }

/* ---------- the testimonial banner ---------- */
/* overflow: the quote waiting to slide in sits 24px to the right, which would widen a phone's page */
.st-tm { background: #fff; border-bottom: 1px solid var(--st-line); color: var(--st-ink); overflow: hidden; }
.st-tm-in { display: flex; align-items: center; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.st-tm-track { display: grid; flex: 1; min-width: 0; }
.st-tm-item { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateX(24px);
  transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
.st-tm-item.on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease; }
.st-tm-item.out { transform: translateX(-24px); }
.st-tm blockquote { margin: 0; }
.st-tm blockquote p { margin: 0; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.45; font-weight: 600; color: var(--st-ink);
  text-wrap: pretty; }
.st-tm figcaption, .st-quote figcaption { margin-top: 8px; font-size: 14px; color: var(--st-ink-2); }
.st-tm figcaption b, .st-quote figcaption b { color: var(--st-ink); }
.st-tm-conn { display: inline-block; margin-left: 10px; padding: 1px 8px; border-radius: 999px; background: var(--st-mist);
  color: var(--st-ink-3); font-size: 12px; }
.st-tm-ctl { display: flex; align-items: center; gap: 6px; flex: none; }
.st-tm-ctl[hidden] { display: none; }
.st-tm-ctl button { border: 1px solid var(--st-line); background: #fff; color: var(--st-ink-2); border-radius: 999px; cursor: pointer;
  font: inherit; min-width: 32px; height: 32px; display: grid; place-items: center; padding: 0 8px; }
.st-tm-ctl button:hover { border-color: var(--st-blue); color: var(--st-blue); }
.st-tm-ctl .st-dot { min-width: 12px; width: 12px; height: 12px; padding: 0; background: var(--st-line); border: 0; }
.st-tm-ctl .st-dot[aria-current="true"] { background: var(--st-blue); }
.st-tm-ctl .st-pause { font-size: 12px; font-weight: 700; }
@media (max-width: 720px) {
  .st-tm-in { flex-direction: column; align-items: stretch; gap: 14px; }
  .st-tm-ctl { justify-content: center; }
}

/* ---------- one full quote (watch pages) ---------- */
.st-quote { margin: 0; padding: 26px 28px; border-left: 4px solid var(--st-amber); background: var(--st-mist); border-radius: 0 10px 10px 0; }
.st-quote blockquote { margin: 0; }
.st-quote blockquote p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--st-ink); }

/* ---------- ?review=1 only (console/site.js) ---------- */
.st-review { position: sticky; top: 0; z-index: 50; display: flex; gap: 10px; padding: 8px 12px; background: #0e1a26; }
.st-review button { flex: 1; min-height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; background: none; color: #fff;
  font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; cursor: pointer; }
.st-review button:hover { background: rgba(255,255,255,.12); }

/* ---------- the sales page's additions ---------- */
.lp-trades { margin: 16px 0 0; max-width: 62ch; color: #bcd6ee; font-size: 14px; line-height: 1.55; }
.lp-trades a { color: #fff; font-weight: 600; }
.st-strip .vp-cards { margin-top: 26px; }
.st-more { margin: 22px 0 0; color: #475566; font-size: 15px; line-height: 1.7; }
.st-more a { color: #0b5fa5; }

/* ---------- a page of text (the fit page) ---------- */
.st-page { margin: 0; background: #fff; color: #0e1a26;
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.st-doc { max-width: 760px; margin: 0 auto; padding: 44px 24px 72px; box-sizing: border-box; }
.st-doc h1 { margin: 0 0 14px; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -.025em; }
.st-doc h2 { margin: 42px 0 10px; font-size: 24px; letter-spacing: -.015em; line-height: 1.2; }
.st-doc p, .st-doc li { color: #2b3a4a; }
.st-doc ul, .st-doc ol { padding-left: 22px; }
.st-doc li { margin: 6px 0; }
.st-doc a { color: #0b5fa5; }
.st-price { border-collapse: collapse; margin: 16px 0; min-width: 280px; font-variant-numeric: tabular-nums; }
.st-price th, .st-price td { text-align: left; padding: 9px 18px 9px 0; border-bottom: 1px solid #dce3ea; }
.st-price th { font-size: 14px; color: #6a7787; font-weight: 600; }
.st-doc-cta { margin-top: 36px; }
.st-doc-cta .st-trial { display: inline-block; font-size: 17px; padding: 13px 22px; }
@media (max-width: 520px) { .st-doc { padding: 32px 16px 56px; } }

/* ---------- compare: a row's video ---------- */
#matrix th[scope=row] .watch { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }

/* ---------- video cards (Videos hub, Watch next, the sales page's strip) ---------- */
.vp-cards { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; --st-ink: #0e1a26; --st-ink-2: #475566; --st-blue: #0b5fa5; --st-line: #dce3ea; --st-amber: #e8a317; }
.vp-cards { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.vp-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--st-line); border-radius: 12px;
  overflow: hidden; color: var(--st-ink); text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.vp-card:hover { box-shadow: 0 10px 28px rgba(5,20,40,.12); transform: translateY(-2px); }
.vp-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #06121f; }
.vp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vp-len { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 5px; background: rgba(6,18,31,.82); color: #fff;
  font: 600 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.vp-cardplay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--st-amber); color: #1d1504; opacity: .92; }
.vp-cardplay svg { margin-left: 3px; }
.vp-card:hover .vp-cardplay { opacity: 1; }
.vp-cardch { margin: 14px 16px 0; font: 600 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--st-blue); }
.vp-cardtitle { margin: 6px 16px 0; font-size: 17px; font-weight: 750; line-height: 1.3; }
.vp-cardhook { margin: 6px 16px 18px; font-size: 15px; line-height: 1.45; color: var(--st-ink-2); }

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

@media (prefers-reduced-motion: reduce) {
  .st-tm-item, .st-tm-item.on { transition: none; transform: none; }
  .vp-card { transition: none; }
  .vp-card:hover { transform: none; }
}
