.flow-page {
  min-height: 100vh;
  background: radial-gradient(ellipse at 76% 15%, #112953 0, transparent 42rem), #060e1d;
}
.flow-page :is(.site-header, .account-header) {
  background: #071225;
  border-bottom: 1px solid #234061;
}
.flow-page :is(.site-header, .account-header) .brand-wordmark {
  width: clamp(7rem, 17vw, 10.5rem);
  aspect-ratio: 4.9;
  background: url("assets/landing-wordmark.webp") center 46% / 117% auto no-repeat;
  mix-blend-mode: screen;
}
.flow-page-main {
  display: grid;
  place-items: center;
  width: calc(100% - 2 * clamp(1rem, 4vw, 3rem));
  max-width: 69rem;
  margin-inline: auto;
  padding: clamp(1.4rem, 5vw, 4rem) 0;
  min-height: calc(100svh - 7rem);
}
.flow-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  min-height: 31rem;
  overflow: hidden;
  border: 1px solid #315074;
  border-radius: clamp(1.1rem, 2vw, 1.8rem);
  background: #0c182b;
  box-shadow: 0 26px 85px #02060f88, inset 0 1px #c5e5ff12;
}
.flow-art {
  min-width: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 44%, #132f5d, #071324 76%);
}
.flow-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #060e202b, transparent 43%, #06102419),
    url("assets/account-access-art.webp") center 48% / cover no-repeat;
}
.flow-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 77%, #0c182b 100%);
  pointer-events: none;
}
.flow-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(1.8rem, 4.8vw, 4rem);
  background: radial-gradient(ellipse at 100% 0, #1839625e, transparent 65%);
  animation: flow-panel-in .38s ease-out both;
}
.flow-panel h1 {
  max-width: none;
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -.052em;
}
.flow-panel .section-note { margin-top: .75rem; }
.auth-panel #auth-status:empty { display: none; }
.auth-panel .auth-form {
  width: 100%;
  gap: .9rem;
  margin-top: 1.35rem;
}
.auth-panel .auth-form :is(input:not([type="checkbox"]), select) {
  width: 100%;
  min-height: 2.9rem;
  background: #081426;
  border-color: #375271;
  border-radius: .65rem;
}
.auth-panel .auth-form label { color: #e8f1ff; font-size: .92rem; }
.auth-panel .auth-form .check-label { gap: .6rem; line-height: 1.5; }
.auth-panel input[type="checkbox"] { accent-color: #75bcff; flex: none; }
.auth-panel .auth-form .button { justify-self: stretch; }
.flow-panel .button-primary {
  min-height: 2.8rem;
  background: linear-gradient(115deg, #1374e8, #144de0);
  border: 1px solid #4996ff;
  color: #fff;
  box-shadow: 0 .55rem 1.25rem #031c5780;
}
.flow-panel .button-primary:hover { background: linear-gradient(115deg, #176de3, #235ae7); }
.auth-alternate { margin-top: 1rem; }
.confirmation-card { --status-color: var(--accent); }
.confirmation-card[data-state="success"] { --status-color: #7be5bb; }
#check-email-title:focus { outline: none; }
.confirmation-icon {
  display: grid;
  place-items: center;
  width: 3.7rem;
  aspect-ratio: 1;
  margin-bottom: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--status-color) 45%, transparent);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--status-color) 12%, transparent);
  color: var(--status-color);
  font: 600 1.8rem/1 system-ui, sans-serif;
}
.confirmation-actions { display: grid; justify-items: start; gap: 1rem; margin-top: 1.55rem; }
.confirmation-actions a:not(.button) { color: var(--muted); text-underline-offset: .2em; }
.account-flow #account-status:empty { display: none; }
.account-flow #profile { margin-top: 1.5rem; width: 100%; }
.account-flow #profile h2 { font-size: 1.15rem; font-weight: 600; }
.account-flow .account-fields { grid-template-columns: minmax(0, 1fr); }
.account-flow .account-fields > div { background: #0b1829; border-color: #2a4663; border-radius: .65rem; }
.account-flow .account-fields .profile-uid { background: #102b48; border-color: #396997; }
.profile-uid dd { color: #a8dbff; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .065em; }

@keyframes flow-panel-in {
  from { opacity: .75; transform: translateY(.3rem); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 45rem) {
  .flow-page-main { align-items: start; min-height: 0; }
  .flow-shell { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .flow-art { height: clamp(8rem, 27vw, 12rem); }
  .flow-art::before { background-position: center, center 47%; }
  .flow-art::after { background: linear-gradient(180deg, transparent 60%, #0c182b 100%); }
  .flow-panel { padding: clamp(1.15rem, 5vw, 2.3rem); }
  .confirmation-actions { width: 100%; }
  .confirmation-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-panel { animation: none; }
}
