.auth-skip {
  position: absolute;
  left: -999px;
}
.auth-skip:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  background: var(--copper);
  color: #fff;
  padding: 8px 12px;
}

.auth-bar {
  justify-content: space-between;
}

.auth-bar .header-cta a:not(.btn) {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.auth-main {
  width: min(32rem, calc(100% - 2rem));
  padding: 2.2rem 0 4rem;
}

.auth-card-page {
  background: var(--paper-50);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 1.4rem 1.35rem 1.6rem;
}

.auth-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

.auth-main h1 {
  margin: 0 0 0.4rem;
  font-size: 1.85rem;
}

.auth-sub {
  margin: 0 0 1.1rem;
  color: var(--ink-500);
  font-size: 0.98rem;
}

.auth-sent {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
}

.auth-sent a {
  font-size: 0.88rem;
  font-weight: 600;
}

.auth-steps {
  display: flex;
  gap: 0.45rem;
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.auth-steps span.is-on {
  color: var(--ink);
  font-weight: 650;
}

.auth-errors {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0.7rem 0.85rem;
  background: #f3e4d8;
  border-left: 3px solid var(--copper);
  color: #7a2e12;
  font-size: 0.92rem;
}

.auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-decoration: none;
  font-weight: 600;
}

.auth-google:hover {
  border-color: var(--copper);
  color: var(--ink);
}

.auth-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.7rem;
  align-items: center;
  margin: 1rem 0 0.85rem;
  color: var(--ink-500);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-or::before,
.auth-or::after {
  content: "";
  height: 1px;
  background: var(--rule);
}

.auth-label {
  display: block;
  margin: 0.85rem 0 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.auth-input {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.auth-input:focus {
  outline: 2px solid var(--copper);
  border-color: var(--copper);
}

.auth-hint {
  margin: 0.3rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-500);
}

.auth-pick {
  display: grid;
  gap: 0.55rem;
}

.auth-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.auth-tile {
  position: relative;
  display: grid;
  grid-template-columns: 1.05rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.55rem;
  row-gap: 0.08rem;
  align-items: start;
  min-height: 0;
  padding: 0.62rem 0.7rem 0.58rem;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.auth-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-tile-mark {
  grid-row: 1 / span 2;
  align-self: center;
  position: relative;
  top: auto;
  right: auto;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  border: 1.5px solid var(--rule);
  background: #fff;
}

.auth-tile strong {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 650;
  font-style: normal;
  line-height: 1.2;
}

.auth-tile em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--ink-500);
  line-height: 1.25;
}

.auth-tile:hover {
  border-color: color-mix(in srgb, var(--copper) 55%, var(--rule));
}

.auth-tile:has(input:checked) {
  border-color: var(--copper);
  background: color-mix(in srgb, var(--copper) 9%, #fff);
  box-shadow: 0 0 0 1px var(--copper);
}

.auth-tile:has(input:checked) .auth-tile-mark {
  background: var(--copper);
  border-color: var(--copper);
}

.auth-tile:has(input:checked) .auth-tile-mark::after {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.14rem;
  width: 0.26rem;
  height: 0.46rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@media (max-width: 520px) {
  .auth-tiles { grid-template-columns: 1fr 1fr; }
}

.auth-choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.75rem;
  align-items: start;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.auth-choice:has(input:checked) {
  border-color: var(--copper);
  box-shadow: 0 0 0 1px var(--copper);
  background: #fffaf4;
}

.auth-choice input {
  grid-row: 1 / span 2;
  margin-top: 0.3rem;
  accent-color: var(--copper);
}

.auth-choice strong { font-size: 0.98rem; }
.auth-choice span {
  font-size: 0.82rem;
  color: var(--ink-500);
}

.auth-go,
.auth-ghost {
  margin-top: 1.05rem;
  width: 100%;
  padding: 0.82rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.auth-go {
  border: 0;
  background: var(--copper);
  color: #fff;
}

.auth-go:hover { background: #a94c1e; }

.auth-ghost {
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.auth-foot {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-500);
}

.auth-foot a,
.auth-legal a {
  color: var(--copper);
}

.auth-legal {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-500);
}

.is-hidden { display: none !important; }

@media (max-width: 640px) {
  .auth-actions { grid-template-columns: 1fr; }
}
