/* MetaResearch Academy public site. Modelled on the MetaChem Academy home page: navy display type, ocean-blue accent,
   soft pink-to-blue hero, white rounded cards. System fonts only (CSP style-src 'self'). */
:root{
 --navy:#1b1442;--ink:#1d2433;--ink-2:#4a5468;--ink-3:#6c768a;--blue:#2f7fc1;--blue-2:#2370b1;--blue-soft:#e8f2fb;
 --green:#1f8a52;--green-soft:#e3f5ea;--amber:#9a6200;--amber-soft:#fdf2dc;--line:#e4e8f0;--bg:#ffffff;--paper:#f6f8fc;
 --r:16px;--r-lg:28px;--shadow:0 1px 2px rgba(27,20,66,.05),0 18px 40px rgba(27,20,66,.09);
 --f-display:"Outfit","Plus Jakarta Sans","Avenir Next","Segoe UI Variable Display","Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
 --f-body:"Inter","Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;
 color-scheme:light}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body.site{margin:0;background:var(--bg);color:var(--ink);font-family:var(--f-body);font-size:17px;line-height:1.6}
.site a{color:var(--blue-2)}
.site svg,.site-header svg,.announce svg,.site-footer svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.site h1,.site h2,.site h3,.site h4,.site-footer h4{font-family:var(--f-display);color:var(--navy);margin:0;letter-spacing:-.025em;line-height:1.08;text-wrap:balance}
.site p,.site-footer p{margin:0}
.wrap{max-width:1200px;margin:0 auto;padding:0 max(20px,env(safe-area-inset-left))}
.skip{position:absolute;left:-999px}.skip:focus{left:12px;top:12px;z-index:50;background:#fff;padding:8px 12px;border-radius:8px}
:focus-visible{outline:3px solid #f2b84b;outline-offset:2px;border-radius:6px}
.site .muted{color:var(--ink-3)}.site .small{font-size:14.5px}
.site .eyebrow{font-size:14px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--blue-2);margin-bottom:14px}

/* Announcement */
.announce{background:linear-gradient(90deg,#2a62a6 0%,#3f8ccc 55%,#5cc1e8 100%);color:#fff}
.announce .wrap{display:flex;align-items:center;justify-content:center;gap:14px;min-height:56px;padding-block:8px;font-weight:600;font-size:16px;text-align:center;flex-wrap:wrap}
.announce i{width:12px;height:12px;border-radius:50%;background:#ffe27a;box-shadow:0 0 0 4px rgba(255,226,122,.3)}
.announce a{display:inline-flex;align-items:center;gap:6px;color:#fff;text-decoration:none;background:rgba(255,255,255,.22);padding:6px 14px;border-radius:999px;font-weight:700}
.announce a:hover{background:rgba(255,255,255,.32)}
.announce svg{width:16px;height:16px}

/* Header */
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.header-row{display:flex;align-items:center;gap:22px;min-height:96px}
.logo{display:inline-flex;align-items:center;gap:12px;text-decoration:none;margin-right:auto}
.seal{display:grid;place-items:center;width:62px;height:62px;border-radius:16px;background:linear-gradient(145deg,#1b1442,#2f5fa8);color:#fff;font-family:var(--f-display);font-weight:800;font-size:22px;letter-spacing:-.02em;box-shadow:0 6px 16px rgba(27,20,66,.18)}
.logo-text{display:flex;flex-direction:column;line-height:1.05}
.logo-text b{font-family:var(--f-display);font-size:21px;color:var(--navy);font-weight:800;letter-spacing:-.02em}
.logo-text small{font-size:11.5px;letter-spacing:.32em;color:var(--blue-2);font-weight:800}
.main-nav{display:flex;align-items:center;gap:6px}
.main-nav a{padding:10px 18px;border-radius:14px;color:var(--ink);text-decoration:none;font-weight:600;font-size:17px}
.main-nav a:hover{background:var(--paper)}
.main-nav a[aria-current]{background:var(--blue-soft);color:var(--blue-2);box-shadow:inset 0 -2px 0 var(--blue)}
.my-btn{display:inline-flex;align-items:center;gap:10px;padding:12px 22px;border:1.5px solid #c9dcef;border-radius:999px;color:var(--blue-2);font-weight:700;text-decoration:none;font-size:17px;white-space:nowrap}
.my-btn:hover{background:var(--blue-soft)}
.burger{display:none;background:none;border:0;padding:10px;cursor:pointer}
.burger span{display:block;width:26px;height:3px;border-radius:2px;background:var(--navy);margin:5px 0}
@media (max-width:900px){
 .header-row{min-height:76px;gap:10px}.seal{width:50px;height:50px;font-size:18px}.logo-text b{font-size:18px}
 .burger{display:block}.my-btn{padding:9px 14px;font-size:15px}
 .main-nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;background:#fff;border-bottom:1px solid var(--line);padding:8px max(20px,env(safe-area-inset-left)) 16px}
 .main-nav.open{display:flex}
}
@media (max-width:480px){.logo-text{display:none}.my-btn{font-size:14px}}

/* Buttons */
.site .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:14px 30px;border-radius:16px;background:var(--blue);color:#fff;font-weight:700;font-size:18px;text-decoration:none;border:2px solid var(--blue);box-shadow:0 10px 24px rgba(47,127,193,.28);transition:transform .15s ease,background .15s ease}
.site .btn:hover{background:var(--blue-2);border-color:var(--blue-2);transform:translateY(-1px)}
.site .btn.ghost{background:#fff;color:var(--navy);border-color:var(--navy);box-shadow:none}
.site .btn.ghost:hover{background:var(--paper)}
.site .btn.small{min-height:44px;padding:8px 18px;font-size:15.5px;border-radius:12px;box-shadow:none}
.site .btn.block{width:100%}
.site .btn svg{width:18px;height:18px}

/* Hero */
.site .hero{position:relative;overflow:hidden;background:radial-gradient(circle at 1px 1px,rgba(27,20,66,.07) 1px,transparent 0) 0 0/28px 28px,linear-gradient(120deg,#fbeef3 0%,#eef4fb 45%,#e6f3fb 100%);padding:clamp(48px,7vw,96px) 0}
.site .hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center}
.site .hero h1{font-size:clamp(44px,6.6vw,86px);font-weight:900;letter-spacing:-.045em;line-height:1.02}
.site .hero h1 span{color:var(--blue)}
.site .lead{font-size:clamp(18px,1.6vw,21px);color:var(--ink-2);max-width:62ch;margin-top:22px}
.site .actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:32px}
.site .trust{list-style:none;padding:0;margin:28px 0 0;display:flex;flex-wrap:wrap;gap:10px 22px;color:var(--ink-2);font-weight:600;font-size:15.5px}
.site .trust li{display:inline-flex;align-items:center;gap:8px}.site .trust svg{color:var(--blue)}
.site .next{background:#fff;border-radius:var(--r-lg);padding:clamp(24px,3vw,40px);box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.7)}
.site .next h2{font-size:clamp(24px,2.3vw,32px);font-weight:800;margin-top:18px}
.site .next .sub{color:var(--ink-2);margin-top:10px}
.site .next-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:22px}
.site .more{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font-weight:700;color:var(--blue-2);text-underline-offset:4px}
.site .more.right{display:flex;justify-content:flex-end}
.site .more svg{width:16px;height:16px}
@media (max-width:960px){.site .hero-grid{grid-template-columns:1fr;gap:36px}}

/* Badges, facts, price */
.site .badge{display:inline-flex;align-items:center;gap:8px;padding:6px 16px;border-radius:999px;font-weight:700;font-size:15px;background:var(--green-soft);color:var(--green)}
.site .badge i{width:8px;height:8px;border-radius:50%;background:currentColor}
.site .badge.live{background:var(--amber-soft);color:var(--amber)}
.site .badge.past,.site .badge.tba{background:#eef1f5;color:var(--ink-3)}
.site .facts{list-style:none;padding:0;margin:18px 0 0;display:flex;flex-direction:column;gap:10px}
.site .facts li{display:flex;align-items:flex-start;gap:12px;color:var(--ink)}
.site .facts li svg{color:var(--blue);margin-top:3px}
.site .facts li.muted{color:var(--ink-3)}
.site .facts small{display:block;color:var(--ink-3);font-size:14px}
.site .price{font-family:var(--f-display);font-weight:800;color:var(--blue-2);font-size:24px;letter-spacing:-.02em}
.site .price.big{font-size:clamp(34px,3.4vw,46px)}
.site .price small{font-size:17px;color:var(--ink-2);font-weight:700;margin-left:6px;letter-spacing:0}

/* Sections and cards */
.site .band{padding:clamp(48px,6vw,84px) 0}.site .band.tight{padding-top:28px}.site .band.soft{background:var(--paper)}
.site .section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:28px;flex-wrap:wrap}
.site .section-head h2,.site .page-head h1{font-size:clamp(32px,4vw,52px);font-weight:900}
.site .link{display:inline-flex;align-items:center;gap:6px;font-weight:700;text-decoration:none}
.site .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:22px}
.site .wcard{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:0 1px 2px rgba(27,20,66,.04);transition:box-shadow .15s ease,transform .15s ease}
.site .wcard:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.site .wtop{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.site .wtop .badge{font-size:13.5px;padding:4px 12px}
.site .cat{font-size:12.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--blue-2)}
.site .wcard h3{font-size:22px;font-weight:800;margin-top:16px}
.site .wcard h3 a{color:inherit;text-decoration:none}.site .wcard h3 a:hover{color:var(--blue-2)}
.site .wcard .facts{font-size:15.5px;gap:8px}.site .wcard .facts svg{width:18px;height:18px}
.site .wfoot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:20px}
.site .wcard .more{margin-top:12px;font-size:15px}
.site .empty{grid-column:1/-1;padding:36px;text-align:center;border:1.5px dashed var(--line);border-radius:22px;color:var(--ink-3)}
.site .steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.site .step{background:#fff;border-radius:22px;padding:26px;border:1px solid var(--line)}
.site .step b{font-family:var(--f-display);color:var(--blue);font-size:15px;letter-spacing:.1em}
.site .step h3{font-size:22px;margin:8px 0 8px}.site .step p{color:var(--ink-2)}
@media (max-width:820px){.site .steps{grid-template-columns:1fr}}

/* Workshops page */
.site .page-head{background:linear-gradient(120deg,#fbeef3 0%,#eef4fb 50%,#e6f3fb 100%);padding:clamp(40px,6vw,72px) 0}
.site .filters{display:flex;flex-direction:column;gap:14px;margin-top:28px}
.site .filters input{width:min(520px,100%);min-height:52px;border:1.5px solid #d4dcea;border-radius:14px;padding:10px 16px;font:inherit;background:#fff}
.site .chips{display:flex;flex-wrap:wrap;gap:8px}
.site .chips button{border:1.5px solid #d4dcea;background:#fff;color:var(--ink);border-radius:999px;padding:8px 16px;font:inherit;font-weight:600;font-size:15px;cursor:pointer}
.site .chips button[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff}

/* Detail */
.site .crumbs{color:var(--ink-3);font-size:15px;margin-bottom:16px}.site .crumbs a{color:var(--ink-2)}
.site .detail-head h1{font-size:clamp(34px,4.6vw,58px);margin-top:16px}
.site .detail{display:grid;grid-template-columns:1fr 380px;gap:48px;align-items:start}
.site .prose p{margin-bottom:16px;color:var(--ink-2);font-size:17.5px}
.site .prose h2{font-size:28px;margin:34px 0 14px}
.site .ticks{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.site .ticks li{display:flex;gap:10px;align-items:flex-start}.site .ticks svg{color:var(--green);margin-top:3px}
.site .ticks.small{font-size:15px;margin:16px 0 20px}
.site .sched{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.site .sched li{display:grid;grid-template-columns:70px 1fr auto;gap:12px;align-items:center;padding:14px 18px;border:1px solid var(--line);border-radius:14px;background:#fff}
.site .sched b{font-family:var(--f-display);color:var(--blue-2)}
.site .instructor{display:flex;gap:14px;align-items:center;padding:16px 18px;border-radius:16px;background:var(--paper)}
.site .instructor svg{width:36px;height:36px;color:var(--blue)}
.site .instructor span{display:block;color:var(--ink-3);font-size:15px}
.site .buy{position:sticky;top:120px}
.site .buy-card{background:#fff;border-radius:var(--r-lg);padding:28px;box-shadow:var(--shadow);border:1px solid var(--line)}
.site .buy-card .price{margin-top:20px}
@media (max-width:960px){.site .detail{grid-template-columns:1fr}.site .buy{position:static}.site .sched li{grid-template-columns:60px 1fr}.site .sched li .muted{grid-column:2}}

/* Footer */
.site-footer{background:#111a33;color:#c9d2e3;margin-top:0;padding-top:56px}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:32px;padding-bottom:36px}
.site-footer h4{color:#fff;font-size:17px;margin-bottom:12px}
.site-footer a{display:block;color:#c9d2e3;text-decoration:none;padding:4px 0}.site-footer a:hover{color:#fff}
.site-footer p{margin-top:12px;font-size:15.5px}
.logo.light .logo-text b{color:#fff}.logo.light .logo-text small{color:#8fc3ec}
.foot-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.12);padding-block:20px 28px;font-size:14px;color:#9aa6bd}
@media (max-width:820px){.foot-grid{grid-template-columns:1fr}}

/* Loading */
.site .loading{padding:80px 20px}.site .sk{height:28px;border-radius:10px;background:linear-gradient(90deg,#eef2f7,#f7f9fc,#eef2f7);background-size:200% 100%;animation:sh 1.3s linear infinite;margin:12px 0;max-width:640px}.site .sk.short{max-width:360px}
@keyframes sh{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.site .sk{animation:none}.site .btn,.site .wcard{transition:none}}

/* My Workshops page: shared chrome over the participant styles */
footer.site-footer{display:block;border-top:0;margin-top:48px;padding-top:56px;font-size:16px;color:#c9d2e3;gap:0}
.participant-page .site-header .signout{margin:0 0 0 8px}
.subnav-bar{background:#fff;border-bottom:1px solid var(--line)}
.subnav-bar .participant-subnav{display:flex;gap:4px;max-width:1180px;margin:0 auto;padding:8px 20px;overflow-x:auto}
@media (max-width:820px){.subnav-bar{display:none}.participant-page footer.site-footer{padding-bottom:72px}}
