/* SkyPrep Studio (page-skyprep-studio.php). The shared product page sections come from skyprep-lms.css; this file
   recolours them in a sky blue trial colour and adds the AI outline hero, the step rows, the role play chat and the closing
   prompt. Sky blue (#0369a1), a different blue from LMS (#3772e9), passes AA on white. Trial (2026-10-28): not yet in DESIGN-SYSTEM.md. */

/* Product colour: skyprep-lms.css reads these tokens (named for LMS blue) everywhere it uses the product colour. */
.lm-main.st-main{--lm-blue:#0369a1;--lm-blue-fill-dark:#075985;--lm-blue-dark:#0c4a6e;--lm-blue-soft:#e0f2fe;--lm-surface:#f5fbff}

/* Hero: light, as on other product pages, in a soft sky blue; only the LMS page opens in full colour. */
.st-main .lm-hero{color:var(--lm-ink);background:linear-gradient(125deg,#fbfdff 0%,#eaf5fc 55%,#fdfeff 100%)}
.st-main .lm-hero:before{top:-80px;right:-120px;left:auto;width:520px;height:200px;background:linear-gradient(90deg,#0369a100,#0369a11f);filter:blur(64px)}
.st-main .lm-hero .lm-eyebrow{color:var(--lm-blue)}
.st-main .lm-hero h1 span{display:block;color:var(--lm-blue);white-space:normal}
.st-main .lm-hero h1 span:after{content:none}
.st-main .lm-hero-copy>p:not(.lm-eyebrow){color:var(--lm-muted)}

/* Hero picture: AI turning a short prompt into a course outline. */
.st-gen{padding:28px;border-radius:28px;background:linear-gradient(145deg,#d4ecfa,#f2f9fe);box-shadow:0 24px 56px #0c4a6e1f}
.st-prompt,.st-outline{position:relative;padding:20px 22px;border-radius:20px;background:#fff;box-shadow:0 18px 40px #0c4a6e1f}
.st-prompt{width:72%}
.st-outline{z-index:1;width:86%;margin:-30px 0 0 auto}
.st-card-label{display:flex;align-items:center;gap:8px;color:var(--lm-blue);font-family:var(--lm-heading);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.st-card-label svg,.st-type-bar svg{flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
.st-field{margin-top:12px!important;padding:10px 14px;border-radius:12px;background:var(--lm-surface);font-size:15px;line-height:1.35}
.st-field small{display:block;color:var(--lm-muted);font-size:12px}
.st-generate{display:inline-block;margin-top:14px;padding:8px 16px;border-radius:999px;background:var(--lm-blue);color:#fff;font-family:var(--lm-heading);font-size:13px;font-weight:600;animation:st-press 8s ease-in-out infinite}
.st-outline ol{display:grid;gap:8px;margin:12px 0 14px!important;padding:0;list-style:none}
.st-row{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:12px;background:var(--lm-surface);font-family:var(--lm-heading);font-size:14px;font-weight:600;animation:st-row 8s ease-out infinite both}
.st-row-2{animation-delay:.8s}.st-row-3{animation-delay:1.6s}.st-row-4{animation-delay:2.4s}
.st-row-num{display:grid;flex:none;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--lm-blue-soft);color:var(--lm-blue);font-size:12px}
.st-row-title{flex:1;min-width:0}
.st-row em{flex:none;padding:3px 10px;border-radius:999px;background:#fff;color:var(--lm-muted);font-size:12px;font-style:normal;font-weight:500}
.st-row-3 em{background:var(--lm-blue-soft);color:var(--lm-blue-dark)}
.st-progress{display:block;height:6px;overflow:hidden;border-radius:6px;background:#dcecf6}
.st-progress span{display:block;width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#38bdf8,var(--lm-blue));transform-origin:left;animation:st-progress 8s ease-in-out infinite}
@keyframes st-row{0%{opacity:0;transform:translateY(6px)}6%,82%{opacity:1;transform:none}92%,100%{opacity:0;transform:none}}
@keyframes st-progress{0%{transform:scaleX(0)}40%,100%{transform:scaleX(1)}}
@keyframes st-press{0%,6%,100%{transform:scale(1)}3%{transform:scale(.94)}}

/* The three steps under the hero: slim white rows. */
.st-steps{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:48px 0 0!important;padding:0;list-style:none}
.st-steps li{display:flex;align-items:center;gap:14px;padding:14px 16px 14px 18px;border-radius:18px;background:#fff;box-shadow:var(--ds-shadow-card)}
.st-steps strong{flex:1;font-family:var(--lm-heading);font-size:17px;font-weight:600}
.st-steps .lm-icon{width:40px;height:40px;border-radius:12px}
.st-steps .lm-icon svg{width:21px;height:21px}

/* Role play: an AI customer and the learner, with typing dots. */
.st-main .lm-illustration{background:linear-gradient(145deg,#d4ecfa,#f2f9fe)}
.st-chat-head{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--lm-line)}
.st-chat-head strong{display:block;font-family:var(--lm-heading);font-size:15px;font-weight:600}
.st-chat-head div span{color:var(--lm-muted);font-size:13px}
.st-avatar{display:grid;flex:none;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--lm-blue);color:#fff;font-family:var(--lm-heading);font-size:13px;font-weight:600}
.st-msg{max-width:84%;margin-top:12px!important;padding:11px 15px;font-size:15px;line-height:1.45}
.st-msg-ai{border-radius:16px 16px 16px 4px;background:var(--lm-surface)}
.st-msg-me{margin-left:auto!important;border-radius:16px 16px 4px 16px;background:var(--lm-blue);color:#fff}
.st-typing{display:flex;gap:5px;width:max-content;padding:14px 16px}
.st-typing i{width:7px;height:7px;border-radius:50%;background:#fff;animation:st-dot 1.2s ease-in-out infinite}
.st-typing i:nth-child(2){animation-delay:.15s}.st-typing i:nth-child(3){animation-delay:.3s}
@keyframes st-dot{0%,60%,100%{opacity:.4;transform:none}30%{opacity:1;transform:translateY(-4px)}}

/* Engaging by design: the one dark band, navy into sky blue. */
.st-main .lm-workflow{background:linear-gradient(135deg,#101c2a 0%,#0f2a3d 55%,#075985 100%)}
.st-main .lm-workflow .lm-eyebrow{color:#7dd3fc}
.st-main .lm-workflow-step h3{margin-top:22px}

/* Final CTA: a light sky blue card with dark text, so the orange button stands out as it does elsewhere. */
.st-main .lm-final-card{color:var(--lm-ink);background:linear-gradient(145deg,#f2f9fe,#d4ecfa);box-shadow:0 28px 60px #0369a124}
.st-main .lm-cta-points li{color:var(--lm-ink)}
.st-main .lm-cta-points li:before{background:var(--lm-orange);color:#fff}
/* A prompt bar that cycles through course ideas, every 3s on a 9s loop. */
.st-type{padding:26px;border-radius:20px;background:#fff;box-shadow:0 20px 44px #0c4a6e2e}
.st-type-label{color:var(--lm-blue);font-family:var(--lm-heading);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.st-type-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:16px 0 18px;padding:14px 18px;border:1.5px solid #bae6fd;border-radius:16px;color:var(--lm-blue);font-size:17px}
.st-type-bar>span:first-of-type{color:var(--lm-ink)}
.st-type-words{display:inline-grid}
.st-type-words b{grid-area:1/1;color:var(--lm-blue-dark);font-weight:600;opacity:0;animation:st-word 9s ease-in-out infinite}
.st-type-words b:nth-child(2){animation-delay:3s}.st-type-words b:nth-child(3){animation-delay:6s}
.st-caret{width:2px;height:20px;background:var(--lm-blue);animation:st-caret 1s steps(1) infinite}
.st-type-go{display:inline-block;padding:9px 18px;border-radius:999px;background:var(--lm-blue);color:#fff;font-family:var(--lm-heading);font-size:14px;font-weight:600}
@keyframes st-word{0%{opacity:0;transform:translateY(6px)}4%,30%{opacity:1;transform:none}34%,100%{opacity:0;transform:translateY(-6px)}}
@keyframes st-caret{50%{opacity:0}}

/* Narrow hero columns: keep only the Role play tag so the lesson titles stay on one line. */
@media (max-width:1180px){
    .st-row em{display:none}
    .st-row-3 em{display:block}
}
@media (max-width:1020px){
    .st-type{width:100%;max-width:460px}
}
@media (max-width:700px){
    .st-gen{padding:16px;border-radius:20px}
    .st-prompt,.st-outline{padding:16px}
    .st-prompt{width:88%}
    .st-outline{width:92%;margin-top:-20px}
    .st-row{font-size:13px}
    .st-row em,.st-row-3 em{display:none}
    .st-steps{grid-template-columns:1fr;gap:10px;margin-top:32px!important}
    .st-steps li{padding:12px 14px 12px 16px}
    .st-steps strong{font-size:16px}
    .st-msg{max-width:92%;font-size:14px}
}
/* Short laptop screens: the generator card zooms down with the screen height (as the homepage hero visual does) so the
   hero and the client logos fit on the first screen. */
@media (min-width:1021px) and (max-height:1000px){ .st-gen{zoom:.9} }
@media (min-width:1021px) and (max-height:900px){ .st-gen{zoom:.8} }
@media (min-width:1021px) and (max-height:820px){ .st-gen{zoom:.72} }
@media (min-width:1021px) and (max-height:740px){ .st-gen{zoom:.64} }
@media (prefers-reduced-motion:reduce){
    .st-row,.st-generate,.st-progress span,.st-typing i,.st-type-words b,.st-caret{animation:none}
    .st-type-words b:first-child{opacity:1}
}
