/* DefinedChoice — motion helpers. Never hide content with opacity. */
/* NEVER opacity:0 on body, main, section, or .reveal — content always visible */

.reveal {
  /* class retained for compatibility; does not hide */
}

/* Steps: gold left border on hover only */
.steps .step {
  border-left: 3px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.steps .step:hover {
  border-left-color: #F5C518;
}
.steps .step.on {
  /* scroll class may still be applied; do not restyle as hidden */
}

/* Cards: gold border on hover only (overrides styles.css) */
.card,
.card-media,
.pillar,
.path-card {
  border: 1px solid #c5d9e8;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover,
.card-media:hover,
.pillar:hover,
.path-card:hover {
  border-color: #F5C518;
  box-shadow: 0 14px 32px rgba(11, 58, 91, 0.14);
  transform: translateY(-4px);
}

/* Path row — large audience cards */
.path-row .path-card {
  background: #fff;
  border: 1px solid #c5d9e8;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
}
.path-row .path-card:hover {
  border-color: #F5C518;
}
.path-row .path-card h3 {
  margin: 0;
  color: #0B3A5B;
  font-size: 1.45rem;
}
.path-row .path-card p {
  margin: 0;
  flex: 1;
  color: #4a6a82;
  font-size: 1.05rem;
  line-height: 1.55;
}
.path-row .path-card .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* Allowance slider — large type */
.allowance-demo {
  background: #fff;
  border: 1px solid #c5d9e8;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 28px rgba(11, 58, 91, 0.08);
  max-width: 36rem;
}
.allowance-demo .illustrative-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0B3A5B;
  background: #F5C518;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.allowance-demo label {
  display: block;
  font-weight: 650;
  color: #0B3A5B;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}
.allowance-demo #allowance-value,
.allowance-demo #employee-pays {
  font-size: 2rem;
  font-weight: 800;
  color: #0B3A5B;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.allowance-demo input[type="range"] {
  width: 100%;
  accent-color: #2B7BB9;
  margin: 0.5rem 0 1.25rem;
}
.allowance-demo .allowance-math {
  display: grid;
  gap: 0.85rem;
  color: #4a6a82;
}
.allowance-demo .allowance-math strong {
  color: #0B3A5B;
}
.allowance-demo .big-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.allowance-demo .big-line .label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #4a6a82;
}
.allowance-demo .employee-pays-box {
  margin-top: 0.25rem;
  padding: 1rem 1.1rem;
  background: #E8F4FC;
  border-radius: 10px;
  border: 1px solid #c5d9e8;
}

/* Sticky CTA — after hero (navy bar, gold accent) */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: #0B3A5B;
  border-top: 2px solid #F5C518;
  padding: 0.75rem 0;
}
body:has(.sticky-cta) {
  padding-bottom: 4.5rem;
}
.sticky-cta .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}
.sticky-cta p {
  margin: 0;
  color: #E8F4FC;
  font-size: 1rem;
  font-weight: 600;
}
.sticky-cta .btn-gold {
  flex-shrink: 0;
}

.hero-actions .text-link {
  display: inline-block;
  margin-left: 0.25rem;
  font-weight: 650;
  color: #0B3A5B;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-actions .text-link:hover {
  color: #2B7BB9;
}

/* Footer CTA strip helpers */
.footer-cta {
  margin: 1rem 0 0.5rem;
}
.footer-note {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: #c5d9e8;
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .card-media,
  .pillar,
  .path-card,
  .card:hover,
  .card-media:hover,
  .pillar:hover,
  .path-card:hover,
  .steps .step {
    transition: none;
    transform: none;
  }
}


/* Path cards with illustrations */
.path-row .path-card .card-img {
  margin: 0 0 0.5rem;
}


/* FAQ accordion — answers stay in HTML; closed via [hidden] / .is-open */
.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 44rem;
}
.faq-item {
  background: #fff;
  border: 1px solid #c5d9e8;
  border-radius: 10px;
  overflow: hidden;
}
.faq-item.is-open {
  border-color: #F5C518;
}
.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: #E8F4FC;
  border: 0;
  padding: 1rem 1.15rem;
  font: inherit;
  font-weight: 700;
  color: #0B3A5B;
  cursor: pointer;
}
.faq-q:hover {
  background: #dff0fa;
}
.faq-q .faq-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #F5C518;
  color: #0B3A5B;
  display: grid;
  place-items: center;
  font-weight: 800;
  line-height: 1;
}
.faq-a {
  padding: 0 1.15rem 1.1rem;
  color: #4a6a82;
  line-height: 1.55;
}
.faq-a[hidden] {
  display: none;
}
.faq-a p {
  margin: 0.85rem 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-q {
    transition: none;
  }
}
