/* Amerski Academy. Shared styles for every page.
   The page sections keep board L's inline styles; this file holds the fonts, the header and footer,
   the animations, the parts added for launch, and the parts added in update round 1 (22 Nov 2026):
   the homepage hero with the session promo, the instructor band, the merged "hard part" section,
   the rotating examples on How it works, the social links, and the alternating course cards. */

@font-face{font-family:Newsreader;font-style:normal;font-weight:200 800;font-display:swap;src:url(fonts/newsreader.woff2) format('woff2')}
@font-face{font-family:Newsreader;font-style:italic;font-weight:200 800;font-display:swap;src:url(fonts/newsreader-italic.woff2) format('woff2')}
@font-face{font-family:Figtree;font-style:normal;font-weight:300 900;font-display:swap;src:url(fonts/figtree.woff2) format('woff2')}
@font-face{font-family:'Amerski Signature';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/signature.woff2) format('woff2')}

html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:#FFFFFF}
a{color:#2E6DB4}a:hover{color:#1C2B45}
:focus-visible{outline:3px solid #2E6DB4;outline-offset:3px}
[hidden]{display:none!important}
details summary::-webkit-details-marker{display:none}
.site{background:#FFFFFF;color:#101828;font-family:Figtree,system-ui,sans-serif;font-size:17px;line-height:1.6}
.site section[id],.site #included{scroll-margin-top:16px}
#notify{scroll-margin-top:24px}

/* ---------- header ---------- */
.site-header{border-bottom:1px solid #E3E7F0;background:#FFFFFF;font-family:Figtree,system-ui,sans-serif;line-height:1.6}
.site-header-in{max-width:1200px;margin:0 auto;padding:14px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;box-sizing:border-box}
.site-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#1C2B45}
.site-brand img{display:block;width:44px;height:44px;border-radius:8px}
.site-brand-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.site-brand-name{font-family:Newsreader,Georgia,serif;font-weight:600;font-size:24px;line-height:1.05;letter-spacing:-0.01em;white-space:nowrap}
.site-tagline{font-size:13px;font-weight:600;line-height:1.2;color:#4B5565;white-space:nowrap}
.site-nav{display:flex;flex-wrap:wrap;align-items:center;gap:4px 26px;font-size:15px;font-weight:600}
.site-nav a{color:#101828;text-decoration:none;padding:12px 0}
.site-nav a:hover{color:#2E6DB4}
.site-nav a.site-cta{background:#1C2B45;color:#FFFFFF;padding:11.5px 20px;border-radius:10px;white-space:nowrap}
.site-nav a.site-cta:hover{background:#26395A;color:#FFFFFF}
.site-links{display:contents}
/* the page you are on is underlined in the menu */
.site-links a[aria-current="page"]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px;text-decoration-color:#1C2B45}
@media (max-width:979px){
  /* phone and small tablet: logo and the "Get session dates" button share the first row; the links sit on a second row */
  .site-header-in{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;padding:12px 20px 6px}
  .site-nav{display:contents}
  .site-brand{grid-column:1;grid-row:1;min-width:0;gap:10px}
  .site-brand img{width:38px;height:38px}
  .site-brand-name{font-size:20px}
  .site-tagline{font-size:12.5px}
  .site-nav a.site-cta{grid-column:2;grid-row:1;padding:9px 13px;font-size:14px;font-weight:600}
  .site-links{grid-column:1 / -1;grid-row:2;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0 12px;max-width:520px;font-size:14px;font-weight:600;white-space:nowrap;overflow-x:auto;scrollbar-width:none}
  .site-links::-webkit-scrollbar{display:none}
  .site-links a{padding:8px 0}
}
/* narrow phones: the slogan wraps onto two lines so it never runs under the button */
@media (max-width:430px){.site-tagline{white-space:normal;text-wrap:balance}}
@media (max-width:379px){.site-header-in{padding-left:16px;padding-right:16px}.site-brand-name{font-size:18px}.site-tagline{font-size:12px}.site-nav a.site-cta{padding:8px 10px;font-size:13.5px}}
/* five menu links on one row: the text steps down a little on narrower phones; if they still do not fit, the row wraps instead of cutting "About" off */
@media (max-width:445px){.site-links{flex-wrap:wrap;overflow-x:visible;gap:0 6px;font-size:13.5px}}
@media (max-width:412px){.site-links{font-size:13px}}
@media (max-width:389px){.site-links{font-size:12.5px}}
@media (max-width:364px){.site-links{font-size:12px}}
@media (max-width:348px){.site-links{flex-wrap:wrap;justify-content:flex-start;gap:0 14px;font-size:13px;overflow-x:visible}}
@media (max-width:339px){.site-brand-text{display:none}}

/* ---------- footer ---------- */
.site-footer{background:#142036;color:#D5DDEA;font-family:Figtree,system-ui,sans-serif;font-size:17px;line-height:1.6}
.site-footer-in{max-width:1200px;margin:0 auto;padding:48px 24px 28px;box-sizing:border-box}
.site-footer-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px 48px}
.site-footer-brand{max-width:360px}
.site-footer-brand div,.site-footer-brand div a{display:flex;align-items:center;gap:14px}
.site-footer-brand img{display:block;width:52px;height:52px;border-radius:10px;border:1px solid #3A4A66}
.site-footer-brand strong{font-family:Newsreader,Georgia,serif;font-weight:600;font-size:26px;color:#FFFFFF}
.site-footer .site-footer-brand p{margin:8px 0 0;font-size:15px}
.site-footer .site-footer-brand p.site-footer-slogan{margin:14px 0 0;font-family:Newsreader,Georgia,serif;font-style:italic;font-weight:500;font-size:21px;line-height:1.2;color:#FFE34A}
.site-footer-nav{display:flex;flex-wrap:wrap;align-content:flex-start;gap:8px 32px;font-size:15px}
.site-footer a{color:#FFFFFF;text-decoration:none}
.site-footer a:hover{color:#FFE34A}
.site-footer-nav a{padding:10px 0}
.site-footer-legal{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:0 12px;margin-top:36px;padding-top:20px;border-top:1px solid #3A4A66;font-size:13px}
.site-footer-legal a{color:#D5DDEA}
.site-footer-legal a{display:inline-block;padding:10px 0}
.site-footer-legal a:hover{color:#FFFFFF}
@media (max-width:1149px){.site-footer-legal{flex-direction:column;align-items:flex-start;gap:0}}
@media (max-width:519px){.site-footer-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;width:100%}}

/* ---------- grids (from board L) ---------- */
.g-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.g-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.g-5{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:899px){.g-5{grid-template-columns:minmax(0,1fr)}}
@media (max-width:1119px){.g-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:899px){.g-3{grid-template-columns:minmax(0,1fr)}}
@media (max-width:599px){.g-4{grid-template-columns:minmax(0,1fr)}}

/* ---------- homepage: Navigator preview ---------- */
.nv-step{border:1.5px solid #C9D0E0;background:#FFFFFF}
.nv-step:hover{border-color:#1C2B45}
.nv-step[aria-pressed="true"]{border-color:#1C2B45;background:#FFE34A}
.nv-ans{background:#FFFFFF;color:#1C2B45}
.nv-ans:hover{background:#F5F7FB}
.nv-ans[aria-pressed="true"]{background:#1C2B45;color:#FFFFFF}

/* ---------- homepage: sign-up form ---------- */
.signup input[type="email"]{box-sizing:border-box;width:100%;background:#FFFFFF;color:#101828}
.signup input[type="email"]:focus-visible{outline:3px solid #2E6DB4;outline-offset:1px;border-color:#2E6DB4}
.signup input[type="checkbox"]{accent-color:#1C2B45}
.signup button[type="submit"]:hover{background:#26395A}
.signup button[disabled]{opacity:.6;cursor:default}
.signup .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;opacity:0}
.signup-status{margin:4px 0 0;padding:12px 14px;border-radius:10px;font-size:16px;line-height:1.45;color:#101828;background:#F5F7FB}
.signup-status.ok{background:#D8F0DF}
.signup-status.err{background:#FBE3E3}
.signup a{font-weight:600}

/* ---------- homepage: the "Which one are you?" picture slots ---------- */
.card-media{flex:1 1 200px;min-height:220px;box-sizing:border-box;background:#E8F0FA;border-right:1px solid #E3E7F0;display:flex;align-items:center;justify-content:center;padding:24px}
video.card-media{padding:0;object-fit:cover;width:100%}
/* three route cards across: the picture sits on top of the text, and all pictures are the same height */
.route-card{flex-direction:column;flex-wrap:nowrap!important}
.route-card .card-media{flex:none;height:220px;border-right:0;border-bottom:1px solid #E3E7F0}
.route-card > span:last-child{flex:1 1 auto!important}
/* the card videos are 1120 x 640 (7:4). A 220px-high slot shows all of the picture only while it is about 285 to 385px wide
   (phones, laptops, wide screens). Where it is wider (cards stacked, tablets) or narrower (three across in a window of
   about 900px; phones under 336px) the slot takes the video's own shape, so nothing is cut off. */
@media (max-width:899px){.route-card video.card-media{height:auto;aspect-ratio:7 / 4;min-height:220px}}
@media (min-width:900px) and (max-width:979px),(max-width:335px){.route-card video.card-media{height:auto;aspect-ratio:7 / 4;min-height:0}}
.md-row{display:flex;align-items:center;gap:8px}
.md-row .md-l{flex:none}
.md-tag{flex:none;width:34px;height:13px;border-radius:3px}
.md-tag.g{background:#D8F0DF}.md-tag.b{background:#D6E6FA}.md-tag.y{background:#FFE34A}
.md-row .w60{width:55%}.md-row .w75{width:66%}.md-row .w45{width:42%}
.md{display:flex;flex-direction:column;width:100%;max-width:210px;background:#FFFFFF;border:1px solid #D9DFEA;border-radius:12px;box-shadow:0 1px 2px rgba(16,24,40,0.06),0 16px 28px -14px rgba(28,43,69,0.28);overflow:hidden}
.md-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border-bottom:1px solid #E3E7F0;background:#FBFCFE}
.md-top svg{flex:none;width:17px;height:17px;fill:none;stroke:#2E6DB4;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.md-pill{display:inline-flex;align-items:center;gap:5px;font-family:Figtree,system-ui,sans-serif;font-weight:700;font-size:13px;line-height:1;color:#1C2B45;background:#FFE34A;border-radius:999px;padding:5px 10px}
.md-pill svg{width:13px;height:13px;stroke:currentColor;stroke-width:2.2}
.md-body{display:flex;flex-direction:column;gap:9px;padding:16px 14px;box-sizing:border-box;height:108px}
.md-l{display:block;height:7px;border-radius:4px;background:#C9D0E0}
.md-l.dk{background:#5B6780}
.md-l.w90{width:90%}.md-l.w75{width:75%}.md-l.w60{width:60%}.md-l.w45{width:45%}.md-l.w30{width:30%}
.md-l.faint{background:#EDF0F6}
.md-type{display:flex;align-items:center;gap:3px}
.md-caret{display:block;width:2px;height:15px;background:#1C2B45;animation:mdCaret 1.1s steps(1,end) infinite}
@keyframes mdCaret{0%,49%{opacity:1}50%,100%{opacity:0}}
.md-struck{position:relative}
.md-struck::after{content:"";position:absolute;left:-3px;right:-3px;top:50%;height:2px;margin-top:-1px;background:#D42A2A;border-radius:1px}
.md-fix{display:flex;flex-direction:column;gap:9px;border-left:3px solid #17663A;padding-left:9px}
.md-grade{align-self:flex-end;display:inline-flex;align-items:center;gap:7px;margin-top:2px;font-family:Figtree,system-ui,sans-serif;font-weight:700;font-size:13px;line-height:1}
.md-grade s{color:#6B7280;text-decoration-color:#D42A2A;text-decoration-thickness:2px}
.md-grade b{color:#D42A2A}
.md-grade em{font-style:normal;color:#FFFFFF;background:#D42A2A;border-radius:6px;padding:3px 8px}
@media (prefers-reduced-motion: reduce){.md-caret{animation:none}}


/* ---------- homepage: signature ---------- */
.signature{margin:22px 0 0;font-family:'Amerski Signature','Snell Roundhand','Segoe Script',cursive;font-weight:400;font-size:56px;line-height:1;color:#1C2B45}

/* ---------- policy pages ---------- */
.doc{max-width:800px;margin:0 auto;padding:72px 24px 104px;box-sizing:border-box}
.doc .eyebrow{margin:0 0 12px;font-size:13px;font-weight:700;letter-spacing:0.14em;text-transform:uppercase;color:#2E6DB4}
.doc h1{font-family:Newsreader,Georgia,serif;font-weight:500;font-size:clamp(38px,4.6vw,60px);line-height:1.05;letter-spacing:-0.02em;margin:0 0 18px;color:#1C2B45}
.doc .lede{margin:0 0 8px;font-size:19px;color:#4B5565}
.doc .updated{margin:0 0 8px;font-size:14px;color:#4B5565}
.doc h2{font-family:Newsreader,Georgia,serif;font-weight:600;font-size:28px;line-height:1.2;margin:44px 0 12px;color:#1C2B45}
.doc p{margin:0 0 14px;color:#344054}
.doc ul{margin:0 0 14px;padding-left:22px;color:#344054}
.doc li{margin:0 0 8px}
.doc strong{color:#1C2B45}
.doc .box{margin:14px 0 0;padding:18px 22px;border:1px solid #E3E7F0;border-radius:16px;background:#F5F7FB}
.doc .box p:last-child,.doc .box ul:last-child{margin-bottom:0}
.doc .draft{display:inline-block;margin:0 0 20px;font-size:13px;font-weight:700;letter-spacing:0.04em;color:#1C2B45;background:#FFE34A;border-radius:6px;padding:5px 10px}
.doc .back{display:inline-block;margin-top:28px;font-weight:700;text-decoration:none}

/* ---------- skip link ---------- */
.skip{position:absolute;left:-9999px;top:0;z-index:100;background:#1C2B45;color:#FFFFFF;padding:12px 18px;border-radius:0 0 10px 0;font:700 16px/1.2 Figtree,system-ui,sans-serif;text-decoration:none}
.skip:focus{left:0}
.skip:hover{color:#FFFFFF}

/* ---------- homepage: FAQ sign turns from + to x when a question is open ---------- */
#faq summary span[aria-hidden]{display:inline-block;transition:transform .15s ease}
#faq details[open] summary span[aria-hidden]{transform:rotate(45deg)}
@media (prefers-reduced-motion:reduce){#faq summary span[aria-hidden]{transition:none}}


/* ---------- homepage: About keeps photo and text side by side down to 700px ---------- */
@media (min-width:700px) and (max-width:903px){
  #about{flex-wrap:nowrap!important;gap:36px!important;align-items:flex-start!important}
  .about-photo{flex:0 0 240px!important;max-width:240px!important}
  .about-text{flex:1 1 0!important;min-width:0}
}


/* ---------- sign-up form: which exam ---------- */
.exam-pick{border:0;margin:2px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.exam-pick legend{padding:0;margin:0 0 8px;font-weight:600;font-size:16px;color:#1C2B45}
.exam-pick legend span{font-weight:400;font-size:14px;color:#4B5565}
.exam-pick label{position:relative;display:flex;flex:1 1 auto}
.exam-pick input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.exam-pick label span{display:block;width:100%;text-align:center;padding:9px 14px;border:1.5px solid #C9D0E0;border-radius:999px;background:#FFFFFF;font-size:15px;font-weight:600;color:#1C2B45}
.exam-pick input:hover + span{border-color:#1C2B45}
.exam-pick input:checked + span{background:#1C2B45;border-color:#1C2B45;color:#FFFFFF}
.exam-pick input:focus-visible + span{outline:3px solid #2E6DB4;outline-offset:2px}

/* ================= update round 1 (22 Nov 2026) ================= */

/* ---------- YouTube and Instagram links (footer, About, homepage instructor band) ---------- */
.social{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 18px}
.social a{display:inline-flex;align-items:center;gap:7px;padding:8px 0;font-size:15px;font-weight:600;color:#1C2B45;text-decoration:none}
.social a:hover{color:#2E6DB4}
.social svg{flex:none;width:22px;height:22px}
.social.on-dark{margin-top:10px}
.site-footer .social.on-dark a{color:#FFFFFF}
.site-footer .social.on-dark a:hover{color:#FFE34A}
.about-social{margin:-10px 0 18px}

/* ---------- homepage: hero with the session promo in the middle ---------- */
.hero{background:linear-gradient(#FFFFFF,#F5F7FB)}
.hero-in{max-width:1200px;margin:0 auto;padding:56px 24px 48px;text-align:center}
.hero-eyebrow{margin:0 0 16px;font-size:13px;font-weight:700;letter-spacing:0.14em;text-transform:uppercase;color:#2E6DB4}
.hero-h1{font-family:Newsreader,serif;font-weight:500;font-size:clamp(34px,5.3vw,66px);line-height:1.04;letter-spacing:-0.025em;margin:0;color:#1C2B45}
.hero-lead{margin:28px auto 0;max-width:720px;font-family:Newsreader,serif;font-weight:500;font-size:clamp(23px,2.4vw,27px);line-height:1.25;letter-spacing:-0.01em;color:#1C2B45}
.hero-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:24px}
.hero-badges{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:22px}

/* The promo. One player; site.js gives it one file. The still picture is a background (named in the page by build.py) chosen by the same
   screen test as the file, so it is on screen before the script runs and only one picture is fetched.
   Wide (16:9) by default; on a phone held upright the tall (9:16) copy, no taller than 70% of the screen.
   Keep the query the same as the one in site.js. Once a file is chosen the shape is fixed by data-shape. */
.promo{position:relative;box-sizing:border-box;margin:32px auto 0;width:min(100%,880px);aspect-ratio:16 / 9;border-radius:16px;overflow:hidden;background:#1C2B45 center / cover no-repeat;box-shadow:0 1px 2px rgba(16,24,40,0.06),0 28px 56px -18px rgba(28,43,69,0.35)}
@media (max-width:599px) and (orientation:portrait){.promo:not([data-shape]){aspect-ratio:9 / 16;width:min(100%,calc(70vh * 9 / 16))}}
.promo[data-shape="tall"]{aspect-ratio:9 / 16;width:min(100%,calc(70vh * 9 / 16))}
.promo[data-shape="wide"]{aspect-ratio:16 / 9;width:min(100%,880px)}
.promo-video{display:block;width:100%;height:100%;object-fit:cover;background:transparent}
.promo-btn{position:absolute;bottom:14px;display:inline-flex;align-items:center;gap:8px;margin:0;border:0;border-radius:999px;cursor:pointer;font:700 15px/1 Figtree,system-ui,sans-serif;box-shadow:0 6px 16px -4px rgba(8,14,26,0.55)}
.promo-btn svg{flex:none;width:20px;height:20px}
.promo-sound{right:14px;padding:11px 16px 11px 13px;background:#FFE34A;color:#1C2B45}
.promo-sound:hover{background:#FFEC80}
.promo-toggle{left:14px;padding:11px;background:rgba(20,32,54,0.78);color:#FFFFFF}
.promo-toggle:hover{background:#142036}
.promo-big{position:absolute;inset:0;margin:0;padding:0;width:100%;height:100%;border:0;background:rgba(20,32,54,0.18);color:#1C2B45;cursor:pointer;display:flex;align-items:center;justify-content:center}
.promo-big svg{width:84px;height:84px;box-sizing:border-box;padding:20px 18px 20px 24px;border-radius:50%;background:#FFE34A;box-shadow:0 10px 28px -6px rgba(8,14,26,0.6)}
.promo-big:hover svg{background:#FFEC80}
.promo-btn:focus-visible,.promo-big:focus-visible{outline:3px solid #FFFFFF;outline-offset:-5px}
@media (max-width:379px){.promo-btn{bottom:10px;font-size:14px}.promo-sound{right:10px;padding:10px 13px 10px 11px}.promo-toggle{left:10px;padding:10px}}

/* ---------- homepage: the instructor band ---------- */
.inst-wrap{max-width:1200px;margin:0 auto;padding:0 24px 64px}
.inst{display:flex;flex-wrap:wrap;align-items:center;gap:20px 32px;background:#FFFFFF;border:1px solid #E3E7F0;border-radius:20px;box-shadow:0 1px 2px rgba(16,24,40,0.05),0 20px 40px -20px rgba(28,43,69,0.22);padding:22px 28px}
.inst-photo{flex:none;width:96px;height:96px;border-radius:50%;object-fit:cover;object-position:center 12%}
.inst-who{flex:1 1 300px;min-width:0}
.inst-creds{flex:2 1 520px;min-width:0;margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 24px}
.inst-creds li{display:flex;flex-direction:column;gap:3px;padding-left:14px;border-left:3px solid #FFE34A}
.inst-creds b{font-weight:700;font-size:17px;line-height:1.25;color:#1C2B45}
.inst-creds span{font-size:14.5px;line-height:1.35;color:#4B5565}
.inst-more{flex:1 1 100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 24px;padding-top:12px;border-top:1px solid #E3E7F0}
@media (max-width:699px){.inst{padding:20px}.inst-creds{grid-template-columns:minmax(0,1fr)}.inst-photo{width:80px;height:80px}}

/* ---------- homepage: "The hard part is how to write it" (two sections merged) ---------- */
.hard{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:stretch}
.hard-q{display:flex;flex-direction:column;gap:20px}
.hard-q > div{flex:1 1 auto;justify-content:center}
.hard-stuck{box-sizing:border-box;background:#1C2B45;color:#FFFFFF;border-radius:16px;padding:32px 32px 28px;display:flex;flex-direction:column;justify-content:center}
.hard-close{margin-top:20px;border:1.5px solid #1C2B45;border-radius:16px;padding:26px 28px;display:flex;flex-wrap:wrap;gap:14px 48px;align-items:center;background:#FFFFFF}
@media (max-width:899px){.hard{grid-template-columns:minmax(0,1fr)}.hard-stuck{padding:26px 24px 22px}}

/* ---------- Free tools: the YouTube and Instagram band ---------- */
.follow{margin-top:24px;box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 40px;background:#FFFFFF;border:1px solid #D9DFEA;border-radius:16px;padding:26px 28px}
.follow-btns{display:flex;flex-wrap:wrap;gap:12px}
.follow-btns a{display:inline-flex;align-items:center;gap:9px;padding:12px 20px;border:1.5px solid #1C2B45;border-radius:10px;background:#FFFFFF;color:#1C2B45;font-weight:700;text-decoration:none}
.follow-btns a:hover{background:#1C2B45;color:#FFFFFF}
.follow-btns svg{flex:none;width:22px;height:22px}
@media (max-width:459px){.follow-btns,.follow-btns a{width:100%;box-sizing:border-box;justify-content:center}}

/* ---------- How it works: three examples that take turns, with a pause button ---------- */
.ex-box{background:#FFFFFF;border:1px solid #D9DFEA;border-radius:16px;box-shadow:0 1px 2px rgba(16,24,40,0.06),0 24px 48px -16px rgba(28,43,69,0.2);overflow:hidden;margin-bottom:56px}
.ex-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;padding:12px 22px;background:#F5F7FB;border-bottom:1px solid #E3E7F0}
.ex-tabs{display:flex;flex-wrap:wrap;gap:8px}
.ex-tab,.ex-pause{font:600 15px/1.2 Figtree,system-ui,sans-serif;cursor:pointer;border-radius:999px;border:1.5px solid #C9D0E0;background:#FFFFFF;color:#1C2B45;padding:9px 14px;margin:0}
.ex-tab:hover,.ex-pause:hover{border-color:#1C2B45}
.ex-tab[aria-pressed="true"]{background:#1C2B45;border-color:#1C2B45;color:#FFFFFF}
.ex-pause{display:inline-flex;align-items:center;gap:6px;padding:9px 14px 9px 10px}
.ex-pause svg{flex:none;width:18px;height:18px}
.ex-pause .i-play,.ex-pause[aria-pressed="true"] .i-pause{display:none}
.ex-pause[aria-pressed="true"] .i-play{display:inline}
/* the three examples sit on top of each other, so the box is always as tall as the tallest and never jumps */
.ex-box.js .ex-stack{display:grid}
.ex-box.js .ex{grid-area:1 / 1;min-width:0}
.ex-box.js .ex[aria-hidden="true"]{visibility:hidden}
.ex-box.js .ex{display:flex;flex-direction:column}
.ex-box.js .ex-body{flex:1 1 auto;align-content:center}
.ex-box:not(.js) .ex-bar{display:none}          /* without the script the three examples are simply listed */
.ex-box:not(.js) .ex + .ex{border-top:1px solid #E3E7F0}
.ex-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;padding:14px 22px;border-bottom:1px solid #E3E7F0;background:#FBFCFE}
.ex-body{display:flex;flex-wrap:wrap;gap:28px 40px;padding:30px 30px 34px}
@media (max-width:599px){.ex-body{padding:22px 20px 26px}.ex-bar,.ex-head{padding-left:16px;padding-right:16px}}
/* typed in, crossed out, faded in. Without the script, or once an example has finished, everything is simply shown. */
.ex.run .ty{animation:exType var(--t,1.6s) steps(40,end) var(--d,0s) both}
.ex.run .sk{animation:exStrike .8s ease-in-out var(--d,0s) both}
.ex.run .fd{animation:exFade .5s ease var(--d,0s) both}
@keyframes exType{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes exStrike{from{background-size:0% 2px}to{background-size:100% 2px}}
@keyframes exFade{from{opacity:0}to{opacity:1}}
.ex-box.paused .ex.run .ty,.ex-box.paused .ex.run .sk,.ex-box.paused .ex.run .fd,
.ex-box.away .ex.run .ty,.ex-box.away .ex.run .sk,.ex-box.away .ex.run .fd{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.ex.run .ty,.ex.run .sk,.ex.run .fd{animation:none}}

/* ---------- Program and prices: course cards, every second one tinted with the Full program card's border ---------- */
.course{box-sizing:border-box;border:1px solid #E3E7F0;background:#FFFFFF;padding:24px}
.course-n{color:#6B7280}
/* phones, one across: courses 2, 4, 6, 8 */
@media (max-width:599px){.courses > .course:nth-child(even){border:2px solid #1C2B45;background:#EEF3FA;padding:23px}.courses > .course:nth-child(even) .course-n{color:#4B5565}}
/* two across: a checkerboard (2, 3, 6, 7), never a white column beside a blue one */
@media (min-width:600px) and (max-width:1119px){.courses > .course:nth-child(4n+2),.courses > .course:nth-child(4n+3){border:2px solid #1C2B45;background:#EEF3FA;padding:23px}.courses > .course:nth-child(4n+2) .course-n,.courses > .course:nth-child(4n+3) .course-n{color:#4B5565}}
/* four across: the whole second row (5 to 8) */
@media (min-width:1120px){.courses > .course:nth-child(n+5){border:2px solid #1C2B45;background:#EEF3FA;padding:23px}.courses > .course:nth-child(n+5) .course-n{color:#4B5565}}
/* the homepage's "The full program" and "Choose your courses" buttons land here, with a little room above */
#full-program,#courses{scroll-margin-top:32px}
/* the Full program card stays the one that stands out */
.full-program{border-width:3px!important;padding:27px!important}
