/* Authentication surfaces share the SiteKits shell but keep their own
   focused layout so browser defaults can never leak into the form. */
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 10% 8%, #d9f3e5 0, transparent 34%),
    radial-gradient(circle at 92% 90%, #d8efe5 0, transparent 32%),
    #f4f8f5;
}

.auth-card {
  width: min(100%, 31rem);
  padding: clamp(1.75rem, 5vw, 3rem);
  background: #fff;
  border: 1px solid #dce8e1;
  border-radius: 20px;
  box-shadow: 0 24px 70px #17382b1a, 0 3px 12px #17382b0b;
}

.auth-brand-row {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  margin-bottom: 2.6rem;
}

.auth-brand-row .brand.dark,
.auth-card > .brand.dark {
  color: var(--brand-ink, #142b25);
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -.08em;
}

.auth-brand-row .brand.dark span,
.auth-card > .brand.dark span {
  color: var(--brand-primary, #087f67);
}

.auth-lockup {
  color: #71827a;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.auth-heading {
  margin-bottom: 1.8rem;
}

.auth-heading h1,
.auth-card > h1 {
  margin: 0;
  color: var(--ink, #17211d);
  font-size: clamp(2rem, 5vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.auth-card > .eyebrow {
  margin-top: 2.5rem;
}

.auth-intro,
.auth-card > p:not(.eyebrow):not(.auth-error) {
  margin: .75rem 0 0;
  color: #66776e;
  font-size: .98rem;
  line-height: 1.6;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-form label {
  display: grid;
  gap: .45rem;
  color: #263b32;
  font-size: .85rem;
  font-weight: 700;
}

.auth-form label small {
  color: #71827a;
  font-size: .76rem;
  font-weight: 500;
}

.auth-form input {
  width: 100%;
  min-height: 3rem;
  padding: .78rem .85rem;
  border: 1px solid #cbd9d1;
  border-radius: 9px;
  background: #fff;
  color: var(--ink, #17211d);
  font: 400 .95rem/1.3 'DM Sans', sans-serif;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.auth-form input::placeholder {
  color: #9aa9a2;
}

.auth-form input:hover {
  border-color: #9db6a9;
}

.auth-form input:focus {
  outline: 0;
  border-color: var(--brand-primary, #087f67);
  background: #fcfffd;
  box-shadow: 0 0 0 3px #bfe9d8;
}

.auth-submit {
  min-height: 3rem;
  margin-top: .4rem;
  border-radius: 9px;
  background: var(--brand-primary, #087f67);
  font-size: .95rem;
  box-shadow: 0 8px 18px #087f6726;
}

.auth-submit:hover {
  background: var(--brand-deep, #0a5c4b);
}

.auth-submit:focus-visible {
  outline: 3px solid #bfe9d8;
  outline-offset: 2px;
}

.auth-error {
  margin: 0 0 1.2rem;
  padding: .85rem 1rem;
  border: 1px solid #efb9b4;
  border-radius: 9px;
  background: #fff4f2;
  color: #9c2d26;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 560px) {
  .auth-page {
    padding: 1rem;
    place-items: start center;
  }

  .auth-card {
    width: 100%;
    margin-top: 5vh;
    padding: 1.6rem 1.25rem;
    border-radius: 16px;
  }

  .auth-brand-row {
    margin-bottom: 2.1rem;
  }
}
