/* ─────────────────────────────────────────────────────────────
   Drona for Schools — page styles. Loaded after catalog.css,
   which supplies the tokens, header, footer, buttons and reveal.
   ───────────────────────────────────────────────────────────── */

/* ── hero ── */
.s-hero{padding:clamp(124px,13vw,168px) 0 clamp(28px,3.4vw,44px);text-align:center;overflow:hidden}
.s-hero::after{content:"";position:absolute;top:-330px;left:50%;transform:translateX(-50%);width:1180px;height:760px;
  background:radial-gradient(ellipse,rgba(229,111,50,.13),transparent 62%);pointer-events:none;z-index:-1}
.s-hero h1{font-size:clamp(38px,5.4vw,66px);max-width:15ch;margin:0 auto}
.s-hero h1 em{font-style:normal;color:var(--accent)}
.s-hero .sub{font-size:clamp(16px,1.5vw,20px);color:var(--ink-2);max-width:54ch;margin:20px auto 0}
.s-hero .guru{font-size:15px;color:var(--muted);margin-top:14px}
.s-hero .cta-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:30px}

/* trust strip under the hero */
.tstrip{border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);background:#fff}
.tstrip-in{display:grid;grid-template-columns:repeat(4,1fr)}
.tr{padding:24px 20px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;
  border-right:1px solid var(--hair)}
.tr:last-child{border-right:none}
.tr svg{width:22px;height:22px;stroke:var(--blue-deep);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.tr b{font-size:14px;font-weight:600}
.tr span{font-size:13px;color:var(--muted);line-height:1.4}

/* ── video ── */
.vwrap{max-width:960px;margin:0 auto;position:relative;border-radius:20px;overflow:hidden;
  border:1px solid var(--line);background:#0A102A;box-shadow:0 40px 90px -50px rgba(10,16,42,.6)}
.vwrap video{width:100%;height:auto;display:block;aspect-ratio:16/9;background:#0A102A}
.vplay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border:0;padding:0;
  background:rgba(10,16,42,.18);cursor:pointer;transition:.25s var(--ease)}
.vplay:hover{background:rgba(10,16,42,.28)}
.vplay span{width:84px;height:84px;border-radius:50%;background:rgba(255,255,255,.95);display:flex;align-items:center;
  justify-content:center;box-shadow:0 14px 40px -12px rgba(10,16,42,.6);transition:.25s var(--ease)}
.vplay:hover span{transform:scale(1.06)}
.vplay svg{width:30px;height:30px;fill:var(--accent);margin-left:5px}
.vplay b{position:absolute;bottom:64px;left:0;right:0;text-align:center;color:#fff;font-size:14px;font-weight:550;
  text-shadow:0 2px 12px rgba(10,16,42,.8)}
.vcap{text-align:center;font-size:14px;color:var(--muted);margin-top:14px}
@media (max-width:640px){.vplay span{width:62px;height:62px}.vplay svg{width:22px;height:22px}.vplay b{bottom:48px;font-size:13px}}

/* ── section furniture ── */
.act{display:inline-flex;align-items:center;font-family:var(--display);font-size:13px;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:var(--blue-deep);background:var(--blue-wash);border-radius:100px;padding:7px 15px;margin-bottom:16px}
.act.w{color:#B4511C;background:var(--accent-wash)} .act.t{color:var(--teal);background:var(--teal-wash)}

/* the big board figure */
.board{max-width:940px;margin:0 auto}
.board svg{width:100%;height:auto;display:block}

/* artefact cards with drawn graphics */
.arts{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.art{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.3s var(--ease);
  display:flex;flex-direction:column}
.art:hover{transform:translateY(-4px);box-shadow:0 26px 54px -32px rgba(10,16,42,.42);border-color:rgba(10,16,42,.18)}
.art .pic{background:var(--mist,#F6F8FD);border-bottom:1px solid var(--hair);padding:0}
.art .pic svg{width:100%;height:auto;display:block}
.art .txt{padding:20px 22px 22px}
.art h3{font-size:18.5px;margin-bottom:7px;letter-spacing:-.02em}
.art p{font-size:14.5px;line-height:1.55}
.who{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:var(--blue-deep);margin-bottom:10px}
.who i{width:6px;height:6px;border-radius:50%;background:var(--blue);font-style:normal}
.who.w{color:#B4511C} .who.w i{background:var(--accent)}
.who.t{color:var(--teal)} .who.t i{background:var(--teal)}

/* split feature rows */
.split{display:grid;grid-template-columns:1fr 1.08fr;gap:clamp(32px,4.4vw,64px);align-items:center}
.split.rev .fig{order:-1}
.split h2{font-size:clamp(26px,3.1vw,38px);margin-bottom:14px}
.split p.lead{font-size:17px;color:var(--ink-2);margin-bottom:20px;max-width:46ch}
.split .fig svg{width:100%;height:auto;display:block}
.blist{display:grid;gap:11px}
.bi{display:flex;gap:11px;align-items:flex-start;font-size:15.5px;color:var(--ink-2);line-height:1.5}
.bi svg{width:19px;height:19px;flex:none;margin-top:3px;stroke:var(--teal);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.bi b{color:var(--ink);font-weight:600}

/* trust */
.trust{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.tc{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}
.tc .ic{width:42px;height:42px;border-radius:12px;background:var(--teal-wash);display:flex;align-items:center;
  justify-content:center;margin-bottom:14px}
.tc .ic svg{width:21px;height:21px;stroke:var(--teal);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tc h3{font-size:17.5px;margin-bottom:7px}
.tc p{font-size:14.5px;line-height:1.55}

/* start steps */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;counter-reset:s}
.step{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px 22px;position:relative}
.step .n{font-family:var(--display);font-size:13px;font-weight:600;letter-spacing:.14em;color:var(--accent);
  text-transform:uppercase;display:block;margin-bottom:10px}
.step h3{font-size:18px;margin-bottom:6px}
.step p{font-size:14.5px;line-height:1.5}

/* faq */
.faq{max-width:820px;margin:0 auto;border-top:1px solid var(--line)}
.qa{border-bottom:1px solid var(--line)}
.qa summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:16px;padding:20px 4px;
  font-family:var(--display);font-size:clamp(17px,1.8vw,20px);letter-spacing:-.02em;color:var(--ink)}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:"";width:10px;height:10px;margin-left:auto;flex:none;border-right:2px solid var(--muted);
  border-bottom:2px solid var(--muted);transform:rotate(45deg) translate(-2px,-2px);transition:.25s var(--ease)}
.qa[open] summary::after{transform:rotate(-135deg) translate(-2px,-2px)}
.qa p{padding:0 4px 22px;font-size:15.5px;line-height:1.6;max-width:66ch}

/* ── lead form ── */
.lead{background:var(--sand)}
.lead-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(36px,5vw,72px);align-items:start;text-align:left}
.lead-grid h2{margin-bottom:16px}
.lead-grid .sub{font-size:17px;color:var(--ink-2);max-width:46ch;margin-bottom:26px}
.callnow{margin-top:24px;font-size:15px;color:var(--muted)}
.callnow a{color:var(--blue-deep);font-weight:600;border-bottom:1px solid rgba(22,48,158,.3)}
.form{background:#fff;border:1px solid var(--line);border-radius:20px;padding:clamp(24px,3vw,32px);
  box-shadow:0 30px 70px -46px rgba(10,16,42,.45)}
.form h3{font-size:23px;margin-bottom:6px;text-align:center}
.form .fnote{font-size:13.5px;color:var(--muted);text-align:center;margin-bottom:22px}
.field{margin-bottom:12px}
.field label{display:block;font-size:12.5px;font-weight:550;color:var(--muted);margin-bottom:6px}
.field input,.field select,.field textarea{width:100%;padding:12px 16px;border:1px solid var(--line);border-radius:12px;
  background:var(--paper);font:400 15px var(--sans);color:var(--ink);transition:.2s}
.field select{appearance:none;cursor:pointer;padding-right:40px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235B6480' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center}
.field input::placeholder,.field textarea::placeholder{color:var(--muted-2)}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--ink);background:#fff}
.f2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.consent{display:flex;gap:10px;align-items:flex-start;margin:16px 0 18px;font-size:13.5px;color:var(--muted);line-height:1.5}
.consent input{width:16px;height:16px;flex:none;margin-top:3px;accent-color:var(--blue)}
.hp{position:absolute;left:-9999px}
.form-wrap{position:relative}
.form-err{margin-top:12px;font-size:13.5px;line-height:1.5;color:#B4342A;background:rgba(180,52,42,.07);
  border:1px solid rgba(180,52,42,.2);border-radius:12px;padding:12px 16px}
.form-err a{color:#B4342A;text-decoration:underline}
.thanks{text-align:center;display:flex;flex-direction:column;align-items:center}
.thanks-mark{width:52px;height:52px;border-radius:50%;background:rgba(14,124,107,.1);display:flex;align-items:center;
  justify-content:center;margin-bottom:20px}
.thanks-mark svg{width:26px;height:26px;fill:none;stroke:var(--teal);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.thanks p{font-size:15px;line-height:1.6;max-width:34ch;margin:0 auto 20px}
.thanks-mail{font-size:14.5px;color:var(--blue);border-bottom:1px solid rgba(27,67,232,.3);padding-bottom:2px}

.note-illus{font-size:13px;color:var(--muted-2);text-align:center;margin-top:20px}

/* ── drawn-figure animation, driven by the .rv "in" class catalog.js adds ── */
.js .rv [data-draw]{stroke-dasharray:1;stroke-dashoffset:1}
.js .rv.in [data-draw]{animation:sdraw 1.15s var(--ease) forwards;animation-delay:calc(var(--i,0)*.08s + .1s)}
@keyframes sdraw{to{stroke-dashoffset:0}}
.js .rv [data-pop]{opacity:0;transform:scale(.5);transform-box:fill-box;transform-origin:center}
.js .rv.in [data-pop]{animation:spop .6s var(--ease) forwards;animation-delay:calc(var(--i,0)*.08s + .35s)}
@keyframes spop{to{opacity:1;transform:scale(1)}}
.js .rv [data-fade]{opacity:0}
.js .rv.in [data-fade]{animation:sfade .7s var(--ease) forwards;animation-delay:calc(var(--i,0)*.08s + .4s)}
@keyframes sfade{to{opacity:1}}
.js .rv [data-rise]{opacity:0;transform:translateY(12px);transform-box:fill-box}
.js .rv.in [data-rise]{animation:srise .7s var(--ease) forwards;animation-delay:calc(var(--i,0)*.08s + .3s)}
@keyframes srise{to{opacity:1;transform:none}}
.blink{animation:blk 1.6s steps(2) infinite}
@keyframes blk{50%{opacity:0}}
@media (prefers-reduced-motion:reduce){
  .js .rv [data-draw],.js .rv [data-pop],.js .rv [data-fade],.js .rv [data-rise]{opacity:1;transform:none;stroke-dashoffset:0;animation:none}
  .blink{animation:none}
}

/* ── responsive ── */
@media (max-width:1040px){
  .arts,.trust{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr 1fr}
  .split,.split.rev{grid-template-columns:1fr;gap:32px}
  .split .fig,.split.rev .fig{order:0}
  .lead-grid{grid-template-columns:1fr;gap:40px;text-align:center}
  .lead-grid .sub{margin-inline:auto}
  .bi{text-align:left}
  .tstrip-in{grid-template-columns:1fr 1fr}
  .tr:nth-child(2){border-right:none}
  .tr:nth-child(1),.tr:nth-child(2){border-bottom:1px solid var(--hair)}
}
@media (max-width:820px){
  .split{text-align:center}
  .split p.lead{margin-inline:auto}
  .blist{max-width:38ch;margin-inline:auto}
}
@media (max-width:640px){
  .arts,.trust,.steps,.f2,.tstrip-in{grid-template-columns:1fr}
  .tr{border-right:none;border-bottom:1px solid var(--hair)}
  .vwrap{border-radius:14px}
}

/* ── hero credits + audience chips (from the brochure) ── */
.credits{display:flex;flex-direction:column;gap:8px;align-items:center;margin-top:22px}
.credits p{display:flex;gap:10px;align-items:center;font-size:15px;color:var(--ink-2)}
.credits b{color:var(--ink);font-weight:600}
.credits svg{width:19px;height:19px;flex:none;stroke:var(--accent);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.who-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:22px}
.who-chips span{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--ink);
  background:#fff;border:1px solid var(--line);border-radius:100px;padding:9px 18px}
.who-chips i{width:7px;height:7px;border-radius:50%;background:var(--blue)}
.who-chips span:nth-child(2) i{background:var(--teal)}
.who-chips span:nth-child(3) i{background:var(--accent)}
.who-chips span:nth-child(4) i{background:var(--ink)}

/* ── the launch ── */
.launch-grid{display:grid;grid-template-columns:1.9fr 1fr;gap:24px;align-items:start}
.launch-grid figure{margin:0}
.shot img{width:100%;height:auto;border-radius:16px;border:1px solid var(--line);display:block}
.shot figcaption{margin-top:12px;font-size:14px;color:var(--muted)}
.gov img{width:100%;height:auto;border-radius:16px;border:1px solid var(--line);display:block}
.gov figcaption{margin-top:12px;display:flex;flex-direction:column;gap:4px}
.gov figcaption b{font-family:var(--display);font-size:17px;font-weight:500;letter-spacing:-.02em;line-height:1.25;color:var(--ink)}
.gov figcaption span{font-size:14px;color:var(--muted)}

/* ── recognition & partners ── */
.partners{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.pl{background:#fff;border:1px solid var(--line);border-radius:14px;height:92px;display:flex;align-items:center;
  justify-content:center;padding:16px}
.pl img{max-height:60px;width:auto;max-width:100%;object-fit:contain}

@media (max-width:1040px){
  .launch-grid{grid-template-columns:1fr;gap:28px}
  .gov{max-width:260px;margin-inline:auto;text-align:center}
  .gov figcaption{align-items:center}
  .partners{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .credits p{font-size:14px;text-align:left}
  .partners{grid-template-columns:1fr 1fr}
  .pl{height:78px}
}

/* the recognition strip sits close under the trust cards it belongs to */
#recognition{padding-bottom:clamp(44px,5vw,72px)}

/* ═══════════════ ANIMATED DRONA OS HERO ═══════════════ */
.s-hero{text-align:left}
/* Two rows so the device can span them on desktop and slot between the
   headline and the rest of the copy once everything stacks on a phone. */
.hero-grid{display:grid;grid-template-columns:1fr 1.02fr;grid-template-rows:auto auto;
  column-gap:clamp(36px,4.6vw,72px);align-items:center}
.hero-top{grid-column:1;grid-row:1;align-self:end;max-width:580px}
.hero-rest{grid-column:1;grid-row:2;align-self:start;max-width:580px;padding-top:4px}
.osd-wrap{grid-column:2;grid-row:1/3;align-self:center}
.s-hero .hero-top h1{max-width:14ch;margin:0}
.s-hero .hero-top .sub{margin:20px 0 0;max-width:50ch}
.s-hero .hero-top .guru{margin-top:14px}
.hero-rest .credits{align-items:flex-start;margin-top:22px}
.hero-rest .who-chips,.hero-rest .cta-row{justify-content:flex-start}

/* the device */
.osd-wrap{position:relative}
.osd{
  position:relative;aspect-ratio:4/3;border-radius:20px;overflow:hidden;background:#fff;
  border:1px solid var(--line);box-shadow:0 44px 90px -46px rgba(10,16,42,.5),0 2px 6px rgba(10,16,42,.05);
}
.osd-bar{display:flex;align-items:center;gap:10px;padding:0 16px;height:44px;border-bottom:1px solid var(--hair);
  font-size:12.5px;color:var(--muted);background:#fff;position:relative;z-index:3}
.osd-bar b{font-size:13px;color:var(--ink);font-weight:600}
.osd-bar .school{margin-left:auto}
.osd-bar .clock{color:var(--ink-2);font-weight:550}
.osd .dot{width:16px;height:16px;border-radius:50%;background:var(--accent-wash);position:relative;flex:none}
.osd .dot::before,.osd .dot::after{content:"";position:absolute;background:var(--accent);border-radius:1px}
.osd .dot::before{left:4px;right:4px;top:7.2px;height:1.6px}
.osd .dot::after{top:4px;bottom:4px;left:7.2px;width:1.6px}
.dot.sm{width:13px;height:13px}
.dot.sm::before{left:3px;right:3px;top:5.7px}.dot.sm::after{top:3px;bottom:3px;left:5.7px}

/* scenes */
.scn{position:absolute;inset:44px 0 0;padding:16px;opacity:0;visibility:hidden;transition:opacity .45s var(--ease)}
.osd[data-scene="home"] .scn-home,
.osd[data-scene="tutor"] .scn-tutor,
.osd[data-scene="copilot"] .scn-copilot,
.osd[data-scene="insights"] .scn-insights{opacity:1;visibility:visible}

/* scene 1 · home */
.scn-home{display:grid;grid-template-columns:1.25fr 1fr;grid-template-rows:1fr auto;gap:14px}
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 6px;align-content:start}
.tile{display:flex;flex-direction:column;align-items:center;gap:5px;opacity:0;transform:scale(.6)}
.osd[data-scene="home"] .tile{animation:tilein .5s var(--ease) forwards;animation-delay:calc(var(--n)*.045s)}
@keyframes tilein{to{opacity:1;transform:none}}
.tile svg{width:19px;height:19px}
.tile::before{content:"";position:absolute}
.tile b{font-size:8.5px;font-weight:500;color:var(--muted);text-align:center;line-height:1.1}
.tile{position:relative;padding-top:38px}
.tile svg{position:absolute;top:8px;left:50%;transform:translateX(-50%);z-index:2}
.tile::before{top:0;left:50%;margin-left:-16px;width:32px;height:32px;border-radius:10px;background:var(--blue-wash)}
.tile.b svg{color:#2F55C6}
.tile.g::before{background:var(--teal-wash)} .tile.g svg{color:var(--teal)}
.tile.d::before{background:var(--ink)} .tile.d svg{color:#fff}
.osd[data-scene="home"] .tile[data-open]::before{animation:tap 1s var(--ease) 2.1s}
@keyframes tap{40%{transform:scale(1.18);box-shadow:0 0 0 6px rgba(27,67,232,.16)}100%{transform:none}}

.scn-home .side{display:flex;flex-direction:column;gap:10px}
.scn-home .card{background:var(--mist,#F6F8FD);border:1px solid var(--hair);border-radius:12px;padding:10px 12px}
.scn-home .lbl{font-size:8px;font-weight:700;letter-spacing:.12em;color:var(--muted-2)}
.scn-home .lbl.warm{color:#B4511C}
.scn-home .today p{display:flex;align-items:center;font-size:10.5px;color:var(--ink);margin-top:6px}
.scn-home .today p b{margin-left:auto;color:#2F55C6;font-weight:600}
.scn-home .today .ok{gap:6px;color:var(--ink)}
.scn-home .today .ok i{width:11px;height:11px;border-radius:50%;background:#2F55C6;position:relative}
.scn-home .today .ok i::after{content:"";position:absolute;left:3px;top:3.4px;width:4px;height:2px;
  border-left:1.4px solid #fff;border-bottom:1.4px solid #fff;transform:rotate(-45deg)}
.scn-home .revisit{background:var(--accent-soft,#FFF7F2);border-color:rgba(229,111,50,.2)}
.scn-home .pills{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.scn-home .pills span{font-size:9.5px;font-weight:600;color:#16309E;background:#EAF0FF;border-radius:20px;padding:4px 9px}
.scn-home .ask{grid-column:1/-1;display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted-2);
  background:var(--mist,#F6F8FD);border:1px solid var(--hair);border-radius:20px;padding:9px 14px}
.cursor{position:absolute;width:13px;height:13px;border-radius:50%;background:rgba(27,67,232,.28);
  border:1.5px solid var(--blue);left:28%;top:62%;opacity:0}
.osd[data-scene="home"] .cursor{animation:curs 2.6s var(--ease) .8s}
@keyframes curs{0%{opacity:0;left:62%;top:78%}30%{opacity:1}70%{opacity:1;left:34%;top:21%}100%{opacity:0;left:34%;top:21%}}

/* shared app chrome */
.app-top{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);margin-bottom:12px}
.app-top b{font-size:13.5px;color:var(--ink);font-weight:600}
.app-top .back{color:var(--muted-2)}
.app-top .meta{font-size:10.5px}
.app-top .chip{margin-left:auto;font-size:9.5px;font-weight:700;letter-spacing:.06em;border-radius:20px;padding:4px 9px;
  background:#EAF0FF;color:#16309E}
.app-top .chip.live::after{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:#2F55C6;
  margin-left:5px;vertical-align:middle;animation:blink 1.2s steps(2) infinite}
@keyframes blink{50%{opacity:.2}}

/* scene 2 · tutor */
.scn-tutor .board{background:#fff;border:1px solid var(--hair);border-radius:12px;padding:6px}
.scn-tutor .board svg{width:100%;height:auto;display:block}
.scn-tutor .sun,.scn-tutor .ray,.scn-tutor .lb,.scn-tutor .io{opacity:0}
.osd[data-scene="tutor"] .sun{animation:fin .5s var(--ease) .2s forwards}
.osd[data-scene="tutor"] .ray{animation:fin .5s var(--ease) .6s forwards}
.osd[data-scene="tutor"] .io{animation:fin .5s var(--ease) 1.5s forwards}
.osd[data-scene="tutor"] .lb{animation:fin .5s var(--ease) 1.8s forwards}
@keyframes fin{to{opacity:1}}
.scn-tutor .leaf,.scn-tutor .vein{stroke-dasharray:1;stroke-dashoffset:1}
.osd[data-scene="tutor"] .leaf{animation:drw 1.3s var(--ease) .5s forwards}
.osd[data-scene="tutor"] .vein{animation:drw .9s var(--ease) 1.4s forwards}
@keyframes drw{to{stroke-dashoffset:0}}
.scn-tutor .bubble{margin-top:12px;align-self:flex-end;max-width:70%;margin-left:auto;background:var(--blue);color:#fff;
  font-size:11.5px;border-radius:14px 14px 4px 14px;padding:9px 13px;opacity:0;transform:translateY(8px)}
.osd[data-scene="tutor"] .bubble{animation:rise .5s var(--ease) 2.3s forwards}
@keyframes rise{to{opacity:1;transform:none}}
.scn-tutor .reply{display:flex;gap:4px;margin-top:8px;opacity:0}
.osd[data-scene="tutor"] .reply{animation:fin .4s var(--ease) 3s forwards}
.scn-tutor .reply i{width:6px;height:6px;border-radius:50%;background:var(--muted-2);animation:dots 1.1s infinite}
.scn-tutor .reply i:nth-child(2){animation-delay:.15s}.scn-tutor .reply i:nth-child(3){animation-delay:.3s}
@keyframes dots{0%,60%,100%{opacity:.25}30%{opacity:1}}

/* scene 3 · copilot */
.scn-copilot .prompt{background:var(--ink);color:#fff;font-size:11.5px;line-height:1.45;border-radius:12px;
  padding:11px 14px;max-width:84%}
.scn-copilot .rows{list-style:none;margin:14px 0 0;display:flex;flex-direction:column;gap:8px}
.scn-copilot .rows li{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--ink);
  background:var(--mist,#F6F8FD);border:1px solid var(--hair);border-radius:10px;padding:9px 12px;
  opacity:0;transform:translateY(6px)}
.osd[data-scene="copilot"] .rows li{animation:rise .45s var(--ease) forwards;animation-delay:calc(.5s + var(--n)*.45s)}
.scn-copilot .rows i{width:15px;height:15px;border-radius:50%;background:#2F55C6;position:relative;flex:none}
.scn-copilot .rows i::after{content:"";position:absolute;left:4px;top:4.6px;width:5.5px;height:2.6px;
  border-left:1.6px solid #fff;border-bottom:1.6px solid #fff;transform:rotate(-45deg)}
.scn-copilot .rows b{margin-left:auto;font-size:11px;color:#0E7C6B;font-weight:600}
.scn-copilot .mins{margin-top:12px;font-size:10.5px;font-weight:600;color:#B4511C;background:var(--accent-wash);
  border-radius:20px;padding:6px 12px;display:inline-block;opacity:0}
.osd[data-scene="copilot"] .mins{animation:fin .5s var(--ease) 2.5s forwards}

/* scene 4 · insights */
.scn-insights .stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:14px}
.scn-insights .stats div{background:var(--mist,#F6F8FD);border-radius:12px;padding:10px 12px}
.scn-insights .stats .g{background:var(--teal-wash)}
.scn-insights .stats span{display:block;font-size:8px;font-weight:700;letter-spacing:.12em;color:var(--muted-2)}
.scn-insights .stats b{display:block;font-family:var(--display);font-size:19px;font-weight:500;color:var(--ink);margin-top:3px}
.scn-insights .stats .g b{color:var(--teal)}
.scn-insights .lbl{font-size:8.5px;font-weight:700;letter-spacing:.12em;color:#16309E}
.scn-insights .bars{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;align-items:end;height:40%;margin-top:10px;
  border-bottom:1px solid var(--hair);padding-bottom:6px}
.scn-insights .bars div{display:flex;flex-direction:column;justify-content:flex-end;height:100%;gap:6px}
.scn-insights .bars i{display:block;height:0;border-radius:6px 6px 2px 2px;background:#2F55C6}
.osd[data-scene="insights"] .bars i{animation:grow .7s var(--ease) forwards;animation-delay:calc(.3s + var(--n)*.1s)}
@keyframes grow{to{height:var(--h)}}
.scn-insights .bars .w i{background:var(--accent)}
.scn-insights .bars span{font-size:9px;color:var(--muted);text-align:center}

/* caption under the device */
.osd-cap{display:flex;align-items:center;gap:9px;justify-content:center;margin-top:16px;font-size:13px;color:var(--muted)}
.osd-cap b{font-weight:550;color:var(--ink-2)}

@media (prefers-reduced-motion:reduce){
  .osd .tile,.scn-tutor .bubble,.scn-copilot .rows li,.scn-copilot .mins,
  .scn-tutor .sun,.scn-tutor .ray,.scn-tutor .lb,.scn-tutor .io{opacity:1;transform:none;animation:none}
  .scn-tutor .leaf,.scn-tutor .vein{stroke-dashoffset:0;animation:none}
  .scn-insights .bars i{height:var(--h);animation:none}
  .cursor,.app-top .chip.live::after{animation:none;opacity:0}
}

@media (max-width:1040px){
  .s-hero{text-align:center}
  /* stacked order: headline → the running OS → credits and buttons */
  .hero-grid{display:flex;flex-direction:column;gap:34px}
  .hero-top{order:1} .osd-wrap{order:2} .hero-rest{order:3}
  .hero-top,.hero-rest{max-width:none;margin-inline:auto}
  .s-hero .hero-top h1,.s-hero .hero-top .sub{margin-inline:auto}
  .hero-rest .credits{align-items:center;margin-top:0}
  .hero-rest .who-chips,.hero-rest .cta-row{justify-content:center}
  /* width:100% matters — an auto inline margin on a flex/grid item cancels stretch */
  .osd-wrap{width:100%;max-width:620px;margin-inline:auto}
}
@media (max-width:640px){
  .osd{aspect-ratio:5/4}
  .scn-home{grid-template-columns:1fr}
  .scn-home .side{display:none}
  .tiles{grid-template-columns:repeat(4,1fr);gap:12px 6px}
  .scn{padding:12px}
}

/* a small "it is running" dot under the device */
.osd-cap .live{width:8px;height:8px;border-radius:50%;background:var(--teal);position:relative;flex:none}
.osd-cap .live::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:1.5px solid var(--teal);
  opacity:.45;animation:livep 2.2s ease-out infinite}
@keyframes livep{0%{transform:scale(.6);opacity:.5}70%{transform:scale(1.25);opacity:0}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.osd-cap .live::after{animation:none;opacity:.3}}

/* ── standalone schools site: no university nav ── */
/* catalog.css only styles .brand img, so the lockup needs to be a flex row here */
.brand{display:flex;align-items:center;gap:10px}
.brand-tag{font-size:13px;font-weight:550;color:var(--muted);letter-spacing:-.01em;white-space:nowrap;
  padding-left:11px;border-left:1px solid var(--line)}
@media (max-width:1040px){
  /* catalog.css hides the header CTA on small screens because a menu button
     replaces it — this page has no menu, so the CTA has to stay. */
  header .btn{display:inline-flex}
  .navlinks{display:none}
  .brand-tag{display:none}
}
@media (max-width:420px){
  .brand img{height:38px}
  header .btn{padding:9px 14px;font-size:13px}
}
