@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("/fonts/lora-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --navy: #102a56;
  --navy-deep: #0b1f43;
  --lime: #c9ffad;
  --violet: #625bf6;
  --lavender: #f1efff;
  --ink: #172033;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  color: #fff;
  background:
    radial-gradient(circle at 14% 82%, rgba(111,99,255,.23), transparent 30%),
    radial-gradient(circle at 88% 14%, rgba(201,255,173,.13), transparent 26%),
    var(--navy-deep);
  font-family: "DM Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #5145cd; outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: -70px;
  left: 18px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

.skip-link:focus { top: 18px; }

.signup-header,
.signup-footer {
  width: min(calc(100% - 40px), 1180px);
  margin-inline: auto;
}

.signup-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.signup-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.6px;
}

.signup-brand img { display: block; }

.back-link {
  color: #c7d2e3;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

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

.signup-main {
  width: min(calc(100% - 40px), 1180px);
  min-height: calc(100vh - 174px);
  display: grid;
  align-items: center;
  margin-inline: auto;
  padding: 52px 0 72px;
}

.signup-panel {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 92px;
  align-items: center;
}

.signup-kicker {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
}

.signup-kicker strong { color: inherit; font: inherit; }

.auth-card {
  padding: 48px 46px 44px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 30px;
  color: var(--ink);
  background: linear-gradient(145deg, #fff, #f5f2ff 72%);
  box-shadow: 0 34px 90px rgba(0,0,0,.28);
}

.auth-card h1 {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(34px,3.6vw,46px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--ink);
}

.auth-pending > p {
  margin: 20px 0 0;
  color: #697188;
  font-size: 15px;
  line-height: 1.62;
}

.google-button {
  position: relative;
  width: 100%;
  min-height: 58px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #d9dce5;
  border-radius: 14px;
  color: #26334b;
  background: #fff;
  box-shadow: 0 10px 24px rgba(28,39,67,.09);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.google-button:hover {
  transform: translateY(-2px);
  border-color: #aaa5ff;
  box-shadow: 0 14px 30px rgba(61,54,153,.13);
}

.google-button:disabled { cursor: default; transform: none; }
.google-button[aria-busy="true"] { opacity: .72; cursor: default; }

.auth-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: #a03e45;
  font-size: 13px;
  line-height: 1.5;
}

.auth-status[data-kind="progress"] { color: #697188; }

.member-chip {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
}

.member-chip > img,
.member-chip > span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.member-chip > img { display: block; object-fit: cover; }

.member-chip > span {
  display: grid;
  place-items: center;
  color: #4e48b0;
  background: #dedaff;
}

.member-chip strong { font-size: 13px; }

.signed-in-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  color: #5c6479;
  font-size: 15px;
  line-height: 1.55;
}

.signed-in-spinner {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 2px solid #d9d5f2;
  border-top-color: #625bf6;
  border-radius: 50%;
  animation: signin-spin .8s linear infinite;
}

.signout-button {
  min-height: 44px;
  margin: 20px 0 -12px;
  padding: 0;
  border: 0;
  color: #838a9c;
  background: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .18s ease;
}

.signout-button:hover { color: #3d3699; }
.signout-button:focus-visible { outline: 3px solid #5145cd; outline-offset: 2px; }

.signup-footer {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #91a1b6;
  font-size: 12px;
}

[hidden] { display: none !important; }

@keyframes signin-spin { to { transform: rotate(360deg); } }

@media (max-width: 920px) {
  .signup-main { padding-top: 34px; }
  .signup-panel { grid-template-columns: 1fr; gap: 44px; }
  .auth-card { width: min(100%, 620px); margin-inline: auto; }
}

@media (max-width: 560px) {
  .signup-header,
  .signup-footer,
  .signup-main { width: min(calc(100% - 28px), 1180px); }
  .signup-header { min-height: 76px; }
  .signup-brand { font-size: 18px; }
  .signup-brand img { width: 36px; height: 36px; }
  .back-link { font-size: 11px; }
  .signup-main { min-height: 0; padding: 34px 0 56px; }
  .auth-card { padding: 34px 24px 30px; border-radius: 23px; }
  .auth-card h1 { font-size: 34px; letter-spacing: -1.1px; }
  .signup-footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Signed in: this card is a doorway held open for a second, not a headline.
   The member chip and "Opening your dashboard." carry the state. */
.auth-card.is-member h1 {
  color: #5c6479;
  font-family: "DM Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}

@media (max-width: 560px) {
  .auth-card.is-member h1 { font-size: 15px; letter-spacing: 0; }
}

/* Round 3. The fact that decides whether anyone goes further was a 14px grey
   footnote floating in half a screen of empty navy, beside a column that held
   three short lines and nothing else. The card is now the only object on the
   field and it carries the price. */
.signup-panel { display: block; }
.auth-card { width: min(100%, 560px); margin-inline: auto; }
.auth-card .signup-kicker { margin: 0 0 14px; color: #4e48b0; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.auth-card .signup-price { margin: 18px 0 0; color: #4a5266; font-size: 17px; line-height: 1.5; }
.auth-card .signup-price strong { color: var(--ink); font-weight: 800; }
.auth-card .signup-release { margin: 6px 0 0; color: #555e72; font-size: 14px; line-height: 1.55; }
.auth-card .auth-pending > p { margin-top: 26px; }

/* Signed in: a doorway, not a destination. The card chrome, the headline and
   the facts written for someone still deciding all come off, leaving the
   member, one line and the spinner. */
.auth-card.is-member {
  padding: 30px 24px;
  border-color: transparent;
  background: none;
  box-shadow: none;
  text-align: center;
}
.auth-card.is-member h1,
.auth-card.is-member .signup-kicker { display: none; }
.auth-card.is-member .member-chip { margin-top: 0; justify-content: center; }
.auth-card.is-member .member-chip strong { color: #fff; font-size: 15px; }
.auth-card.is-member .signed-in-note { justify-content: center; margin-top: 16px; color: #c9d5e5; font-size: 15px; }
.auth-card.is-member .signed-in-spinner { border-color: rgba(255,255,255,.28); border-top-color: var(--lime); }
.auth-card.is-member .signout-button { margin: 26px 0 0; color: #8494ab; font-size: 12px; }
.auth-card.is-member .signout-button:hover { color: #d9e3f1; }

@media (max-width: 560px) {
  .auth-card .signup-price { font-size: 16px; }
}
