@font-face {
  font-family: Archivo;
  src: url('/archivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f6f6f5;
  --ink: #282a2c;
  --secondary: #505456;
  --line: #d4d5d5;
  --dark: #414345;
  --focus: #285b73;
  font-family: Archivo, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a, button, input { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
main:focus, h1:focus { outline: none; }
.wrapper { width: min(1080px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; left: 10px; top: -100px; z-index: 2; padding: 10px; background: white; }
.skip:focus { top: 10px; }
.mast { border-bottom: 1px solid var(--line); background: #fff; }
.mast-inner, .profile { display: flex; align-items: center; }
.mast-inner { min-height: 96px; gap: 16px; }
.wordmark { display: block; width: auto; max-width: min(150px, 34vw); height: 82px; object-fit: contain; object-position: left center; }
.wordlabel { padding-left: 14px; border-left: 1px solid #b7b9ba; font-size: .95rem; color: var(--secondary); }
.profile { margin-left: auto; gap: 15px; min-width: 0; }
.profile-email { font-size: .9rem; overflow-wrap: anywhere; }
.text-button { background: transparent; border: 0; color: var(--secondary); padding: 10px 0; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
main { padding: clamp(28px, 7vh, 70px) 0 38px; }
.panel { position: relative; overflow: hidden; isolation: isolate; background: var(--dark); color: white; }
h1, h2, h3 { font-weight: 630; letter-spacing: -.05em; line-height: 1.06; }
.welcome { display: grid; grid-template-columns: 1.06fr .94fr; border: 1px solid var(--line); background: white; }
.intro { padding: clamp(30px, 4.5vw, 55px); }
.intro { min-height: 600px; }
.intro.panel p { max-width: none; }
.intro h1 { max-width: 7em; font-size: clamp(2.9rem, 5.2vw, 4.4rem); margin: 0 0 18px; }
.hub {
  position: absolute; pointer-events: none; z-index: -1; inset: 0;
  background: url('/hub.svg') 50% calc(50% + 60px) / min(112%, 620px) auto no-repeat; opacity: .42;
}
.panel p { font-size: 1.05rem; line-height: 1.5; color: #f0f0f0; max-width: 29ch; }
.structure {
  position: absolute; pointer-events: none; z-index: -1; inset: auto -15% -53% 18%; height: 100%;
  opacity: .77; transform: skewY(-22deg); border-top: 1px solid #a1a3a4;
  background: repeating-linear-gradient(90deg, transparent 0 49px, #66686a 49px 50px),
    repeating-linear-gradient(0deg, transparent 0 30px, #5f6163 30px 31px);
}
.structure::after {
  content: ''; position: absolute; inset: 28% 0 0 -27%; border-top: 1px solid #a1a3a4;
  background: repeating-linear-gradient(90deg, transparent 0 64px, #616365 64px 65px), var(--dark);
  transform-origin: 100% 0; transform: skewY(12deg);
}
.signin { align-self: center; padding: clamp(32px, 4.5vw, 61px); }
.signin h2 { font-size: clamp(2rem, 3vw, 2.5rem); margin-bottom: 8px; }
.signin .lede { font-size: .95rem; }
.lede { color: var(--secondary); line-height: 1.5; }
form { margin-top: 24px; display: grid; }
label { font-size: .91rem; font-weight: 620; margin-bottom: 6px; }
input { min-width: 0; width: 100%; padding: 11px 12px; border: 1px solid #9a9d9e; border-radius: 4px; color: var(--ink); background: white; }
input + label { margin-top: 17px; }
button:disabled { cursor: wait; opacity: .65; }
.primary { padding: 13px 16px; min-height: 46px; text-align: center; font-weight: 620; border-radius: 4px; border: 0; background: var(--dark); color: white; margin-top: 21px; }
.primary:hover { background: #57595b; }
.error { color: #902a24; line-height: 1.45; }
.error:not(:empty) { margin: 15px 0 0; }
#loading { color: var(--secondary); }
.eyebrow { color: #e4e5e5; text-transform: uppercase; letter-spacing: .12em; font-size: .81rem; font-weight: 650; }
.hero { padding: clamp(28px, 4.6vw, 50px); }
.hero h1 { font-size: clamp(2.75rem, 5.6vw, 4.7rem); margin: 13px 0 10px; }
.hero p { max-width: 43ch; }
.hero .structure { inset: -5% -12% -55% 66%; height: 150%; }
/* Company branding: Erie Strayer blue and yellow, Matcon Knappett blue and green */
.hero[data-company="erie"], .card-brand[data-company="erie"] { --dark: #29417c; background: #29417c; border-bottom: 5px solid #ffd200; }
.hero[data-company="matcon"], .card-brand[data-company="matcon"] { --dark: #112654; background: #112654; border-bottom: 5px solid #007d57; }
.hero[data-company] .structure { opacity: .3; }
.company-logo { display: block; height: auto; max-width: 100%; }
.hero .company-logo { margin-bottom: 20px; }
.hero[data-company="erie"] .company-logo { width: 168px; }
.hero[data-company="matcon"] .company-logo { width: min(100%, 440px); }
.card-brand { align-self: stretch; display: flex; align-items: center; min-height: 84px; margin: -24px -24px 4px; padding: 14px 24px; }
.card-brand[data-company="erie"] .company-logo { width: 120px; }
.card-brand[data-company="matcon"] .company-logo { width: min(100%, 300px); }
.tools-group[data-company="erie"] .card { border-top: 3px solid #29417c; }
.tools-group[data-company="matcon"] .card { border-top: 3px solid #112654; }
.tools-group[data-company="erie"] .action { color: #29417c; }
.tools-group[data-company="matcon"] .action { color: #007d57; }
.tools-group { margin-top: 29px; }
.group-heading { font-size: 1.35rem; margin-bottom: 14px; letter-spacing: -.03em; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; border: 1px solid var(--line); background: white; padding: 24px; min-width: 0; }
.card h3 { font-size: clamp(1.45rem, 2.4vw, 1.75rem); letter-spacing: -.04em; }
.card p { color: var(--secondary); line-height: 1.5; }
.action { color: #384d58; background: transparent; border: 0; padding: 9px 0; text-underline-offset: 4px; text-decoration: underline; font-weight: 620; margin-top: auto; }
.status { background: #f0f1f1; color: #505456; font-size: .88rem; align-self: flex-start; padding: 4px 8px; }
.backlink { display: inline-block; color: var(--secondary); text-underline-offset: 4px; margin-bottom: 14px; }
.note { line-height: 1.5; font-size: .92rem; color: var(--secondary); margin-top: 17px; }
@media (max-width: 700px) {
  .wrapper { width: calc(100% - 36px); }
  .welcome, .cards { grid-template-columns: 1fr; }
  .intro { padding: 32px; }
  .intro h1 { font-size: clamp(2.6rem, 9vw, 3.8rem); max-width: none; margin-bottom: 10px; }
  .intro { min-height: 0; padding-bottom: 72px; }
  .hub { background-size: min(118%, 460px) auto; background-position: 50% calc(50% + 36px); opacity: .34; }
  .signin { padding: 28px 31px; }
  .mast-inner { min-height: 74px; }
  .wordmark { height: 62px; }
  .profile-email { display: none; }
  .hero .structure { left: 78%; }
  .card { padding: 20px; }
  .card-brand { margin: -20px -20px 4px; padding-inline: 20px; }
}
@media (max-width: 420px) {
  .wrapper { width: calc(100% - 28px); }
  .mast-inner { gap: 8px; }
  .wordlabel { padding-left: 9px; }
  .intro, .signin, .hero { padding: 26px 23px; }
  .intro { padding-bottom: 72px; }
  .hero h1 { font-size: 2.45rem; }
}
