:root {
  --ink: #152025;
  --paper: #f2f5f3;
  --chalk: #fbfdfc;
  --blue: #2962ff;
  --mint: #a7f3d0;
  --line: #cdd6d2;
  --muted: #5b6962;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, sans-serif;
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}
.auth-story {
  position: relative;
  padding: 42px clamp(32px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.auth-story:after {
  content: "“";
  position: absolute;
  right: -25px;
  bottom: -170px;
  font:
    500 520px Newsreader,
    serif;
  color: #23343a;
  line-height: 1;
}
.brand {
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
}
.brand span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--mint);
  color: var(--ink);
  font: 11px "DM Mono";
}
.auth-story > div,
.auth-story ol {
  z-index: 1;
}
.kicker {
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font: 500 11px "DM Mono";
  color: var(--mint);
}
h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.97;
  letter-spacing: -0.055em;
}
h1 em {
  color: var(--mint);
  font-family: Newsreader, serif;
  font-weight: 500;
}
.auth-story > div > p:last-child {
  max-width: 570px;
  color: #b6c4be;
  line-height: 1.7;
}
.auth-story ol {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 40px 0 0;
  padding: 0;
  font: 10px "DM Mono";
  text-transform: uppercase;
  color: #9eaea7;
}
.auth-story li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-story i {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1px solid #496057;
  border-radius: 50%;
  font-style: normal;
}
.auth-panel {
  width: min(100%, 600px);
  margin: auto;
  padding: 48px clamp(24px, 7vw, 90px);
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 52px;
}
.tabs button {
  flex: 1;
  padding: 15px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #78857f;
  font: 600 13px Manrope;
  cursor: pointer;
}
.tabs button[aria-selected="true"] {
  color: var(--ink);
  border-color: var(--blue);
}
form header {
  margin-bottom: 30px;
}
form h2 {
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: -0.04em;
}
form header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
label {
  display: block;
  margin: 18px 0;
  font: 500 11px "DM Mono";
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 13px;
  border: 1px solid var(--line);
  background: var(--chalk);
  color: var(--ink);
  font: 14px Manrope;
}
label small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font: 10px Manrope;
  text-transform: none;
}
.submit {
  width: 100%;
  margin-top: 10px;
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.submit:disabled {
  opacity: 0.6;
}
.form-message {
  min-height: 20px;
  color: #a63838;
  font-size: 12px;
}
.form-message.success {
  color: #18714e;
}
.legal {
  margin-top: 28px;
  color: #7b8982;
  font-size: 10px;
  line-height: 1.5;
}
:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-story {
    min-height: 410px;
    padding: 26px 24px 30px;
  }
  .auth-story:after {
    bottom: -120px;
    font-size: 360px;
  }
  .auth-story h1 {
    font-size: 43px;
  }
  .auth-story > div > p:last-child {
    font-size: 13px;
  }
  .auth-story ol {
    display: grid;
    gap: 10px;
    margin-top: 22px;
  }
  .auth-panel {
    padding: 34px 24px;
  }
  .tabs {
    margin-bottom: 34px;
  }
}
