@font-face {
  font-family: 'Sora';
  src: url('fonts/sora-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --base-dark: #04070F;
  --navy-deep: #0B1F4B;
  --navy-mid: #1E3A8A;
  --steel: #9DB7FF;
  --steel-soft: #8FA3CC;
  --green-deep: #0F5132;
  --emerald: #1FA971;
  --mint: #7FE3B4;
  --white: #F5F8FF;

  --text-primary: #F5F8FF;
  --text-secondary: rgba(245, 248, 255, 0.78);
  --border-subtle: rgba(157, 183, 255, 0.16);
  --status-bg: rgba(11, 31, 75, 0.52);
}

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

html,
body {
  height: 100%;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--base-dark);
  color: var(--text-primary);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.viewfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.sky-sheen {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 64% 48% at 50% 46%, rgba(4, 7, 15, 0.6) 0%, rgba(4, 7, 15, 0.22) 58%, transparent 100%),
    radial-gradient(ellipse 100% 36% at 50% 100%, transparent 60%, rgba(4, 7, 15, 0.35) 100%);
}

.frame {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  height: 100dvh;
  padding-top: max(1.5rem, env(safe-area-inset-top));
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
}

.masthead {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(-6px);
  animation: ingress 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 100ms;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  user-select: none;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand__mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand__wordmark {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--white);
}

.stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  padding: 1rem 0;
}

.pitch {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 48rem;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.9rem;
  border-radius: 9999px;
  background: var(--status-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 0 24px -2px rgba(11, 31, 75, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: clamp(1rem, 2.6vh, 1.875rem);
  opacity: 0;
  transform: translateY(10px);
  animation: ingress 850ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 200ms;
}

.status-indicator__beacon {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 8px var(--mint);
}

.status-indicator__text {
  font-family: 'Sora', sans-serif;
  font-size: clamp(0.6875rem, 1vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

.headline {
  margin: 0 0 clamp(0.75rem, 2.2vh, 1.25rem);
  font-family: 'Sora', sans-serif;
  font-weight: 650;
  font-size: clamp(2.15rem, 8.33vw, 7.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  white-space: nowrap;
  background: linear-gradient(180deg, #FFFFFF 25%, #C2D5FD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #FFFFFF;
  filter: drop-shadow(0 6px 28px rgba(4, 7, 15, 0.55));
  opacity: 0;
  transform: translateY(14px);
  animation: ingress 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 300ms;
}

.summary {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 450;
  font-size: clamp(0.95rem, 1.8vw, 1.1875rem);
  line-height: 1.55;
  max-width: 34em;
  color: var(--text-secondary);
  text-wrap: pretty;
  text-shadow: 0 2px 18px rgba(4, 7, 15, 0.95);
  opacity: 0;
  transform: translateY(14px);
  animation: ingress 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 420ms;
}

.pillars {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: clamp(1.5rem, 3.8vh, 2.75rem) 0 0;
  padding: 0;
  opacity: 0;
  transform: translateY(12px);
  animation: ingress 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 540ms;
}

.pillars__item {
  font-family: 'Sora', sans-serif;
  font-weight: 450;
  font-size: clamp(0.72rem, 1.05vw, 0.8125rem);
  letter-spacing: 0.035em;
  color: var(--steel-soft);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  text-shadow: 0 1px 12px rgba(4, 7, 15, 0.9);
}

.pillars__item:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: rgba(157, 183, 255, 0.35);
  margin: 0 clamp(0.75rem, 1.5vw, 1.25rem);
}

.baseboard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(0.75rem, 1vw, 0.8125rem);
  color: var(--steel-soft);
  letter-spacing: 0.015em;
  opacity: 0;
  animation: ingress 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 620ms;
}

.baseboard__item {
  user-select: none;
}

@keyframes ingress {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .stage {
    align-items: flex-start;
    padding-top: clamp(1rem, 7vh, 3.25rem);
  }

  .brand__mark {
    width: 28px;
    height: 28px;
  }

  .pillars {
    flex-direction: column;
    gap: 0.55rem;
  }

  .pillars__item {
    white-space: normal;
    text-align: center;
  }

  .pillars__item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .baseboard {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }
}

@media (max-height: 640px) {
  .pillars {
    display: none;
  }
  .status-indicator {
    margin-bottom: 0.75rem;
  }
  .headline {
    margin-bottom: 0.5rem;
  }
}

@media (max-height: 480px) {
  .frame {
    padding-top: max(0.75rem, env(safe-area-inset-top));
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
  .summary {
    font-size: 0.875rem;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .masthead,
  .status-indicator,
  .headline,
  .summary,
  .pillars,
  .baseboard {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
