:root {
  color-scheme: dark;
  --bg: #121212;
  --bg-alt: #232421;
  --panel: rgba(35, 36, 33, 0.92);
  --panel-strong: rgba(18, 18, 18, 0.96);
  --accent: #919C8D;
  --accent-soft: rgba(145, 156, 141, 0.2);
  --accent-2: #DFD6BC;
  --text: #F7F6F2;
  --muted: #C2C2C2;
  --border: rgba(78, 82, 72, 0.45);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Apercu Light", "Apercu", "Aether", "Space Grotesk", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #232421 0%, #121212 55%, #0b0b0b 100%);
  color: var(--text);
  min-height: 100vh;
}


h1,
h2,
h3,
.brand {
  font-family: "Aether", "Apercu Light", "Apercu", "Space Grotesk", sans-serif;
  letter-spacing: 0.02em;
}
a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--muted);
}

ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(145, 156, 141, 0.6);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
}

.brand-mark {
  color: var(--accent);
}

.brand-sub {
  color: var(--text);
  opacity: 0.8;
}

.ct
h1,
h2,
h3,
.brand {
  font-family: "Aether", "Apercu Light", "Apercu", "Space Grotesk", sans-serif;
  letter-spacing: 0.02em;
}
.cta {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(145, 156, 141, 0.28);
  color: #121212;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: none;
}

.cta:hover {
  transform: translateY(-1px);
  background: var(--accent);
  color: #121212;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(145, 156, 141, 0.35);
}

.cta.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}

.cta.ghost:hover {
  background: var(--accent);
  color: #121212;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(145, 156, 141, 0.35);
}

.cta.danger {
  background: rgba(255, 72, 72, 0.2);
  color: #ffd8d8;
  border-color: rgba(255, 72, 72, 0.6);
  box-shadow: none;
}

.cta.small {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 7, 0.8);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  background: var(--panel-strong);
  border-radius: 20px;
  padding: 28px;
  width: min(520px, 90vw);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 1;
}

.modal-card h2 {
  margin-bottom: 12px;
}

.modal-content {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.modal-footnote {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--accent-2);
}

.modal-card footer {
  display: flex;
  justify-content: flex-end;
}

.reveal-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(145, 156, 141, 0.18), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(249, 178, 51, 0.1), transparent 55%),
    rgba(2, 5, 9, 0.9);
  opacity: 0;
  pointer-events: none;
  z-index: 20;
}

.reveal-overlay.is-active {
  animation: reveal var(--reveal-duration, 4000ms) ease-in-out forwards;
}

@keyframes reveal {
  0% {
    opacity: 1;
    clip-path: circle(0% at 50% 50%);
  }
  40% {
    opacity: 1;
    clip-path: circle(140% at 50% 50%);
  }
  100% {
    opacity: 0;
    clip-path: circle(140% at 50% 50%);
  }
}

input,
textarea,
select {
  width: 100%;
  background: rgba(12, 18, 28, 0.9);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.95rem;
}

textare
h1,
h2,
h3,
.brand {
  font-family: "Aether", "Apercu Light", "Apercu", "Space Grotesk", sans-serif;
  letter-spacing: 0.02em;
}
a {
  resize: vertical;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.row {
  display: flex;
  gap: 10px;
  align-items: center;
}

button.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
}

.hidden {
  display: none;
}

@media (max-width: 900px) {
  .ct
h1,
h2,
h3,
.brand {
  font-family: "Aether", "Apercu Light", "Apercu", "Space Grotesk", sans-serif;
  letter-spacing: 0.02em;
}
a {
    padding: 10px 18px;
  }
}


.loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 5, 9, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 24;
}

.loading-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.loading-card {
  width: min(360px, 85vw);
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(10, 16, 26, 0.85);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.loading-spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}

.loading-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.loading-bar {
  height: 6px;
  width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.loading-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.2s ease;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.welcome-spacer {
  height: 14px;
}


@keyframes hotspot-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.7;
  }
}

.hotspot-icon-only,
.hotspot-icon-hover,
.hotspot-icon-always {
  position: relative;
  color: #f7f6f2;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hotspot-icon-only,
.hotspot-icon-hover {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hotspot-icon-only::before,
.hotspot-icon-hover::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.28);
  animation: hotspot-pulse 2s ease-in-out infinite;
  pointer-events: none;
}

.hotspot-icon-only:hover::before,
.hotspot-icon-hover:hover::before {
  animation-play-state: paused;
}

.hotspot-icon-always {
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: hotspot-pulse 2s ease-in-out infinite;
}

.hotspot-label-hover {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
}

.hotspot-icon-only:hover .hotspot-label-hover,
.hotspot-icon-hover:hover .hotspot-label-hover {
  opacity: 1;
  transform: translateY(0);
}
