:root {
  color-scheme:light;
  --ink:#203f3b;
  --muted:#65746f;
  --teal:#1c685b;
  --focus:#176dcb;
  --line:#dce3dc;
  font-family:Inter,"Avenir Next",Avenir,"Segoe UI",system-ui,sans-serif;
  font-size:16px;
  color:var(--ink);
  background:#fcfbf7;
  font-synthesis:none;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
}

button,input {
  font:inherit;
}

a,button,input {
  -webkit-tap-highlight-color:transparent;
}

a:focus-visible,button:focus-visible,input:focus-visible {
  outline:3px solid var(--focus);
  outline-offset:4px;
}

[hidden] {
  display:none!important;
}

svg {
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

button {
  cursor:pointer;
}

p,h1,h2 {
  margin:0;
}

.skip-link {
  position:absolute;
  z-index:5;
  left:16px;
  top:16px;
  transform:translateY(-150%);
  padding:12px 18px;
  background:white;
  color:var(--ink);
  border-radius:8px;
}

.skip-link:focus {
  transform:none;
}

.login-layout {
  display:grid;
  grid-template-columns:54% 46%;
  min-height:100svh;
}

.learning-panel {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:28px;
  padding:42px clamp(36px,4.5vw,80px);
  background:#174e46;
  color:#fffdf2;
}

.learning-panel::before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background-image:radial-gradient(#c7dfc822 .8px,transparent .8px);
  background-size:25px 25px;
  mask-image:linear-gradient(120deg,transparent 25%,#000);
}

.learning-panel::after {
  content:"";
  position:absolute;
  z-index:-1;
  width:650px;
  height:650px;
  right:-370px;
  top:-310px;
  border:1px solid #d7e7c622;
  border-radius:50%;
  box-shadow:0 0 0 70px #d7e7c606,0 0 0 140px #d7e7c606;
}

.brand {
  align-self:flex-start;
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
  font-size:22px;
  font-weight:750;
  letter-spacing:-.7px;
  line-height:1;
}

.brand-light {
  font-weight:400;
  margin-left:4px;
  color:#e3e9dd;
}

.brand-mark {
  position:relative;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  background:#f5f0cf;
  border-radius:13px;
  color:#174e46;
  font-weight:850;
  font-size:25px;
  letter-spacing:-2px;
  padding-right:3px;
}

.brand-mark span {
  position:absolute;
  right:9px;
  bottom:9px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#c48d33;
}

.learning-story {
  width:100%;
  max-width:620px;
  margin:auto;
}

.eyebrow {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:2.05px;
  font-weight:650;
  color:#d5dfd0;
  margin-bottom:20px;
}

.eyebrow span {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#e8cb78;
  box-shadow:0 0 0 4px #e8cb7815;
}

.learning-story h2 {
  font-size:clamp(42px,4.7vw,72px);
  font-weight:600;
  line-height:1.08;
  letter-spacing:-2.9px;
}

.learning-story h2 span {
  color:#e8d99b;
}

.story-description {
  color:#d1dfd5;
  font-size:clamp(14px,1.1vw,17px);
  line-height:1.7;
  margin-top:23px;
}

.learning-illustration {
  display:block;
  width:100%;
  height:auto;
  max-height:320px;
  object-fit:contain;
  margin:24px auto 6px;
}

.learning-values {
  list-style:none;
  display:flex;
  justify-content:space-between;
  gap:14px;
  margin:0;
  padding:23px 0 0;
  border-top:1px solid #d3e3d027;
  max-width:620px;
}

.learning-values li {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  color:#d1dfd5;
  white-space:nowrap;
  letter-spacing:.1px;
}

.learning-values svg {
  width:18px;
  height:18px;
  color:#d8d69f;
  stroke-width:1.5;
}

.signin-panel {
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:42px clamp(30px,4.5vw,76px) 25px;
  background:#fcfbf7;
}

.signin-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:42px;
  font-size:11px;
}

.student-access {
  display:flex;
  align-items:center;
  gap:7px;
  color:#65746f;
}

.student-access>span {
  width:6px;
  height:6px;
  background:#2b7961;
  border-radius:50%;
}

.parent-access {
  display:flex;
  align-items:center;
  gap:6px;
  padding:9px 12px;
  border:1px solid #dce3dc;
  border-radius:8px;
  text-decoration:none;
  color:#355d51;
  font-weight:600;
  transition:background .15s;
}

.parent-access:hover {
  background:#edf2e9;
}

.parent-access svg {
  width:13px;
  height:13px;
}

.signin-content {
  width:100%;
  max-width:368px;
  margin:auto;
  padding:42px 0;
}

.welcome-icon {
  display:grid;
  place-items:center;
  width:49px;
  height:49px;
  border:1px solid #e0e5d8;
  background:#f0f2e7;
  border-radius:15px;
  margin-bottom:24px;
}

.welcome-icon svg {
  width:30px;
  height:30px;
  fill:#cdac58;
  stroke:#cdac58;
  stroke-width:1;
}

.form-eyebrow {
  font-size:10px;
  letter-spacing:1.8px;
  text-transform:uppercase;
  color:#6d786d;
  font-weight:700;
  margin-bottom:12px;
}

h1 {
  font-size:clamp(34px,3vw,44px);
  letter-spacing:-1.8px;
  line-height:1.12;
  font-weight:650;
}

.heading-dot {
  color:#b58c39;
}

.signin-description {
  font-size:13px;
  line-height:1.75;
  color:var(--muted);
  margin:16px 0 30px;
}

form label {
  display:block;
  font-size:12px;
  font-weight:650;
  margin:0 0 8px;
}

.input-wrap {
  position:relative;
  margin-bottom:21px;
}

.input-icon {
  position:absolute;
  left:16px;
  top:50%;
  transform:translateY(-50%);
  height:18px;
  width:18px;
  color:#85968b;
  pointer-events:none;
  stroke-width:1.5;
}

.input-wrap input {
  width:100%;
  height:53px;
  padding:0 16px 0 45px;
  border:1px solid #d9e0d7;
  border-radius:9px;
  background:#fffefa;
  color:#26463b;
  font-size:16px;
  transition:border-color .15s,box-shadow .15s;
}

.input-wrap input:hover {
  border-color:#98b2a3;
}

.input-wrap input:focus {
  border-color:#367861;
  box-shadow:0 0 0 3px #36786114;
  outline:2px solid #367861;
  outline-offset:2px;
}

.input-wrap input[aria-invalid=true] {
  border-color:#ab483d;
}

.password-wrap input {
  padding-right:52px;
}

.password-toggle {
  position:absolute;
  right:5px;
  top:5px;
  width:43px;
  height:43px;
  display:grid;
  place-items:center;
  background:transparent;
  border:0;
  border-radius:6px;
  color:#74867b;
}

.password-toggle:hover {
  color:#1c685b;
  background:#eff2e9;
}

.password-toggle svg {
  width:19px;
  height:19px;
}

.eye-slash {
  display:none;
}

.password-toggle[aria-pressed=true] .eye-slash {
  display:block;
}

.signin-button {
  margin-top:6px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  width:100%;
  height:54px;
  border:1px solid #1d6354;
  border-radius:9px;
  background:#1d6354;
  color:white;
  font-size:13px;
  font-weight:650;
  box-shadow:0 4px 9px #173c2010;
  transition:background .15s,transform .15s;
}

.signin-button:hover {
  background:#154c41;
  transform:translateY(-1px);
}

.signin-button:active {
  transform:none;
}

.signin-button:disabled {
  cursor:wait;
  opacity:.72;
  transform:none;
}

.signin-button svg {
  width:17px;
  height:17px;
}

.signin-note {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:7px;
  margin-top:20px;
  color:#657461;
  font-size:10px;
}

.signin-note svg {
  width:14px;
  height:14px;
  stroke-width:1.5;
}

.validation-errors {
  font-size:12px;
  line-height:1.6;
  color:#9c3f34;
  background:#fff0e8;
  border:1px solid #efccc0;
  border-radius:8px;
  padding:11px 13px;
  margin:0 0 17px;
}

.signin-footer {
  font-size:10px;
  text-align:center;
  color:#65705f;
  line-height:1.6;
  padding-top:10px;
}

@media(min-width:1600px) {
  .learning-panel {
    padding-inline:max(80px,calc((100vw - 1320px)/2)) 70px;
  }
  .signin-panel {
    padding-inline:70px max(70px,calc((100vw - 1320px)/2));
  }
  .learning-illustration {
    max-height:360px;
  }
}

@media(min-width:801px) and (max-height:800px) {
  .learning-panel,.signin-panel {
    padding-top:28px;
  }
  .learning-panel {
    gap:20px;
  }
  .learning-story h2 {
    font-size:clamp(40px,4.2vw,63px);
  }
  .learning-illustration {
    max-height:230px;
    margin-top:14px;
  }
  .story-description {
    margin-top:17px;
  }
  .signin-content {
    padding-block:30px;
  }
  .welcome-icon {
    margin-bottom:18px;
    width:43px;
    height:43px;
  }
  .signin-description {
    margin-bottom:24px;
  }
  .learning-values {
    padding-top:18px;
  }
}

@media(max-width:1050px) and (min-width:801px) {
  .learning-panel {
    padding-inline:30px;
  }
  .signin-panel {
    padding-inline:32px;
  }
  .learning-values {
    gap:10px;
  }
  .learning-values li {
    font-size:9px;
    gap:5px;
  }
  .learning-values svg {
    width:16px;
    height:16px;
  }
  .eyebrow {
    font-size:9px;
    letter-spacing:1.5px;
  }
}

@media(max-width:800px) {
  .login-layout {
    grid-template-columns:1fr;
  }
  .learning-panel {
    padding:25px 30px 30px;
    gap:30px;
  }
  .brand {
    font-size:20px;
  }
  .brand-mark {
    width:37px;
    height:37px;
    font-size:23px;
    border-radius:11px;
  }
  .brand-mark span {
    right:8px;
    bottom:8px;
    width:4px;
    height:4px;
  }
  .learning-story {
    max-width:none;
  }
  .eyebrow {
    font-size:9px;
    letter-spacing:1.5px;
    margin-bottom:13px;
  }
  .learning-story h2 {
    font-size:36px;
    line-height:1.06;
    letter-spacing:-1.5px;
  }
  .learning-story h2 br {
    display:none;
  }
  .learning-story h2 span {
    display:block;
  }
  .story-description {
    display:none;
  }
  .story-description br {
    display:none;
  }
  .learning-illustration,.learning-values {
    display:none;
  }
  .signin-panel {
    padding:21px 30px 22px;
    min-height:calc(100svh - 255px);
  }
  .signin-top {
    font-size:10px;
    min-height:34px;
  }
  .parent-access {
    padding:8px 10px;
  }
  .signin-content {
    max-width:400px;
    padding:30px 0;
  }
  .welcome-icon {
    display:none;
  }
  h1 {
    font-size:34px;
    line-height:1.13;
    letter-spacing:-1.2px;
  }
  h1 br {
    display:block;
  }
  .form-eyebrow {
    font-size:9px;
    margin-bottom:9px;
  }
  .signin-description {
    font-size:12px;
    margin:12px 0 24px;
  }
  .signin-description br {
    display:none;
  }
  .input-wrap {
    margin-bottom:19px;
  }
  .signin-note {
    margin-top:17px;
  }
  .signin-footer {
    font-size:9px;
    padding-top:0;
  }
}

@media(max-width:360px) {
  .learning-panel {
    padding-inline:22px;
  }
  .signin-panel {
    padding-inline:22px;
  }
  .learning-story h2 {
    font-size:32px;
  }
  .student-access {
    font-size:9px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior:auto!important;
    transition:none!important;
  }
}
