/* Base Font and Layout Styling */
body {
  font-family: 'Heebo', system-ui, sans-serif;
}

body:has(#cookie-banner:not(.hidden)) {
  padding-bottom: 125px;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -999px;
  right: 1rem;
  z-index: 1000;
  background: #48d8e6;
  color: #000;
  padding: 0.5rem 1rem;
  font-weight: 700;
  border-radius: 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid #48d8e6;
  outline-offset: 2px;
}

/* Form Inputs */
.form-input-pill {
  height: 3.25rem;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 0.5rem;
  color: #ffffff;
  padding: 0 1rem;
  text-align: right;
}

.form-input-pill::placeholder {
  color: #ffffff;
  opacity: 1;
}

.form-input-pill[aria-invalid="true"] {
  border-color: #fca5a5;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.4);
}

/* Ribbons */
.ribbon-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 38px;
}

.ribbon-tag span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #ffeb30;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 6% 100%);
  color: #8a38f5;
  font-weight: 800;
  font-size: 1.45rem;
}

.ribbon-tag::before,
.ribbon-tag::after {
  content: "";
  position: absolute;
  top: 0;
  width: 10px;
  height: 12px;
  background: #b8a200;
}

.ribbon-tag::before {
  left: -4px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.ribbon-tag::after {
  right: -4px;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

/* Accordion Details */
details[open] summary .faq-chev {
  transform: rotate(180deg);
}

details[open] .faq-content {
  background: rgba(255, 255, 255, 0.08);
}

/* Hero Text Outlines */
.hero-stroke {
  paint-order: stroke fill;
  -webkit-text-stroke: 4.5px #745fff;
}

/* Trapeze Callback Tab: Anchored firmly without gap on hover */
.cb-floating-tab {
  position: fixed;
  left: -12px;
  top: 38%;
  z-index: 50;
  transition: transform 0.25s ease;
}

.cb-floating-tab:hover {
  transform: translateX(10px);
}