/* Login / sign-up / link confirmation (Login.dc.html) */
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  background: var(--subtle);
}
.auth__side { display: flex; flex-direction: column; padding: 28px clamp(24px, 5vw, 64px); }
.auth__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth__main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 0; }
.auth__box { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 24px; }
.auth__head { display: flex; flex-direction: column; gap: 8px; }
.auth__head h1 { font-size: 36px; line-height: 1.08; letter-spacing: -.015em; }
.auth__head p { font-size: 15px; line-height: 1.5; color: var(--text-3); }
.auth__form { display: flex; flex-direction: column; gap: 14px; }
.auth__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.auth__submit { height: 50px; font-size: 15px; }
.auth__terms { font-size: 12.5px; line-height: 1.5; color: var(--muted); text-align: center; }
.auth__switch {
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-3);
  text-align: center;
}
.auth__switch a { font-weight: 600; }
.auth__sent { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r-14); }
.auth__sent strong { font-size: 15px; }
.auth__back { align-self: flex-start; font-size: 14px; color: var(--text-3); }
.field__optional { font-weight: 400; color: var(--muted); }
.auth__code { font: 600 22px var(--font-mono); letter-spacing: .2em; }
.auth__code::placeholder { color: var(--muted); opacity: .5; }

.auth__photo {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(to top, rgba(14, 22, 28, .85), rgba(14, 22, 28, 0) 60%), url("/img/landing/villa-exterior.webp") center / cover no-repeat #1E2E39;
}
.auth__quote {
  position: absolute;
  left: clamp(24px, 5vw, 56px);
  right: clamp(24px, 5vw, 56px);
  bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #FFFFFF;
}
.auth__quote p { font: 500 clamp(24px, 2.6vw, 32px)/1.25 var(--font-serif); letter-spacing: -.01em; text-wrap: pretty; }

@media (max-width: 800px) {
  .auth { grid-template-columns: 1fr; }
  .auth__photo { display: none; }
  .auth__side { min-height: 100vh; padding: 20px 16px; }
}
@media (max-width: 420px) {
  .auth__row { grid-template-columns: 1fr; }
}

/* Plan selection */
.plans-page { min-height: 100vh; background: var(--page); }
.plans-top { background: var(--card); border-bottom: 1px solid var(--border); }
.plans-top__inner {
  max-width: 1120px;
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.plans-top__right { display: flex; align-items: center; gap: 16px; font-size: 13.5px; color: var(--text-3); }
.plans-main { max-width: 1120px; margin: 0 auto; padding: 48px 24px 80px; display: flex; flex-direction: column; gap: 28px; }
.plans-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.plans-head__text { display: flex; flex-direction: column; gap: 8px; max-width: 620px; }
.plans-head p { font-size: 15px; line-height: 1.5; color: var(--text-3); }
.plans-note { font-size: 13px; color: var(--text-3); }

@media (max-width: 560px) {
  .plans-top__inner { padding: 0 16px; }
  .plans-top__email { display: none; }
  .plans-main { padding: 32px 16px 64px; }
}
