.theme-entry {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #f6f3ff;
  background: #6d63c8;
}
.theme-sky {
  background-color: #6d63c8;
  background-image: image-set(
    url("/assets/home/hero-bg-home.webp") 1x,
    url("/assets/home/hero-bg-home@2x.webp") 2x
  );
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
html:has(body.theme-sky) { background-color: #6d63c8; }
.theme-entry a { color: inherit; }
.theme-entry main { position: relative; z-index: 1; }
.theme-entry .site-footer { position: relative; z-index: 8; }
.theme-sky .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.theme-entry .site-header,
.theme-entry .site-footer { color: #fff; }
.theme-entry main { flex: 1 0 auto; }
.theme-entry .site-footer {
  margin-top: -88px;
  background: transparent;
  background-color: transparent;
  position: relative;
  z-index: 8;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.theme-entry .site-footer a { color: rgba(255, 255, 255, 0.75); }
.theme-entry .menu-button { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.theme-entry .fine { color: rgba(246, 243, 255, 0.72); }
.theme-entry.is-departing .planet-stage { transform: scale(1.04); transition: transform 0.4s ease; }
.home-layout {
  overflow: clip;
  isolation: isolate;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  display: block;
  min-height: 100vh;
  flex: none;
}
.login-layout {
  overflow: clip;
  position: relative;
  width: 100%;
  margin: 0;
  display: block;
  height: 100vh;
  min-height: 100vh;
  flex: none;
}
.home-copy {
  position: relative;
  z-index: 7;
  width: min(640px, 42vw);
  margin-left: max(40px, 5vw);
  min-height: 100%;
  padding-top: 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-layout > div:first-child { position: relative; z-index: 7; }
.lede { font-size: 20px; margin-bottom: 8px; }
.theme-entry h1 {
  font-family: var(--sans);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 24px rgba(160, 140, 255, 0.5);
}
.home-copy { align-items: flex-start; }
.home-copy h1 { font-size: 64px; line-height: 1.15; }
.home-copy .lede { font-size: 22px; font-weight: 500; }
.home-copy .member-note { font-size: 14px; color: rgba(255, 255, 255, 0.7); opacity: 1; }
.theme-entry .site-header .brand-logo { height: 48px; }
.theme-entry .site-nav { font-size: 16px; }
.actions { gap: 16px; }
.home-layout h1 { font-size: clamp(40px, 4.4vw, 64px); }
@media (min-width: 1024px) {
  .home-layout { height: 100vh; min-height: 100vh; overflow: clip; }
  .home-copy {
    position: absolute;
    top: 188px;
    padding-top: 0;
    min-height: 0;
  }
  .home-layout .planet-stage { top: 72.5px; }
  .home-layout .home-copy h1 {
    font-size: 64px;
    margin: 0 0 14px;
    text-shadow: 0 0 24px rgba(255, 255, 255, 0.55);
  }
  .home-copy .lede { margin: 0; }
  .home-copy .actions { margin-top: 28px; }
}
.member-note { display: block; margin-top: 12px; font-size: 0.85rem; opacity: 0.88; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.theme-entry .btn-primary {
  border: 0;
  min-height: 56px;
  padding: 0 36px;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(90deg, #4fd1ff, #7b5cff 55%, #b36bff);
  box-shadow: 0 8px 22px rgba(179, 107, 255, 0.45);
}
.home-copy .actions { justify-content: flex-start; }
@media (min-width: 1024px) {
  .home-copy .btn-primary {
    width: 220px;
    height: 58px;
    min-height: 58px;
    max-height: 58px;
    padding: 0;
    font-size: 19px;
    letter-spacing: 0.3em;
    box-shadow: 0 8px 22px rgba(179, 107, 255, 0.45);
  }
}

@property --sweep {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.sky-stars { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sky-stars i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff8d8;
  box-shadow: 0 0 6px #fff8d8;
  opacity: 0.2;
  animation: twinkle 3.2s ease-in-out infinite alternate;
}
.sky-stars i:nth-child(odd) { animation-duration: 2.4s; }
.sky-stars i:nth-child(even) { animation-duration: 3.8s; }
.sky-stars i:nth-child(3n) { animation-delay: -1.4s; }
.sky-stars i:nth-child(3n+1) { animation-delay: -2.6s; }
.sky-stars i:nth-child(4n) { animation-delay: -0.5s; }
.sky-stars i.flare { width: 4px; height: 4px; }
.sky-stars i:nth-child(1) { left: 7%; top: 12%; }
.sky-stars i:nth-child(2) { left: 14%; top: 6%; width: 2px; height: 2px; }
.sky-stars i:nth-child(3) { left: 22%; top: 18%; }
.sky-stars i:nth-child(4) { left: 4%; top: 28%; width: 2px; height: 2px; }
.sky-stars i:nth-child(5) { left: 18%; top: 34%; }
.sky-stars i:nth-child(6) { left: 30%; top: 8%; width: 2px; height: 2px; }
.sky-stars i:nth-child(7) { left: 36%; top: 16%; }
.sky-stars i:nth-child(8) { left: 11%; top: 46%; width: 2px; height: 2px; }
.sky-stars i:nth-child(9) { left: 42%; top: 5%; }
.sky-stars i:nth-child(10) { left: 48%; top: 14%; width: 2px; height: 2px; }
.sky-stars i:nth-child(11) { right: 46%; top: 8%; }
.sky-stars i:nth-child(12) { right: 38%; top: 4%; width: 2px; height: 2px; }
.sky-stars i:nth-child(13) { right: 30%; top: 12%; }
.sky-stars i:nth-child(14) { right: 22%; top: 6%; width: 2px; height: 2px; }
.sky-stars i:nth-child(15) { right: 16%; top: 18%; }
.sky-stars i:nth-child(16) { right: 8%; top: 10%; }
.sky-stars i:nth-child(17) { right: 4%; top: 24%; width: 2px; height: 2px; }
.sky-stars i:nth-child(18) { right: 12%; top: 32%; }
.sky-stars i:nth-child(19) { right: 26%; top: 28%; width: 2px; height: 2px; }
.sky-stars i:nth-child(20) { right: 34%; top: 22%; }
.sky-stars i:nth-child(21) { left: 8%; top: 58%; width: 2px; height: 2px; }
.sky-stars i:nth-child(22) { right: 6%; top: 42%; }
.sky-stars i:nth-child(23) { left: 26%; top: 4%; width: 2px; height: 2px; }
.sky-stars i:nth-child(24) { right: 18%; top: 46%; width: 2px; height: 2px; }
.sky-stars i:nth-child(25) { left: 52%; top: 22%; }
.planet-stage {
  position: absolute;
  left: 37%;
  top: 8.95%;
  width: 49.5%;
  aspect-ratio: 1;
}
.login-layout .planet-stage {
  left: calc(25vw - 26vw);
  top: calc(52vh - 26vw);
  width: 52vw;
}
.atmo, .orbit-ring, .orbit-sweep, .planet-integrated, .orbit-label, .board-glow, .elephant-hover, .elephant-wave { position: absolute; }
.floats { animation: stage-float 7s ease-in-out infinite alternate; }
.atmo {
  left: -7.5%;
  top: -7.5%;
  width: 115%;
  height: 115%;
  z-index: 0;
  background: radial-gradient(circle, rgba(150, 200, 255, 0.55) 0 46%, rgba(150, 200, 255, 0) 58%);
  animation: atmo 6s ease-in-out infinite alternate, stage-float 7s ease-in-out infinite alternate;
  pointer-events: none;
}
.orbit-ring {
  left: 54.68%;
  top: 56.91%;
  width: 132.6%;
  height: 52.1%;
  border-radius: 50%;
  border: 3px solid rgba(215, 245, 255, 1);
  box-shadow: 0 0 6px 2px rgba(130, 210, 255, 0.8), 0 0 18px 6px rgba(90, 160, 255, 0.45);
  transform: translate(-50%, -50%) rotate(-5deg);
  pointer-events: none;
}
.orbit-ring.thin {
  width: calc(132.6% + 36px);
  height: calc(52.1% + 20px);
  border-width: 1.5px;
  border-color: rgba(200, 230, 255, 0.45);
  box-shadow: none;
}
.orbit-ring.back { z-index: 1; clip-path: inset(0 0 50% 0); }
.orbit-ring.front { z-index: 3; clip-path: inset(50% 0 0 0); }
.planet-integrated { left: 0; top: 0; width: 100%; height: 100%; z-index: 2; object-fit: contain; pointer-events: none; }
.orbit-sweep {
  left: 54.68%;
  top: 56.91%;
  width: 132.6%;
  height: 52.1%;
  border-radius: 50%;
  border: 8px solid #fff;
  box-shadow: 0 0 16px 4px rgba(255, 255, 255, 0.95), 0 0 28px 8px rgba(170, 220, 255, 0.85);
  transform: translate(-50%, -50%) rotate(-5deg);
  pointer-events: none;
  -webkit-mask: conic-gradient(from var(--sweep), transparent 0 84%, rgba(255, 255, 255, 0.25) 90%, rgba(255, 255, 255, 0.7) 95%, #fff 98%, #fff 100%);
  mask: conic-gradient(from var(--sweep), transparent 0 84%, rgba(255, 255, 255, 0.25) 90%, rgba(255, 255, 255, 0.7) 95%, #fff 98%, #fff 100%);
  animation: sweep 6s linear infinite, stage-float 7s ease-in-out infinite alternate;
}
.orbit-sweep.back { z-index: 1; clip-path: inset(0 0 50% 0); }
.orbit-sweep:not(.back) { z-index: 4; clip-path: inset(50% 0 0 0); }
.hero-clouds {
  position: absolute;
  z-index: 5;
  left: -120px;
  bottom: 0;
  width: calc(100% + 240px);
  max-width: none;
  height: auto;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 32%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 32%);
  animation: cloud-drift 24s ease-in-out infinite alternate;
}
.home-layout::after,
.login-layout::after {
  content: "";
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(31, 30, 90, 0), rgba(31, 30, 90, 0.35));
}
.orbit {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  min-height: 68px;
  padding: 0 22px;
  border-radius: 18px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  min-width: max-content;
  color: #1a2450;
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid #fff;
  box-shadow: 0 0 16px rgba(190, 220, 255, 0.9), inset 0 1px 0 #fff, inset 0 12px 16px rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%) rotate(var(--tilt));
  animation: label-float 5s ease-in-out infinite alternate, stage-float 7s ease-in-out infinite alternate;
}
.orbit-a { left: -7.19%; top: 55.17%; width: 18.31%; --tilt: -28deg; animation-delay: 0s, 0s; }
.orbit-d { left: 12.22%; top: 81.37%; width: 21.47%; --tilt: 12deg; animation-delay: -1.2s, 0s; }
.orbit-b { left: 104.72%; top: 25.18%; width: 18.62%; --tilt: 15deg; animation-delay: -2.5s, 0s; }
.orbit-c { left: 114.66%; top: 46.81%; width: 18.94%; --tilt: 15deg; animation-delay: -3.7s, 0s; }
.board-glow {
  left: 73%;
  top: 78%;
  width: 37.6%;
  height: 8%;
  z-index: 7;
  background: radial-gradient(ellipse, rgba(110, 200, 255, 0.7), transparent 70%);
  animation: board-glow 3s ease-in-out infinite alternate, stage-float 7s ease-in-out infinite alternate;
  pointer-events: none;
}
.elephant-hover {
  left: 71.19%;
  top: 45.94%;
  width: 41.8%;
  height: auto;
  z-index: 8;
  animation: elephant-bob 3s ease-in-out infinite alternate, stage-float 7s ease-in-out infinite alternate;
  pointer-events: none;
}
.login-layout .elephant-hover { left: 67%; top: 46%; width: 38.5%; }
.login-layout .board-glow { left: 69%; top: 78%; width: 34%; }
.login-card {
  position: absolute;
  left: 61%;
  top: 52%;
  bottom: auto;
  width: 37%;
  height: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transform: translateY(-50%);
  background-color: rgba(123, 92, 255, 0.12);
  background-image: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
  background-repeat: no-repeat;
  background-clip: padding-box;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 28px;
  padding: 48px 40px;
  color: #fff;
  box-shadow: 0 0 32px rgba(180, 160, 255, 0.55);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  z-index: 7;
}
.login-card h1 { margin: 8px 0 18px; font-size: 44px; font-weight: 700; line-height: 1.2; text-align: center; color: #fff; text-shadow: none; }
.login-card .brand { margin: 0 auto 8px; color: #fff; justify-content: center; }
.login-card .brand-logo { height: 56px; }
.login-card form { display: grid; gap: 14px; }
.login-card label { color: rgba(255, 255, 255, 0.85); font-size: 15px; }
.login-card input { height: 56px; min-height: 56px; background: rgba(255, 255, 255, 0.18); color: #fff; border-color: rgba(255, 255, 255, 0.45); font-size: 18px; }
.login-card input::placeholder { color: rgba(255, 255, 255, 0.85); }
.login-card .btn { width: 100%; height: 64px; min-height: 64px; max-height: 64px; padding: 0 28px; border-radius: 999px; font-size: 22px; font-weight: 700; box-shadow: 0 8px 22px rgba(179, 107, 255, 0.45); }
.login-foot { text-align: center; font-size: 15px; margin: 10px 0 0; color: rgba(255, 255, 255, 0.85); }
@keyframes stage-float { from { margin-top: -10px; } to { margin-top: 10px; } }
@keyframes atmo { from { opacity: 0.7; } to { opacity: 1; } }
@keyframes sweep { to { --sweep: 360deg; } }
@keyframes cloud-drift {
  from { transform: translateY(12%) translateX(-80px); }
  to { transform: translateY(12%) translateX(80px); }
}
@keyframes twinkle { from { opacity: 0.2; } to { opacity: 1; } }
@keyframes elephant-bob { from { transform: translateY(-12px) rotate(-1.5deg); } to { transform: translateY(12px) rotate(1.5deg); } }
@keyframes board-glow { from { opacity: 0.5; transform: scaleX(0.95); } to { opacity: 1; transform: scaleX(1.05); } }
@keyframes label-float {
  from { transform: translate(-50%, calc(-50% - 6px)) rotate(var(--tilt)); }
  to { transform: translate(-50%, calc(-50% + 6px)) rotate(var(--tilt)); }
}
@media (max-width: 1023px) and (min-width: 600px) {
  .home-layout { height: 1100px; min-height: 1100px; }
  .home-copy { position: relative; top: auto; min-height: 0; width: auto; margin: 96px 32px 0; padding-top: 0; justify-content: flex-start; }
  .home-copy .actions { margin-top: 18px; }
  .planet-stage { left: 13.2%; top: 34.5%; width: 68.3%; }
  .hero-clouds { animation-name: cloud-drift-tablet; }
}
@keyframes cloud-drift-tablet {
  from { transform: translateY(18%) translateX(-80px); }
  to { transform: translateY(18%) translateX(80px); }
}
@media (max-width: 599px) {
  .home-layout { width: 100%; height: auto; min-height: 100vh; overflow: hidden; }
  .login-layout { width: 100%; height: auto; min-height: 100vh; overflow: hidden; padding: 88px 16px 32px; box-sizing: border-box; }
  .home-copy { position: relative; top: auto; min-height: 0; width: auto; margin: 88px 16px 0; padding-top: 0; justify-content: flex-start; align-items: stretch; }
  .home-copy .actions { width: 100%; margin-top: 18px; }
  .home-copy h1 { font-size: 40px; margin-bottom: 8px; }
  .home-copy .btn-primary { width: 100%; height: 52px; min-height: 52px; font-size: 18px; }
  .planet-stage { left: -7.5vw; top: 300px; width: 115vw; }
  .login-layout .planet-stage { position: relative; left: 0; top: 0; width: 90vw; margin: 0 0 16px calc(5vw - 16px); }
  .login-card { position: relative; left: auto; top: auto; bottom: auto; width: 100%; height: auto; margin: 0; transform: none; padding: 32px 20px; }
  .theme-entry .site-header .brand-logo { height: 34px; }
  .label-story, .label-history { display: none; }
  .orbit-a { left: 24%; }
  .orbit-d { left: 32%; }
  .elephant-hover { left: 58%; top: 50%; width: 36.5%; }
  .login-layout .elephant-hover { left: 54%; top: 48%; width: 42%; }
  .hero-clouds { animation-name: cloud-drift-phone; }
}
@keyframes cloud-drift-phone {
  from { transform: translateY(16%) translateX(-80px); }
  to { transform: translateY(16%) translateX(80px); }
}
@media (prefers-reduced-motion: reduce) {
  .floats, .atmo, .orbit-sweep, .hero-clouds, .sky-stars i, .elephant-hover, .elephant-wave, .board-glow, .orbit { animation: none; }
  .atmo, .sky-stars i { opacity: 1; }
  .orbit { transform: translate(-50%, -50%) rotate(var(--tilt)); }
  .hero-clouds { transform: translateY(12%); }
  .orbit-sweep { --sweep: 40deg; }
}
@media (max-width: 1023px) and (min-width: 600px) and (prefers-reduced-motion: reduce) {
  .hero-clouds { transform: translateY(18%); }
}
@media (max-width: 599px) and (prefers-reduced-motion: reduce) {
  .hero-clouds { transform: translateY(16%); }
}

.home-page .orbit-ring,
.home-page .orbit-sweep,
.home-page .atmo,
.home-page .board-glow,
.login-page .orbit-ring,
.login-page .orbit-sweep,
.login-page .atmo,
.login-page .board-glow { display: none; }
.clouds-back {
  position: absolute;
  z-index: 0;
  left: -200px;
  bottom: -160px;
  width: calc(100% + 400px);
  max-width: none;
  height: auto;
  opacity: 0.85;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 30%);
  animation: cloud-drift 24s ease-in-out infinite alternate;
}
.m-cover, .m-titlebar { display: none; }
.home-page .site-footer {
  position: absolute;
  right: 120px;
  bottom: 22px;
  left: auto;
  width: auto;
  margin: 0;
  padding: 0;
  gap: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
}
.home-page .site-footer a { color: rgba(255, 255, 255, 0.85); font-size: 12px; }
.login-page .site-footer {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.login-card h1 { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.3; text-align: left; }
.login-sub { margin: 6px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.login-card form { gap: 0; }
.login-card label { margin-top: 14px; font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, 0.9); }
.login-card .field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  margin-top: 6px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
}
.login-card .field input {
  height: 44px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1c2433;
  font-size: 15px;
}
.login-card .field input::placeholder { color: #9a9284; }
.login-card .eye { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.login-card .btn { width: 100%; margin-top: 12px; letter-spacing: 0.3em; }
.login-card .btn-primary { height: 50px; min-height: 50px; max-height: 50px; margin-top: 24px; font-size: 17px; font-weight: 500; }
.login-card .btn-ghost {
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: none;
  font-size: 15px;
  letter-spacing: 0;
}
.login-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, 0.9); }
.login-links a { color: inherit; text-decoration: underline; }
.login-card .login-foot { margin-top: 18px; font-size: 12px; color: rgba(255, 255, 255, 0.7); }
@media (min-width: 1024px) {
  .home-page .site-header, .login-page .site-header { height: 84px; min-height: 84px; padding: 0 120px; }
  .home-page .site-header .brand-logo, .login-page .site-header .brand-logo { height: 44px; }
  .home-page .site-header .brand-wordmark, .login-page .site-header .brand-wordmark { height: 40px; }
  .home-page .site-header .brand-rule, .login-page .site-header .brand-rule { height: 26px; margin: 0 14px; background: rgba(255, 255, 255, 0.4); opacity: 1; }
  .home-page .site-nav { gap: 36px; font-size: 15px; }
  .home-page .home-copy {
    position: absolute;
    left: 120px;
    top: 210px;
    width: auto;
    margin: 0;
    min-height: 0;
    padding: 0;
    justify-content: flex-start;
  }
  .home-page .home-cta { margin-top: 44px; }
  .home-page .member-note { margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, 0.78); }
  .home-page .planet-stage { left: 640px; top: 70px; width: 760px; }
  .home-page .elephant-hover { left: 480px; top: 350px; width: 250px; }
  .login-page .planet-stage { left: 80px; top: 150px; width: 640px; }
  .login-page .elephant-hover { left: 390px; top: 320px; width: 286px; }
  .login-page .login-card {
    left: auto;
    right: 160px;
    top: 150px;
    width: 420px;
    transform: none;
    padding: 32px 30px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 22px;
    background-color: transparent;
    background-image: linear-gradient(180deg, rgba(70, 50, 160, 0.3), rgba(90, 60, 170, 0.38));
    box-shadow: 0 30px 60px -30px rgba(30, 10, 90, 0.6);
  }
}
@media (max-width: 599px) {
  .home-page .site-header { height: 56px; min-height: 56px; padding: 0 16px; align-items: center; }
  .home-page .site-header .brand-logo, .home-page .site-header .brand-wordmark { height: 30px; }
  .home-page .menu-button { width: 32px; height: 32px; border: 0; background: transparent; color: #fff; border-radius: 0; }
  .home-page .site-header .brand-rule { height: 20px; margin: 0 10px; }
  .home-page.theme-sky {
    background-position: center;
    background-image: url("/assets/home/hero-bg-home.webp");
  }
  .home-page .home-layout {
    --planet-size: min(106vw, 430px);
    --planet-top: clamp(188px, 26svh, 250px);
    --home-copy-top: clamp(72px, 12svh, 108px);
    --home-slogan-size: clamp(38px, 12vw, 52px);
    min-height: 100svh;
  }
  .home-page .home-layout > .home-copy {
    position: relative;
    width: auto;
    margin: 0 24px;
    padding: var(--home-copy-top) 0 max(24px, env(safe-area-inset-bottom));
    align-items: center;
  }
  .home-page .home-cta {
    /* Reserve the height of the artwork beneath the two title lines. */
    margin-top: max(0px, calc(var(--planet-top) + var(--planet-size) * .88 - var(--home-copy-top) - 2.4 * var(--home-slogan-size)));
    text-align: center;
  }
  .home-page .home-copy .actions { justify-content: center; margin: 0; }
  .home-page .home-copy .btn-primary {
    width: 110px;
    min-height: 44px;
    height: 44px;
    padding: 0 22px;
    font-size: 16px;
    letter-spacing: 0.24em;
    border-radius: 24px;
  }
  .home-page .member-note { margin: 8px 0 0; color: #fff; font-size: 12px; text-shadow: 0 1px 6px #281478; }
  .home-page .planet-stage { left: calc(50% - var(--planet-size) / 2); top: var(--planet-top); width: var(--planet-size); }
  .home-page .elephant-hover { left: 57%; top: 42%; width: 32%; }
  .home-page .site-footer { display: none; }
  .home-page .hero-clouds, .home-page .clouds-back {
    bottom: 0;
    left: -20%;
    width: 140%;
    height: clamp(135px, 26svh, 225px);
    object-fit: cover;
    animation: none;
    transform: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 60%);
    mask-image: linear-gradient(to bottom, transparent, #000 60%);
  }
}
@media (max-width: 767px) {
  .login-page.theme-sky {
    background: var(--paper);
    background-image: none;
    color: var(--ink);
  }
  .login-page .site-header { position: relative; height: 48px; min-height: 48px; padding: 0 16px; justify-content: center; align-items: center; background: var(--navy); color: #fff; }
  .login-page .site-header .brand, .login-page .site-nav, .login-page .menu-button, .login-page .sky-stars, .login-page .planet-stage, .login-page .hero-clouds, .login-page .clouds-back, .login-page .login-heading, .login-page #login-heading, .login-page .login-sub { display: none; }
  .login-page .m-titlebar { display: block; margin: 0; font-size: 17px; font-weight: 500; letter-spacing: 0.12em; }
  .login-page .login-layout { height: auto; min-height: 100vh; overflow: visible; padding: 0 0 28px; background: var(--paper) url("/assets/paper/paper-texture.webp") center / 256px repeat; }
  .login-page .login-layout::after { display: none; }
  .login-page .m-cover { display: block; position: relative; z-index: 3; padding: 26px 20px 0; overflow: visible; }
  .login-page .m-logo { position: relative; z-index: 1; height: 40px; width: auto; }
  .login-page .m-mountain { position: absolute; left: 0; right: 0; top: 108px; width: 100%; height: 200px; max-width: none; object-fit: cover; object-position: right 60%; opacity: 0.5; pointer-events: none; z-index: 0; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 75%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 75%, transparent); }
  .login-page .m-slogan { position: relative; z-index: 1; margin: 20px 0 0; max-width: 220px; color: var(--navy); font-size: 24px; font-weight: 700; line-height: 1.6; text-align: left; text-shadow: none; }
  .login-page .m-slogan span { display: block; }
  .login-page .gold-rule { position: relative; z-index: 1; display: block; width: 40px; height: 3px; margin-top: 14px; border-radius: 2px; background: var(--gold); }
  .login-page .m-slogan, .login-page .gold-rule, .login-page .m-logo { position: relative; z-index: 2; }
  .login-page .m-elephant { position: absolute; z-index: 4; right: 4px; top: 190px; width: 150px; max-width: none; height: auto; margin: 0; }
  .login-page .login-card .btn { border-radius: 12px; letter-spacing: 0; font-weight: 500; }
  .login-page .login-card {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 342px;
    width: auto;
    margin: 0;
    transform: none;
    padding: 22px 18px;
    color: var(--ink);
    background: #fcf8ee;
    background-image: none;
    border: 1px solid rgba(31, 58, 110, 0.14);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(31, 58, 110, 0.06);
    backdrop-filter: none;
  }
  .login-page .login-card label { color: var(--navy); }
  .login-page .login-card .field { background: #fff; border: 1px solid rgba(31, 58, 110, 0.16); }
  .login-page .login-card .btn-primary { background: var(--navy); box-shadow: none; letter-spacing: 0; font-weight: 500; }
  .login-page .login-panel { background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.14); border-radius: 14px; padding: 16px 18px 16px; }
  .login-page .login-card label { font-size: 13px; margin-top: 0; margin-bottom: 6px; gap: 0; }
  .login-page .login-card form label + label { margin-top: 14px; }
  .login-page .login-card .field { height: 46px; margin-top: 0; border-radius: 10px; }
  .login-page .login-card input { min-height: 46px; height: 46px; font-size: 14px; }
  .login-page .login-card .btn { margin-top: 0; letter-spacing: 0; }
  .login-page .login-card .btn-primary { height: 48px; min-height: 48px; max-height: 48px; margin-top: 12px; border-radius: 10px; }
  .login-page .login-card .btn-ghost { height: 44px; min-height: 44px; margin-top: 10px; border-radius: 10px; }
  .login-page .login-card { background: transparent; background-image: none; border: 0; box-shadow: none; padding: 0; }
  .login-page .login-card .btn-ghost { border: 1px solid #6e8fb0; background: #fcf8ee; background-image: none; color: var(--navy); font-weight: 400; }
  .login-page .login-foot { position: static; margin: 14px 0 0; text-align: center; }
  .login-page .login-links, .login-page .login-links a { color: var(--muted); }
  .login-page .login-links a { color: var(--navy); text-decoration: none; }
  .login-page .login-foot { color: var(--muted); }
}
@media (prefers-reduced-motion: reduce) {
  .clouds-back { animation: none; transform: none; }
  .login-page .hero-clouds { transform: none; bottom: -36px; }
  .login-page .clouds-back { bottom: -48px; }
}

@media (max-width: 767px) {
  .login-page .site-header .menu-button { display: grid; position: absolute; inset-inline-end: 12px; }
}
