.auth-page {
  --auth-ink: #071e2e;
  --auth-muted: #536976;
  --auth-line: #d9e2e6;
  --auth-violet: #5e55e8;
  background:
    radial-gradient(circle at 8% 8%, rgba(94, 85, 232, .09), transparent 31rem),
    radial-gradient(circle at 92% 86%, rgba(30, 190, 196, .1), transparent 34rem),
    #f6f8f9;
}

.auth-page .site-footer { margin-top: 0; }

.auth-shell {
  width: calc(100% - (var(--site-gutter) * 2));
  max-width: 1440px;
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 86px) 0;
  display: grid;
  place-items: center;
}

.auth-entry {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 520px);
  gap: clamp(48px, 8vw, 130px);
  align-items: center;
}

.auth-introduction { max-width: 720px; }

.auth-introduction h1 {
  max-width: none;
  margin: 0;
  color: var(--auth-ink);
  font-size: clamp(52px, 6vw, 88px);
  line-height: .96;
  letter-spacing: -.065em;
}

.auth-introduction > p {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--auth-muted);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.55;
}

.auth-assurances {
  display: grid;
  gap: 20px;
  margin-top: 42px;
}

.auth-assurances > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.auth-assurances > div > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--auth-violet), #2aa9b4);
  font-size: 14px;
  font-weight: 800;
}

.auth-assurances p { margin: 0; color: #637580; font-size: 15px; line-height: 1.45; }
.auth-assurances strong { display: block; margin-bottom: 2px; color: var(--auth-ink); font-size: 17px; }

.auth-card-wrap {
  position: relative;
  padding: 0;
  border-radius: 30px;
  background: transparent;
  box-shadow: none;
}

.auth-card {
  width: 100%;
  padding: clamp(34px, 4vw, 54px);
  border: 1px solid #d9e2e6;
  border-radius: 29px;
  background: #fff;
  box-shadow: none;
}

.auth-card header { margin-bottom: 28px; }
.auth-card h2 { max-width: none; margin: 0; color: var(--auth-ink); font-size: clamp(32px, 3vw, 46px); line-height: 1.05; letter-spacing: -.045em; }
.auth-card header p { max-width: none; margin: 12px 0 0; color: var(--auth-muted); font-size: 16px; line-height: 1.5; }

.auth-plan-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 20px;
  margin: -3px 0 24px;
  padding: 16px 17px;
  border: 1px solid #dcdaf8;
  border-radius: 15px;
  background: #f5f4ff;
}

.auth-plan-summary span { color: #3f397d; font-size: 14px; font-weight: 800; }
.auth-plan-summary strong { color: var(--auth-ink); font-size: 15px; }
.auth-plan-summary small { grid-column: 1 / -1; color: #697887; font-size: 12px; line-height: 1.45; }
.auth-plan-free { border-color: #d1e8e9; background: #f0f9f9; }

.google-auth-button {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid #bdc9cf;
  border-radius: 14px;
  color: #172d3a;
  background: #fff;
  box-shadow: none;
  font-size: 16px;
  font-weight: 750;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.google-auth-button svg { width: 23px; height: 23px; flex: 0 0 auto; }
.google-auth-button:hover,
.google-auth-button:focus-visible { border-color: #748b96; box-shadow: none; transform: none; }
.google-auth-button.is-disabled { cursor: not-allowed; opacity: .62; }

.auth-config-note,
.auth-privacy-note,
.auth-switch { max-width: none; }
.auth-config-note { margin: 12px 0 0; color: #8a5b14; font-size: 12px; text-align: center; }
.auth-privacy-note { margin: 17px 0 0; color: #6d7e87; font-size: 12px; line-height: 1.55; text-align: center; }
.auth-switch { margin: 27px 0 0; padding-top: 24px; border-top: 1px solid var(--auth-line); color: #4e6470; font-size: 14px; text-align: center; }
.auth-card a:not(.google-auth-button) { color: #4e46ce; font-weight: 800; }

@media (max-width: 960px) {
  .auth-entry { grid-template-columns: 1fr; gap: 50px; }
  .auth-introduction { max-width: 760px; }
  .auth-card-wrap { width: min(560px, 100%); }
}

@media (max-width: 640px) {
  .auth-shell { width: calc(100% - 28px); min-height: 0; padding: 34px 0 54px; }
  .auth-entry { gap: 38px; }
  .auth-introduction h1 { font-size: clamp(46px, 14vw, 64px); }
  .auth-introduction > p { margin-top: 22px; font-size: 17px; }
  .auth-assurances { margin-top: 32px; }
  .auth-card-wrap { border-radius: 23px; }
  .auth-card { padding: 30px 22px; border-radius: 22px; }
  .auth-card h2 { font-size: 34px; }
}
