/* Vocabulary club stage: a real recorded quiz on a big screen, the same quiz on a phone, and the certificate. */
.club-band{background:linear-gradient(180deg,var(--bg) 0%,var(--surface2) 22%,var(--surface2) 78%,var(--bg) 100%);overflow:hidden}
.club-head{display:grid;gap:14px;max-width:720px;margin-bottom:40px}
.club-head .lead{max-width:60ch}
/* The screen sits left and the phone stands mostly beside it, overlapping only the bezel. */
.stage{position:relative;max-width:1060px;margin:0 auto;padding:0 17% 70px 2%}
.stage-screen{position:relative;border-radius:20px;border:10px solid #23232B;background:#23232B;box-shadow:0 44px 80px -34px rgba(70,40,20,.5),0 8px 24px rgba(70,40,20,.12)}
.stage-screen video{display:block;width:100%;aspect-ratio:16/9;border-radius:10px;background:#FFF7F0;object-fit:cover}
.stage-screen::after{content:"";position:absolute;left:50%;bottom:-38px;width:16%;height:28px;transform:translateX(-50%);background:linear-gradient(#34343E,#1B1B21);clip-path:polygon(22% 0,78% 0,100% 100%,0 100%)}
.stage-phone{position:absolute;right:0;bottom:6px;width:21%;border-radius:30px;border:7px solid #15151A;background:#15151A;box-shadow:0 30px 50px -18px rgba(40,20,10,.55);overflow:hidden}
.stage-phone video{display:block;width:100%;aspect-ratio:360/664;border-radius:23px;object-fit:cover;background:#FFFBF5}
.stage-cert{position:absolute;left:0;bottom:-14px;width:24%;height:auto;border-radius:4px;box-shadow:0 22px 40px -16px rgba(60,40,10,.5);transform:rotate(-6deg)}
.stage-phone,.stage-cert{transition:transform .9s cubic-bezier(.2,.8,.2,1),opacity .6s ease}
.stage-cert{transition-delay:.15s}
/* The one moment of motion: phone and certificate settle in when the stage first comes into view. */
.stage.pre .stage-phone{transform:translateY(48px) rotate(5deg);opacity:0}
.stage.pre .stage-cert{transform:translateY(36px) rotate(-16deg);opacity:0}
/* One line of explanation above the big screen, changed by the video. */
.stage-step{min-height:3.2em;margin:0 0 14px;display:flex;align-items:flex-end;justify-content:center;text-align:center;font-weight:700;font-size:1.05rem;line-height:1.4;color:var(--ink);transition:opacity .25s ease}
.stage-step.swap{opacity:0}
/* Before the students join, only the big screen is on stage. */
.stage.solo .stage-phone{opacity:0;transform:translateY(36px)}
/* The certificate only appears with the podium. */
.stage.nocert .stage-cert{opacity:0;transform:translateY(36px) rotate(-12deg)}
.stage-cap{text-align:center;color:var(--muted);font-size:.85rem;margin-top:4px}
.club-points{list-style:none;display:grid;gap:20px;margin-top:44px}
.club-points li{display:grid;gap:6px;align-content:start;padding-top:16px;border-top:2px solid var(--line)}
.club-points svg{width:22px;height:22px;color:var(--coral-text)}
.club-points span{color:var(--muted);font-size:.92rem}
.club-cta{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:28px}
@container site (min-width:760px){.club-points{grid-template-columns:repeat(4,1fr);gap:28px}}
@container site (max-width:640px){
  .stage{padding:0 23% 54px 0}
  .stage-screen{border-width:6px;border-radius:14px}
  .stage-screen video{border-radius:8px}
  .stage-screen::after{bottom:-26px;height:20px}
  .stage-phone{width:28%;border-width:5px;border-radius:22px}
  .stage-phone video{border-radius:17px}
  .stage-cert{width:34%;bottom:8px}
}
@media (prefers-reduced-motion:reduce){.stage-phone,.stage-cert{transition:none}}

/* Institutions page: students and institutes side by side around one app screen. */
.duo{display:grid;gap:32px;align-items:center}
.duo h2{font-size:clamp(1.5rem,3vw,1.9rem)}
.duo-list{list-style:none;display:grid;gap:18px;margin-top:20px}
.duo-list li{display:grid;grid-template-columns:42px 1fr;gap:14px;align-items:start}
.duo-list .fi{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--blue-tint);color:var(--blue-text)}
.duo-list .fi svg{width:21px;height:21px}
.duo-list b{display:block;margin-bottom:2px}
.duo-list span{color:var(--muted);font-size:.93rem}
.duo .you .fi{background:var(--tint);color:var(--coral-text)}
.duo-phone{justify-self:center;width:min(70%,240px);margin:0}
.duo-phone img{height:auto}
.duo-phone figcaption{text-align:center;color:var(--muted);font-size:.82rem;margin-top:12px}
@container site (min-width:900px){.duo{grid-template-columns:1fr 240px 1fr;gap:48px}.duo-phone{width:100%}}

/* How it works: one line through the four steps. */
.steps-line{list-style:none;display:grid;gap:26px;position:relative}
.steps-line::before{content:"";position:absolute;left:19px;top:22px;bottom:22px;width:2px;background:linear-gradient(var(--blue),var(--blue2) 70%,var(--line))}
.steps-line li{position:relative;display:grid;grid-template-columns:40px 1fr;column-gap:16px;row-gap:4px;align-content:start}
.steps-line .num{grid-row:span 2;position:relative;z-index:1;background:linear-gradient(135deg,var(--blue),var(--blue2));box-shadow:0 0 0 6px var(--bg)}
.steps-line p{color:var(--muted);font-size:.92rem}
@container site (min-width:900px){
  .steps-line{grid-template-columns:repeat(4,1fr);gap:28px}
  .steps-line::before{left:20px;right:12%;top:19px;bottom:auto;width:auto;height:2px;background:linear-gradient(90deg,var(--blue),var(--blue2) 70%,var(--line))}
  .steps-line li{grid-template-columns:1fr;row-gap:10px}
  .steps-line .num{grid-row:auto}
}

/* Registration: the program terms sit beside the form. */
.reg-side{display:grid;gap:12px;align-content:start}
.terms-side{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
.terms-side h3{font-size:1.05rem;margin-bottom:10px}
.terms-side ol{padding-left:20px;display:grid;gap:8px;color:var(--muted);font-size:.88rem;line-height:1.55}
.term-hi{color:var(--ok);font-weight:700}
@container site (min-width:900px){.reg-grid{grid-template-rows:auto 1fr}.reg-grid>.card{grid-column:2;grid-row:1/span 2;align-self:start}.reg-grid>.terms-side{grid-column:1;grid-row:2;align-self:start;margin-top:0}}
