/* Shared presentation for MiyobiLab's companion pages. */
body.companion-page{--bg:#fff;--paper:#fff;background:#fff!important;overflow-x:clip}
body.companion-page #bg{opacity:.22}
body.companion-page>.credits-main{width:100%;max-width:1280px;margin:0 auto;padding:70px clamp(20px,5vw,80px) 80px;box-sizing:border-box;position:relative;z-index:1}
body.companion-page .credits-back{display:inline-flex;color:var(--red);text-decoration:none;font-size:13px;margin-bottom:32px}
body.companion-page .credits-main h1{font-family:var(--font);font-size:clamp(38px,5.5vw,72px);line-height:1.08;letter-spacing:-.05em;font-weight:800;margin:18px 0 24px;color:var(--ink)}
body.companion-page .credits-lead{font-size:clamp(16px,1.6vw,20px);line-height:1.75;max-width:850px;color:#777079;margin-bottom:48px}
body.companion-page :is(.campus-deck,.scholars-deck,.schools-deck,.team-deck){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:40px 0 56px}
body.companion-page :is(.campus-deck,.scholars-deck,.schools-deck,.team-deck)>article{min-width:0;padding:32px;border:1px solid #eee7ea;border-radius:24px;background:#fff;box-shadow:none;transition:border-color .2s}
body.companion-page :is(.campus-deck,.scholars-deck,.schools-deck,.team-deck)>article:hover{border-color:#eec5d0;transform:none}
body.companion-page .credits-main h2{font-size:clamp(24px,2.6vw,34px);line-height:1.2;letter-spacing:-.04em;margin:16px 0 20px;color:var(--ink)}
body.companion-page .credits-main p,body.companion-page .credits-main li{line-height:1.75}
body.companion-page :is(.campus-quote-card,.scholars-quote-card,.schools-quote-card){padding:36px;border:0;border-radius:24px;background:#fff1f4;color:var(--ink);box-shadow:none}
body.companion-page .credits-note{padding:28px 0;border:0;border-top:1px solid #eee7ea;background:transparent;border-radius:0;box-shadow:none}
body.companion-page .credits-note details{padding:18px 0;border-bottom:1px solid #eee7ea}
body.companion-page .credits-note summary{cursor:pointer;font-weight:600;line-height:1.5}
body.companion-page .campus-badge-pill{background:#fff0f4;color:var(--red);border:1px solid #f4dce3;box-shadow:none}
body.companion-page .eyebrow{color:var(--red);font-size:11px;letter-spacing:.12em}
body.companion-page>.land-footer{position:relative;display:flex;flex-direction:column;align-items:center;gap:28px;width:100%;box-sizing:border-box;text-align:center;flex-shrink:0}
body.companion-page .land-footer-brand{display:flex;align-items:center;justify-content:center;gap:12px}
body.companion-page .land-footer-brand .land-logo-tag{font-size:18px;font-weight:800}
body.companion-page .land-footer-nav{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 20px}
body.companion-page .land-footer-nav button{background:transparent;border:0;padding:10px;font:inherit;font-size:14px;cursor:pointer;border-radius:12px;min-height:44px}
body.companion-page .land-footer-copy{font-size:12px;line-height:1.6}
html:has(body.companion-page),body.companion-page{overscroll-behavior-y:none}
@media(max-width:700px){body.companion-page>.credits-main{padding-top:36px}body.companion-page :is(.campus-deck,.scholars-deck,.schools-deck,.team-deck){grid-template-columns:1fr;gap:16px}body.companion-page :is(.campus-deck,.scholars-deck,.schools-deck,.team-deck)>article{padding:24px}body.companion-page .credits-lead{margin-bottom:32px}body.companion-page :is(.campus-quote-card,.scholars-quote-card,.schools-quote-card){padding:24px}}
body.companion-page .land-footer {
  --footer-wave-height: clamp(80px, 14vw, 190px);
  border-top: 0;
  padding: calc(var(--footer-wave-height) + 44px) 24px max(60px, env(safe-area-inset-bottom));
  background: transparent;
  color: #fff;
  isolation: isolate;
}
body.companion-page .home-footer-wave {
  position: absolute;
  inset: 0 0 auto;
  display: block;
  width: 100%;
  height: calc(var(--footer-wave-height) + 2px);
  background: transparent;
  pointer-events: none;
}
body.companion-page .home-footer-wave path { fill: var(--red, #e4003a); }
body.companion-page .land-footer-brand,
body.companion-page .land-footer-brand .land-logo-tag,
body.companion-page .land-footer-nav button { color: #fff; }
body.companion-page .land-footer-tagline,
body.companion-page .land-footer-copy { color: rgba(255,255,255,.82); }
body.companion-page .land-footer-dot { background: rgba(255,255,255,.65); }
body.companion-page .land-footer-nav button:hover { background: rgba(255,255,255,.12); color: #fff; }
body.companion-page .land-footer-nav button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 600px) {
  body.companion-page .land-footer-brand { flex-wrap: wrap; justify-content: center; }
  body.companion-page .land-footer-tagline { flex-basis: 100%; }
  body.companion-page .land-footer-dot { display: none; }
  body.companion-page .land-footer-nav { gap: 6px 12px; }
}

body.companion-page .land-footer::before {
  content: "";
  position: absolute;
  inset: calc(var(--footer-wave-height) - 1px) 0 0;
  z-index: -1;
  background: var(--red, #e4003a);
  pointer-events: none;
}
@media(max-width:600px){
 body.companion-page .land-footer{--footer-wave-height:62px;padding:calc(var(--footer-wave-height) + 24px) 20px max(30px,env(safe-area-inset-bottom));gap:22px}
 body.companion-page .land-footer-brand{display:flex;flex-direction:column;gap:12px}
 body.companion-page .land-footer-brand .land-logo-tag{font-size:22px}
 body.companion-page .land-footer-tagline{font-size:13px;line-height:1.6;max-width:280px}
 body.companion-page .land-footer-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:360px;gap:4px 10px}
 body.companion-page .land-footer-nav button{font-size:13px;line-height:1.4;min-height:44px;padding:10px 4px}
 body.companion-page .land-footer-nav button:last-child{grid-column:1/-1}
 body.companion-page .land-footer-copy{font-size:11px;line-height:1.6;margin-top:0;max-width:280px}
 body.companion-page .plans-note{font-size:12px;line-height:1.7}
 body.companion-page .pricing-section{padding-bottom:30px!important}
}.home-footer-social{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;width:100%;height:auto;margin:0;padding:0;background:none}
 .home-footer-social a,.home-footer-social button{display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid #ffe9df55;border-radius:50%;background:#ffe9df18;color:#ffe9df;text-decoration:none;box-shadow:none;transition:background .2s,transform .2s}
.home-footer-social svg{width:22px;height:22px;stroke-width:1.8}
.home-footer-social button:disabled{opacity:1;cursor:default}
.home-footer-social a:hover{background:#ffe9df30;transform:translateY(-2px)}
.home-footer-social a:focus-visible{outline:2px solid #ffe9df;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.home-footer-social a,.home-footer-social button{transition:none}}


.land-footer .home-footer-social :is(a,button){display:grid;place-items:center;flex:0 0 46px;width:46px;min-width:46px;max-width:46px;height:46px;min-height:46px;padding:0;line-height:1;overflow:hidden;opacity:1;filter:none}
.land-footer .home-footer-social svg{position:static;display:block;flex:none;width:22px!important;height:22px!important;max-width:22px;max-height:22px;margin:0;transform:none;fill:none;stroke:currentColor;stroke-width:1.8}
/* Footer social navigation must not inherit the main navigation grid. */
body.companion-page .land-footer nav.home-footer-social{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:center!important;align-items:center!important;gap:12px!important;width:max-content!important;max-width:100%!important;min-height:46px;height:auto!important;margin:0 auto!important;padding:0!important;position:static!important;grid-template-columns:none!important}
body.companion-page .land-footer nav.home-footer-social>:is(a,button){flex:0 0 46px!important;width:46px!important;min-width:46px!important;height:46px!important;border-radius:50%!important;margin:0!important;padding:0!important;justify-self:center}
