:root {
  --ink: #17211d;
  --muted: #6d7772;
  --green: #176b52;
  --green-dark: #0e4f3c;
  --paper: #f5f7f5;
  --line: #dce3df;
  --danger: #a53b36;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, .9fr) 1.1fr; }
.auth-story {
  padding: clamp(34px, 6vw, 76px);
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(134,214,181,.18), transparent 34%),
    linear-gradient(145deg, #13241e, #0b1813);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-story.setup-story { background: linear-gradient(145deg, #1b372d, #0e2019); }
.brand-mark {
  width: 48px; height: 48px; display: grid; place-items: center;
  color: var(--ink); background: #b8e1d0; border-radius: 14px;
  font-size: 14px; font-weight: 900; letter-spacing: .06em;
}
.eyebrow { margin: 0 0 10px; color: #65ba98; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.auth-story h1 { max-width: 550px; margin: 0 0 20px; font-family: Georgia, serif; font-size: clamp(42px, 6vw, 74px); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.auth-story p { max-width: 520px; margin: 0; color: #b9c9c2; font-size: 16px; line-height: 1.7; }
.auth-story small { color: #789086; }
.auth-panel { padding: 40px; display: grid; place-items: center; }
.auth-panel form { width: min(430px, 100%); padding: 42px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 70px rgba(20,39,31,.09); }
.auth-panel h2 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 34px; font-weight: 500; letter-spacing: -.025em; }
.intro { margin: 0 0 30px; color: var(--muted); font-size: 13px; line-height: 1.55; }
label { display: grid; gap: 8px; margin-bottom: 17px; }
label span { font-size: 12px; font-weight: 750; }
input {
  width: 100%; padding: 13px 14px; color: var(--ink); background: #fbfcfb;
  border: 1px solid var(--line); border-radius: 11px; outline: none; font: inherit;
}
input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,107,82,.09); }
button {
  width: 100%; min-height: 47px; margin-top: 8px; border: 0; border-radius: 11px;
  color: #fff; background: var(--green); font: inherit; font-weight: 800; cursor: pointer;
}
button:hover { background: var(--green-dark); }
button:disabled { opacity: .65; cursor: wait; }
.form-error { min-height: 20px; margin: 14px 0 0; color: var(--danger); font-size: 12px; text-align: center; }
@media (max-width: 760px) {
  .auth-shell { display: block; }
  .auth-story { min-height: 280px; padding: 30px; gap: 45px; }
  .auth-story h1 { font-size: 43px; }
  .auth-story small { display: none; }
  .auth-panel { padding: 24px 16px 50px; }
  .auth-panel form { margin-top: -54px; padding: 28px; position: relative; }
}
