/* The apex's temporary page (D-126): the sign-in's brand ground and card, light and dark, no script. */

:root {
  --background: #f5fafe;
  --foreground: #191919;
  --card: #ffffff;
  --muted-foreground: #6d6b6b;
  --primary: #206bb3;
  --primary-hover: #1a5a99;
  --primary-foreground: #ffffff;
  --border: #e8e8e8;
  --veil: transparent;
  --ground-filter: none;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #191919;
    --foreground: #ffffff;
    --card: #222222;
    --muted-foreground: #a3a1a1;
    --primary: #2a79c4;
    --primary-hover: #206bb3;
    --border: #333333;
    /* The pale still turned dark rather than replaced, the ribbons kept blue, as on sign-in. */
    --ground-filter: invert(1) hue-rotate(180deg);
    --veil: rgb(25 25 25 / 0.4);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

.ground {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 24px 16px;
  overflow: hidden;
}

.ground::before,
.ground::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ground::before {
  background: url("flow-wide.b9ba2e65551d.jpg") left center / cover no-repeat;
  filter: var(--ground-filter);
}

.ground::after {
  background: var(--veil);
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 34rem;
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
}

.logo {
  display: block;
  height: 40px;
  width: auto;
}

h1 {
  margin: 24px 0 8px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

.lead {
  margin: 0 0 28px;
  color: var(--muted-foreground);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 500;
  text-decoration: none;
}

.button:hover {
  background: var(--primary-hover);
}

.link {
  color: var(--primary);
  text-underline-offset: 4px;
}

.button:focus-visible,
.link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .ground::before {
    background-position: left center;
  }

  .button {
    width: 100%;
  }

  .actions {
    justify-content: center;
  }
}
