:root {
  --ink: #0e0f0c;
  --green: #163300;
  --lime: #9fe870;
  --line: #d7d9d4;
  --muted: #454745;
}

@font-face {
  font-family: "Libre Caslon Condensed";
  src: url("https://framerusercontent.com/assets/ZN9aiTAaNCkpwyJ0m3I9kg2Yyoc.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.auth-header {
  height: 88px;
  border-top: 4px solid #000;
  border-bottom: 1px solid #e7e7e7;
}

.auth-header__inner {
  width: min(1230px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  text-decoration: none;
  font-family: "Libre Caslon Condensed", Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: cover;
}

.close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
}

.close svg { width: 27px; height: 27px; }

.auth-main {
  width: min(500px, calc(100% - 40px));
  margin: 34px auto 70px;
}

.auth-title {
  margin: 0;
  text-align: center;
  font-size: 30px;
  line-height: 1.22;
  letter-spacing: -0.7px;
}

.auth-switch {
  margin: 18px 0 28px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}

a {
  color: var(--green);
  font-weight: 700;
  text-underline-offset: 4px;
}

.field { margin: 0 0 26px; }

.field label {
  display: block;
  margin: 0 0 7px;
  color: #414342;
  font-size: 15px;
  font-weight: 700;
}

.input-wrap { position: relative; }

.field input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid #7d807d;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: box-shadow .15s, border-color .15s;
}

.field input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 2px var(--green);
}

.password-input { padding-right: 55px !important; }

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-size: 19px;
}

.primary {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 28px;
  background: var(--lime);
  color: #173300;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.primary:hover { background: #8ee35b; }

.help-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 16px;
}

.alternate-label {
  margin: 31px 0 18px;
  color: var(--muted);
  font-size: 16px;
}

.social-row {
  display: grid;
  gap: 12px;
}

.secondary {
  width: 100%;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  color: #111;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.secondary:hover { background: #fafafa; }

.secondary svg {
  display: block;
  width: 22px;
  height: 22px;
  flex: none;
}

.passkey {
  width: 100%;
  margin-top: 16px;
  font-size: 16px;
}

.passkey svg {
  display: inline-block;
  width: 19px;
  height: 19px;
  margin: 0 8px 0 0;
  vertical-align: -4px;
}

.privacy {
  margin: 26px auto 0;
  color: #656765;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.status {
  min-height: 20px;
  margin-top: 12px;
  text-align: center;
  color: var(--green);
  font-size: 14px;
}

@media (max-width: 600px) {
  .auth-header { height: 72px; }
  .auth-header__inner { width: calc(100% - 28px); }
  .auth-main { margin-top: 28px; }
  .auth-title { font-size: 27px; }
  .social-row { gap: 8px; }
}
