* {
  box-sizing: border-box;
}

body {
  margin: 0;
  height: 100vh;
  overflow: hidden;
  font-family: "Outfit", sans-serif;
  color: #202923;
  background: #f7f8f4;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.signin-header {
  height: 72px;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 1px solid #e5e8df;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1px;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.back-link {
  font-size: 14px;
  font-weight: 500;
}

.back-link:hover {
  color: #246346;
}

.signin-layout {
  display: grid;
  grid-template-columns: 44% 56%;
  height: calc(100vh - 72px);
  min-height: 0;
}

.benefits {
  padding: 24px 11%;
  display: flex;
  align-items: center;
  color: #ffffff;
  background: linear-gradient(160deg, rgb(17 45 32 / 88%), rgb(17 37 29 / 72%)), url("background.png") center / cover;
}

.benefits-content {
  max-width: 520px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #246346;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
}

.benefits .eyebrow {
  color: #c3dfcb;
}

.benefits h1 {
  margin: 0 0 20px;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.1;
}

.intro {
  margin: 0;
  color: #d9e4db;
  font-size: 17px;
  line-height: 1.6;
}

.benefits ul {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 16px;
  line-height: 1.5;
}

.benefits li::before {
  content: "✓";
  color: #b9dfc6;
  font-weight: 600;
}

.benefits-footer {
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgb(255 255 255 / 20%);
  color: #d9e4db;
  font-size: 14px;
}

.login-area {
  display: grid;
  place-items: center;
  padding: 16px 40px;
  background-image: radial-gradient(#dce3da 1px, transparent 1px);
  background-size: 24px 24px;
}

.login-card {
  width: 100%;
  max-width: 470px;
  padding: 22px 32px;
  background: #ffffff;
  border: 1px solid #e4e8df;
  border-radius: 24px;
  box-shadow: 0 16px 50px rgb(32 41 35 / 6%);
}

.login-card h2 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1.2px;
}

.login-subtitle {
  margin: 0 0 18px;
  color: #747b73;
  font-size: 15px;
  line-height: 1.5;
}

.account-type {
  margin: 0 0 18px;
  padding: 0;
  border: none;
}

.account-type legend,
.field-label {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
}

.role-options {
  display: flex;
  gap: 10px;
}

.role-options label {
  position: relative;
  flex: 1;
  cursor: pointer;
}

.role-options input {
  position: absolute;
  opacity: 0;
}

.role-options span {
  display: block;
  padding: 12px 14px;
  border: 1px solid #dfe4dc;
  border-radius: 30px;
  text-align: center;
  font-size: 14px;
}

.role-options input:checked + span {
  border-color: #246346;
  background: #edf5ee;
  color: #246346;
}

.role-options input:focus-visible + span {
  outline: 3px solid #a16b24;
  outline-offset: 3px;
}

.field-label {
  display: block;
}

.phone-field {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #dfe4dc;
  border-radius: 12px;
}

.phone-field > span {
  padding-right: 14px;
  border-right: 1px solid #dfe4dc;
  font-size: 15px;
}

.phone-field input {
  width: 100%;
  min-width: 0;
  margin-left: 14px;
  padding: 4px 0;
  border: none;
  background: transparent;
  color: #202923;
  font-size: 14px;
}

.phone-field:focus-within {
  border-color: #246346;
  box-shadow: 0 0 0 3px #edf5ee;
}

.field-hint {
  margin: 6px 0 14px;
  color: #747b73;
  font-size: 12px;
  line-height: 1.5;
}

.continue-button,
.google-button {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.continue-button {
  border: none;
  background: #246346;
  color: #ffffff;
}

.continue-button:hover {
  background: #194b34;
}

.help {
  margin-top: 14px;
  color: #525b54;
  font-size: 13px;
  line-height: 1.6;
}

.help summary {
  width: fit-content;
  margin-left: auto;
  cursor: pointer;
}

.help p {
  padding: 12px;
  border-radius: 10px;
  background: #f7f8f4;
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
  color: #747b73;
  font-size: 12px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e8df;
}

.google-button {
  border: 1px solid #dfe4dc;
  background: #ffffff;
  color: #525b54;
}

.google-button:hover {
  background: #f2f5ef;
}

.signup-row {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e8df;
  text-align: center;
  color: #747b73;
  font-size: 14px;
}

.signup-row button {
  padding: 0 4px;
  border: none;
  background: transparent;
  color: #246346;
  font-weight: 600;
}

.signup-row button:hover {
  text-decoration: underline;
}

.phone-field input:focus-visible {
  outline: none;
}

.signup-field {
  margin-bottom: 18px;
}

.signup-field .field-label {
  margin-bottom: 8px;
}

.signup-input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #dfe4dc;
  border-radius: 12px;
  background: #ffffff;
  color: #202923;
  font-size: 14px;
  outline: none;
}

.signup-input:focus {
  border-color: #246346;
  box-shadow: 0 0 0 3px #edf5ee;
}

.signup-row a {
  padding: 0 4px;
  color: #246346;
  font-weight: 600;
}

.signup-row a:hover {
  text-decoration: underline;
}