/* Academy chrome for ported pages: fonts, tokens, buttons, nav + footer. Loaded AFTER a ported page's own styles. */
@font-face{font-family:'Gellix';src:url('../fonts/Gellix-Light.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Gellix';src:url('../fonts/Gellix-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Gellix';src:url('../fonts/Gellix-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Gellix';src:url('../fonts/Gellix-SemiBold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Gellix';src:url('../fonts/Gellix-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
:root{
  /* colour, verbatim from the site */
  --black:#070808;            /* body text */
  --black-2:#070808;          /* dark bands, buttons on hover */
  --red:#f54949;              /* the one accent */
  --white:#ffffff;
  --cream:#fefbf7;            /* cards and alternate sections */
  --cream-2:#f2efeb;          /* deeper cream */
  --grey:#a2a2a2;             /* muted labels */
  --grey3:#383b3d;            /* secondary text */
  --grey4:#e0dedc;            /* strong lines */
  --grey6:#383b3d;            /* captions */
  --line:rgba(7,8,8,.1);      /* card borders */
  --line-strong:rgba(7,8,8,.15);
  --line-dark:rgba(255,255,255,.14);
  --on-dark:rgba(255,255,255,.72);
  /* type */
  --serif:'georgia',Georgia,'Times New Roman',serif;
  --sans:'Gellix',Arial,sans-serif;
  --fs-h1:clamp(2.5rem,2.2rem + 2vw,4rem);
  --fs-h2:clamp(2.0625rem,1.875rem + 1vw,3rem);
  --fs-h3:1.875rem;
  --fs-stat:clamp(2.2rem,2.9rem + 1.6vw,4rem);
  /* shape */
  --r-card:1.25rem;           /* 20px */
  --r-tag:1rem;               /* the white tag pill */
  --r-btn:2.5rem;
  /* layout */
  --content:1230px;
  --ease:cubic-bezier(0.645,0.045,0.355,1);
}
.top-red{font-size:14px;color:var(--red);text-transform:uppercase;letter-spacing:3px;font-weight:600;line-height:1.3}
.cta{display:inline-flex;align-items:center;justify-content:center;background-color:var(--red);color:var(--white);font-family:var(--sans);font-size:16px;font-weight:600;text-align:center;border:1.5px solid var(--red);border-radius:var(--r-btn);padding:1rem 2.1875rem;line-height:1;white-space:nowrap;transition:all .5s var(--ease);cursor:pointer}
.cta::after{content:'';display:inline-block;width:12px;height:12px;margin-left:.65rem;background:url(../images/cta-arrow-white.svg) no-repeat center / contain;transition:all .5s var(--ease)}
.cta:hover{background-color:var(--black);color:var(--white);border-color:var(--black)}
.cta:hover::after{transform:rotate(-45deg)}
.cta.cta-ghost{background:transparent;color:var(--black);border-color:var(--black)}
.cta.cta-ghost::after{background-image:url(../images/cta-arrow-black.svg)}
.cta.cta-ghost:hover{background-color:var(--black);color:var(--white)}
.cta.cta-ghost:hover::after{filter:invert(1)}
.cta.cta-white{background:var(--white);color:var(--black);border-color:var(--white)}
.cta.cta-white::after{background-image:url(../images/cta-arrow-black.svg)}
.cta.cta-white:hover{background:var(--red);color:var(--white);border-color:var(--red)}
.cta.cta-white:hover::after{filter:invert(1)}
.cta.cta-on-dark{background:transparent;color:var(--white);border-color:rgba(255,255,255,.5)}
.cta.cta-on-dark:hover{background:var(--white);color:var(--black);border-color:var(--white)}
.cta.cta-on-dark:hover::after{filter:invert(1)}
.cta.cta-sm{padding:.8rem 1.5rem;font-size:16px}
.arrow-link{display:inline-flex;align-items:center;font-weight:600;font-size:16px}
.arrow-link::after{content:'';display:inline-block;width:11px;height:11px;margin-left:.5rem;background:url(../images/cta-arrow-black.svg) no-repeat center / contain;transition:transform .5s var(--ease)}
.arrow-link:hover::after{transform:rotate(-45deg)}
.arrow-link.on-dark{color:var(--white)}
.arrow-link.on-dark::after{background-image:url(../images/cta-arrow-white.svg)}

*,*::before,*::after{box-sizing:border-box}
.content{width:90%;max-width:var(--content);margin:0 auto}
/* nav */
.nav{position:relative;z-index:50;background:var(--white);border-bottom:1px solid var(--line)}
.nav .content{display:flex;align-items:center;height:5rem;gap:2.5rem}
.nav__logo img{height:3.25rem;width:auto}
.nav__links{display:flex;gap:2.25rem;margin-left:1rem}
.nav__links a{font-size:16px;font-weight:500;padding:.5rem 0;transition:color .3s}
.nav__links a:hover{color:var(--red)}
.nav__cta{margin-left:auto;display:flex;gap:.6rem;align-items:center}
.nav__burger{display:none;margin-left:auto;width:40px;height:40px;border:0;background:none;cursor:pointer;padding:8px}
.nav__burger span{display:block;height:2px;background:var(--black);margin:5px 0;border-radius:2px}


/* nav dropdowns */
.nav__links{align-items:center}
.nav__item{position:relative}
.nav__item>a{display:inline-flex;align-items:center;gap:.35rem}
.nav__item.has-menu>a::after{content:'';width:8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);margin-left:.1rem}
.menu{position:absolute;left:-1rem;top:calc(100% + .6rem);min-width:320px;background:var(--white);border:1px solid var(--line);border-radius:var(--r-card);box-shadow:0 14px 40px rgba(7,8,8,.1);padding:.6rem;opacity:0;visibility:hidden;transform:translateY(6px);transition:all .25s var(--ease);z-index:60}
.menu::before{content:'';position:absolute;left:0;right:0;top:-.7rem;height:.7rem}
.nav__item:hover .menu,.nav__item.is-open .menu{opacity:1;visibility:visible;transform:translateY(0)}
.menu a{display:block;padding:.7rem .9rem;border-radius:.75rem;font-weight:600;font-size:16px;line-height:1.3;transition:background .2s}
.menu a small{display:block;font-weight:400;font-size:14px;color:var(--grey6);margin-top:.15rem}
.menu a:hover{background:var(--cream);color:var(--black)}
.menu--wide{min-width:560px;display:grid;grid-template-columns:1fr 1fr}
.nav__item:hover .menu--wide,.nav__item.is-open .menu--wide{display:grid}

/* footer */
.foot{background:var(--black-2);color:var(--white);padding:4rem 0 2rem}
.foot .top{display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:2rem;padding-bottom:2.5rem;border-bottom:1px solid var(--line-dark)}
.foot img{height:2.75rem;width:auto;margin-bottom:1rem}
.foot .about{font-size:16px;color:var(--on-dark);max-width:300px;line-height:1.55}
.foot :is(h1,h2,h3,h4,h5,h6):where(h4:not([class*="as-h"]),.as-h4){font-size:16px;letter-spacing:2px;text-transform:uppercase;color:var(--red);margin:0 0 .9rem}
.foot li{margin-bottom:.55rem}
.foot li a{font-size:16px;color:var(--on-dark)}
.foot li a:hover{color:var(--white)}
.foot .bottom{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding-top:1.5rem;font-size:14px;color:var(--grey)}
.foot .bottom a{color:var(--grey);margin-left:1rem}

@media (max-width:900px){
  .content{width:calc(100% - 40px)}
}
@media (max-width:1149px){
  .nav__links,.nav__cta{display:none}
  .nav__burger{display:block}
  .nav.is-open .nav__links{display:flex;flex-direction:column;align-items:stretch;gap:0;position:absolute;left:0;right:0;top:5rem;background:var(--white);padding:.25rem 20px 1rem;border-bottom:1px solid var(--line);margin:0;max-height:calc(100vh - 5rem);overflow:auto;z-index:60}
  .nav.is-open .nav__item{border-bottom:1px solid var(--line)}
  .nav.is-open .nav__item>a{display:block;padding:.9rem 0;font-weight:600}
  .nav.is-open .menu a{padding:.5rem 0 .5rem .75rem;font-weight:500}
  .nav.is-open .menu a small{display:none}
  .nav.is-open .nav__cta{display:flex;gap:.6rem;padding:1rem 0 .25rem;margin:0}
  .nav.is-open .nav__cta .cta{flex:1;justify-content:center}
  .nav.is-open .nav__burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .nav.is-open .nav__burger span:nth-child(2){opacity:0}
  .nav.is-open .nav__burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
}
@media (max-width:1149px){.menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;padding:0 0 .5rem 1rem;min-width:0}.menu--wide,.nav__item:hover .menu--wide,.nav__item.is-open .menu--wide{display:block}.nav__item.has-menu>a::after{display:none}}

/* shared page chrome for the funnel pages */
.content{width:90%;max-width:var(--content);margin:0 auto}
.sec{padding:5.5rem 0}
.sec--cream{background:var(--cream)}
.head{text-align:center;max-width:860px;margin:0 auto 3rem}
.head .top-red{display:block;margin-bottom:1rem}
.head :is(h1,h2,h3,h4,h5,h6):where(h2:not([class*="as-h"]),.as-h2){margin:0 0 1rem}
.head :is(h1,h2,h3,h4,h5,h6):where(h2:not([class*="as-h"]),.as-h2) em{font-style:normal;color:var(--red)}
.head p{font-size:18px;line-height:1.65;color:var(--grey3);max-width:760px;margin:0 auto}
.grid{display:grid;gap:1.25rem}
.g3{grid-template-columns:repeat(3,1fr)}
.box{background:var(--white);border:1px solid var(--line);border-radius:var(--r-card);padding:1.75rem}
.sec--cream .box{background:var(--white)}
.sec:not(.sec--cream) .box{background:var(--cream)}
.box .top-red{display:block;font-size:14px;letter-spacing:2px;margin-bottom:.75rem}
.box :is(h1,h2,h3,h4,h5,h6):where(h3:not([class*="as-h"]),.as-h3){font-family:var(--sans);font-weight:600;font-size:18px;line-height:1.3;margin:0 0 .5rem}
.box p{font-size:16px;line-height:1.55;color:var(--grey3)}
.sec-foot{text-align:center;margin-top:2.5rem}
.sec-foot .note{font-size:14px;color:var(--grey6);margin:1rem 0 0}
.foot .top{grid-template-columns:1.5fr repeat(4,1fr)}
.foot .about{max-width:300px}
.foot .bottom a{margin-left:1rem}
@media (max-width:1100px){.g3{grid-template-columns:1fr 1fr}.foot .top{grid-template-columns:1fr 1fr 1fr}}
@media (max-width:900px){
  .content{width:calc(100% - 40px)}
  .sec{padding:2.75rem 0}
  .head{margin-bottom:1.5rem}.head :is(h1,h2,h3,h4,h5,h6):where(h2:not([class*="as-h"]),.as-h2){font-size:26px}.head p{font-size:18px;line-height:1.5}
  .g3{grid-template-columns:1fr}.grid{gap:.9rem}
  .box{padding:1.25rem}.box :is(h1,h2,h3,h4,h5,h6):where(h3:not([class*="as-h"]),.as-h3){font-size:18px}.box p{font-size:16px}
  .foot{padding:2.5rem 0 1.5rem}.foot .top{grid-template-columns:1fr 1fr;gap:1.25rem 1rem;padding-bottom:1.5rem}
  .foot .top>div:first-child{grid-column:1/-1}.foot img{height:2.25rem;margin-bottom:.6rem}.foot .about{font-size:16px}
  .foot :is(h1,h2,h3,h4,h5,h6):where(h4:not([class*="as-h"]),.as-h4){font-size:16px;margin-bottom:.5rem}.foot li{margin-bottom:.35rem}.foot li a{font-size:14px}
  .foot .bottom{flex-direction:column;align-items:flex-start;gap:.5rem;padding-top:1rem;font-size:14px}
}
@media (max-width:1149px){
  .nav .content{height:4.25rem;gap:1rem}.nav__logo img{height:3rem}
  .nav.is-open .nav__links{top:4.25rem;max-height:calc(100vh - 4.25rem)}
}

/* menu: labels never wrap, the logo never shrinks, spacing tightens from 1280px down to the 1150px burger switch */
.nav__logo{flex:none}
.nav__item>a,.nav__cta .cta{white-space:nowrap}
.nav__item>a{font-weight:400;letter-spacing:.02em}
@media (min-width:1150px){
  .nav .content{gap:clamp(1.25rem,calc(1.25rem + (100vw - 1150px) * .12),2.5rem)}
  .nav__links{gap:clamp(1.25rem,calc(1.25rem + (100vw - 1150px) * .12),2.25rem);margin-left:clamp(0rem,calc((100vw - 1150px) * .12),1rem)}
  .nav__cta .cta.cta-sm{padding-left:clamp(1.1rem,calc(1.1rem + (100vw - 1150px) * .05),1.5rem);padding-right:clamp(1.1rem,calc(1.1rem + (100vw - 1150px) * .05),1.5rem)}
}
@media (max-width:1149px){
  /* open burger menu: the two buttons sit at the top of the dropdown panel, not squeezed into the header row */
  .nav__burger{flex:none}
  .nav.is-open .nav__cta{position:absolute;left:0;right:0;top:4.25rem;z-index:61;display:flex;gap:.6rem;padding:.9rem 20px .75rem;margin:0;background:var(--white)}
  .nav.is-open .nav__links{padding-top:4.75rem}
}
