/* MANZO AI Home Magic v2 — PREVIEW ONLY.
 * Original editorial learning design; accessible graphic metaphor.
 * Scoped to .ma-v2-* and the appended Academy index.
 * NO change to the root language gateway, language controls or their motion.
 */
:root{--v2-paper:#fff;--v2-ink:#173e59;--v2-body:#425e72;--v2-line:#d4e3e9;--v2-accent:#196e83}
body[data-ma-surface="landing"] #content:has(.ma-v2-hero){
 --v2-paper:#fff;--v2-ink:#173e59;--v2-body:#425e72;--v2-line:#d4e3e9;
 background:#fff!important;
}
#content .ma-v2-hero,

#content .ma-v2-courses,
#content .ma-v2-focus,
#content .ma-v2-challenge,
#content .ma-v2-closing{
 box-sizing:border-box;
 font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
 max-width:1180px;
 margin-inline:auto;
 color:var(--v2-ink);
}
#content .ma-v2-hero{
 min-height:clamp(425px,46vw,550px);
 display:grid;grid-template-columns:minmax(0,1.15fr) minmax(325px,.85fr);
 align-items:center;gap:clamp(12px,2.4vw,36px);
 padding:clamp(28px,3.8vw,55px) clamp(22px,4vw,62px);
 border:1px solid #cadde6;border-radius:25px;
 background:linear-gradient(128deg,#fff 0%,#fff 63%,#f0f7f9 100%);
 box-shadow:0 18px 56px #2752720b;position:relative;overflow:hidden;
}
#content .ma-v2-hero:before{
 content:"";position:absolute;top:0;left:clamp(22px,4vw,62px);
 width:124px;height:4px;background:#1b8d8a;
 border-radius:0 0 6px 6px;
}
.ma-v2-hero-copy{min-width:0;position:relative;z-index:1}
.ma-v2-kicker,.ma-v2-section-id{
 color:#267a82!important;letter-spacing:.12em!important;
 text-transform:uppercase;font-size:.68rem!important;line-height:1.5;
 font-weight:850!important;margin:0 0 20px!important;
}
#content .ma-v2-hero h1{
 font-size:clamp(2.5rem,4.45vw,4.7rem)!important;
 line-height:1.12!important;letter-spacing:-.028em!important;
 font-weight:690!important;color:#173b5a!important;
 text-wrap:balance;max-width:22ch;margin:0 0 22px!important;
}
#content .ma-v2-lead{
 color:#3e6278!important;max-width:43ch;font-size:clamp(1.02rem,1.43vw,1.22rem)!important;
 line-height:1.62!important;font-weight:440!important;margin:0!important;
}
.ma-v2-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:26px 0 0}
.ma-v2-actions a,.ma-v2-challenge>a{
 display:inline-flex;align-items:center;justify-content:space-between;gap:14px;
 min-height:48px;padding:12px 18px;border-radius:11px;
 text-decoration:none;font-size:.91rem;font-weight:740;line-height:1.4;
 transition:transform .2s cubic-bezier(.2,.7,.2,1),box-shadow .2s,background-color .2s;
}
.ma-v2-primary{background:#1d5d9c;color:#fff!important;box-shadow:0 8px 18px #235c8726}
.ma-v2-primary:hover{background:#154b84;box-shadow:0 12px 23px #235c8734;transform:translateY(-2px)}
.ma-v2-secondary{background:#fff;color:#1b5974!important;border:1px solid #abc8d5}
.ma-v2-secondary:hover{background:#f0f8fb;transform:translateY(-2px)}
/* An animation with a pedagogical meaning rather than ornamental particles. */
.ma-v2-magic{
 position:relative;isolation:isolate;min-width:0;margin:0!important;
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 gap:10px;
}
.ma-v2-magic-stage{
 position:relative;width:100%;max-width:475px;aspect-ratio:560/480;
 background:radial-gradient(ellipse at 50% 72%,#d8ebee70 0,#eff8fa00 64%);
 display:flex;align-items:center;justify-content:center;
}
.ma-v2-box-svg{width:100%;height:auto;display:block;overflow:visible;
 animation:ma-v2-box-breathe 11.6s ease-in-out infinite;
}
/* Glass-box choreography: 11.6 s loop, 2 hinged flaps and 3 independent icons.
 * Flaps clear the center before the symbols emerge, and close after they fade.
 * SVG painter order guarantees symbols stay above the cover at every phase. */
.ma-v2-orbit{transform-origin:50% 50%;animation:ma-v2-orbit 34s linear infinite}
.ma-v2-lid{transform:none;animation:none}
.ma-v2-flap{
  transform-box:fill-box;
  will-change:transform;
}
.ma-v2-flap-left{
  transform-origin:92% 85%;
  animation:ma-v3-flap-left 11.6s cubic-bezier(.24,.72,.28,1) infinite;
}
.ma-v2-flap-right{
  transform-origin:8% 85%;
  animation:ma-v3-flap-right 11.6s cubic-bezier(.24,.72,.28,1) infinite;
}
.ma-v2-beam{opacity:0;animation:ma-v3-beam 11.6s ease-in-out infinite}
.ma-v2-artifacts{opacity:0;animation:ma-v3-reveal 11.6s ease-in-out infinite}
.ma-v2-artifact{
  transform-box:fill-box;transform-origin:50% 50%;
  will-change:transform;
  filter:drop-shadow(0 10px 9px rgba(21,79,120,.18));
}
.ma-v2-a{animation:ma-v3-rise-a 11.6s ease-in-out infinite}
.ma-v2-b{animation:ma-v3-rise-b 11.6s ease-in-out infinite}
.ma-v2-c{animation:ma-v3-rise-c 11.6s ease-in-out infinite}
.ma-v2-box-svg{filter:drop-shadow(0 12px 18px rgba(43,124,165,.13))}
@keyframes ma-v2-box-breathe{
  0%,100%{transform:translateY(3px)}
  35%,74%{transform:translateY(-4px)}
}
@keyframes ma-v3-flap-left{
  0%,10%,94%,100%{transform:translate(0,0) rotate(0deg)}
  28%,73%{transform:translate(-101px,-56px) rotate(-13deg)}
  85%{transform:translate(-70px,-35px) rotate(-8deg)}
}
@keyframes ma-v3-flap-right{
  0%,10%,94%,100%{transform:translate(0,0) rotate(0deg)}
  28%,73%{transform:translate(101px,-56px) rotate(13deg)}
  85%{transform:translate(70px,-35px) rotate(8deg)}
}
@keyframes ma-v3-beam{
  0%,12%,89%,100%{opacity:0}
  28%,74%{opacity:.84}
  83%{opacity:.4}
}
@keyframes ma-v3-reveal{
  0%,22%,88%,100%{opacity:0}
  34%,75%{opacity:1}
  82%{opacity:.64}
}
@keyframes ma-v3-rise-a{
  0%,22%,89%,100%{transform:translateY(107px) scale(.72)}
  38%,72%{transform:translate(-7px,-41px) scale(1.06)}
  82%{transform:translateY(43px) scale(.86)}
}
@keyframes ma-v3-rise-b{
  0%,22%,89%,100%{transform:translateY(140px) scale(.7)}
  41%,72%{transform:translateY(-61px) scale(1.08)}
  82%{transform:translateY(61px) scale(.87)}
}
@keyframes ma-v3-rise-c{
  0%,22%,89%,100%{transform:translateY(109px) scale(.72)}
  44%,72%{transform:translate(8px,-39px) scale(1.06)}
  82%{transform:translateY(44px) scale(.86)}
}
@keyframes ma-v2-orbit{to{transform:rotate(360deg)}}
.ma-v2-magic-steps{
 display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;
 max-width:360px;
}
.ma-v2-magic-steps span{
 color:#467285;background:#f5fafb;border:1px solid #d5e7e9;
 border-radius:100px;padding:6px 10px;font-size:.61rem;font-weight:780;
 letter-spacing:.045em;
}
.ma-v2-magic figcaption{color:#4f7683!important;font-size:.8rem!important;
 text-align:center;line-height:1.55;max-width:350px;min-height:24px}
.ma-v2-motion-toggle{
 display:inline-flex;align-items:center;justify-content:center;
 border:1px solid #e0e9ee;background:#f8fbfc;color:#4d7184;
 padding:4px 9px;min-height:30px;border-radius:999px;
 font:650 .67rem/1.3 system-ui,sans-serif;cursor:pointer;
}
.ma-v2-motion-toggle[hidden]{display:none}
.ma-v2-motion-toggle:hover{background:#eaf3f6;color:#25536d}
.ma-v2-motion-paused :is(.ma-v2-box-svg,.ma-v2-orbit,.ma-v2-beam,.ma-v2-flap,.ma-v2-artifacts,.ma-v2-artifact),
.ma-v2-magic[data-offscreen="1"] :is(.ma-v2-box-svg,.ma-v2-orbit,.ma-v2-beam,.ma-v2-flap,.ma-v2-artifacts,.ma-v2-artifact){
  animation-play-state:paused!important;
}
#content .ma-v2-courses,
#content .ma-v2-focus{
 padding-top:clamp(37px,4.8vw,66px);
}
.ma-v2-section-head{margin-bottom:23px}
#content .ma-v2-section-head h2{
 font-weight:650!important;letter-spacing:-.047em!important;
 font-size:clamp(1.85rem,3.2vw,3rem)!important;line-height:1.1!important;
 color:#183e59!important;margin:0 0 11px!important;text-wrap:balance;
}
.ma-v2-section-head>p{
 color:#567487!important;line-height:1.62!important;
 font-size:.99rem!important;max-width:64ch;margin:0!important;
}
/* The six featured cards are the actual Academy component with the same
 * HTML/CSS. No duplicated hover, glow, cover, or CTA implementation here.
 * Only the grid adapts to the available space next to the preserved sidebar. */
#content .ma-v2-courses .ma-course-grid{
  margin:0;
  width:100%;
  align-items:stretch;
}
#content .ma-v2-courses .ma-course-card{min-width:0}
.ma-v2-academy-link{
 display:inline-flex;align-items:center;gap:15px;
 color:#196e85!important;text-decoration:none;font-weight:800;font-size:.92rem;
 padding:15px 0;margin-top:16px;border-bottom:2px solid #81bfc6;
}
.ma-v2-academy-link:hover{color:#124b62!important}
.ma-v2-focus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ma-v2-focus-card{
 display:flex;flex-direction:column;min-width:0;min-height:230px;
 border-radius:17px;padding:24px 26px;border:1px solid #bfd8e4;
 background:#f0f7fb;color:#234b67!important;text-decoration:none!important;
 transition:transform .2s,box-shadow .2s;
}
.ma-v2-focus-pro{background:#f3f9f5;border-color:#c6dfd2}
.ma-v2-focus-card:hover{transform:translateY(-3px);box-shadow:0 12px 24px #20496313}
.ma-v2-focus-label{font-weight:850;letter-spacing:.1em;color:#347e8c;font-size:.66rem}
#content .ma-v2-focus-card h3{color:#1e4964!important;letter-spacing:-.03em!important;
 font-weight:685!important;font-size:clamp(1.2rem,1.9vw,1.55rem)!important;
 line-height:1.18!important;margin:13px 0 9px!important;max-width:27ch}
.ma-v2-focus-card p{color:#547286;font-size:.9rem;line-height:1.55;margin:0 0 12px!important}
.ma-v2-focus-card small{color:#7a6955;font-size:.74rem;line-height:1.4;margin-bottom:11px}
.ma-v2-focus-card strong{color:#196781;font-size:.84rem;margin-top:auto;display:flex;gap:10px;align-items:center;justify-content:space-between}
#content .ma-v2-challenge{
 display:flex;align-items:center;justify-content:space-between;gap:30px;
 padding:clamp(25px,3vw,39px);margin-top:clamp(37px,5vw,62px);
 border-radius:19px;border:1px solid #bfdddc;
 background:#eaf7f3;
}
#content .ma-v2-challenge h2{color:#1a4e55!important;
 letter-spacing:-.045em!important;font-size:clamp(1.62rem,2.5vw,2.35rem)!important;
 max-width:27ch;margin:0 0 10px!important;line-height:1.13}
.ma-v2-challenge p{color:#4d7375!important;font-size:.93rem!important;
 line-height:1.52!important;margin:0!important;max-width:58ch}
.ma-v2-challenge>a{flex:none;background:#227667;color:#fff!important;border:1px solid #227667}
.ma-v2-challenge>a:hover{background:#145c50;transform:translateY(-2px)}
#content .ma-v2-closing{
 display:flex;align-items:center;justify-content:space-between;gap:24px;
 padding:27px 0 22px;margin-top:clamp(28px,3.6vw,43px);
 border-top:1px solid #d5e3e9;
}
#content .ma-v2-closing h2{font-size:clamp(1.14rem,1.65vw,1.52rem)!important;
 font-weight:690!important;line-height:1.25;letter-spacing:-.026em!important;color:#224d66!important;
 margin:0 0 8px!important}
.ma-v2-closing p{margin:0!important;color:#5b798a;font-size:.84rem!important;line-height:1.5}
.ma-v2-closing-links{display:flex;flex-wrap:wrap;gap:9px}
.ma-v2-closing-links a{color:#1a6e84!important;font-size:.82rem;font-weight:780;
 white-space:nowrap;text-decoration:none;border:1px solid #c7dbe2;border-radius:9px;padding:10px 12px}
.ma-v2-closing-links a:hover{background:#eaf7f8}
.ma-v2-hero a:focus-visible,
.ma-v2-academy-link:focus-visible,.ma-v2-focus-card:focus-visible,
.ma-v2-challenge>a:focus-visible,.ma-v2-closing-links a:focus-visible,
.ma-v2-motion-toggle:focus-visible,.ma-v2-extra-link:focus-visible{
 outline:3px solid #c86f2a!important;outline-offset:4px!important;
}
/* Minimal extension to the existing Academy, keeping its six canonical cards as-is */
.ma-v2-academy-index{margin:45px 0 35px;padding:29px 0 0;border-top:1px solid #d2e2e9}
.ma-v2-academy-intro h2{color:#214c65;font-size:clamp(1.6rem,2.6vw,2.25rem);
 line-height:1.18;margin:0 0 8px}
.ma-v2-academy-intro p{color:#557487;line-height:1.5;margin:0 0 20px}
.ma-v2-extra-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ma-v2-extra-link{display:flex;align-items:center;justify-content:space-between;
 gap:14px;min-height:58px;padding:13px 16px;border:1px solid #cddfe5;
 border-radius:11px;background:#fff;color:#23566f!important;font-weight:680;
 font-size:.91rem;line-height:1.42;text-decoration:none!important;
 transition:background .2s,border-color .2s}
.ma-v2-extra-link:hover{border-color:#84b8c4;background:#eff9fa}
.ma-v2-extra-link span:last-child{color:#3e92a1;flex:none}
/* Keep the existing sidebar: stack the Hero before tablet copy becomes narrow. */
@media(max-width:1100px){
 #content .ma-v2-hero{grid-template-columns:minmax(0,1fr);gap:18px;min-height:0}
 #content .ma-v2-hero h1{
  font-size:clamp(2.2rem,4.8vw,3.7rem)!important;max-width:22ch;
  overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
 }
 .ma-v2-actions{align-items:stretch}
 .ma-v2-actions a{flex:1 1 220px;min-width:min(100%,220px)}
 .ma-v2-magic{max-width:400px;width:100%;margin-inline:auto!important}
 .ma-v2-magic-stage{max-width:335px}
 
 #content .ma-v2-closing{flex-wrap:wrap}
 .ma-v2-closing-links{min-width:0;justify-content:flex-start}
 .ma-v2-closing-links a{white-space:normal}
}
@media(max-width:730px){
 #content .ma-v2-hero{grid-template-columns:minmax(0,1fr);gap:12px;padding:28px 21px}
 #content .ma-v2-hero h1{font-size:clamp(2.4rem,9.2vw,4.05rem)!important;max-width:17ch}
 .ma-v2-actions a{flex:1 1 182px}
 .ma-v2-magic{max-width:440px;width:100%;margin-inline:auto!important}
 .ma-v2-magic-stage{max-width:340px;aspect-ratio:560/400}
 .ma-v2-magic-steps span{font-size:.58rem}
 #content .ma-v2-courses,#content .ma-v2-focus{padding-top:37px}
 

 .ma-v2-focus-grid{grid-template-columns:1fr}
 .ma-v2-focus-card{min-height:190px}
 #content .ma-v2-challenge{display:block;padding:24px 21px}
 .ma-v2-challenge>a{margin-top:18px}
 #content .ma-v2-closing{display:block}
 .ma-v2-closing-links{margin-top:16px}
 
 
}
/* Home-only mobile-bar dimensions; language controls and drawer remain unchanged. */
@media(max-width:760px){
 body[data-ma-surface="landing"]:has(.ma-v2-hero) .manzo-mobile-bar{
  width:100%;max-width:100%;min-width:0;gap:6px;padding-inline:10px;
 }
 body[data-ma-surface="landing"]:has(.ma-v2-hero) .manzo-mobile-brand{flex:0 1 auto;min-width:0;white-space:nowrap}
 body[data-ma-surface="landing"]:has(.ma-v2-hero) .manzo-mobile-portal{flex:0 0 auto;padding-inline:9px}
 body[data-ma-surface="landing"]:has(.ma-v2-hero) .manzo-mobile-toggle{flex:0 0 auto;min-width:66px;padding-inline:8px}
 #content .ma-v2-hero{scroll-margin-top:76px}
}
@media(max-width:540px){
 
 
 #content .ma-v2-hero h1{font-size:clamp(2.36rem,10.1vw,3.5rem)!important}
 
 .ma-v2-magic-stage{max-width:280px;aspect-ratio:560/380}
 .ma-v2-closing-links a{width:100%;white-space:normal}
}
/* MANZO AI / luminous editorial layer — original CSS-only, no image assets. */
#content .ma-v2-hero{
  isolation:isolate;
  border-color:#cddfec;
  background:
    radial-gradient(circle at 92% 12%,rgba(146,177,252,.28),transparent 38%),
    radial-gradient(circle at 10% 92%,rgba(122,221,207,.21),transparent 43%),
    radial-gradient(circle at 72% 79%,rgba(235,202,246,.19),transparent 38%),
    linear-gradient(125deg,#fff 2%,#fbfdff 45%,#f4f9ff 100%);
  box-shadow:0 20px 70px rgba(29,71,116,.075),0 2px 8px rgba(29,71,116,.035);
}
#content .ma-v2-hero::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:0;
  background-image:
    linear-gradient(to right,rgba(59,113,157,.075) 1px,transparent 1px),
    linear-gradient(to bottom,rgba(59,113,157,.075) 1px,transparent 1px);
  background-size:34px 34px;
  -webkit-mask-image:linear-gradient(105deg,transparent 31%,rgba(0,0,0,.38) 100%);
  mask-image:linear-gradient(105deg,transparent 31%,rgba(0,0,0,.38) 100%);
}
#content .ma-v2-hero .ma-v2-hero-copy,
#content .ma-v2-hero .ma-v2-magic{position:relative;z-index:1}
#content .ma-v2-hero .ma-v2-kicker{
  display:inline-block;padding:7px 11px;margin-bottom:19px!important;
  border-radius:999px;border:1px solid rgba(26,129,147,.18);
  background:rgba(241,253,253,.78);color:#246c83!important;
  font-size:.64rem!important;letter-spacing:.105em!important;
}
#content .ma-v2-hero h1{color:#173b5a!important;letter-spacing:-.028em!important}
#content .ma-v2-hero .ma-v2-primary{
  background:linear-gradient(118deg,#205c9b,#2f67bd);color:#fff!important;
  box-shadow:0 9px 20px rgba(25,82,151,.19);
}
#content .ma-v2-hero .ma-v2-primary:hover{
  background:linear-gradient(118deg,#194c84,#26559c);
  box-shadow:0 12px 26px rgba(25,82,151,.25);
}
#content .ma-v2-hero .ma-v2-secondary{
  background:rgba(255,255,255,.84);border-color:#b2d0e1;
  box-shadow:0 4px 14px rgba(37,87,135,.055);
}
.ma-v2-magic-stage{
  background:
    radial-gradient(ellipse at 52% 72%,rgba(174,218,233,.53),transparent 61%),
    radial-gradient(circle at 51% 48%,rgba(245,251,255,.92),transparent 64%);
}
.ma-v2-magic-stage::before{
  content:"";position:absolute;inset:12% 8% 14%;z-index:-1;
  border:1px solid rgba(101,155,195,.22);border-radius:50%;
  box-shadow:0 0 0 20px rgba(223,237,249,.13),0 0 0 45px rgba(216,235,247,.07);
  pointer-events:none;
}
.ma-v2-magic-steps span{
  background:rgba(255,255,255,.77);border-color:rgba(155,195,218,.6);
  box-shadow:0 4px 16px rgba(38,91,139,.045);
}
#content .ma-v2-courses{padding-top:clamp(28px,3.6vw,52px)}
#content .ma-v2-section-head h2{letter-spacing:-.048em!important}





.ma-v2-motion-toggle{opacity:.88;box-shadow:none}
.ma-v2-motion-toggle:hover,.ma-v2-motion-toggle:focus-visible{opacity:1}
@media(max-width:1100px){
 #content .ma-v2-hero{gap:17px}
 #content .ma-v2-hero h1{
   font-size:clamp(2.05rem,4.4vw,3.5rem)!important;
   line-height:1.12!important;max-width:24ch;
 }
 .ma-v2-actions a{min-width:0;flex:1 1 100%;max-width:100%}
}
@media(max-width:800px) and (min-width:761px){


}
@media(max-width:760px){
 body[data-ma-surface="landing"]:has(.ma-v2-hero) .manzo-mobile-bar{
   padding-right:max(10px,env(safe-area-inset-right));
   padding-left:max(10px,env(safe-area-inset-left));
   overflow:visible;
 }
 body[data-ma-surface="landing"]:has(.ma-v2-hero) .manzo-mobile-portal{
   font-size:11px;min-width:0;max-width:40vw;
 }
 body[data-ma-surface="landing"]:has(.ma-v2-hero) .manzo-mobile-menu-label{font-size:11px}
 #content .ma-v2-hero{padding:27px 20px}
 #content .ma-v2-hero h1{font-size:clamp(2.15rem,8.6vw,3.5rem)!important;max-width:18ch}
 #content .ma-v2-hero::after{background-size:26px 26px;opacity:.5}
}

@media(max-width:390px){
 body[data-ma-surface="landing"]:has(.ma-v2-hero) .manzo-mobile-bar{gap:5px}
 body[data-ma-surface="landing"]:has(.ma-v2-hero) .manzo-mobile-mark{width:23px;height:23px}
 body[data-ma-surface="landing"]:has(.ma-v2-hero) .manzo-mobile-brand{font-size:11px;gap:4px}
 body[data-ma-surface="landing"]:has(.ma-v2-hero) .manzo-mobile-toggle{min-width:59px;gap:4px}
 body[data-ma-surface="landing"]:has(.ma-v2-hero) .manzo-mobile-portal{padding-inline:6px}
 #content .ma-v2-hero{padding-inline:17px}
}

@media print{
 #content .ma-v2-hero{background:#fff;box-shadow:none}
 #content .ma-v2-hero::after,.ma-v2-magic-stage::before{display:none}
}

@media(hover:none){
 .ma-v2-focus-card:hover,
 .ma-v2-actions a:hover,.ma-v2-challenge>a:hover{transform:none}
}
@media(prefers-reduced-motion:reduce){
 .ma-v2-hero *, .ma-v2-magic *,
 .ma-v2-focus-card,.ma-v2-extra-link,.ma-v2-actions a,
 .ma-v2-challenge>a{transition:none!important;animation:none!important}
 .ma-v2-box-svg{transform:none!important}
 .ma-v2-lid{transform:none!important}
 .ma-v2-flap-left{transform:translate(-101px,-56px) rotate(-13deg)!important}
 .ma-v2-flap-right{transform:translate(101px,-56px) rotate(13deg)!important}
 .ma-v2-beam{opacity:.84!important}
 .ma-v2-artifacts{opacity:1!important}
 .ma-v2-a{transform:translate(-7px,-41px) scale(1.06)!important}
 .ma-v2-b{transform:translateY(-61px) scale(1.08)!important}
 .ma-v2-c{transform:translate(8px,-39px) scale(1.06)!important}
 .ma-v2-orbit{transform:none!important}
 .ma-v2-motion-toggle{display:none!important}
}
@media print{
 #content .ma-v2-hero{box-shadow:none}
 .ma-v2-magic{display:none}
 .ma-v2-focus-card{box-shadow:none;break-inside:avoid}
 .ma-v2-motion-toggle{display:none!important}
}

/* MANZO AI sidebar glass-pill release — active, hover and keyboard focus.
 * Scoped to the redesigned Home; does not alter languages, routes or layout.
 * A translucent colour layer + thin highlight keeps the selection legible.
 */
body[data-ma-surface="landing"]:has(.ma-v2-hero) .rail nav .nav-link {
  border:1px solid transparent!important;
  border-radius:999px!important;
  padding:10px 14px!important;
  background:transparent;
  color:#365671;
  box-shadow:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  transition:transform 220ms cubic-bezier(.2,.75,.25,1),
    background 220ms ease,border-color 220ms ease,
    box-shadow 220ms ease,color 220ms ease;
}
body[data-ma-surface="landing"]:has(.ma-v2-hero) .rail nav .nav-link[aria-current="page"] {
  border-color:rgba(112,165,194,.58)!important;
  background:linear-gradient(120deg,rgba(255,255,255,.88),rgba(206,234,246,.74))!important;
  color:#154d67!important;
  font-weight:750;
  box-shadow:0 6px 22px rgba(40,93,132,.12),
    inset 0 1px 0 rgba(255,255,255,.98),
    inset 0 -1px 0 rgba(120,178,205,.15)!important;
  -webkit-backdrop-filter:blur(11px) saturate(140%);
  backdrop-filter:blur(11px) saturate(140%);
}
body[data-ma-surface="landing"]:has(.ma-v2-hero) .rail nav .nav-link:hover,
body[data-ma-surface="landing"]:has(.ma-v2-hero) .rail nav .nav-link:focus-visible {
  border-color:rgba(132,187,215,.72)!important;
  background:linear-gradient(115deg,rgba(255,255,255,.9),rgba(216,239,251,.65))!important;
  color:#12546f!important;
  box-shadow:0 8px 24px rgba(37,93,135,.15),
    inset 0 1px 0 rgba(255,255,255,.98)!important;
  -webkit-backdrop-filter:blur(12px) saturate(145%);
  backdrop-filter:blur(12px) saturate(145%);
  transform:translateX(3px) translateY(-1px);
}
body[data-ma-surface="landing"]:has(.ma-v2-hero) .rail nav .nav-link[aria-current="page"]:hover {
  background:linear-gradient(115deg,rgba(247,253,255,.94),rgba(184,224,243,.78))!important;
}
@media(prefers-reduced-motion:reduce) {
  body[data-ma-surface="landing"]:has(.ma-v2-hero) .rail nav .nav-link {
    transition:none!important;
  }
  body[data-ma-surface="landing"]:has(.ma-v2-hero) .rail nav .nav-link:hover,
  body[data-ma-surface="landing"]:has(.ma-v2-hero) .rail nav .nav-link:focus-visible {
    transform:none!important;
  }
}
@media(prefers-reduced-transparency:reduce) {
  body[data-ma-surface="landing"]:has(.ma-v2-hero) .rail nav .nav-link:is([aria-current="page"],:hover,:focus-visible) {
    background:#e0eff6!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
}
@media(prefers-contrast:more) {
  body[data-ma-surface="landing"]:has(.ma-v2-hero) .rail nav .nav-link:is([aria-current="page"],:hover,:focus-visible) {
    background:#e5f4ff!important;
    color:#06394e!important;
    border-color:#34617e!important;
    box-shadow:none!important;
  }
}

/* Academy-native layout adaptation on the approved Home.
 * The card treatment itself is unchanged and comes from guide.css. */
@media(max-width:1200px){
  #content .ma-v2-courses .ma-course-card{grid-column:span 6}
}
@media(max-width:860px){
  #content .ma-v2-courses .ma-course-card{grid-column:span 12}
}
@media(max-width:700px){
  #content .ma-v2-courses .ma-course-grid{grid-template-columns:minmax(0,1fr)}
  #content .ma-v2-courses .ma-course-card{grid-column:1}
}
@media(prefers-reduced-motion:reduce){
  #content .ma-v2-courses .ma-course-card{transition:none}
}
