@font-face{font-family:Manrope;src:url("assets/Manrope-Variable.ttf") format("truetype");font-weight:200 800;font-display:swap}
@font-face{font-family:Michroma;src:url("assets/Michroma-Regular.ttf") format("truetype");font-display:swap}
:root{--ink:#45515c;--muted:#52606b;--glacier:#f4f7f9;--ice:#d5dfe6;--silver:#aebdc9;--line:#f4f7f9ae;--shadow:#45515c36}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:20px}
body{margin:0;color:var(--ink);font:16px/1.53 Manrope,system-ui,sans-serif;background:
  radial-gradient(ellipse at 2% 46%,#edf3f7a3,transparent 58%),linear-gradient(180deg,#a4b7c8,#d5e0e9 33%,#afc1d0 68%,#c9d6e0)}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input{font:inherit}
button,summary{cursor:pointer}
h1,h2,h3,p{margin:0}
h1,h2{font-weight:550;letter-spacing:-.035em;line-height:1.04}
h1{font-size:clamp(2.45rem,5.15vw,5.05rem);font-weight:490;line-height:1.02}
h2{font-size:clamp(1.7rem,3.8vw,3.5rem)}
p,small{color:var(--muted)}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.shell{width:min(1420px,calc(100% - clamp(40px,7vw,118px)));margin-inline:auto}
.glass{border:1px solid var(--line);box-shadow:inset 0 2px 6px #ffffffac,0 12px 30px var(--shadow)}
.skip{position:fixed;left:1rem;top:1rem;background:white;padding:.75rem;z-index:10;transform:translateY(-200%)}
.skip:focus{transform:none}
.masthead{position:absolute;inset:12px 0 auto;z-index:4;border-radius:15px;padding:2px clamp(14px,2.1vw,30px);display:flex;align-items:center;justify-content:space-between;gap:12px;}
.wordmark{font-family:Michroma,sans-serif;font-weight:400;letter-spacing:.065em;font-synthesis:none}
.brand{display:inline-flex;align-items:center;min-height:44px;font-size:clamp(.78rem,1.35vw,1.16rem);line-height:1}
.masthead nav{display:flex;align-items:center;gap:clamp(5px,1vw,18px)}
.masthead nav a,.masthead button{font-size:.86rem;font-weight:650;min-height:44px;display:inline-flex;align-items:center;padding:5px 10px;border-radius:12px}
.masthead nav a[aria-current=page]{background:#e5f3ffb8;box-shadow:inset 0 0 0 1px #fff9}
.masthead .menu,.dialog-close button,.expand{background:#eef7ffba;border:1px solid #e8f4fc;color:var(--ink)}
.masthead .menu{display:none}
.hero{position:relative;isolation:isolate;overflow:hidden;padding:clamp(90px,8.5vw,120px) 0 12px;background:var(--silver);--scene-top:clamp(35px,5.75svh,58px);--scene-bottom:48px}
.hero::before,.hero::after{content:"";position:absolute;inset:0;z-index:-1}
.hero::before{inset:-8px;z-index:-3;background:linear-gradient(90deg,#bdccd9d6,#aebbc742),url("assets/grindelwald-winter.jpg") left top / cover no-repeat;filter:blur(11px) saturate(.76)}
.hero::after{background:linear-gradient(0deg,#b5c1cb 0%,#b5c1cb60 14%,transparent 36%),linear-gradient(90deg,#d5e0e9e3,#d1dae2a1 34%,transparent 60%);box-shadow:inset 0 18px 48px #b6cad836}
.hero-scene{position:absolute;inset:var(--scene-top) 0 var(--scene-bottom);width:100%;height:calc(100% - var(--scene-top) - var(--scene-bottom));z-index:-2;filter:saturate(.84);object-fit:cover;object-position:72% top;mask-image:linear-gradient(0deg,transparent 0%,#000 14%,#000 96%,transparent 100%)}
.hero-stage{min-height:clamp(315px,32vw,475px);position:relative;isolation:isolate;display:flex;align-items:flex-start;padding:clamp(12px,2.5vw,36px) clamp(6px,2vw,30px) 32px}
.hero-copy{width:63%;position:relative;z-index:2}
.hero-eyebrow,.kicker{font-size:.81rem;letter-spacing:.19em;font-weight:740;text-transform:uppercase;color:var(--ink)}
.hero-eyebrow.wordmark{display:flex;align-items:center;gap:15px;margin-bottom:19px;font-weight:400;font-size:clamp(.7rem,1.2vw,.93rem);letter-spacing:.095em}
.hero-eyebrow::after{content:"";width:42px;height:1px;background:var(--ink)}
.hero-summary{margin-top:16px;font-size:clamp(1rem,2vw,1.6rem);font-weight:530;line-height:1.32;max-width:34ch}
.hero-actions{display:flex;gap:12px;margin-top:28px}
.action{display:inline-flex;min-height:48px;align-items:center;justify-content:center;text-align:center;padding:11px 20px;border:1px solid #ffffff26;border-radius:13px;background:linear-gradient(180deg,var(--muted),var(--ink));box-shadow:inset 0 1px 5px #ffffff42,0 6px 16px #142b4942;color:#fff;font-weight:650}
.action:hover{background:var(--muted)}
.hero-bottom{position:relative;z-index:2}
.home-hero{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:100svh;padding-top:clamp(72px,11svh,116px);padding-bottom:clamp(13px,3svh,34px);background:var(--silver)}
.home-hero .hero-stage{min-height:0;align-items:center;padding-top:10px;padding-bottom:24px}
.home-hero .hero-summary{max-width:none}
.upgrade-lead,.upgrade-word{display:block}
.upgrade-lead{font-size:clamp(1.5rem,3.8vw,3.5rem);letter-spacing:-.04em}
.upgrade-word{font-size:clamp(2.3rem,8vw,8rem);font-weight:680;line-height:1;letter-spacing:-.04em;text-transform:uppercase}
@media(max-width:760px){.upgrade-word{font-size:clamp(2.15rem,8.5vw,4rem)}}
.home-hero .category-card{min-height:clamp(150px,26svh,240px)}
.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.category-card{min-height:clamp(164px,20vw,255px);border-radius:29px;display:grid;grid-template-columns:minmax(65px,31%) minmax(0,1fr) auto;align-items:center;gap:clamp(9px,2vw,28px);padding:clamp(13px,3vw,34px);border-color:#f5fbffdc;box-shadow:inset 0 2px 6px #ffffffed,inset 0 -2px 8px #f2f7fcc1,0 13px 27px #31506a50;}
.category-card:hover,.field-card:hover,.field-rail a:hover,.example:hover{background-color:#ecf7ff;box-shadow:inset 0 0 14px #f4fbff,0 13px 30px #25496954}
.category-card h2{font-size:clamp(1.25rem,3.25vw,3rem);font-weight:670;line-height:.99}
.category-card p{margin-top:13px;line-height:1.3}
.round-link{align-self:end;width:40px;height:40px;border:1px solid var(--glacier);border-radius:50%;display:grid;place-items:center;background:#e8f4ffce;font-size:1.7rem;line-height:1}
.category-art{min-height:110px;aspect-ratio:1;position:relative;display:grid;place-items:center;border-right:1px solid #839eb84b}
.category-art i{display:block;border:1px solid #fff9;border-radius:3px;background:linear-gradient(145deg,#f6fbff,#a6bbc9 68%,#dce7f0);box-shadow:0 6px 12px #34465340,inset 0 0 8px #fff8}
.layers i{position:absolute;width:60%;aspect-ratio:1;transform:rotateX(58deg) rotateZ(45deg);top:35%;left:14%}
.layers i:nth-child(2){top:24%}.layers i:nth-child(3){top:13%}
.bars{display:flex;align-items:end;justify-content:center;gap:5%;padding:0 12% 18% 0}
.bars i{width:18%;height:25%}.bars i:nth-child(2){height:42%}.bars i:nth-child(3){height:65%}.bars i:nth-child(4){height:86%}
.education-hero .hero-stage,.financial-hero .hero-stage{min-height:clamp(290px,28vw,409px)}
.education-hero{--scene-bottom:140px}
.education-hero::before{background-image:linear-gradient(90deg,#bdccd9d6,#a7bacb42),url("assets/education-synapse-wide.jpg")}
.financial-hero{--scene-bottom:36px}
.education-hero .hero-copy{width:59%}

.steps{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:1px;border-radius:18px;margin:17px 0 0;padding:14px 0;list-style:none;font-weight:650;font-size:.94rem;text-align:center}
.steps li{padding:5px 7px}.steps li+li{border-left:1px solid #7795b364}
.band{padding:clamp(40px,6.1vw,94px) 0}
.section-title{text-align:center;margin:0 auto 27px;max-width:960px}
.section-title .kicker{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:13px;line-height:1.4}
.section-title .kicker::before,.section-title .kicker::after{content:"";width:clamp(16px,6vw,72px);height:1px;background:#7392ad}
.section-title h2.kicker{font-size:.93rem;letter-spacing:.18em}
.section-title>p:last-child:not(.kicker){margin:12px auto 0;max-width:64ch}
.field-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.field-card{border-radius:18px;min-height:128px;padding:11px 7px 15px;display:grid;align-content:center;justify-items:center;gap:6px;line-height:1.14;text-align:center;font-size:clamp(.85rem,1.75vw,1.3rem)}
.field-art{width:103px;height:69px;object-fit:cover;mix-blend-mode:multiply;mask-image:radial-gradient(ellipse,#000 50%,transparent 77%)}
.field-card[aria-current=true],.field-rail a[aria-current=true]{border-color:#f5fbff;box-shadow:inset 0 0 12px #ddf6ff,0 0 8px #80c4ed}
.curriculum{display:grid;grid-template-columns:minmax(175px,.29fr) minmax(0,.71fr);gap:17px;align-items:start}
.field-rail{display:grid;gap:10px;position:sticky;top:12px}
.field-rail a{min-height:87px;display:grid;grid-template-columns:69px minmax(0,1fr);align-items:center;gap:9px;border-radius:15px;padding:9px}
.field-rail .field-art{width:69px;height:54px}.field-rail small{display:block;line-height:1.22;margin-top:3px}
.curriculum-panel{border-radius:18px;padding:clamp(13px,2vw,28px);margin-bottom:14px}
.curriculum-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.expand{border-radius:8px;min-height:44px;padding:5px 12px;white-space:nowrap}
.map-body{display:grid;grid-template-columns:minmax(95px,.22fr) minmax(0,.78fr);gap:clamp(11px,2vw,28px);align-items:start}
.map-body>div:only-child{grid-column:1/-1}
.books-art{border-radius:11px;width:100%;margin-top:9px;mask-image:linear-gradient(90deg,transparent 1%,#000 9%,#000 92%,transparent)}
.book-stack{display:grid;gap:7px;margin-top:8px}
.book-stack span{display:grid;min-height:44px;align-content:center;padding:8px 9px;border-radius:4px 7px 7px 4px;background:linear-gradient(90deg,#9eb7ca,#edf7ff 19%,#abc5d9);box-shadow:2px 3px 4px #3d5d793b;font-size:.81rem;font-weight:650}
details{min-width:0}
summary{min-height:44px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;font-weight:650}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-size:1.2rem;line-height:1}
details[open]>summary::after{content:"−"}
.book,.chapter{border:1px solid #f4faff9f;border-radius:9px;margin:6px 0;}
.chapter{margin-inline:8px;}
.chapter ul{margin:0;padding:0 14px 8px 27px;font-size:.91rem}
.chapter li{margin:4px 0}.chapter li span{display:block;color:var(--muted)}
.pending{padding:8px 13px;font-size:.88rem}
.visual-note{font-size:.84rem;text-align:center;margin:-10px 0 18px}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.product{position:relative;isolation:isolate;border-radius:20px;min-height:235px;overflow:hidden;display:grid;grid-template-columns:minmax(0,42%) minmax(0,58%);align-items:center;scroll-margin-top:15px}
.product:target{outline:2px solid #246c97;outline-offset:3px}
.product-phone{width:100%;height:100%;max-height:290px;object-fit:cover;object-position:left bottom;mask-image:linear-gradient(90deg,#000 75%,transparent 100%);align-self:end}
.product-copy{position:relative;padding:13px 11px 13px 5px;line-height:1.26}
.product-copy h3{font-size:clamp(.94rem,1.4vw,1.34rem);letter-spacing:-.045em;line-height:1.02;overflow-wrap:anywhere}
.product-copy p{font-size:clamp(.76rem,1vw,.94rem);margin-top:9px}
.product-symbol{display:block;font-size:1.6rem;margin-bottom:6px;line-height:1}
.examples{padding-top:0}
.example-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.example{display:grid;align-content:start;border-radius:14px;overflow:hidden;text-align:center}
.example img{width:100%;aspect-ratio:1.66;object-fit:cover}
.example strong{font-size:.86rem;padding:8px 6px 11px}
.end-band{padding:30px 0 clamp(36px,6vw,86px);background:linear-gradient(180deg,#c9dbe9,transparent),url("assets/alpine-mountains.jpg") center 80% / cover}
.end-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:clamp(20px,4vw,49px);border-radius:26px;}
.end-card p{margin-top:10px}
.end-card.has-device{position:relative;overflow:hidden;padding-right:25%}
.end-device{position:absolute;right:0;bottom:0;width:23%;height:100%;object-fit:cover;object-position:top center;mask-image:linear-gradient(90deg,transparent,#000 22%)}
.qualities{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;margin:20px auto 36px;list-style:none;text-align:center;gap:8px}
.qualities li{padding:9px 5px;line-height:1.2;font-size:.91rem;font-weight:650}
.qualities li+li{border-left:1px solid #7996b26b}
.qualities span{display:block;font-size:1.85rem;margin-bottom:8px}
.footer{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding-block:12px}
dialog{width:min(calc(100% - 32px),530px);max-height:85dvh;border:1px solid #edf6ffdc;border-radius:24px;color:var(--ink);padding:20px;box-shadow:inset 0 1px 5px #fff,0 24px 70px #26384665}
dialog::backdrop{background:#354a5b30;backdrop-filter:blur(2px)}
.dialog-close{display:flex;justify-content:flex-end}.dialog-close button{border-radius:8px;min-height:44px;padding:4px 11px}
dialog label,dialog input{display:block;margin-top:12px}dialog input{width:100%;min-height:44px;border-radius:8px;border:1px solid #7893ab;padding:7px 10px;background:#eff6fb99;color:var(--ink)}
#search-results{list-style:none;padding:0}#search-results a{display:block;min-height:44px;padding:10px 3px;border-top:1px solid #aebfd0}
.error-page p{margin-top:14px}.error-page a{text-decoration:underline}
@media(max-width:1050px){
  .masthead nav{gap:1px}.masthead nav a,.masthead button{padding-inline:7px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1051px) and (max-height:860px){
  .home-hero .category-card{min-height:clamp(146px,22svh,210px);padding-block:clamp(13px,2.4svh,27px)}
  .home-hero .category-art{min-height:0;max-height:132px}
}
@media(min-width:761px) and (min-aspect-ratio:17/10){
  .home-hero{--scene-bottom:clamp(96px,13svh,150px)}
  .hero-scene{object-fit:contain;object-position:right top;mask-image:linear-gradient(90deg,transparent 17%,#000 40%)}
  .home-hero .hero-scene{left:auto;width:min(100%,calc((100svh - var(--scene-top) - var(--scene-bottom))*1672/941));
    mask-image:linear-gradient(90deg,transparent,#000 24%),linear-gradient(0deg,transparent,#000 17%,#000 98%,transparent);
    mask-composite:intersect}
}
@media(min-width:761px) and (max-width:970px){
  .home-hero .category-card{grid-template-columns:minmax(58px,25%) minmax(0,1fr) auto;gap:12px;padding:17px}
  .home-hero .category-card .round-link{width:30px;height:30px}
  .home-hero .category-card p{font-size:.87rem}
}
@media(max-width:880px){
  .masthead{flex-wrap:wrap}
  .masthead .menu{display:inline-flex}
  .masthead nav{display:none;width:100%}
  .masthead nav.open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .masthead:has(nav.open){position:relative}
  .masthead:has(nav.open)+main .hero{margin-top:-55px}
}
@media(max-width:760px){
  .hero{--scene-top:clamp(232px,37svh,315px);--scene-bottom:15px}
  .hero-stage{display:grid;min-height:0;padding:10px 0 0}
  .hero-scene{object-position:88% top;mask-image:linear-gradient(0deg,transparent 0%,#000 26%,#000 93%,transparent)}
  .home-hero{grid-template-rows:1fr auto;padding-top:73px;padding-bottom:22px}
  .home-hero .hero-stage{grid-template-rows:auto minmax(0,1fr);align-content:start;padding:4px 0 0}
  .home-hero .hero-copy{align-self:start;padding-top:clamp(7px,3svh,24px)}
  .home-hero h1{font-size:clamp(1.93rem,7.1vw,3rem)}
  .home-hero .hero-eyebrow.wordmark{margin-bottom:8px}
  .home-hero .hero-summary{margin-top:11px}
  .home-hero .category-card{min-height:0}
  .hero-copy,.education-hero .hero-copy{width:100%}
  .hero::after{background:linear-gradient(180deg,#d5e0e9 0%,#d1dde7 27%,transparent 46%,transparent 73%,#b0c1cf 100%)}
  .hero-eyebrow.wordmark{margin-bottom:12px}
  .hero-actions{margin-top:17px}

  .education-hero{--scene-top:275px;--scene-bottom:215px}
  .financial-hero{--scene-top:270px;--scene-bottom:30px}
  .education-hero .hero-stage,.financial-hero .hero-stage{min-height:485px;align-content:start}
  .category-grid{gap:8px}.category-card{grid-template-columns:minmax(0,1fr);min-height:143px;border-radius:16px;align-content:start;gap:7px}
  .category-art{min-height:0;width:53px;border:0}.round-link{display:none}.category-card p{font-size:.84rem}
  .category-art.bars{padding:0 6px 6px 0}
  .category-card h2{font-size:clamp(1.06rem,3.65vw,1.4rem)}
  .field-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .field-card{min-height:103px;border-radius:13px}.field-art{width:72px;height:51px}
  .steps{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr));font-size:.8rem;padding:7px 0}
  .steps li{border:0!important;padding:4px}
  .curriculum{grid-template-columns:1fr}
  .field-rail{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
  .field-rail a{grid-template-columns:42px minmax(0,1fr);min-height:56px;gap:4px;font-size:.85rem}
  .field-rail .field-art{width:42px;height:35px}.field-rail small{display:none}
  .map-body{grid-template-columns:minmax(0,1fr)}.books-art,.book-stack{display:none}
  .example-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .end-card{align-items:flex-start;flex-direction:column}
  .end-card.has-device{padding-right:30%}
  .end-device{width:28%}
  .qualities{grid-template-columns:repeat(2,minmax(0,1fr))}.qualities li{border:0!important}
}
@media(max-width:540px) and (max-height:680px){
  .home-hero .hero-copy{padding-top:2px}
  .home-hero .category-card{padding:10px}
  .home-hero .category-art{width:37px}
  .home-hero .category-card p{margin-top:6px;font-size:.77rem}
}
@media(max-width:460px){
  .shell{width:calc(100% - 28px)}
  .product-grid{grid-template-columns:1fr}
  .product{min-height:184px;grid-template-columns:minmax(0,34%) minmax(0,66%)}
  .product-phone{max-height:214px;object-fit:contain;object-position:bottom left}
  .product-copy p{font-size:.9rem}.product-copy h3{font-size:1.22rem}
  .example-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.education-hero .hero-actions{flex-wrap:wrap}

.education-hero .hero-summary{max-width:none}
.education-hero .hero-summary span,.category-card p span{display:block}
.education-video{object-position:88% top}
@media(max-width:760px){.education-hero .hero-summary{font-size:clamp(.79rem,3.8vw,1.05rem)}}
.field-card .field-art,.field-rail .field-art{object-fit:contain;mask-image:none;mix-blend-mode:normal}
.field-card .field-art{width:clamp(68px,8vw,110px);height:auto;aspect-ratio:1}


.education-path{display:grid;justify-items:start;gap:14px}
@media(max-width:760px){.education-hero .hero-summary span+span{font-size:clamp(.65rem,3.05vw,.98rem)}}
.education-sequence{color:var(--ink);font-weight:620;font-size:clamp(1rem,1.8vw,1.35rem)}
.store-preview{display:grid;justify-items:start;gap:8px}
.app-store-badge{width:auto;height:44px}
.education-hero .hero-summary{font-size:clamp(1rem,1.65vw,1.5rem)}
@media(max-width:760px){.education-hero .hero-summary{font-size:clamp(.76rem,3.55vw,1.05rem)}}
.education-hero .education-video{
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 45%;
  mask-image:linear-gradient(to right,transparent 9%,#000 55%),linear-gradient(to top,transparent 0%,#000 28%);
  mask-composite:intersect;
}
.education-hero::after{background:linear-gradient(to top,#d3dee7 0%,transparent 18%),linear-gradient(to right,#d4dde6 0%,#d4dde6ec 29%,#d4dde6a6 44%,transparent 65%)}
.education-hero .hero-summary{font-size:clamp(.83rem,1.58vw,1.5rem)}
.education-hero .hero-summary span{font-size:inherit}
.field-card{
  position:relative;
  min-height:114px;
  padding:clamp(12px,1.5vw,24px);
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  text-align:left;
  gap:7px;
}
.field-card strong,.field-card small{display:block}
.field-card small{font-size:.77em;font-weight:450;margin-top:8px;line-height:1.28}
.field-card .field-art{width:clamp(22px,3vw,49px)}
.field-arrow{position:absolute;inset:auto 12px 8px auto;font-size:1.1em;color:var(--muted)}
.field-rail a:not(:has(.field-art)){grid-template-columns:1fr}
@media(min-width:761px){.education-hero .hero-summary span+span{white-space:nowrap}}
@media(max-width:760px){
  .education-hero .education-video{
    inset:250px 0 0;
    height:calc(100% - 250px);
    object-position:73% center;
    mask-image:linear-gradient(to bottom,transparent,#000 18%,#000 66%,transparent);
  }
  .education-hero::after{background:linear-gradient(to top,#d3dee7 0%,transparent 18%),linear-gradient(to bottom,#d4dde6 0%,#d4dde6 24%,transparent 46%)}
  .education-hero .hero-summary{font-size:clamp(.68rem,3.38vw,1rem)}
  .field-card{min-height:96px;padding:10px}
  .field-card small{margin-top:5px}
}

.home-hero .hero-actions{margin-top:20px}
@media(min-width:761px){
  .home-hero{padding-bottom:clamp(50px,9svh,94px)}
  .home-hero .category-card{
    min-height:clamp(130px,19svh,175px);
    grid-template-columns:minmax(58px,23%) minmax(0,1fr) auto;
    gap:clamp(10px,1.35vw,22px);
    padding:clamp(13px,1.4vw,24px);
  }
  .home-hero .category-art{min-height:0;max-height:106px}
  .home-hero .category-card h2{font-size:clamp(1.3rem,2.65vw,2.55rem)}
  .home-hero .category-card p{margin-top:8px}
}
@media(max-width:760px){.home-hero .hero-actions{margin-top:12px}.home-hero .store-preview{gap:4px}}

@media(min-width:881px){
  .masthead .brand,.masthead nav a,.masthead button{min-height:34px}
  .masthead nav a,.masthead button{padding-block:3px;border-radius:9px}
}
@media(max-width:880px){
  .masthead:has(nav.open){inset:auto;margin-top:12px}
}

.upgrade-lead{font-size:clamp(1.3rem,3.35vw,3rem)}
.upgrade-word{font-size:clamp(2rem,7.15vw,7.25rem)}
.home-hero .category-card h2{font-size:clamp(1rem,3.45vw,1.3rem)}
@media(min-width:761px){
  .home-hero,.financial-hero{--scene-top:clamp(47px,7svh,69px)}
  .home-hero .hero-scene,.financial-hero .hero-scene{
    inset:var(--scene-top) 0 var(--scene-bottom);
    width:100%;
    height:calc(100% - var(--scene-top) - var(--scene-bottom));
    object-fit:cover;
    object-position:right top;
    mask-image:linear-gradient(to bottom,transparent,#000 12px,#000 80%,transparent);
    mask-composite:add;
  }
  .home-hero::after,.financial-hero::after{box-shadow:none}
  .home-hero .category-card > div{container-type:inline-size}
  .home-hero .category-card h2{font-size:min(1.8rem,5.25cqi);white-space:nowrap}
}
@media(max-width:760px){.upgrade-word{font-size:clamp(2rem,7.9vw,3.5rem)}}


.mountain-scene{position:absolute;inset:0;z-index:-2;overflow:hidden}
.mountain-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 36%;filter:saturate(.6)}
.mountain-scene::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#d9e3ebbf,transparent 71%),linear-gradient(180deg,#d5e0e92b,#bdcedc4d)}
.quant-matte-filter{position:absolute}
.home-hero::before,.financial-hero::before{background:none;filter:none}
.home-hero::after,.financial-hero::after{
  background:linear-gradient(to top,#b7c5d0,transparent 33%),linear-gradient(90deg,#dbe4ecd9 0%,#dbe4ec9c 31%,transparent 59%);
  box-shadow:none;
}
@media(max-width:760px){
  .mountain-photo{object-position:58% top}

  .home-hero::after,.financial-hero::after{background:linear-gradient(to bottom,#dce5ed 0%,#dce5eddf 24%,transparent 57%,#b7c5d0 100%)}
}

@media(max-width:900px){
  .home-hero .category-card h2{font-size:clamp(1rem,2.1vw,1.25rem);white-space:normal}
}

.quant-portrait{
  position:absolute;
  right:clamp(-48px,-2.5vw,-10px);
  bottom:-18px;
  width:auto;
  height:calc(100% + 18px);
  max-width:57%;
  overflow:hidden;
  pointer-events:none;
}
@media(max-width:760px){
  .quant-portrait{right:-4%;height:calc(65% + 18px);max-width:76%}
}
.home-hero .hero-bottom,.financial-hero .hero-bottom{isolation:isolate}
.home-hero .hero-bottom::before,.financial-hero .hero-bottom::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:-7px;
  bottom:-100px;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background:linear-gradient(to bottom,transparent 0,var(--silver) 22px);
  pointer-events:none;
}


#search-open{background:none;border:0;color:var(--ink)}
#search-open:hover{text-decoration:underline;text-underline-offset:.2em}
.trust-footer{border-top:1px solid var(--line);background:var(--ice)}
.trust-footer nav{display:flex;flex-wrap:wrap;gap:4px clamp(12px,2.4vw,36px)}
.trust-footer nav a{display:inline-flex;align-items:center;min-height:44px}
.trust-footer nav a:hover{text-decoration:underline;text-underline-offset:.2em}
.trust-page{min-height:65svh;padding-block:110px 55px}
.trust-page h2{margin-top:24px;font-size:1.35rem}
.trust-page p{max-width:65ch;margin-top:12px}
@media(max-width:540px){.trust-footer .footer{align-items:flex-start;flex-direction:column;gap:0}}
body[data-view="home"]{display:grid;grid-template-rows:1fr auto;min-height:100svh}
body[data-view="home"] main{display:grid;min-width:0}
.home-hero{min-height:0;padding-bottom:clamp(28px,5.5svh,62px)}
body[data-view="home"] .trust-footer{border-top:0;background:var(--silver)}
body[data-view="home"] .trust-footer .footer{
  min-height:44px;
  padding-block:0;
  flex-direction:row;
  flex-wrap:wrap;
  align-items:center;
  gap:0 12px;
}
body[data-view="home"] .trust-footer .brand{font-size:.72rem}
body[data-view="home"] .trust-footer nav{gap:0 clamp(10px,1.8vw,22px);font-size:.78rem}
@media(max-width:760px){.home-hero{padding-bottom:14px}}

.learning-note{
  position:absolute;
  right:0;
  bottom:18px;
  width:min(30%,320px);
  padding:12px 15px;
  border-radius:14px;
  background:#e5edf3e6;
  font-size:.8rem;
  line-height:1.4;
}
.learning-note p{margin-top:5px}

@media(max-width:760px){
  .learning-note{right:0;bottom:15px;width:min(78%,320px)}
}

.learning-note .learning-hook,.learning-note .learning-close{
  color:var(--ink);
  font-size:1.16em;
  line-height:1.32;
}
@media(max-width:540px){
  .education-hero .hero-stage{min-height:0;gap:80px;padding-bottom:15px}
  .learning-note{position:relative;inset:auto;justify-self:end;width:min(100%,320px)}
}

.education-hero-links{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.ideology-open{min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:11px;color:var(--ink);font-weight:650;}
.ideology-open:hover{border-color:#f5fbff;box-shadow:inset 0 0 12px #ddf6ff,0 0 8px #80c4ed}
.ideology-dialog{
  text-align:center;
  width:min(calc(100% - clamp(32px, 8vw, 128px)),1440px);
  padding:clamp(16px,4vw,36px);
}
.ideology-dialog h2{margin-bottom:20px;font-size:clamp(2rem,4vw,3rem);font-weight:680;line-height:1.04}
.ideology-list{list-style:none;padding:0;margin:0}
.ideology-list > li{display:grid;gap:6px;padding-block:16px;border-top:1px solid var(--silver)}
.ideology-number{font-variant-numeric:tabular-nums;color:var(--muted);font-size:.8rem}
.ideology-list h3{font-size:clamp(1.12rem,2.4vw,1.55rem);font-weight:760;line-height:1.16;letter-spacing:-.02em;color:var(--ink)}
.ideology-list p{margin-top:8px}

.ideology-outcomes{width:min(100%,48rem);margin:18px auto;padding:0;list-style-type:none;text-align:left;color:var(--muted)}
.ideology-outcomes li{display:grid;grid-template-columns:10em minmax(0,1fr);gap:4px 16px;padding:10px 0;border-top:1px solid var(--silver)}
.ideology-outcomes li:last-child{border-bottom:1px solid var(--silver)}
@media (max-width:540px){.ideology-outcomes li{grid-template-columns:1fr}}

@media (min-width:541px) and (max-width:900px){.education-hero .hero-stage{display:grid;min-height:0;gap:70px;padding-bottom:15px}.learning-note{position:relative;inset:auto;justify-self:end;width:min(100%,320px)}}

/* Share the copy rows so both homepage cards align even when text wraps. */
.home-hero .category-grid{row-gap:0}
.home-hero .category-card{grid-row:span 3;grid-template-rows:subgrid;row-gap:0}
.home-hero .category-card > div{display:grid;grid-template-rows:subgrid;grid-row:1 / -1;grid-column:2;align-self:stretch;align-items:start}
.home-hero .category-card .category-art{grid-column:1;grid-row:1 / -1}
.home-hero .category-card .round-link{grid-column:3;grid-row:1 / -1}
.home-hero .category-card .category-description{margin-top:0}
@media(max-width:760px){
  .home-hero .category-card{grid-row:span 4}
  .home-hero .category-card > div{grid-column:1;grid-row:2 / -1}
  .home-hero .category-card .category-art{grid-row:1}
}
.academy-brand img{width:26px;height:26px;object-fit:contain}
.education-hero .academy-hero-description{max-width:min(100%,46ch)}
.education-hero .field-grid{grid-auto-rows:1fr}
.education-hero .field-card strong{min-block-size:2lh}
.education-hero h1{font-size:clamp(1.75rem,4vw,3.8rem)}
.synapse-dialog{
  width:min(calc(100% - clamp(32px, 8vw, 128px)),1120px);
  text-align:center;
}
.synapse-dialog p + p{margin-top:12px}
.synapse-dialog .learning-hook,.synapse-dialog .learning-close{color:var(--ink);font-size:1.16em}
.academy-tabs{position:absolute;inset:0 0 auto auto;z-index:3;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.synapse-dialog h2.learning-hook{margin-bottom:10px;font-weight:760;letter-spacing:normal}
.synapse-dialog .learning-hook + p:not(.learning-hook),
.synapse-dialog p.learning-close{margin-top:clamp(22px,3vw,34px)}
.synapse-dialog .learning-close{line-height:1.55}
@media(max-width:900px){
  .academy-tabs{position:relative;grid-row:1}
  .education-hero .hero-stage:has(.academy-tabs){gap:16px}
}
.education-hero .academy-hero-subtitle,
.home-hero .category-subtitle{font-weight:600}
.education-hero .hero-summary .academy-hero-description{
  max-width:min(100%,55ch);
  margin-top:5px;
  font-size:inherit;
  white-space:normal;
}
.academy-tabs .ideology-open{min-height:34px;padding:4px 12px}
@media(min-width:901px){.academy-tabs{inset-block-start:-28px}}
.education-hero .academy-hero-description,
.home-hero .category-card .category-description{
  margin-top:5px;
  color:color-mix(in srgb,var(--muted) 88%,var(--ice));
  font-weight:400;
}
@media(min-width:761px){
  .home-hero .category-card{grid-template-columns:min(106px,23%) minmax(0,1fr) auto;column-gap:12px}
  .home-hero .category-card .category-art{width:100%;max-width:106px}
}
/* One glass finish for the navigation, cards, curriculum and overlays. */
:root{
  --glass-fill:linear-gradient(145deg,#e6eff6b8,#afbfcba8 62%,#d3e1ecb8);
  --glass-blur:blur(12px);
}
.glass,dialog,.book,.chapter{
  background:var(--glass-fill);
  backdrop-filter:var(--glass-blur);
}
.synapse-dialog a{
  text-decoration:underline;
  text-underline-offset:.16em;
}
.legal h3{margin-top:18px;font-size:1rem;font-weight:700;letter-spacing:0}
.legal section+section{margin-top:40px;padding-top:24px;border-top:1px solid var(--line)}
.legal a{text-decoration:underline;text-underline-offset:3px}
.legal .lead{font-size:1.08rem;color:var(--ink)}
.legal .stand{margin-top:28px;font-size:.86rem}
.contact-form{max-width:560px;margin-top:26px;padding:22px;border-radius:20px;background:#eef7ff8c;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.contact-form label{display:block;margin-top:14px;font-size:.86rem;font-weight:650}
.contact-form label:first-child{margin-top:0}
.contact-form input,.contact-form textarea{display:block;width:100%;margin-top:6px;min-height:44px;padding:9px 12px;border:1px solid #f4f7f9;border-radius:11px;background:#f4f7f9b8;color:var(--ink);font:inherit;resize:vertical}
.contact-form .action{margin-top:16px;width:100%;border:0}
.contact-form .action:disabled{opacity:.6}
.form-note{margin-top:12px;font-size:.84rem}
.form-alt{margin-top:18px;font-size:.92rem}
#cf-status{margin-top:12px;font-weight:600;color:var(--ink)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* App showroom */
.showroom{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:10px 4px 22px;margin-top:26px;scrollbar-width:thin}
.phone-shot{flex:0 0 clamp(200px,22vw,250px);margin:0;scroll-snap-align:start}
.phone-frame{border-radius:34px;padding:6px;background:linear-gradient(155deg,#f6f9fb,#b9c7d2 55%,#e9eff3);box-shadow:inset 0 1px 3px #fff,0 18px 36px var(--shadow)}
.phone-frame img{width:100%;height:auto;aspect-ratio:390/844;object-fit:cover;object-position:top;border-radius:29px}
.phone-shot figcaption{margin-top:12px;padding:0 4px}
.phone-shot figcaption strong{display:block;font-size:.98rem;font-weight:700;color:var(--ink);letter-spacing:-.01em}
.phone-shot figcaption span{display:block;margin-top:4px;font-size:.86rem;line-height:1.42;color:var(--muted)}
.stage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px;margin-top:24px}
.stage-card{border-radius:20px;padding:18px 18px 8px;scroll-margin-top:16px;background:#eef7ff70}
.stage-card ul{list-style:none;margin:10px 0 0;padding:0}
.stage-card li{padding:10px 0;border-top:1px solid var(--line)}
.stage-card li:first-child{border-top:0}
.stage-card strong{display:block;color:var(--ink);font-weight:700}
.stage-card em{font-style:normal;font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-left:6px;padding:2px 7px;border:1px solid var(--line);border-radius:8px}
.stage-card span{display:block;font-size:.88rem;line-height:1.42;color:var(--muted);margin-top:2px}
.book-sub{display:block;font-weight:450;font-size:.85em;color:var(--muted);margin-top:2px}
.end-device.app-shot{border-radius:28px;mask-image:none;border:5px solid #eef3f7;width:auto;height:94%;bottom:3%;right:3%;aspect-ratio:390/844}

/* Match the apps: one frosted-glass material for buttons and cards, icy glow for selected */
:root{--edge:rgba(255,255,255,.85)}
.action,.ideology-open,.round-link{color:var(--ink);background:rgba(244,247,250,.62);border:1px solid var(--edge);border-radius:20px;box-shadow:0 10px 24px -14px rgba(30,48,68,.6),inset 0 1px 0 #fff;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);font-weight:700}
.action:hover,.ideology-open:hover{background:rgba(250,252,253,.82);color:var(--ink)}
.action:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.contact-form .action{background:rgba(250,252,253,.8)}
.glass{background-color:rgba(244,247,250,.55);border:1px solid var(--edge);box-shadow:0 10px 26px -16px rgba(30,48,68,.55),inset 0 1px 0 rgba(255,255,255,.7);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.field-card[aria-current=true],.field-rail a[aria-current=true],.field-rail a.active{background:linear-gradient(145deg,#f5fbff,#e6eff6 55%,#edf7ff);border-color:#f5fbff;box-shadow:inset 0 0 12px #ddf6ff,0 0 8px #80c4ed}
.book-t{display:block}
.maps .chapter ul{list-style:none;padding-left:4px}
.maps .chapter li{margin:0 0 12px}
.maps .chapter li strong{display:block}
.maps .chapter li span{display:block;font-size:.88rem;line-height:1.45;color:var(--muted);margin-top:2px}
