:root {
  color-scheme:light;
  --paper:#f3f8f7;
  --surface:#ffffff;
  --ink:#142e33;
  --muted:#526d72;
  --line:#cbdedc;
  --green:#12644f;
  --body:"Avenir Next","Trebuchet MS",Verdana,sans-serif;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--body);
  -webkit-font-smoothing:antialiased;
}
button,input {
  font:inherit;
}
button {
  cursor:pointer;
}
svg {
  display:block;
}
button:focus-visible,input:focus-visible {
  outline:2px solid var(--green);
  outline-offset:4px;
}
.login-layout {
  min-height:100dvh;
  display:grid;
  grid-template-columns:1.15fr 1fr;
  max-width:1800px;
  margin:auto;
}
.intro {
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:44px 8%;
  border-right:1px solid var(--line);
  min-height:100dvh;
  background:radial-gradient(ellipse at 20% 50%,#6feeb71a,transparent 70%);
}
.brand {
  display:flex;
  gap:12px;
  align-items:center;
  font-family:Georgia,serif;
  font-size:25px;
  letter-spacing:-.7px;
}
.brand-mark {
  background:var(--green);
  color:var(--surface);
  padding:10px;
  border-radius:13px;
}
.brand-mark svg {
  width:24px;
  height:24px;
}
.eyebrow {
  display:block;
  font-size:10px;
  font-weight:600;
  letter-spacing:.18em;
  color:var(--muted);
}
.intro-copy {
  padding:56px 0;
}
.intro-copy h1 {
  font-family:Georgia,serif;
  font-size:clamp(42px,4.3vw,72px);
  font-weight:400;
  line-height:1.09;
  letter-spacing:-2.6px;
  margin:24px 0;
}
.intro-copy p {
  font-size:14px;
  line-height:1.9;
  color:var(--muted);
  margin:0;
}
.sound-note {
  display:flex;
  align-items:center;
  gap:25px;
  max-width:360px;
  margin:48px 0 20px;
}
.sound-line {
  flex:1;
  height:1px;
  background:#a0c7bd;
}
.wave {
  display:flex;
  align-items:center;
  gap:5px;
  height:44px;
}
.wave i {
  display:block;
  width:3px;
  height:8px;
  border-radius:3px;
  background:var(--green);
}
.wave i:nth-child(2n) {
  height:18px;
}
.wave i:nth-child(3n) {
  height:30px;
}
.wave i:nth-child(4n) {
  height:42px;
}
.wave i:nth-child(5n) {
  height:23px;
}
.intro-caption {
  font-size:11px;
  color:var(--muted);
}
.intro-footer {
  font-size:9px;
  letter-spacing:.16em;
  color:var(--muted);
}
.sign-in {
  background:var(--surface);
  display:grid;
  place-items:center;
  padding:64px 40px;
}
.form-wrap {
  width:100%;
  max-width:350px;
}
.form-wrap h2 {
  font-family:Georgia,serif;
  font-weight:400;
  font-size:36px;
  line-height:1.2;
  letter-spacing:-1.1px;
  margin:16px 0 12px;
}
.form-description {
  font-size:13px;
  line-height:1.7;
  color:var(--muted);
  margin:0 0 36px;
}
.field {
  margin-bottom:22px;
}
label {
  display:block;
  font-size:12px;
  font-weight:600;
  margin-bottom:9px;
}
input {
  width:100%;
  background:var(--surface);
  color:var(--ink);
  border:1px solid #bdd4d0;
  border-radius:8px;
  padding:14px;
  font-size:16px;
  min-height:50px;
}
input::placeholder {
  color:#617d81;
  font-size:13px;
}
.password-field {
  position:relative;
}
.password-field input {
  padding-right:70px;
}
.password-toggle {
  position:absolute;
  right:6px;
  top:5px;
  bottom:5px;
  border:0;
  background:transparent;
  color:var(--green);
  font-size:11px;
  font-weight:600;
  padding:0 12px;
  border-radius:5px;
}
.password-toggle:hover {
  background:#e0f4ed;
}
.submit {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  padding:15px 18px;
  background:var(--green);
  color:white;
  border:0;
  border-radius:8px;
  font-size:13px;
  font-weight:600;
  min-height:50px;
  margin-top:32px;
  transition:background .15s;
}
.submit:hover {
  background:#0b4c3c;
}
.submit:disabled {
  opacity:.65;
  cursor:wait;
}
.submit span:last-child {
  font-size:21px;
  line-height:1;
}
.form-footnote {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:7px;
  font-size:10px;
  color:var(--muted);
  margin:24px 0 0;
}
.form-footnote svg {
  width:13px;
  height:13px;
}
.error {
  color:#953b2e;
  background:#faece6;
  border:1px solid #edd2c6;
  border-radius:8px;
  font-size:13px;
  line-height:1.6;
  padding:13px;
  margin-bottom:24px;
}
@media(max-width:760px) {
  .login-layout {
    display:block;
  }
  .intro {
    min-height:0;
    padding:24px;
    border:0;
    background:var(--paper);
  }
  .brand {
    font-size:23px;
  }
  .brand-mark {
    padding:8px;
    border-radius:11px;
  }
  .brand-mark svg {
    width:21px;
    height:21px;
  }
  .intro-copy,.intro-footer {
    display:none;
  }
  .sign-in {
    padding:46px 28px 64px;
    min-height:calc(100dvh - 85px);
    align-items:start;
  }
  .form-wrap {
    max-width:380px;
  }
  .form-wrap h2 {
    font-size:36px;
  }
  .form-wrap>.eyebrow {
    margin-top:12px;
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important;
  }
}

/* Keep sign-in as readable as the text-heavy journal. */
body { font-size: 17px; }
.intro-copy p { font-size: 17px; line-height: 1.75; }
.form-description { font-size: 16px; }
label,.submit { font-size: 15px; }
input { font-size: 17px; }
input::placeholder { font-size: 15px; }
.password-toggle,.intro-caption { font-size: 13px; }
.form-footnote { font-size: 12px; }
