/* Hrava studio - legal family: the three policies, the two generated legal pages, the 404.
   Loads after core.css and page.css, uses only their tokens. Reference: docs/site-redesign/class-index.md */
/* policy hero: the date line speaks in the label voice (terms keeps the generator's literal <p class="lead">) */
.st-legal-hero .lead{display:flex;align-items:center;gap:var(--st-2);font-size:var(--st-fs-label);line-height:1.35;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--st-text-3)}
.st-legal-hero .lead::before{content:"";flex:none;width:6px;height:6px;background:var(--st-gold)}
/* the policy text keeps a 60-75 character measure; a table may run to the edge of its grid columns */
.st-legal-doc .st-doc{max-width:none}
.st-legal-doc .st-doc>:not(.st-table-wrap,figure){max-width:33em}
/* the contents list is written into the page (no jump when motion.js arrives late, present without JS);
   between phone and desktop it takes two columns instead of a nine-row strip */
@media (min-width:641px) and (max-width:1099px){.st-legal-doc .st-toc ol{columns:2;column-gap:var(--st-gap)}.st-legal-doc .st-toc li{break-inside:avoid}}
/* a table with its note */
.st-legal-fig>figcaption{margin-top:var(--st-3)}
/* the three policies, at the end of each */
.st-legal-set{display:flex;flex-wrap:wrap;column-gap:var(--st-5);margin-top:var(--st-head);padding-top:var(--st-2);border-top:1px solid var(--st-line)}
.st-legal-set a{display:inline-flex;align-items:center;min-height:44px}
.st-legal-set a[aria-current]{color:var(--st-text-3);text-decoration-line:none}
/* below 1100 the shared hero fog thins to .4 towards the bottom. These heroes are text to their last line
   (the date label, the lede, the 404 buttons), so they stand on even ground there */
@media (max-width:1099px){:is(.st-legal-hero,.st-nf,html[data-site-design=studio] .tp-page>.page-hero)::before{background:var(--st-ground)}}
/* 404: cube numerals over the fog, then the way back. No crumbs, so the hero brings its own top air.
   The hero is followed by the open stage, so its fog fades out over the bottom padding */
.st-nf{padding-top:var(--st-section)}
.st-nf::before{-webkit-mask:linear-gradient(#000 calc(100% - var(--st-section)),#0000);mask:linear-gradient(#000 calc(100% - var(--st-section)),#0000)}
.st-nf__code{display:flex;gap:.14em;font-size:calc(2*var(--st-fs-display));line-height:1}
[data-enter]>.st-nf__code{animation:none}
.st-nf__search{width:min(100%,30em)}
.st-nf__search input{text-overflow:ellipsis}
.st-nf__go{margin-inline-end:calc(-1*var(--st-1))}
/* the cubes are laid one by one on entry: digit offset + index inside the digit (motion.js arms numerals only below the fold) */
@media (prefers-reduced-motion:no-preference){
  .st-nf__code use{animation:st-nf-lay var(--st-t3) var(--st-ease) backwards;animation-delay:calc((var(--o,0) + var(--i,0))*14ms)}
  .st-nf__code svg:nth-child(2){--o:14}.st-nf__code svg:nth-child(3){--o:30}
  .st-nf__code use:nth-child(2){--i:1}.st-nf__code use:nth-child(3){--i:2}.st-nf__code use:nth-child(4){--i:3}.st-nf__code use:nth-child(5){--i:4}.st-nf__code use:nth-child(6){--i:5}
  .st-nf__code use:nth-child(7){--i:6}.st-nf__code use:nth-child(8){--i:7}.st-nf__code use:nth-child(9){--i:8}.st-nf__code use:nth-child(10){--i:9}.st-nf__code use:nth-child(11){--i:10}
  .st-nf__code use:nth-child(12){--i:11}.st-nf__code use:nth-child(13){--i:12}.st-nf__code use:nth-child(14){--i:13}.st-nf__code use:nth-child(15){--i:14}.st-nf__code use:nth-child(16){--i:15}
  @keyframes st-nf-lay{from{opacity:0;transform:translateY(calc(-1*var(--st-6)))}}
}
/* generated pages (sync-third-party.py owns the markup; third-party.css loads later, hence the prefix).
   The archive list is dense data, so it stands on a surface (amendment A2); the licence line gets the label voice */
html[data-site-design=studio] .tp-page .tp-source-dl{border:1px solid var(--st-line-2);border-radius:var(--st-r-surface);background:var(--st-surface);overflow:clip}
html[data-site-design=studio] .tp-page .tp-source-dl li{padding-inline:var(--st-5)}
html[data-site-design=studio] .tp-page .tp-source-dl li:first-child{border-top:0}
html[data-site-design=studio] .tp-page .tp-source-dl+.tp-intro{margin-top:var(--st-5)}
html[data-site-design=studio] .tp-page .tp-components p>span{font-size:var(--st-fs-label);font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--st-text-3)}
html[data-site-design=studio] .tp-page .tp-components p>bdi{color:var(--st-text)}
html[data-site-design=studio] .tp-page .tp-source-dl a{padding-block:var(--st-3)}
html[data-site-design=studio] .tp-page .tp-source-dl a:focus-visible{outline-offset:-2px}
html[data-site-design=studio] .tp-page :is(.tp-intro,.tp-legal-intro p){max-width:33em}
html[data-site-design=studio] .tp-page .tp-intro>a:only-child{display:inline-flex;align-items:center;min-height:44px}
html[data-site-design=studio] .tp-page .tp-intro:has(>a:only-child)+.tp-intro:has(>a:only-child){margin-top:0}
@media (max-width:640px){html[data-site-design=studio] .tp-page .tp-source-dl li{padding-inline:var(--st-4)}}
/* a policy gets printed and saved: ink on paper, the document only (html.js: core shows the stage with that weight) */
@media print{
  :root{color-scheme:light;--st-bg:Canvas;--st-ground:Canvas;--st-ground-solid:Canvas;--st-surface:Canvas;--st-text:CanvasText;--st-text-2:CanvasText;--st-text-3:GrayText;--st-line:GrayText;--st-line-2:GrayText}
  #world,.sg-atmosphere,.sg-skip,html body header.hn-header,html body footer.sg-footer,html.js .st-stage,.st-stage,.st-toc,.st-legal-set,.crumbs{display:none}
  :is(.st-page-hero,.page-hero,.st-band,.tp-page>section)::before{display:none}
  :is(.st-page-hero,.page-hero,.st-band,.tp-page>section){padding-block:var(--st-4)}
  .st-table-wrap,.tp-components li,.tp-source-dl li{break-inside:avoid}
}
