/* Canvless information pages (privacy, terms, support): the extra-pop layer, 2026-10-22.
   Sits on top of site.css and changes nothing else. To go back, remove the info.css link and the info.js script tag from a page.
   Brand blue only: the blue-hour street behind the page head, a reading bar, a table of contents that follows you, sections that rise in. */

/* ---------- the header band: the blue-hour street behind the page head, fading into ink ---------- */
main{isolation:isolate}
main::before{content:"";position:absolute;inset:0 0 auto 0;height:min(600px,86vh);z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgba(10,13,18,.5) 0%,rgba(10,13,18,.74) 52%,var(--ink-0) 100%),url(hero-aerial.webp) center 32%/cover no-repeat}
main::after{content:"";position:absolute;inset:0 0 auto 0;height:min(600px,86vh);z-index:-1;pointer-events:none;
  background:radial-gradient(820px 360px at 16% 14%,rgba(31,111,235,.26),transparent 70%)}
html[data-embed] main::before,html[data-embed] main::after{height:420px}

.page-head{padding-bottom:8px}
.page-head .eyebrow{gap:8px;padding:7px 12px;border-radius:999px;background:rgba(31,111,235,.16);border:1px solid rgba(31,111,235,.45);color:var(--link)}
.page-head .eyebrow::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--link);box-shadow:0 0 0 3px rgba(106,168,255,.2)}
.page-head h1{max-width:20ch;text-shadow:0 2px 24px rgba(10,13,18,.6)}
.page-head .lead{color:#C3CCD8}
.page-head .meta{display:inline-block;padding:8px 12px;border-radius:10px;background:rgba(14,18,24,.78);border:1px solid var(--line)}

/* ---------- the reading bar under the nav ---------- */
.read-bar{position:fixed;left:0;right:0;top:calc(var(--nav-h) + env(safe-area-inset-top));height:3px;z-index:51;pointer-events:none;
  transform-origin:0 50%;transform:scaleX(var(--read,0));background:linear-gradient(90deg,var(--blue),var(--link));box-shadow:0 0 12px rgba(31,111,235,.7)}
html[data-embed] .read-bar{top:0}

/* ---------- the table of contents follows the section you are reading ---------- */
.split.legal .toc{padding-top:4px}
.toc a{position:relative;transition:color var(--dur-ui),background var(--dur-ui)}
.toc a.on{color:var(--text);background:rgba(31,111,235,.14)}
.toc a.on::before{content:"";position:absolute;left:-9px;top:8px;bottom:8px;width:3px;border-radius:3px;background:var(--blue);box-shadow:0 0 10px rgba(31,111,235,.8)}
@media (max-width:900px){
  .split.legal .toc{background:rgba(17,21,28,.86)}
  .split.legal .toc a.on{background:rgba(31,111,235,.22)}
  .split.legal .toc a.on::before{display:none}
}

/* ---------- the prose: an accent over each section, a brighter summary, tables with a blue head ---------- */
.prose h2::before{content:"";display:block;width:40px;height:3px;margin-bottom:14px;border-radius:3px;background:linear-gradient(90deg,var(--blue),var(--link))}
.prose .callout{position:relative;padding:18px 20px 18px 54px;border-radius:14px;background:linear-gradient(135deg,rgba(31,111,235,.22),rgba(31,111,235,.06) 70%);
  border:1px solid rgba(31,111,235,.5);box-shadow:0 20px 44px -26px rgba(31,111,235,.7)}
.prose .callout::before{content:"";position:absolute;left:20px;top:20px;width:20px;height:20px;background:var(--link);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2.8 19 5.6v5.6c0 4.4-2.9 8.4-7 9.9-4.1-1.5-7-5.5-7-9.9V5.6z'/><path d='m8.6 12 2.3 2.3 4.6-4.8'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2.8 19 5.6v5.6c0 4.4-2.9 8.4-7 9.9-4.1-1.5-7-5.5-7-9.9V5.6z'/><path d='m8.6 12 2.3 2.3 4.6-4.8'/></svg>") center/contain no-repeat}
.prose th{background:rgba(31,111,235,.14);color:var(--text)}
.prose tr:hover td{background:rgba(255,255,255,.025)}
.prose a{transition:color var(--dur-ui)}

/* ---------- sections rise in once as you reach them (only when scripting and motion are on) ---------- */
.info-anim .page-head>*{animation:info-rise .7s var(--ease) both}
.info-anim .page-head>:nth-child(2){animation-delay:.08s}
.info-anim .page-head>:nth-child(3){animation-delay:.16s}
.info-anim .page-head>:nth-child(4){animation-delay:.24s}
.info-anim .prose>*{opacity:0;transform:translateY(16px);transition:opacity .55s var(--ease),transform .55s var(--ease)}
.info-anim .prose>.in{opacity:1;transform:none}
@keyframes info-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

/* ---------- back to the top ---------- */
.to-top{position:fixed;right:20px;bottom:calc(20px + env(safe-area-inset-bottom));z-index:52;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;
  background:var(--blue);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 14px 30px -10px rgba(31,111,235,.85);
  opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity var(--dur-ui) var(--ease),transform var(--dur-ui) var(--ease),background var(--dur-ui)}
.to-top.show{opacity:1;transform:none;pointer-events:auto}
.to-top:hover{background:var(--blue-hover)}
.to-top:active{transform:translateY(1px)}
.to-top svg{width:20px;height:20px}

@media (prefers-reduced-motion:reduce){
  .info-anim .page-head>*{animation:none}
  .info-anim .prose>*{opacity:1;transform:none;transition:none}
  .to-top,.toc a{transition:none}
}
