/* Rules the static site needs beyond the design's own stylesheets (site.css, sections.css). */

/* Inactive branches (Pitching's steps, the art credit) stay in the page, hidden until their script shows them.
   Many of them set display inline, so the hidden attribute alone would not hide them. */
[data-cond][hidden]{display:none!important}

/* The phone menu opens from a checkbox (#mnav) that takes keyboard focus; the menu button on screen shows it. */
.mnav-t:focus-visible~.mbtn,.mnav-t:focus-visible~.mmenu .mbtn{outline:2px solid #D8853A;outline-offset:-4px;border-radius:6px}
/* Open, the menu covers the bar's logo and "Get in touch": Tab skips them for the menu's own links. */
.mnav-t:checked~.mlogo,.mnav-t:checked~.mcta{visibility:hidden}
/* The menu's rows run edge to edge: their focus ring is drawn inside them. */
.mmenu nav a:focus-visible,.mmenu .mlogo:focus-visible{outline-offset:-3px}

/* The agency logo strip, stopped with motion reduced: every logo once, wrapped, instead of the first few and a cut.
   A still strip has nothing to pause, so its pause button is gone there too. */
@media (prefers-reduced-motion:reduce){
  .marquee .track{flex-wrap:wrap;width:auto;justify-content:center;padding:8px 0}
  .marquee .track>.lc[aria-hidden="true"]{display:none}
  .marquee .track>.lc{border-right:0!important;width:240px!important;height:150px!important}
  .marquee .mq-pause{display:none}
}
/* Moving, a tap on the strip stops and restarts it on touch screens (js/home.js); its button shows only when it has
   keyboard focus. */
.logos-sec .marquee.inview.paused .track{animation-play-state:paused}
.logos-sec .marquee{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
@media (hover:none) and (prefers-reduced-motion:no-preference){.logos-sec .marquee{cursor:pointer}}
.marquee .mq-pause{position:absolute;right:12px;top:50%;transform:translateY(-50%);z-index:1;padding:6px 12px;border:1px solid var(--rule,#E4E2DC);border-radius:999px;background:#fff;color:#161514;font:500 13px/1.2 system-ui,sans-serif;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.marquee .mq-pause:focus-visible{clip-path:none;width:auto;height:auto}

/* Places the scripts move a visitor's focus to, which are not controls: no ring around them. The home hero's each new
   screen (js/home-hero.js); the sections "Solira-Vision" and "See how it works" land on (js/home.js, js/pitching.js). */
.hero-app>.appshot:focus,#vision:focus,#how:focus{outline:none}

/* The live booking calendar: on desktop its card sits centered in the block like the design's placeholder.
   Calendly stacks the card on narrow screens, which needs more height. */
.cal .calendly-inline-widget{height:700px}
@media (max-width:760px){.cal .calendly-inline-widget{height:1000px}}

/* Stills of the real app in place of the design's mockups: Pitching's demo card and the draft review.
   A still fills its slot's width up to the size the app drew it (its max-width, set on the image), and a wider slot
   shows it at that size on the app's own cream. */
.pcard>.pshot{flex:1 1 auto;min-width:0;min-height:0;overflow:hidden;background:#F6F6F4;display:flex;justify-content:center;align-items:flex-start}
.pcard>.pshot>picture{display:contents}
.pcard>.pshot img{display:block;flex:none;width:100%;height:auto;box-shadow:0 0 0 1px rgba(22,21,20,.08)}
/* A still that never scrolls inside its panel (a scroll inside would fight the page's own): it is drawn whole, as
   large as the panel allows. On phones the panel grows to the still instead. */
@media (min-width:761px){
  .pcard>.pshot-fit{position:relative}
  /* (Important, over the size the app drew it, set on the image.) */
  .pcard>.pshot-fit img{width:auto;max-width:100%!important;max-height:100%}
}
/* The media kit in two pages, the button at the top right turning between them (js/pitching.js). On phones its one
   phone still shows instead, with no button. */
.pshot-pages[data-page="1"]>.pg2,.pshot-pages[data-page="2"]>picture{display:none}
.pshot-pages>.pgbtn{position:absolute;top:12px;right:12px;z-index:1;display:inline-flex;align-items:center;gap:4px;
  padding:6px 8px 6px 12px;border:1px solid rgba(22,21,20,.12);border-radius:999px;background:#FDFCFA;color:#161514;
  font:500 13px/1 var(--sans);letter-spacing:.02em;cursor:pointer;box-shadow:0 1px 3px rgba(22,21,20,.08);
  transition:background-color .15s,border-color .15s}
.pshot-pages>.pgbtn:hover{background:#fff;border-color:rgba(22,21,20,.24)}
.pshot-pages>.pgbtn:focus-visible{outline:2px solid #D8853A;outline-offset:2px}
.pshot-pages>.pgbtn svg{width:14px;height:14px;transition:transform .2s}
.pshot-pages[data-page="2"]>.pgbtn svg{transform:rotate(180deg)}
@media (max-width:760px){
  /* (Specific enough to beat .pcard>.pshot img, for a window narrowed while page 2 shows.) */
  .pcard>.pshot-pages>.pg2,.pcard>.pshot-pages>.pgbtn{display:none}
  .pshot-pages[data-page="2"]>picture{display:contents}
}
/* A short conversation set in the middle of its still: it stays in the middle of a shorter or taller panel. */
.pcard>.pshot-mid{align-items:center}
.pcard>.pshot-mid img{box-shadow:none}
/* The chat still fades out completely above a plain strip, and the button sits on the strip, never over text.
   The fade is a share of the still's height, so it ends below the same line at every width. */
.dr-card.dr-shotcard{zoom:1;padding:0 0 72px;gap:0;display:block;overflow:hidden;background:#F6F6F4}
.dr-shotcard img,.dr-shotapp img{display:block;width:100%;height:auto;margin:0 auto}
.dr-shotfade{position:absolute;left:0;right:0;bottom:72px;height:calc((100% - 72px) * .22);background:linear-gradient(180deg,rgba(246,246,244,0) 0,rgba(246,246,244,.85) 60%,#F6F6F4 100%);pointer-events:none}
.dr-shotcard .dr-explore{bottom:18px;transform:translateX(-50%);padding:12px 14px;font-size:14px}
.dr-shotcard .dr-explore svg{width:14px;height:14px}
.dr-app.dr-shotapp{display:block;background:#F6F6F4}
/* Below these widths the stills are the app's phone layout, shown no wider than a phone. */
@media (max-width:1200px){.dr-shotcard img{max-width:390px!important}.dr-shotfade{height:calc((100% - 72px) * .18)}}
@media (max-width:900px){.dr-shotapp img{max-width:390px!important}}
@media (max-width:760px){.pcard>.pshot img{max-width:390px!important}}

/* Solira-Vision on windows wider than 1440 (home.js adds .vis-big and zooms the section): laid out exactly as in a
   1440 window, its widths and the paddings that follow the window's width pinned to their 1440 values. */
#vision.vis-big{overflow-x:clip}
#vision.vis-big>.wrap.vis{width:1440px;box-sizing:border-box;padding-left:64.8px!important}
#vision.vis-big .vis>.copy{padding-right:43.2px}

/* The full legal text uses elements the design's excerpt never showed. */
.doc-body h3{font-family:var(--sans);font-weight:600;font-size:17px;line-height:1.4;color:var(--ink);margin:28px 0 10px}
.doc-body ol,.doc-body ul{margin:0 0 14px;padding-left:1.4em}
.doc-body li{font-size:16px;line-height:1.65;margin:0 0 8px}
.doc-body li::marker{color:var(--muted)}
.doc-body .contact-block{margin-top:clamp(28px,3vw,40px);padding-top:20px;border-top:1px solid var(--rule);font-size:16px;line-height:1.65}
