/* Original stadium artwork includes a left fade. Keep controls and copy as live HTML. */
body[data-palette] #welcome {
  padding: 0;
  background: #0b1626;
  color: #edf4ff;
  border-color: #263c55;
  border-radius: 16px;
}
#welcome .welcome-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  overflow: hidden;
}
#welcome .welcome-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}
#welcome .welcome-backdrop picture { display: block; width: 100%; height: 100%; }
#welcome .welcome-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 17, 31, .55), rgba(6, 17, 31, .28) 28%, transparent 65%);
}
#welcome .welcome-stage {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 640px;
  max-width: none;
  padding: 48px clamp(28px, 4vw, 58px);
  text-align: left;
}
#welcome .welcome-card { width: 45%; max-width: 440px; margin: 0; }
body[data-palette] #welcome .welcome-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d4e1ee;
  margin-bottom: 22px;
}
#welcome .welcome-analysis-mark {
  width: 30px;
  height: 24px;
  fill: #94c3ff;
  stroke: #94c3ff;
  stroke-width: 1.3;
  stroke-linecap: round;
}
#welcome .welcome-analysis-mark path { fill: none; }
#welcome .welcome-analysis-trend { stroke: #edf4ff; }
body[data-palette] #welcome .welcome-logo {
  width: min(280px, 90%);
  color: #edf4ff;
  margin: 0 0 28px;
}
body[data-palette] #welcome .logo-mark { color: #94c3ff; }
body[data-palette] #welcome h1 {
  color: #fff;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
  margin: 0 0 22px;
  text-shadow: 0 2px 16px #07111f40;
}
body[data-palette] #welcome .welcome-description {
  color: #e1e9f2;
  margin: 0 0 30px;
  max-width: 36ch;
  line-height: 1.65;
}
body[data-palette] #welcome .welcome-enter {
  background: #a6ceff;
  border-color: #a6ceff;
  color: #0b1626 !important;
  min-height: 52px;
  min-width: 176px;
  gap: 38px;
  box-shadow: 0 4px 20px #07111f30;
}
body[data-palette] #welcome .welcome-enter:hover {
  background: #c8e2ff;
  border-color: #c8e2ff;
}
body[data-palette] #welcome .welcome-enter:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}
@media (min-width: 761px) and (max-width: 1100px) {
  #welcome .welcome-stage { min-height: 600px; padding: 36px; }
  #welcome .welcome-card { width: 52%; }
  #welcome .welcome-backdrop::after {
    background: linear-gradient(90deg, rgba(6, 17, 31, .72), rgba(6, 17, 31, .42) 42%, transparent 85%);
  }
}
@media (max-width: 760px) {
  body[data-palette] #welcome { border-radius: 13px; }
  #welcome .welcome-photo { object-position: 68% center; }
  #welcome .welcome-backdrop picture { height: 65%; min-height: 300px; }
  #welcome .welcome-backdrop::after {
    background: linear-gradient(180deg, transparent 18%, rgba(6, 17, 31, .12) 35%, rgba(6, 17, 31, .76) 55%, #06111f 72%);
  }
  #welcome .welcome-stage {
    min-height: 650px;
    padding: 270px 24px 30px;
    align-items: flex-end;
  }
  #welcome .welcome-card { width: 100%; max-width: 460px; }
  body[data-palette] #welcome .welcome-card-top { margin-bottom: 14px; }
  body[data-palette] #welcome .welcome-logo { width: 210px; max-width: 85%; margin-bottom: 20px; }
  body[data-palette] #welcome h1 { font-size: clamp(29px, 7.7vw, 38px); line-height: 1.13; margin-bottom: 16px; }
  body[data-palette] #welcome .welcome-description { font-size: .9375rem; margin-bottom: 24px; }
  body[data-palette] #welcome .welcome-enter { min-height: 50px; }
}
@media (forced-colors: active) {
  #welcome .welcome-backdrop { display: none; }
  body[data-palette] #welcome { background: Canvas; color: CanvasText; border-color: CanvasText; }
  #welcome .welcome-stage { min-height: auto; padding: 36px 24px; }
  body[data-palette] #welcome :is(h1, .welcome-description, .welcome-card-top, .welcome-logo, .logo-mark) { color: CanvasText; text-shadow: none; }
  body[data-palette] #welcome .welcome-enter { background: ButtonFace; color: ButtonText !important; border-color: ButtonText; box-shadow: none; }
}
