* {
  box-sizing: border-box;
}

:root {
  --navy: #1B2A41;
  --navy-light: #2d3f5c;
  --teal: #0d9488;
  --teal-bright: #14b8a6;
  --orange: #ea580c;
  --orange-bright: #f97316;
  --yellow: #ca8a04;
  --yellow-bright: #eab308;
  --page: #FBF6E9;
  --hero: #FBF6E9;
  --surface: #fcfcfa;
  --ink: #1B2A41;
  --ink-muted: #4f5967;
  --border: #1B2A41;
  --logo-filter: none;
  --mk-edge: var(--navy);
  --mk-node: var(--navy);
  --mk-syn: var(--navy);
  --mk-word: var(--navy);
  --eyebrow: var(--orange);
  --hl-shadow: var(--navy);
  --band: #EFD9C9;
  --band-ink: #1B2A41;
  --band-card: #fcfcfa;
  --step: #f97316;
  --step-ink: #ffffff;
  --cta: #1B2A41;
  --frame-fill: #fcfcfa;
  --hdr-bg: rgba(251, 246, 233, .82);
}

[data-theme="dark"] {
  --page: #1B2A41;
  --hero: #1B2A41;
  --surface: #22344D;
  --ink: #ffffff;
  --ink-muted: #a7b8cf;
  --border: #ffffff;
  --logo-filter: brightness(0) invert(1);
  --mk-edge: var(--teal-bright);
  --mk-node: #fff;
  --mk-syn: var(--orange);
  --mk-word: #fff;
  --eyebrow: var(--yellow-bright);
  --hl-shadow: var(--teal-bright);
  --band: #2A1E18;
  --band-ink: #ffffff;
  --band-card: #22344D;
  --step: #f97316;
  --step-ink: #ffffff;
  --cta: #22344D;
  --frame-fill: #22344D;
  --hdr-bg: rgba(27, 42, 65, .82);
}

.editorial-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 44px;
}

.siteheader {
  position: sticky;
  top: 0;
  z-index: 60;
  background: transparent;
  transition: transform .24s ease, background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 2px solid transparent;
  will-change: transform;
}

.game-flow-page .siteheader {
  position: static;
}

.siteheader.nav-hidden {
  transform: translateY(calc(-100% - 2px));
}

.game-flow-page .siteheader.nav-hidden {
  transform: none;
}

.siteheader.scrolled {
  background: var(--hdr-bg);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 6px 24px rgba(15, 26, 38, .08);
}

.siteheader .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  transition: none;
}

.siteheader.scrolled .nav {
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.cmark {
  width: 32px;
  height: 32px;
  display: block;
  flex: none;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}

.brand:hover .cmark {
  transform: rotate(-12deg) scale(1.08);
}

.cmark .ed {
  stroke: var(--mk-edge);
  stroke-width: 7.5;
  stroke-linecap: round;
  fill: none;
}

.cmark .nd {
  fill: var(--mk-node);
}

.cmark .sy {
  fill: var(--mk-syn);
}

.brand .sy {
  transform-box: fill-box;
  transform-origin: center;
  animation: synapse 3.4s ease-in-out infinite;
}

.bword {
  font-family: 'Lilita One', cursive;
  font-size: 23px;
  line-height: 1;
  color: var(--mk-word);
}

.bword span {
  color: var(--teal-bright);
}

.nav .links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nl {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  color: var(--ink);
  opacity: .8;
  position: relative;
  transition: opacity .2s, color .2s;
  text-decoration: none;
}

.nl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 2px;
  background: var(--orange);
  transition: right .25s ease;
}

.nl:hover,
.nl.active {
  opacity: 1;
  color: var(--orange);
}

.nl:hover::after,
.nl.active::after {
  right: 0;
}

.theme-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s;
}

.theme-btn:hover {
  background: rgba(127, 127, 127, .12);
}

.theme-btn i {
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.theme-btn:hover i {
  transform: rotate(40deg);
}

.reg {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 13px;
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--border);
  box-shadow: none;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}

.reg:hover,
.reg:focus-visible {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--teal-bright);
}

[data-theme="dark"] .reg {
  background: var(--navy);
  color: #fff;
}

.avatar-wrap {
  position: relative;
}

.avatar-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: block;
}

.avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 3px 3px 0 var(--navy);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s;
  z-index: 80;
}

[data-theme="dark"] .avatar-menu {
  box-shadow: 3px 3px 0 var(--teal-bright);
}

.avatar-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.avatar-menu .em {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  padding: 8px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar-menu a {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 10px;
  color: var(--ink);
  text-decoration: none;
  transition: background .15s, color .15s;
}

.avatar-menu a:hover {
  background: rgba(127, 127, 127, .12);
  color: var(--orange);
}

.burger {
  display: none;
  width: 40px;
  height: 38px;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
  color: var(--ink);
}

.burger i {
  font-size: 1.4rem;
}

.auth-modal-open {
  overflow: hidden;
}

.inline-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: rgba(15, 26, 38, .5);
  backdrop-filter: blur(7px) saturate(118%);
  -webkit-backdrop-filter: blur(7px) saturate(118%);
  animation: inline-auth-fade .22s ease both;
}

.inline-auth-overlay[hidden] {
  display: none;
}

[data-theme="dark"] .inline-auth-overlay {
  background: rgba(8, 14, 22, .6);
}

.inline-auth-dismiss {
  position: absolute;
  inset: 0;
  cursor: default;
  border: 0;
  background: transparent;
}

.inline-auth-modal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 472px;
  max-height: calc(100vh - 52px);
  overflow-y: auto;
  background: var(--page);
  border: 3px solid var(--border);
  box-shadow: 5px 5px 0 var(--orange);
  padding: 34px 38px 32px;
  animation: inline-auth-pop .3s cubic-bezier(.18, .89, .32, 1.28) both;
}

@keyframes inline-auth-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes inline-auth-pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes inline-auth-panel-enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.inline-auth-modal [data-auth-panel].auth-panel-enter {
  animation: inline-auth-panel-enter .18s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .inline-auth-overlay,
  .inline-auth-modal,
  .inline-auth-modal [data-auth-panel].auth-panel-enter {
    animation: none;
  }

  .inline-auth-tabs::before {
    transition: none;
  }
}

[data-theme="dark"] .inline-auth-modal {
  box-shadow: 5px 5px 0 var(--orange);
}

.inline-auth-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.inline-auth-head .brand .cmark {
  --mk-edge: var(--teal-bright);
  --mk-node: var(--ink);
  --mk-syn: var(--orange);
}

.inline-auth-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.inline-auth-icon:hover {
  background: rgba(127, 127, 127, .12);
}

.inline-auth-icon.close {
  border: 0;
  transition: color .2s;
}

.inline-auth-icon.close:hover {
  background: transparent;
  color: var(--orange);
}

.inline-auth-icon i {
  font-size: 1.2rem;
}

.inline-auth-tag {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  color: var(--orange);
  margin-bottom: 18px;
}

.inline-auth-tag .dot {
  width: 7px;
  height: 7px;
  background: var(--teal-bright);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.inline-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--surface);
  margin-bottom: 26px;
}

.inline-auth-tabs::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;
  width: 50%;
  background: var(--navy);
  pointer-events: none;
  transition: transform .22s ease;
}

.inline-auth-tabs[data-auth-active="signup"]::before {
  transform: translateX(100%);
}

.inline-auth-tabs button {
  position: relative;
  z-index: 1;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  padding: 13px;
  background: transparent;
  color: var(--ink-muted);
  border: 0;
  cursor: pointer;
}

.inline-auth-tabs button + button {
  border-left: 2px solid var(--border);
}

.inline-auth-tabs button.on {
  background: transparent;
  color: #fff;
  box-shadow: none;
  transition: none;
}

[data-theme="dark"] .inline-auth-tabs button.on {
  background: transparent;
  color: var(--navy);
}

[data-theme="dark"] .inline-auth-tabs::before {
  background: var(--teal-bright);
}

.inline-auth-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 8px;
}

.inline-auth-sub {
  font-size: 15px;
  color: var(--ink-muted);
  margin: 0 0 24px;
}

.inline-auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.inline-auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.inline-auth-field label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--ink);
  margin-bottom: 7px;
}

.inline-auth-field input {
  width: 100%;
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: 15px;
  padding: 13px 14px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  outline: none;
  transition: box-shadow .15s, transform .15s;
}

.inline-auth-field input::placeholder {
  color: var(--ink-muted);
  opacity: .6;
}

.inline-auth-field .hint {
  font-size: 12px;
  color: var(--ink-muted);
  margin: 6px 0 0;
}

.inline-auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  margin-top: 2px;
}

.inline-auth-consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
  border: 2px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  position: relative;
  transition: background .15s;
}

.inline-auth-consent input:checked {
  background: var(--teal-bright);
}

.inline-auth-consent input:checked::after {
  content: "\2713";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 900;
  font-size: 14px;
}

.inline-auth-consent span {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.inline-auth-note,
.inline-auth-terms {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}

.inline-auth-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  background: var(--band);
  border: 0;
  padding: 12px 14px;
}

.inline-auth-note i {
  color: var(--orange);
  font-size: 1.1rem;
  flex: none;
}

.inline-auth-terms a {
  text-decoration: underline;
}

.inline-auth-submit {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  padding: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--border);
  border-radius: 6px;
  box-shadow: none;
  transition: transform .2s, box-shadow .2s;
  margin-top: 4px;
}

[data-theme="dark"] .inline-auth-submit {
  background: var(--navy);
  color: #fff;
}

.inline-auth-submit:hover,
.inline-auth-submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--teal-bright);
}

.inline-auth-submit.secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.inline-auth-submit.secondary:hover,
.inline-auth-submit.secondary:focus-visible {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.inline-auth-swap {
  text-align: center;
  font-size: 14px;
  color: var(--ink-muted);
  margin: 20px 0 0;
}

.inline-auth-swap button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--orange);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
}

.inline-auth-swap button:hover {
  text-decoration: underline;
}

/* OTP input styling inside inline modal */
.inline-auth-otp-input {
  font-size: 24px !important;
  text-align: center;
  letter-spacing: .35em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
}

/* Error display */
.inline-auth-errors {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #991b1b;
  background: #fee2e2;
  border: 2px solid var(--border);
  padding: 12px 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.inline-auth-errors[hidden] {
  display: none;
}

/* Resend row */
.inline-auth-resend {
  text-align: center;
  font-size: 14px;
  color: var(--ink-muted);
  margin: 20px 0 0;
}

.inline-auth-resend button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--orange);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
}

.inline-auth-resend button:hover {
  text-decoration: underline;
}

.inline-auth-resend button:disabled {
  opacity: .6;
  cursor: default;
  text-decoration: none;
}

/* Hide tabs bar when on OTP step */
.inline-auth-tabs[hidden] {
  display: none;
}

/* Spinner animation */
@keyframes la-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.la-spin {
  animation: la-spin 1s linear infinite;
}

.cta-band {
  background: var(--page);
  padding: 84px 0;
  transition: background .3s;
}

.cta-inner {
  position: relative;
  background: var(--cta);
  border: 3px solid var(--teal-bright);
  box-shadow: 12px 12px 0 var(--orange);
  padding: 60px 44px;
  text-align: center;
  overflow: hidden;
}

.cta-inner::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border: 18px solid rgba(20, 184, 166, .18);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}

.cta-eyebrow {
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  color: var(--yellow-bright);
  margin-bottom: 16px;
}

.cta-band h2 {
  position: relative;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 52px;
  line-height: 1;
  color: #fff;
  margin: 0 0 16px;
}

.cta-band h2 .y {
  color: var(--yellow-bright);
}

.cta-band p {
  position: relative;
  font-size: 18px;
  line-height: 1.6;
  color: #aebfd4;
  max-width: 34em;
  margin: 0 auto 30px;
  text-wrap: pretty;
}

.cta-row {
  position: relative;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.cta-band .hbtn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-radius: 6px;
  padding: 14px 26px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none;
}

.cta-band .hbtn i {
  transition: transform .25s;
}

.cta-band .hbtn:hover i {
  transform: translateX(3px);
}

.cta-row .accent {
  background: var(--yellow-bright);
  color: var(--navy);
  border: 2px solid var(--yellow-bright);
  box-shadow: 4px 4px 0 var(--navy);
}

.cta-row .accent:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 var(--navy);
}

.cta-band .accent:hover i,
.cta-band .accent:focus-visible i {
  transform: none;
}

.cta-row .outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .6);
}

.cta-row .outline:hover {
  transform: translateY(-2px);
  border-color: #fff;
}

.foot {
  background: #0F1A26;
  color: #fff;
  padding: 64px 0 30px;
  border-top: 3px solid var(--teal-bright);
}

.foot-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.foot-brand {
  --mk-edge: var(--teal-bright);
  --mk-node: #fff;
  --mk-syn: var(--orange);
  --mk-word: #fff;
}

.foot-brand .brand {
  margin-bottom: 16px;
}

.foot-brand p {
  font-size: 14.5px;
  color: #8aa0b8;
  line-height: 1.7;
  margin: 0;
  max-width: 26em;
  text-wrap: pretty;
}

.foot-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.foot-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
  color: #cdd9e6;
  font-size: 1.1rem;
  transition: border-color .2s, color .2s, transform .2s;
  text-decoration: none;
}

.foot-social a:hover {
  border-color: var(--teal-bright);
  color: var(--teal-bright);
  transform: translateY(-2px);
}

.foot-col h4,
.foot-partners h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  color: var(--orange);
  margin: 0 0 16px;
}

.foot-col a {
  display: block;
  font-size: 15px;
  line-height: 2.1;
  color: #cdd9e6;
  transition: color .2s, padding-left .2s;
  text-decoration: none;
}

.foot-col a:hover {
  color: var(--teal-bright);
  padding-left: 4px;
}

.foot-partners .plogos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.foot-partners img {
  display: block;
  width: auto;
  object-fit: contain;
}

.foot-partners .plogos__ucsf {
  height: 34px;
  max-width: 118px;
}

.foot-partners .plogos__stanford {
  height: 30px;
  max-width: 176px;
  margin-left: -41px;
}

.foot-partners .plogos__hawaii {
  height: 34px;
  max-width: 160px;
}

.foot-partners .plogos__nih {
  height: 34px;
  max-width: 148px;
}

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.foot-copy {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 11px;
  color: #5d7488;
}

.foot-mini {
  display: flex;
  gap: 22px;
}

.foot-mini a {
  font-size: 12px;
  color: #8aa0b8;
  text-decoration: none;
}

.foot-mini a:hover {
  color: var(--teal-bright);
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

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

@keyframes synapse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .45;
    transform: scale(.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .brand .sy,
  .cta-inner::before {
    animation: none !important;
  }

  .siteheader {
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .foot-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .editorial-wrap {
    padding: 0 22px;
  }

  .burger {
    display: grid;
  }

  .nav .links {
    position: absolute;
    top: 100%;
    right: 22px;
    left: 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--hdr-bg);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 14px 30px rgba(15, 26, 38, .18);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s, transform .22s;
  }

  .nav .links.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav .links .nl {
    padding: 12px 10px;
    opacity: 1;
  }

  .nav .links .nl::after {
    display: none;
  }

  .nav .links .theme-btn,
  .nav .links .reg,
  .nav .links .avatar-wrap {
    margin: 6px 10px;
  }

  .nav .links .reg {
    justify-content: center;
  }

  .avatar-menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    display: none;
  }

  .avatar-menu.open {
    display: block;
  }

  .cta-band h2 {
    font-size: 38px;
  }

  .cta-inner {
    padding: 44px 24px;
  }

  .cta-row {
    flex-direction: column;
  }

  .inline-auth-modal {
    padding: 26px 22px 24px;
    border-width: 2px;
    box-shadow: 8px 8px 0 var(--teal-bright);
  }

  .inline-auth-row {
    grid-template-columns: 1fr;
  }
}
