:root {
  --homepage-navy: #14213d;
  --homepage-navy-soft: #263654;
  --homepage-gold: #ad7a20;
  --homepage-gold-soft: #d7b56f;
  --homepage-ivory: #faf7ef;
  --homepage-ivory-deep: #efe8da;
  --homepage-text: #1d2a42;
  --homepage-muted: #627087;
  --homepage-border: rgba(166, 120, 38, 0.22);
  --homepage-shadow: rgba(40, 31, 18, 0.12);

  --header-height: 74px;
  --rail-width: 106px;

  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--homepage-ivory);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--homepage-text);
  background:
    radial-gradient(
      circle at 76% 12%,
      rgba(255, 255, 255, 0.96),
      transparent 34%
    ),
    linear-gradient(135deg, #fbf8f1, #f5efe4);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

.homepage-root {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.eclipse-viewport {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 35%, #17365c, #050912 70%);
  visibility: hidden;
}

.homepage-status {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  transform: translateX(-50%) translateY(18px);
  max-width: min(520px, calc(100vw - 40px));
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 33, 61, 0.88);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.homepage-status.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(173, 122, 32, 0.58);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
