/* attributionexpress.com, the multi-page site (Nov 2026).
 *
 * Shared by every page of the main site. Most layout is written inline in
 * each page (copied from the approved design canvas); this file holds the
 * typeface, the few classes the pages share, and the pieces inline styles
 * cannot do (hover, focus, phone widths).
 *
 * The typeface is IBM Plex Sans, served from /fonts (SIL Open Font Licence,
 * fonts/OFL.txt). Self-hosted because the CSP allows no third-party origin.
 */

@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/ibm-plex-sans-latin-700-normal.woff2') format('woff2'); }

html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #0D1A2E; font-family: 'IBM Plex Sans', Arial, sans-serif; color: #1A2433; }
img, video { max-width: 100%; }
a { color: #0E7470; }
a:hover { color: #0A5653; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #5FD0C6; outline-offset: 2px;
}

/* Header and footer links */
.nv { color: #D6DEEA; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nv:hover { color: #FFFFFF; }
.nv.on { color: #FFFFFF; border-bottom-color: #5FD0C6; }
.fl { color: #B7C2D3; text-decoration: none; }
.fl:hover { color: #FFFFFF; }
.more { color: #0E7470; font-weight: 600; text-decoration: none; }
.more:hover { color: #0A5653; text-decoration: underline; }

/* Forms */
.in { width: 100%; box-sizing: border-box; padding: 11px 13px; border: 1px solid #C9C2B4; border-radius: 6px; font: inherit; font-size: 15px; color: #1A2433; background: #FFFFFF; }
.in:focus { outline: 2px solid #0E7470; outline-offset: 1px; border-color: #0E7470; }
textarea.in { min-height: 96px; resize: vertical; }
.lb { display: block; font-size: 14px; font-weight: 600; color: #13243F; margin-bottom: 6px; }
.op { font-weight: 400; color: #4F5B6B; }
.ck { display: flex; gap: 8px; align-items: center; font-size: 15px; min-height: 32px; }
.ck input { width: 18px; height: 18px; margin: 0; }
.invalid { border-color: #B42318 !important; outline: 2px solid #B42318; outline-offset: 1px; }
input[type="checkbox"].invalid { outline-offset: 2px; }
.status { margin: 12px 0 0; font-size: 15px; min-height: 1.4em; }
.status.err { color: #B42318; }
.status.ok { color: #0E7470; font-weight: 600; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn { font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; border-radius: 6px; padding: 12px 24px; min-height: 46px; background: #0E7470; color: #FFFFFF; border: 1px solid #0E7470; }
.btn:hover { background: #0A5653; }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn-ghost { background: #FFFFFF; color: #13243F; border: 1px solid #C9C2B4; }
.btn-ghost:hover { background: #F4F1EA; }

/* The demo video, with a large play button until it starts (video.js). */
.video { margin: 0; }
.video-frame { position: relative; }
.video-frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; border-radius: 8px; border: 1px solid #2E4670; box-shadow: 0 24px 48px rgba(0,0,0,0.35); background: #0D1A2E; }
.video-frame.waiting video { cursor: pointer; }
.video-play { position: absolute; left: 50%; top: 76%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; border: 3px solid #FFFFFF; background: #0E7470; color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,0.35); transition: transform 0.15s ease; }
.video-play[hidden] { display: none; }
.video-play svg { width: 34px; height: 34px; margin-left: 5px; }
.video-play:hover, .video-play:focus-visible { transform: translate(-50%, -50%) scale(1.06); background: #0A5653; }
@media (prefers-reduced-motion: reduce) { .video-play { transition: none; } }

/* The tour page */
.tb { font: inherit; cursor: pointer; text-align: left; border-radius: 10px; padding: 14px 18px; min-height: 44px; background: transparent; color: #FFFFFF; border: 1px solid #5B7196; }
.tb[aria-selected="true"] { background: #FFFFFF; color: #13243F; border-color: #FFFFFF; }
.tb span { display: block; }
.tour-dots span { display: block; width: 8px; height: 8px; border-radius: 4px; background: #D3CCBE; }
.tour-dots span.on { width: 22px; background: #0E7470; }
.tour-mark { position: absolute; border: 3px solid #0E7470; border-radius: 8px; box-shadow: 0 0 0 9999px rgba(13,26,46,0.28); pointer-events: none; }
[hidden] { display: none !important; }

/* Phones: tighter headings, and the header stacks cleanly. */
@media (max-width: 640px) {
  h1 { font-size: 34px !important; }
  h2 { font-size: 24px !important; }
  .hdr { gap: 10px 18px !important; }
  .hdr nav { gap: 4px 16px !important; font-size: 14px !important; }
  .video-play { width: 60px; height: 60px; }
  .video-play svg { width: 24px; height: 24px; }
}
