/* Public welcome page only; the signed-in member feed keeps its own layout. */
/* The photograph keeps a dark overlay in every mode, including Light. */
html[data-design]:not([data-design="legacy"]) #auth-view .campaign-hero .alpha-intro h1 {
  color: #fff;
}
#auth-view .alpha-brandbar .homepage-how-link { color: #ff8a95; }
#auth-view .homepage-intro-video {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(20px, 3vw, 32px);
  margin-block: 18px 14px;
  padding: clamp(16px, 2.5vw, 28px);
  border: 1px solid var(--bejiggi-border);
  border-radius: 18px;
  background: var(--bejiggi-surface);
  scroll-margin-top: 24px;
}
#auth-view .homepage-intro-copy h2 { font-size: clamp(24px, 2.3vw, 32px); max-width: none; text-wrap: normal; }
#auth-view .homepage-intro-copy .homepage-intro-kicker {
  color: var(--bejiggi-accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .14em;
}
#auth-view .homepage-intro-media { position: relative; min-width: 0; }
#auth-view .homepage-intro-play {
  position: absolute;
  inset: 0 0 auto;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}
#auth-view .homepage-intro-play .homepage-play-disc {
  display: grid;
  place-items: center;
  width: clamp(58px, 6vw, 84px);
  height: clamp(58px, 6vw, 84px);
  border: 2px solid #ff334e;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff4f4ed, #ffcbd8e6);
  color: #e30635;
  box-shadow: 0 0 24px #ff174455, 0 6px 24px #0008;
}
#auth-view .homepage-play-disc svg { width: 34px; height: 34px; fill: currentColor; }
#auth-view .homepage-play-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 32px 18px 14px;
  text-align: left;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(transparent, #000c);
}
#auth-view .homepage-intro-media .homepage-intro-note { margin: 10px 0 0; font-size: 12px; }
#auth-view .homepage-intro-media figure { position: relative; margin: 0; }
#auth-view .homepage-intro-media img,
#auth-view .homepage-intro-media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--bejiggi-border);
  border-radius: 14px;
  background: #101014;
}
#auth-view .homepage-intro-media figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 32px 16px 14px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(transparent, #000d);
  color: #fff;
  font-weight: 650;
}
#auth-view .homepage-intro-media [hidden] { display: none !important; }
#auth-view .homepage-welcome-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
#auth-view .homepage-welcome-features article {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  min-width: 0;
  border: 1px solid var(--bejiggi-border);
  border-radius: 14px;
  background: var(--bejiggi-surface);
}
#auth-view .homepage-welcome-features h2 { font-size: 17px; margin-bottom: 8px; }
#auth-view .homepage-welcome-features p { font-size: 14px; margin: 0; }
#auth-view .homepage-welcome-features a,
#auth-view .homepage-how-link { color: var(--bejiggi-accent); }
#auth-view .homepage-welcome-features a { display: inline-flex; align-items: center; min-height: 44px; }
#auth-view .homepage-how-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
#auth-view .homepage-welcome-icon {
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--bejiggi-accent-surface);
  color: var(--bejiggi-accent);
  border: 1px solid color-mix(in srgb, var(--bejiggi-accent) 20%, transparent);
}
#auth-view .homepage-welcome-icon svg { width: 34px; height: 34px; }
#auth-view :is(.homepage-how-link, .homepage-welcome-features a, video, .homepage-intro-play):focus-visible {
  outline: 3px solid var(--bejiggi-focus);
  outline-offset: 4px;
}
html:is([data-design="red"], [data-design="crimson"])[data-theme="dark"] #auth-view {
  --welcome-red: #ff304b;
  background: radial-gradient(ellipse at 80% 30%, #6b001318, transparent 65%), #0d0b0e;
}
html:is([data-design="red"], [data-design="crimson"])[data-theme="dark"] #auth-view .homepage-intro-video,
html:is([data-design="red"], [data-design="crimson"])[data-theme="dark"] #auth-view .homepage-welcome-features article {
  background: radial-gradient(ellipse at 90% 80%, #5b091c24, transparent 75%), linear-gradient(120deg, #100d10, #140e12);
  border-color: #39212a;
  box-shadow: inset 0 1px 0 #ffffff04;
}
html:is([data-design="red"], [data-design="crimson"]) #auth-view .homepage-intro-media :is(img, video) {
  border: 2px solid #ff304b;
  box-shadow: 0 0 5px #ff304bcc, 0 0 20px #ff173d66, 0 0 48px #b300242e;
}
html:is([data-design="red"], [data-design="crimson"])[data-theme="dark"] #auth-view .homepage-welcome-icon {
  color: #ff304b;
  background: linear-gradient(145deg, #40141d, #260c13);
  border-color: #5f1b2a;
  box-shadow: inset 0 1px 0 #ff66751a;
}
html:is([data-design="red"], [data-design="crimson"])[data-theme="dark"] #auth-view .homepage-intro-kicker {
  color: #ff304b;
}
html:is([data-design="red"], [data-design="crimson"]) #auth-view .homepage-cta {
  border: 1px solid #ff3b59;
  background: linear-gradient(170deg, #ff2948, #e50028 65%, #bf0024);
  box-shadow: 0 0 24px #ff003833, inset 0 1px 0 #ff8b9944;
}
@media (max-width: 750px) {
  #auth-view .homepage-intro-video,
  #auth-view .homepage-welcome-features { grid-template-columns: minmax(0, 1fr); }
  #auth-view .homepage-welcome-features article { padding: 16px; }
  #auth-view .homepage-welcome-icon { flex-basis: 54px; height: 54px; }
}
@media (prefers-reduced-motion: no-preference) {
  #auth-view .homepage-intro-video,
  #auth-view .homepage-welcome-features article { transition: background-color .2s, border-color .2s; }
}
