/* SkyPrep design system (DESIGN-SYSTEM.md): shared fonts, tokens and the white header for redesigned pages.
   A page opts in by enqueueing this file and adding the sp-white-header body class; page stylesheets read the --ds-* tokens.
   The prefix is --ds-, not --sp-: core.css already sets --sp-blue and --sp-orange on :root for the older pages. */

/* Inter (SIL OFL, see assets/fonts/inter/OFL.txt): latin subset, variable weight and optical size. */
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/inter/inter-latin.woff2) format('woff2')}

:root{
    --ds-blue:#3772e9;--ds-blue-dark:#184794;--ds-navy:#223140;
    --ds-purple:#5b08cd;--ds-purple-dark:#3b009b;--ds-purple-soft:#f1eafd;
    --ds-orange:#f46e2f;--ds-orange-dark:#df5b20;--ds-yellow:#feba0a;
    --ds-ink:#111417;--ds-muted:#526174;--ds-line:#dfe7f1;--ds-surface:#f5f8fd;
    --ds-heading:'Inter','Helvetica Neue',Arial,sans-serif;
    --ds-body:'Source Sans Pro','Helvetica Neue',Arial,sans-serif;
    --ds-heading-weight:600;--ds-tracking:-.02em;--ds-tracking-hero:-.03em;
    --ds-shadow-card:0 20px 50px #18479414;--ds-shadow-dark:0 18px 40px #00000033;
    /* Page frame, from the homepage (2026-10-30): the width of containers, heroes and bands, with white margins that
       grow with the screen (16px on phones, 32px on tablets, up to 270px a side on wide desktops, capped at 1380px).
       --ds-inset pads content inside a framed card. Both resolve where they are used, so 100% is the parent's width. */
    --ds-frame:calc(100% - 32px);--ds-inset:20px
}
@media (min-width:701px){ :root{--ds-frame:calc(100% - 64px);--ds-inset:clamp(32px,4.5vw,72px)} }
@media (min-width:1021px){ :root{--ds-frame:min(1380px,100% - clamp(32px,20vw - 64px,540px))} }

/* Text for screen readers only (WordPress's class name; the old theme doesn't define it). */
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Customer story video (_skyprep_story_video.php): a 16:9 poster that becomes the player when clicked. The play button
   sits bottom left so it doesn't cover the client logo in the middle of the poster. */
.sp-video{margin:0}
.sp-video-poster,.sp-video iframe,.sp-video video{position:relative;display:block;width:100%;height:auto;aspect-ratio:16/9;overflow:hidden;padding:0;border:0;border-radius:22px;background:var(--ds-navy);cursor:pointer}
.sp-video-poster img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.sp-video-poster:hover img{transform:scale(1.03)}
.sp-video-poster span{position:absolute;bottom:20px;left:20px;display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:#f46e2f;color:#fff;box-shadow:0 14px 30px #0006;transition:transform .2s}
.sp-video-poster:hover span{transform:scale(1.08)}
.sp-video-poster span svg{width:28px;height:28px;margin-left:4px;fill:currentColor;stroke:none}
.sp-video-poster:focus-visible{outline:3px solid #f46e2f;outline-offset:4px}
.sp-video figcaption{margin-top:12px;color:#5b6b80;font-size:14px}

/* White header: the theme's scrolled nav state kept on at every scroll position. The shared nav (#js-header)
   is fixed, so .sp-site-header reserves its height. */
.sp-site-header{height:63px}
@media(max-width:800px){.sp-site-header{height:55px}}
.sp-white-header #js-header,.sp-white-header #js-header .nav-container,.sp-white-header #js-header .mobile-nav{background-color:#fff!important}
.sp-white-header #js-header .nav-container{border-bottom:1px solid #18479417;box-shadow:0 4px 24px #2432420f}
.sp-white-header #js-header .navLink{color:#555e6a!important;font-weight:600;transition:color .2s}
.sp-white-header #js-header .navLink:hover,.sp-white-header #js-header .navLink[aria-expanded="true"]{color:var(--ds-blue-dark)!important}
.sp-white-header #js-header .border-bottom-link-white:after{background-color:var(--ds-blue-dark)!important}
.sp-white-header #js-header #menu-box span{background-color:var(--ds-blue-dark)!important}
/* Dropdown arrows: centre the chevron on the label instead of the text baseline. */
.sp-white-header #js-header .hs-has-sub-menu>.navLink{display:inline-flex!important;align-items:center;gap:6px;white-space:nowrap}
.sp-white-header #js-header .hs-has-sub-menu>.navLink>svg{display:block!important;flex:none;width:12px;height:12px;transition:transform .2s}
.sp-white-header #js-header .hs-has-sub-menu>.navLink[aria-expanded="true"]>svg{transform:rotate(180deg)}
/* Header actions: solid "Book a demo" plus a quieter outlined Login, sized for the 63px bar. */
.sp-white-header #js-header .cta-nav{gap:10px}
.sp-white-header #js-header .cta-nav .cta,.sp-white-header #js-header .cta-nav>.navLink{display:inline-flex!important;align-items:center;justify-content:center;min-height:42px;margin:0!important;padding:0 18px!important;border-radius:12px!important;font-family:'Heebo','Helvetica Neue',Arial,sans-serif;font-size:15px!important;line-height:1;white-space:nowrap;transition:background .2s,box-shadow .2s,transform .2s}
.sp-white-header #js-header .cta-nav .cta{border:0!important;background:var(--ds-orange)!important;color:#fff!important;font-weight:800!important;box-shadow:0 8px 18px #f46e2f40}
.sp-white-header #js-header .cta-nav .cta:hover{background:var(--ds-orange-dark)!important;transform:translateY(-1px);box-shadow:0 12px 24px #f46e2f57}
.sp-white-header #js-header .cta-nav>.navLink{order:-1;border:1.5px solid var(--ds-orange);background:#fff;color:var(--ds-orange)!important;font-weight:600}
.sp-white-header #js-header .cta-nav>.navLink:hover{background:#fff4ee;color:var(--ds-orange-dark)!important}
.sp-white-header #js-header .cta-nav>.navLink:after{display:none!important}
/* Below the desktop menu, keep "Book a demo" beside the menu button; Login stays in the menu. */
@media (max-width:1199px){
    .sp-white-header #js-header .cta-nav{display:flex!important;order:1;margin:0 14px 0 0}
    .sp-white-header #js-header .nav-logo-wrap{order:2;margin-right:auto}
    .sp-white-header #js-header .cta-nav>.navLink{display:none!important}
}
@media (max-width:420px){
    .sp-white-header #js-header .cta-nav .cta{min-height:38px;padding:0 13px!important;font-size:14px!important}
}

/* Client logo strip under a product page hero (_skyprep_client_logos.php), matching the /lms/features/ strip.
   Selectors start with .sp-logos .sp-logos-inner so page resets (.lm-main p, .pf-main p) cannot remove the spacing.
   No bottom padding or divider: the white section that follows supplies the space below the logos. */
.sp-logos{padding:38px 0 0;background:#fff}
.sp-logos .sp-logos-inner{width:var(--ds-frame);margin-inline:auto}
.sp-logos .sp-logos-inner p{margin:0 0 28px;color:var(--ds-muted);font-family:var(--ds-body);font-size:15px;line-height:1.5;text-align:center}
.sp-logos .sp-logos-inner p strong{color:var(--ds-ink);font-weight:600}
.sp-logos .sp-logos-inner ul{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;justify-items:center;gap:40px;margin:0;padding:0;list-style:none}
.sp-logos .sp-logos-inner img{display:block;width:120px;max-width:100%;height:48px;object-fit:contain;opacity:.85}
.sp-logos .sp-logos-inner img[alt='TIFF']{width:74px}
@media (max-width:700px){
    .sp-logos{padding:29px 0 0}
    .sp-logos .sp-logos-inner p{margin-bottom:22px;font-size:14px}
    .sp-logos .sp-logos-inner ul{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 20px}
    .sp-logos .sp-logos-inner img{width:90px;height:38px}
    .sp-logos .sp-logos-inner img[alt='TIFF']{width:55px}
}

/* Page frame on every redesigned page (the homepage's layout, 2026-10-30). Containers take the frame width. The hero
   and the one dark band become rounded cards inside the frame instead of full-width bands, with their content inset;
   light surface bands stay full width. The .sp-white-header prefix outranks the page stylesheets' container widths. */
.sp-white-header :is(.lm-container,.pf-container,.sf-container){width:var(--ds-frame)}
.sp-white-header :is(.lm-hero,.pf-hero,.sf-hero,.fe-hero,.sl-hero){width:var(--ds-frame);margin:24px auto 0;border-radius:36px}
.sp-white-header :is(.lm-workflow,.pf-learning,.sf-stories,.cs-stats,.fe-proof,.ind-proof,.pr-proof,.so-proof){width:var(--ds-frame);margin:clamp(24px,3vw,48px) auto;overflow:hidden;border-radius:28px}
.sp-white-header :is(.lm-hero,.pf-hero,.sf-hero,.fe-hero,.sl-hero,.lm-workflow,.pf-learning,.sf-stories,.cs-stats,.fe-proof,.ind-proof,.pr-proof,.so-proof) :is(.lm-container,.pf-container,.sf-container){width:calc(100% - 2 * var(--ds-inset))}
@media (max-width:700px){
    .sp-white-header :is(.lm-hero,.pf-hero,.sf-hero,.fe-hero,.sl-hero){margin-top:16px;border-radius:24px}
    .sp-white-header :is(.lm-workflow,.pf-learning,.sf-stories,.cs-stats,.fe-proof,.ind-proof,.pr-proof,.so-proof){border-radius:24px}
}
/* Short laptop screens (desktop width, up to 1000px tall): the hero's spacing and headline follow the screen height,
   as on the homepage, so the hero and the client logos under it fit on the first screen. html body outranks the
   pages' own hero sizes. */
@media (min-width:1021px) and (max-height:1000px){
    html body.sp-white-header :is(.lm-hero,.pf-hero,.sf-hero,.fe-hero,.sl-hero){margin-top:16px;padding-top:clamp(32px,5.6vh,72px)}
    html body.sp-white-header :is(.lm-hero,.pf-hero,.sf-hero,.sl-hero){padding-bottom:clamp(28px,5vh,64px)}
    html body.sp-white-header :is(.lm-hero,.pf-hero,.fe-hero,.sl-hero) h1{font-size:clamp(38px,min(3.9vw,6.2vh),56px)}
    html body.sp-white-header :is(.lm-hero,.pf-hero,.fe-hero,.sl-hero) :is(.lm-eyebrow,.pf-eyebrow){margin-bottom:clamp(12px,2.4vh,24px)!important}
    html body.sp-white-header :is(.lm-hero-copy,.pf-hero-copy,.fe-hero-copy,.sl-hero-copy)>p:not(.lm-eyebrow):not(.pf-eyebrow){margin-top:clamp(18px,3.2vh,36px)!important;margin-bottom:clamp(20px,3.4vh,32px)!important}
    html body.sp-white-header :is(.lm-hero-labels,.pf-hero-steps){margin-top:clamp(20px,3.6vh,48px)!important}
    .sp-logos{padding-top:clamp(20px,3.4vh,38px)}
    .sp-logos .sp-logos-inner p{margin-bottom:clamp(14px,2.6vh,28px)}
}
