:root {
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #101620;
  background: #f4f6f8;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: #075bb8; text-underline-offset: .2em; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #1268d3; outline-offset: 4px; }

.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  min-height: 100svh;
  padding: 8px;
}

.course-panel {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 510px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 52px);
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  color: white;
}

.course-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .7;
  z-index: -2;
  pointer-events: none;
}

.course-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #000b 0%, #0006 31%, transparent 67%);
  pointer-events: none;
}

.course-brand {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.035em;
}
.course-brand img { border-radius: 9px; }
.brand-domain { color: #e0e0e0; font-size: .78em; }
.course-intro { margin: clamp(28px, 4vh, 54px) 0 clamp(24px, 4vh, 42px); }
.eyebrow { margin: 0 0 14px; color: #f0f0f0; font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.course-intro h2 { margin: 0; max-width: 19ch; font-size: clamp(2rem, 3.2vw, 3.6rem); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.course-intro h2 span { display: block; margin-top: .14em; color: #ffffffb8; font-weight: 600; }
.course-intro > p:last-child { margin: 16px 0 0; max-width: 46ch; line-height: 1.55; }

.access-panel { display: grid; min-width: 0; grid-template-rows: auto 1fr auto; }
.access-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px clamp(15px, 2.7vw, 42px); }
.access-header a { color: #182332; font-size: .84rem; font-weight: 650; text-decoration: none; }
.access-header a:hover { text-decoration: underline; }
.access-header a span { margin-right: 5px; font-size: 1.05rem; }
.access-tag { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 5px 9px; border: 1px solid #dbe2ec; border-radius: 30px; color: #36475b; font-size: .72rem; background: #fff; }
.access-tag span { width: 7px; height: 7px; background: #116bdc; border-radius: 50%; }
.access-center { display: grid; place-items: center; padding: clamp(26px, 5vh, 60px) clamp(16px, 3vw, 44px); }
.login-card { width: min(100%, 448px); padding: clamp(22px, 3vw, 35px); background: #fff; border: 1px solid #dde3eb; border-radius: 24px; box-shadow: 0 2px 4px #17294408; }
.login-card h1 { margin: 0; font-size: clamp(1.85rem, 3vw, 2.35rem); line-height: 1.08; letter-spacing: -.05em; }
.login-intro { margin: 10px 0 24px; color: #4a5a70; font-size: .95rem; line-height: 1.55; }
.login-field + .login-field { margin-top: 17px; }
.login-field label { display: inline-block; margin-bottom: 7px; font-size: .87rem; font-weight: 650; }
.password-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.password-label a { font-size: .8rem; }
.login-field input { display: block; width: 100%; min-height: 51px; padding: 10px 14px; border: 1px solid #cbd5e1; border-radius: 11px; background: #fff; color: #101620; font-size: 1rem; }
.login-field input::placeholder { color: #69778a; }
.field-help { margin: 7px 0 0; color: #4a5a70; font-size: .8rem; line-height: 1.45; }
.login-btn { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 54px; margin-top: 22px; padding: 6px 20px; border: 0; border-radius: 32px; color: #fff; background: #101620; font-weight: 700; cursor: pointer; }
.login-btn:hover { background: #26374e; }
.login-btn:disabled { opacity: .55; cursor: wait; }
.purchase-note { margin: 20px 0 0; text-align: center; color: #4a5a70; font-size: .86rem; line-height: 1.5; }
.purchase-note a { font-weight: 650; }
.access-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 15px; padding: 14px 12px 9px; border-top: 1px solid #e0e5eb; color: #536276; font-size: .76rem; }
.access-footer a { color: inherit; }

@media (max-width: 760px) {
  .login-layout { grid-template-columns: minmax(0, 1fr); padding: 6px; }
  .course-panel { min-height: 0; height: clamp(300px, 52svh, 420px); padding: 20px 20px 24px; border-radius: 20px; justify-content: space-between; }
  .course-panel::before { background: linear-gradient(180deg, #0009 0%, #0000 32%, #0000 42%, #000d 100%); }
  .course-brand { font-size: 1.15rem; }
  .course-intro { margin: 0; }
  .eyebrow { margin-bottom: 10px; font-size: .64rem; }
  .course-intro h2 { max-width: 15ch; font-size: clamp(1.65rem, 7.4vw, 2.2rem); line-height: 1.08; letter-spacing: -.04em; }
  .course-intro h2 span { font-size: .82em; }
  .course-intro > p:last-child { margin-top: 10px; font-size: .9rem; line-height: 1.5; color: #ffffffd9; }
  .access-center { padding: 22px 6px 28px; }
}
