/* Upload this entire folder as-is to any static host. No build, no app. */

:root {
  --uc-bg: #050a12;
  --uc-surface: rgba(12, 28, 48, 0.72);
  --uc-blue: #2b6cb0;
  --uc-blue-bright: #4299e1;
  --uc-red: #c53030;
  --uc-text: #f7fafc;
  --uc-muted: rgba(247, 250, 252, 0.72);
  --uc-radius: 14px;
  --uc-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--uc-bg);
  color: var(--uc-text);
}

/* Slow ambient field: soft orbs + aurora sheen (respects reduced motion below) */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}

.ambient-bg::before,
.ambient-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform;
}

.ambient-bg::before {
  width: min(85vmax, 900px);
  height: min(85vmax, 900px);
  left: -18%;
  top: -12%;
  background: radial-gradient(
    circle closest-side,
    rgba(66, 153, 225, 0.22) 0%,
    rgba(43, 108, 176, 0.08) 42%,
    transparent 72%
  );
  animation: ambient-drift-a 42s ease-in-out infinite alternate;
}

.ambient-bg::after {
  width: min(75vmax, 780px);
  height: min(75vmax, 780px);
  right: -22%;
  bottom: -18%;
  background:
    radial-gradient(
      circle closest-side,
      rgba(66, 153, 225, 0.14) 0%,
      transparent 58%
    ),
    radial-gradient(
      circle at 30% 60%,
      rgba(197, 48, 48, 0.07) 0%,
      transparent 45%
    );
  animation: ambient-drift-b 56s ease-in-out infinite alternate;
}

.ambient-sheen {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 200vmax;
  height: 200vmax;
  margin: -100vmax 0 0 -100vmax;
  background: conic-gradient(
    from 210deg at 50% 50%,
    transparent 0deg,
    rgba(66, 153, 225, 0.11) 55deg,
    transparent 110deg,
    rgba(129, 186, 230, 0.06) 200deg,
    transparent 260deg,
    rgba(43, 108, 176, 0.09) 310deg,
    transparent 360deg
  );
  filter: blur(64px);
  opacity: 0.55;
  mix-blend-mode: screen;
  will-change: transform;
  animation: ambient-aurora 72s linear infinite;
}

@keyframes ambient-drift-a {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(14%, 10%) scale(1.12);
  }
}

@keyframes ambient-drift-b {
  0% {
    transform: translate(0, 0) scale(1.05);
  }
  100% {
    transform: translate(-12%, -8%) scale(1);
  }
}

@keyframes ambient-aurora {
  to {
    transform: rotate(1turn);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-bg::before,
  .ambient-bg::after,
  .ambient-sheen {
    animation: none;
  }

  .ambient-sheen {
    opacity: 0.35;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--uc-blue);
  color: #fff;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

.phase {
  min-height: 100vh;
}

.is-hidden {
  display: none !important;
}

.loading-phase {
  position: fixed;
  inset: 0;
  z-index: 50;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.loading-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(66, 153, 225, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(197, 48, 48, 0.08), transparent 50%),
    linear-gradient(165deg, #050a12 0%, #0b1628 45%, #050a12 100%);
}

.loading-inner {
  position: relative;
  z-index: 1;
  width: min(92vw, 520px);
  text-align: center;
  padding: 2rem 1.25rem 2.5rem;
}

.loading-logo-wrap {
  margin: 0 auto 1.25rem;
  max-width: min(88vw, 420px);
  filter: drop-shadow(0 12px 40px rgba(66, 153, 225, 0.25));
}

.loading-logo-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1;
  transition: opacity 280ms ease;
}

@media (prefers-reduced-motion: no-preference) {
  .loading-logo-wrap {
    animation: uc-float 2s ease-in-out infinite;
  }

  .loading-logo-wrap img {
    animation: uc-pulse 2s ease-in-out infinite;
  }
}

@keyframes uc-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes uc-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.008);
  }
}

.loading-brand {
  margin: 0 0 1.25rem;
  font-size: clamp(0.8rem, 2.5vw, 0.95rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--uc-muted);
  font-weight: 600;
}

.progress-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  max-width: 280px;
  margin: 0 auto;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--uc-blue), var(--uc-blue-bright), var(--uc-red));
  transition: width 0.05s linear;
}

@media (prefers-reduced-motion: reduce) {
  .progress-fill {
    transition: none;
  }
}

.loading-phase.phase-exit {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.main-phase {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(1rem, 4vw, 2.5rem);
  gap: clamp(1.25rem, 4vw, 2rem);
}

.banner-wrap {
  position: relative;
  width: min(100%, 1100px);
  border-radius: var(--uc-radius);
  overflow: hidden;
  box-shadow: var(--uc-shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.banner-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  opacity: 1;
  transition: opacity 520ms ease;
}

.banner-img.is-fading {
  opacity: 0;
}

.banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 10, 18, 0.55) 0%,
    transparent 45%
  );
  pointer-events: none;
}

.message-panel {
  width: min(100%, 640px);
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: var(--uc-radius);
  background: var(--uc-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

/* Update + social: stacked on small screens, one row on desktop */
.cards-row {
  display: flex;
  flex-direction: column;
  width: min(100%, 1100px);
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: center;
}

.cards-row > .message-panel--update {
  width: min(100%, 640px);
}

.cards-row > .social-panel {
  width: min(100%, 640px);
}

.lede--flush {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .cards-row {
    flex-direction: row;
    align-items: stretch;
  }

  .cards-row .message-panel--update {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
  }

  .cards-row .social-panel {
    flex: 0 0 auto;
    width: min(100%, 300px);
    max-width: 320px;
    align-self: stretch;
  }
}

.badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--uc-blue-bright);
  background: rgba(66, 153, 225, 0.15);
  border-radius: 999px;
  border: 1px solid rgba(66, 153, 225, 0.35);
}

.headline {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 4.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 1rem;
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  line-height: 1.65;
  color: var(--uc-muted);
}

.contact-hint {
  margin: 0;
  font-size: 0.95rem;
  color: var(--uc-muted);
}

.contact-hint a {
  color: var(--uc-blue-bright);
  font-weight: 600;
  text-decoration: none;
}

.contact-hint a:hover,
.contact-hint a:focus-visible {
  text-decoration: underline;
}

.main-phase.phase-enter {
  animation: uc-fade-up 0.32s ease forwards;
}

@keyframes uc-fade-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-phase.phase-enter {
    animation: none;
    opacity: 1;
  }
}

/* Social card */
.social-panel {
  margin-top: 0;
}

.social-title {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--uc-muted);
}

.social-handle {
  color: var(--uc-blue-bright);
  font-weight: 600;
}

.social-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.social-grid li {
  margin: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.35rem;
  color: var(--uc-muted);
  background: none;
  border: none;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--uc-blue-bright);
  outline: none;
}

.social-link:focus-visible {
  border-radius: 4px;
  box-shadow: 0 0 0 2px var(--uc-bg, #0a0f18), 0 0 0 4px var(--uc-blue-bright);
}
