/* Landing page: a hero with the sign-in card. */

/* The hero grows to fill the viewport between the header and the footer. */
main { display: flex; flex-direction: column; }

.hero {
  position: relative;
  overflow: hidden;
  flex: 1 0 auto;
  display: grid;
  align-content: center;
  padding: 96px 0;
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to));
  color: var(--hero-ink);
}
/* Decorative rings, as in the reference. */
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: 0 0 0 60px rgb(255 255 255 / 0.03), 0 0 0 140px rgb(255 255 255 / 0.02);
  pointer-events: none;
}

.hero-grid {
  width: 100%; /* a grid item with auto margins would otherwise shrink to its content */
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hero .eyebrow { color: var(--hero-accent); }
.hero h1 { max-width: 14ch; }
.hero-lead { font-size: 1.2rem; max-width: 560px; opacity: 0.88; }
.hero :focus-visible { outline-color: var(--hero-accent); }

.signin-card {
  max-width: 440px;
  width: 100%;
  justify-self: end;
  padding: 32px;
  color: var(--ink);
  border: 0;
  box-shadow: var(--shadow-lg);
}
.signin-card :focus-visible { outline-color: var(--focus); }
.signin-card h2 { font-size: 1.7rem; }
.signin-card .btn { margin-top: 24px; }
.signin-card .fine-print {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
}
.signin-card .fine-print svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }

@media (max-width: 860px) {
  .hero { padding: 56px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { max-width: none; }
  .signin-card { justify-self: stretch; max-width: none; padding: 26px; }
}
