/* Small additions on top of the compiled Tailwind build for static-site interactivity */

.site-toast {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  background: var(--foreground);
  color: var(--background);
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  max-width: min(90vw, 26rem);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
}
.site-toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

[data-tier].tier-selected {
  border-color: var(--primary);
  background-color: color-mix(in oklab, var(--accent) 60%, transparent);
}

[data-freq].freq-active {
  background-color: var(--card);
  color: var(--primary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.icon {
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

details.faq-item summary {
  cursor: pointer;
  list-style: none;
}
details.faq-item summary::-webkit-details-marker {
  display: none;
}
details.faq-item .faq-chevron {
  transition: transform 0.2s ease;
}
details.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.allocation-bar {
  background-color: var(--primary);
  height: 100%;
  border-radius: 999px;
}
