/* Hrava studio - content family: /features/, /how-it-works/, /addons/. Loads after core.css and page.css, tokens only.
   Reference: docs/site-redesign/class-index.md */
/* the stamp under a rail: the feed line and the art credit */
.st-railfoot{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:var(--st-2) var(--st-5)}

/* two parallel things, a hairline in the gutter */
.st-duo{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--st-gap)}
.st-duo>*{position:relative;grid-column:span 6;display:grid;align-content:start;justify-items:start;gap:var(--st-stack);min-width:0}
.st-duo>*+*::before{content:"";position:absolute;inset-block:0;inset-inline-start:calc(var(--st-gap)/-2);width:1px;background:var(--st-line)}
@media (max-width:820px){
  .st-duo>*{grid-column:1/-1}
  .st-duo>*+*{margin-top:var(--st-head);padding-top:var(--st-head);border-top:1px solid var(--st-line)}
  .st-duo>*+*::before{display:none}
}

/* the object side of a walkthrough row that is a vignette with a link: the vignette at its own size (never a wide
   empty box), the link beside it, under it where the row is too narrow */
.st-walk__side{display:flex;flex-wrap:wrap;align-items:center;gap:var(--st-3) var(--st-5)}
.st-walk__side>.st-step__ui{flex:none;margin:0}
/* step 1: the app lands in the Dock. One hop of the icon: on load when the vignette is on the first screen
   (motion.js leaves it unarmed), otherwise when its reveal starts (.will-reveal gains .is-in; while it only waits,
   the rule does not apply). Never with motion off */
@media (prefers-reduced-motion:no-preference){
  html:not([data-motion=off]) .st-walk__side:not(.will-reveal:not(.is-in)) .st-ui-dock>img{animation:st-hop var(--st-t4) var(--st-ease-io) var(--st-t4) backwards}
  @keyframes st-hop{30%{translate:0 calc(var(--st-4)*-1)}55%{translate:0 0}75%{translate:0 calc(var(--st-2)*-1)}}
}

/* a real screen as a strip: the top right corner of the window, large enough to read the toolbar.
   The image box is 2.4 frames wide, as tall as the frame, and hangs from its right edge: what shows is the top right
   1 / 2.4 of the capture, so positions inside the frame are percentages of the frame */
.st-media--strip{aspect-ratio:4;border-radius:var(--st-r-ctl)}
.st-media--strip>img{position:absolute;top:0;inset-inline-end:0;width:240%;max-width:none;object-position:100% 0}
.st-steps--rows .st-app{margin-top:var(--st-3);width:100%;max-width:30em}
.st-mark{position:absolute;top:11%;inset-inline-end:3.1%;width:9.3%;aspect-ratio:1;border:1px solid var(--st-gold);border-radius:var(--st-r-ctl);pointer-events:none}
/* right to left: a place inside a capture of the app is physical, the app does not mirror */
[dir=rtl] .st-media--strip>img{left:auto;right:0}
[dir=rtl] .st-mark{left:auto;right:3.1%}
.st-mark::after{content:"";position:absolute;top:calc(100% + var(--st-1));inset-inline-start:calc(50% - 3px);width:6px;height:6px;background:var(--st-gold)}
.will-reveal:not(.is-in) .st-mark{opacity:0;scale:1.6}
.will-reveal.is-in .st-mark{transition:opacity var(--st-t2) var(--st-ease) var(--st-t3),scale var(--st-t3) var(--st-ease) var(--st-t3)}
