/* MxM 2026-12-03 — Welcome hero (layout/welcome/hero.phtml), from the Claude design "MxM Welcome — Direction A".
   Night-blue in both day and night mode: the drawing is a night piece and the hero is its own band.
   The accent follows the site's --mxm-w-* colours, so Weekend Mode still turns the button red. */
.tag_stup_welcome .tag_wel_upper.mxw-upper { padding: 0 !important; background: #0a0a18 !important; overflow: hidden !important; }
.tag_stup_welcome .tag_wel_upper.mxw-upper::before, .tag_stup_welcome .tag_wel_upper.mxw-upper::after { display: none !important; content: none !important; }

.mxw-hero { --mxw-accent: rgb(var(--mxm-w-2f38ff, 74, 77, 255)); position: relative; isolation: isolate; overflow: hidden; color: #ececf8; text-align: left;
  font-family: 'Carrois Gothic', system-ui, sans-serif; font-size: 17px; line-height: 1.55;
  background: radial-gradient(ellipse 70% 80% at 78% 38%, #24248f 0%, #14143f 38%, #0a0a18 72%); }
.mxw-hero *, .mxw-hero *::before, .mxw-hero *::after { box-sizing: border-box; }

/* Cover photo: faint, behind everything. With no cover uploaded, a drawn placeholder holds its place. */
.mxw-hero__cover { position: absolute; inset: 0; z-index: -2; background-position: center; background-size: cover; background-repeat: no-repeat; opacity: .22; mix-blend-mode: luminosity; }
.mxw-hero:not(.has-cover) .mxw-hero__cover { opacity: .2; mix-blend-mode: normal;
  background-image:
    repeating-linear-gradient(118deg, rgba(163,168,255,.5) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(28deg, rgba(163,168,255,.28) 0 1px, transparent 1px 92px),
    radial-gradient(ellipse 50% 60% at 22% 70%, rgba(124,58,237,.9), transparent 70%),
    radial-gradient(ellipse 40% 50% at 60% 10%, rgba(74,77,255,.8), transparent 70%); }
/* Keeps the words readable over any photo, and melts the photo into the page's dark at the edges. */
.mxw-hero__shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,10,24,.72) 0%, rgba(10,10,24,.3) 55%, rgba(10,10,24,0) 100%), linear-gradient(180deg, rgba(10,10,24,.5) 0%, rgba(10,10,24,0) 24%, rgba(10,10,24,0) 70%, rgba(10,10,24,.6) 100%); }

.mxw-hero__in { max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }

.mxw-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 22px 0; }
.mxw-top__motto { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .32em; color: #c3c6e6; }
.mxw-top__links { display: flex; align-items: center; gap: 8px; }
.mxw-hero a.mxw-top__login, .mxw-hero a.mxw-top__join { display: inline-flex; align-items: center; min-height: 44px; font-family: 'Readex Pro', sans-serif; font-size: 15px; color: #ececf8 !important; text-decoration: none !important; }
.mxw-hero a.mxw-top__login { padding: 0 16px; border-radius: 999px; }
.mxw-hero a.mxw-top__join { padding: 0 20px; border-radius: 999px; border: 1px solid #5a5d9c; font-weight: 500; transition: background .15s ease, border-color .15s ease; }
.mxw-hero a.mxw-top__login:hover { background: rgba(255,255,255,.08); }
.mxw-hero a.mxw-top__join:hover { background: rgba(255,255,255,.1); border-color: #8f93d6; }

/* One grid, flat children, so the seal can sit beside the whole column on wide screens and beside
   just the headline on phones. */
.mxw-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(28px, 5vw, 56px); row-gap: 22px; align-items: center;
  grid-template-areas: "eyebrow seal" "title seal" "lede seal" "cta seal" "status seal";
  padding: clamp(44px, 7vw, 96px) 0 clamp(96px, 11vw, 150px); }
.mxw-eyebrow { grid-area: eyebrow; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .2em; color: #c3c6e6; }
.mxw-eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: #c3c6e6; }
.tag_stup_welcome .mxw-hero .mxw-hero__title { grid-area: title; margin: 0; padding: 0; font-family: 'Readex Pro', sans-serif; font-weight: 600; font-size: clamp(46px, 8.4vw, 112px); line-height: .96; letter-spacing: -.035em; color: #fff; text-transform: none; text-wrap: balance; }
.mxw-hero__seal { grid-area: seal; display: flex; justify-content: center; align-self: center; }
.mxw-hero__seal img { display: block; width: clamp(190px, 30vw, 400px); height: auto; aspect-ratio: 1 / 1; filter: drop-shadow(0 24px 60px rgba(40,40,220,.55)); }
.mxw-hero__lede { grid-area: lede; margin: 0; max-width: 560px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: #d5d7ee; }
.mxw-hero__cta { grid-area: cta; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 6px; }
.mxw-hero a.mxw-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 30px; border-radius: 999px; background: var(--mxw-accent); color: #fff !important; text-decoration: none !important; font-family: 'Readex Pro', sans-serif; font-size: 17px; font-weight: 600; box-shadow: 0 14px 34px -14px var(--mxw-accent); transition: transform .15s ease, filter .15s ease; }
.mxw-hero a.mxw-btn:hover { transform: translateY(-1px); filter: brightness(1.1); }
.mxw-hero a.mxw-btn svg { transition: transform .15s ease; }
.mxw-hero a.mxw-btn:hover svg { transform: translateX(3px); }
.mxw-hero a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.mxw-hero__status { grid-area: status; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; color: #c3c6e6; }
.mxw-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; border: 1px solid #2f7a55; color: #7ee2ae; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .16em; }
.mxw-pill i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.mxw-pill.is-limited { border-color: #8a6a1f; color: #f5cf6b; } .mxw-pill.is-limited i { background: #f5b942; }

/* Tablets: tighten the seal so the headline keeps its room. */
@media (max-width: 900px) { .mxw-hero__seal img { width: clamp(150px, 26vw, 240px); } }

/* Phones: the seal stays to the right of the headline; everything else runs full width under them. */
@media (max-width: 640px) {
  .mxw-top { padding: 14px 0 6px; }
  .mxw-top__motto { flex: 1 1 100%; font-size: 10.5px; letter-spacing: .28em; }
  .mxw-top__links { margin-left: -16px; }
  .mxw-main { column-gap: 12px; row-gap: 18px; padding-top: 34px; padding-bottom: 96px;
    grid-template-areas: "eyebrow eyebrow" "title seal" "lede lede" "cta cta" "status status"; }
  .mxw-eyebrow { font-size: 11px; letter-spacing: .16em; }
  .tag_stup_welcome .mxw-hero .mxw-hero__title { font-size: clamp(31px, 10.2vw, 52px); text-wrap: wrap; }
  .mxw-hero__seal img { width: clamp(84px, 27vw, 150px); filter: drop-shadow(0 12px 30px rgba(40,40,220,.6)); }
  .mxw-hero__lede { font-size: 17px; }
  .mxw-hero a.mxw-btn { min-height: 54px; padding: 0 26px; }
  .mxw-hero__shade { background: linear-gradient(180deg, rgba(10,10,24,.55) 0%, rgba(10,10,24,.25) 40%, rgba(10,10,24,.65) 100%); }
}
@media (max-width: 380px) { .mxw-eyebrow { font-size: 10px; letter-spacing: .1em; gap: 6px 8px; } .mxw-top__motto { letter-spacing: .22em; } }
@media (prefers-reduced-motion: reduce) { .mxw-hero a.mxw-btn, .mxw-hero a.mxw-btn svg { transition: none; } }

/* "Member Login" heading on the sign-in box: the inner site's page-title face (Readex Pro, see .tag_page_title). */
.tag_stup_welcome #login .mxw-login-h { margin: 0 0 14px; padding: 0; font-family: 'Readex Pro', sans-serif; font-size: 26px; font-weight: 500; line-height: 1.2; letter-spacing: -.5px; text-align: left; color: #fff; }
@media (max-width: 830px) { .tag_stup_welcome #login .mxw-login-h { font-size: 23px; margin-bottom: 6px; } }
