/* Scoped to the existing standalone product account and waitlist templates. */
body.msa-studio,
body:has(.waitlist-layout),
body:has(.account-nav):has(.page-shell) {
  --relay-ink: #142c44;
  --relay-muted: #465f74;
  --relay-paper: #edf3f7;
  --relay-card: #fff;
  --relay-line: #c7d5e0;
  --relay-edge: #71879b;
  --relay-night: #0b2035;
  --relay-night-raised: #16354e;
  --relay-ice: #67dff0;
  --relay-cloud: #c9dce9;
  --relay-action: #105dac;
  --relay-action-dark: #0c447f;
  --relay-focus: #005fa8;
  color: var(--relay-ink);
  background: var(--relay-paper);
  font-family: Barlow, "Segoe UI", Arial, sans-serif;
}
body :is(.site-header,.waitlist-navigation) {
  color: #fff;
  background: var(--relay-night);
  border-color: #29465d;
}
body .site-header .brand, body .waitlist-navigation .brand {
  color: #fff;
  text-decoration: none;
}
body :is(.site-header,.waitlist-navigation,.portal-audit-header) .brand .brand-owner {
  display: block; font-size: .72rem; font-weight: 500; letter-spacing: normal; line-height: 1.3;
}
body .site-header .brand-owner,
body .site-header .account-nav a,
body .waitlist-navigation a {color: var(--relay-cloud)}
body .site-header .account-nav a:is(:hover,[aria-current=page]),
body .waitlist-navigation a:hover {
  color: var(--relay-ice);
  text-decoration: underline;
  text-underline-offset: 4px;
}
body .site-header .brand-mark,
body .waitlist-layout .brand-mark,
body .waitlist-navigation .brand-mark {
  color: transparent;
  background: transparent url("assets/identity-mark.svg?ver=1.1.4") center/contain no-repeat;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}
body .page-shell, body .waitlist-layout {color: var(--relay-ink)}
body .msa-hero, body .waitlist-layout .message {
  position: relative;
  box-sizing: border-box;
  background: var(--relay-night);
  color: var(--relay-cloud);
  border: 1px solid #223e55;
  border-radius: 16px;
  box-shadow: 0 8px 20px #102f4512;
}
body .msa-hero {padding: clamp(22px,3.3vw,46px)}
body .waitlist-layout .message {padding: clamp(22px,3.2vw,44px)}
body .page-shell :is(h1,h2,h3),
body .waitlist-layout :is(h1,h2,h3),
body.portal-audits.msa-audits .msa-audit-workflow :is(h1,h2,h3) {
  font-family: "Barlow Condensed", "Arial Narrow", Barlow, Arial, sans-serif;
  color: var(--relay-ink);
  letter-spacing: -.037em;
}
body .page-shell .msa-hero :is(h1,h2,h3),
body.portal-audits.msa-audits .msa-hero :is(h1,h2,h3),
body .waitlist-layout .message :is(h1,h2,h3) {color: #fff}
body .msa-hero h1, body .waitlist-layout .message h1 {
  font-size: clamp(36px,4.4vw,62px);
  line-height: 1.02;
}
body .page-shell :is(.page-intro,.form-note,.security-note) {
  color: var(--relay-muted);
  line-height: 1.55;
}
body .msa-hero .page-heading p,
body .page-shell .msa-hero .page-intro,
body .waitlist-layout .message :is(p,.lead) {color: var(--relay-cloud);line-height: 1.55}
body .page-shell .msa-state, body .msa-hero .msa-state {
  background: #dceeff;
  color: #174a74;
  border-color: #92b8d3;
}
body .page-shell :is(.card,.portal-disclosure),
body .waitlist-layout .form-card,
body.portal-audits.msa-audits :is(.msa-audit-workflow,.portal-disclosure) {
  color: var(--relay-ink);
  background: var(--relay-card);
  border-color: var(--relay-line);
  border-radius: 12px;
  box-shadow: 0 3px 15px #1c39520b;
}
body .page-shell .text-link, body .waitlist-layout a, body .status-list a,
body.portal-audits.msa-audits .msa-audit-workflow a:not([class]) {
  color: var(--relay-action);
  text-underline-offset: 3px;
}
body .waitlist-layout .message a, body .msa-hero a.text-link {color: var(--relay-ice)}
body .page-shell .portal-button, body.portal-audits .portal-button,
body .waitlist-layout :is(button[type=submit],input[type=submit]) {
  color: #fff;
  background: var(--relay-action);
  border: 1px solid var(--relay-action);
  border-radius: 6px;
  font-weight: 700;
}
body .page-shell .portal-button:hover, body.portal-audits .portal-button:hover,
body .waitlist-layout :is(button[type=submit],input[type=submit]):hover {
  background: var(--relay-action-dark);
  color: #fff;
}
body .msa-hero .portal-main-action.portal-button,
body .msa-hero .portal-main-action .portal-button {
  background: var(--relay-ice);
  border-color: var(--relay-ice);
  color: var(--relay-night);
}
body .msa-hero .portal-main-action.portal-button:hover,
body .msa-hero .portal-main-action .portal-button:hover {
  background: #b2f4fb;
  border-color: #b2f4fb;
  color: var(--relay-night);
}
body .page-shell .status-list>*, body .page-shell .account-links>* {border-color: var(--relay-line)}
body .page-shell .status-verified {background: #d6f2e8;color: #155a46}
body .page-shell .status-neutral {background: #e5edf3;color: #394f64}
body :is(.page-shell,.waitlist-layout) :is(input:not([type=submit]):not([type=checkbox]):not([type=radio]),select,textarea) {
  background: #fff;
  color: var(--relay-ink);
  border-color: var(--relay-edge);
}
body :is(.page-shell,.waitlist-layout,.site-header,.waitlist-navigation,.msa-audit-workflow) :is(a,button,input,select,textarea,summary):focus-visible {
  outline: 3px solid var(--relay-focus);
  outline-offset: 3px;
}
body :is(.site-header,.waitlist-navigation,.msa-hero,.waitlist-layout .message) :is(a,button,input,select,textarea,summary):focus-visible {
  outline-color: var(--relay-ice);
  outline-offset: 3px;
}
@media(max-width:819px) {
  body .page-shell, body .waitlist-layout {min-width: 0}
  body .msa-hero {display: block}
  body .msa-hero .portal-main-action {margin-block-start: 1rem}
  body .page-shell :is(.page-heading,.card,.status-list),
  body .waitlist-layout :is(.message,.form-card) {min-width: 0;overflow-wrap: anywhere}
  body .site-header .account-nav {min-width: 0; max-width: 100%; flex-wrap: wrap}
  body :is(.site-header .account-nav,.waitlist-navigation) a:not(.brand) {
    display: inline-flex; align-items: center; min-height: 32px;
  }
  body :is(.page-shell,.waitlist-layout,.msa-audit-workflow) :is(input:not([type]),input[type=email],input[type=password],input[type=text],input[type=search],select,textarea) {
    box-sizing: border-box; max-width: 100%; font-size: max(1em,16px);
  }
}
@media(print) {
  body .msa-hero,body .waitlist-layout .message {background: #fff;color: #111;border: 0;box-shadow: none;padding: 12px}
  body .page-shell .msa-hero :is(h1,h2,h3,p),body.portal-audits.msa-audits .msa-hero :is(h1,h2,h3,p),
  body .waitlist-layout .message :is(h1,h2,h3,p) {color: #111}
}
