/* Retail Innovation Group - cookie banner and policy page text.
   RIG brand: Space Black #0A0B0E, Space25 #3D4355, Space10 #1E212A, Space75 #B8BDCC,
   Space90 #E3E5EB, accent Mountain Blue #5B6BBF. Radii 7, 10 and 14px. */

/* Cookie banner */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; display: none; padding: 0 clamp(16px, 4vw, 40px) max(16px, env(safe-area-inset-bottom, 0px)); pointer-events: none; font-family: Montserrat, system-ui, sans-serif; }
.cookie.is-open { display: block; }
.cookie__panel {
  pointer-events: auto; max-width: 1200px; margin: 0 auto; padding: 24px 28px; box-sizing: border-box;
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 32px;
  background: #FFFFFF; color: #0A0B0E; border: 1px solid #E3E5EB; border-radius: 14px;
  box-shadow: 0 12px 40px rgba(10,11,14,0.20), 0 2px 8px rgba(10,11,14,0.08);
}
.cookie__main { flex: 1 1 480px; min-width: 0; }
.cookie__title { font-family: Montserrat, system-ui, sans-serif; font-weight: 700; font-size: 18px; line-height: 1.3; color: #0A0B0E; margin: 0 0 6px; outline: none; }
.cookie__main p { margin: 0; font-size: 15px; line-height: 1.6; color: #1E212A; max-width: 72ch; }
.cookie__main a, .cookie__main a:visited { color: #5B6BBF; font-weight: 700; }
.cookie__main a:hover { color: #0A0B0E; }
.cookie__prefs { display: grid; gap: 10px; margin-top: 16px; }
.cookie__opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid #E3E5EB; border-radius: 10px; cursor: pointer; }
.cookie__opt strong { display: block; font-size: 15px; }
.cookie__opt span { display: block; font-size: 14px; color: #3D4355; }
.cookie__opt input { width: 22px; height: 22px; flex: 0 0 22px; accent-color: #5B6BBF; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__btn { min-height: 46px; padding: 10px 22px; border-radius: 7px; border: 2px solid #0A0B0E; background: #0A0B0E; color: #FFFFFF; font: 700 15px Montserrat, system-ui, sans-serif; cursor: pointer; }
.cookie__btn:hover { background: #3D4355; border-color: #3D4355; }
.cookie__btn--ghost { background: transparent; color: #0A0B0E; }
.cookie__btn--ghost:hover { background: #E3E5EB; border-color: #0A0B0E; color: #0A0B0E; }
.cookie__btn:focus-visible, .cookie__opt:focus-within, .link-btn:focus-visible { outline: 3px solid #5B6BBF; outline-offset: 2px; }
@media (max-width: 600px) {
  .cookie__panel { padding: 20px; }
  .cookie__actions { width: 100%; }
  .cookie__btn { flex: 1 1 auto; }
}

/* Policy pages */
.policy { max-width: 820px; font-size: 17px; line-height: 1.7; color: #1E212A; overflow-wrap: break-word; }
.policy h2 { font-family: 'Archivo Black', 'Arial Black', sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; color: #0A0B0E; margin: 56px 0 16px; }
.policy h3 { font-size: 18px; font-weight: 700; line-height: 1.4; color: #0A0B0E; margin: 32px 0 8px; }
.policy p, .policy ul, .policy ol { margin: 0 0 16px; }
.policy ul, .policy ol { padding-left: 1.3em; }
.policy li { margin-bottom: 8px; }
.policy a, .policy .link-btn { color: #5B6BBF; font-weight: 700; }
.policy a:hover, .policy .link-btn:hover { color: #0A0B0E; }
.policy .updated { font-weight: 700; color: #3D4355; }
.policy .toc { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 8px; }
.policy .toc a { display: inline-block; padding: 6px 14px; border: 1px solid #B8BDCC; border-radius: 7px; font-size: 14px; font-weight: 700; color: #0A0B0E; }
.policy .toc a:hover { border-color: #0A0B0E; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.policy-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 16px; }
.policy-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 560px; }
.policy-table th, .policy-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid #E3E5EB; }
.policy-table th { font-weight: 700; color: #0A0B0E; background: #E3E5EB; }
.policy-table code { font-size: 0.9em; white-space: nowrap; }
