.header-meta-link {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgb(255 255 255 / 0.84);
}

.header-meta-link.is-current {
  color: rgb(255 255 255);
}

.header-meta-link + .header-meta-link {
  margin-left: 0.6rem;
  padding-left: 0;
}

.header-meta-link {
  position: relative;
  padding-bottom: 0.15rem;
}

.header-meta-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  opacity: 0;
  transform: scaleX(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-meta-link:hover::after,
.header-meta-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-logo {
  width: 160px !important;
  height: 46px !important;
  overflow: hidden;
}

.site-logo__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .site-logo {
    width: 186px !important;
    height: 53px !important;
  }
}

@media (min-width: 1024px) {
  .site-logo {
    width: 210px !important;
    height: 60px !important;
  }
}

.site-footer-grid .site-logo {
  width: 40px !important;
  height: 12px !important;
}

@media (min-width: 768px) {
  .site-footer-grid .site-logo {
    width: 46px !important;
    height: 13px !important;
  }
}

@media (min-width: 1024px) {
  .site-footer-grid .site-logo {
    width: 52px !important;
    height: 15px !important;
  }
}

.site-footer-grid > .space-y-4 > figure.site-logo {
  width: 40px !important;
  height: 12px !important;
}

.site-footer-heading {
  color: #ffffff !important;
  opacity: 1 !important;
}

.footer-note,
.footer-links a {
  color: rgba(255, 255, 255, 0.78) !important;
  opacity: 1 !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

.footer-links a:hover {
  color: #ffffff !important;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: center;
}


.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  padding: 0.5rem 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.footer-badge svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  fill: #f4c98a;
}

.footer-rating {
  margin-top: 0.15rem;
  padding-top: 0;
}

.footer-rating-stars {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
}

.footer-rating-stars svg {
  width: 1rem;
  height: 1rem;
  fill: #d9b074;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.55)) drop-shadow(0 -1px 1px rgba(70, 43, 10, 0.3));
}

.footer-rating-stars svg path {
  stroke: #b27b3e;
  stroke-width: 0.55;
  stroke-linejoin: round;
}

.footer-rating .site-footer-heading {
  font-size: 0.98rem;
  line-height: 1.35;
}

.footer-rating .footer-note {
  font-size: 0.82rem;
  line-height: 1.55;
}

.subpage-hero-shell {
  position: relative;
  overflow: hidden;
  padding-top: 11.5rem;
  padding-bottom: 5.5rem;
  background:
    radial-gradient(circle at top left, rgb(252 232 213 / 0.9), transparent 34%),
    linear-gradient(180deg, #fbf7f2 0%, #f5efe8 100%);
}

.subpage-hero-shell::before,
.subpage-hero-shell::after {
  content: "";
  position: absolute;
  border-radius: 9999px;
  filter: blur(12px);
  pointer-events: none;
}

.subpage-hero-shell::before {
  top: 88px;
  right: -72px;
  width: 240px;
  height: 240px;
  background: rgb(222 188 151 / 0.26);
}

.subpage-hero-shell::after {
  bottom: 60px;
  left: -40px;
  width: 180px;
  height: 180px;
  background: transparent;
}

.subpage-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.subpage-hero-copy {
  max-width: 640px;
}

.subpage-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgb(17 24 39 / 0.08);
  background: rgb(255 255 255 / 0.7);
  padding: 0.55rem 1rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.875rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(17 24 39 / 0.72);
}

.subpage-hero-lead {
  margin-top: 1.5rem;
  max-width: 560px;
  font-family: "Inter Tight", sans-serif;
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgb(17 24 39 / 0.8);
}

.subpage-hero-card {
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
}

.subpage-hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  aspect-ratio: 5 / 6;
  background: rgb(255 255 255 / 0.64);
  box-shadow: 0 32px 80px rgb(17 24 39 / 0.12);
}

.subpage-hero-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.media-fill {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-fill--contain {
  object-fit: contain;
}

.text-tagline-3 {
  font-size: 0.95rem;
  line-height: 1.6;
}

.text-tagline-4 {
  font-size: 0.875rem;
  line-height: 1.55;
}

.hero-subtext {
  color: rgb(17 24 39 / 0.72);
}

.text-on-image-soft {
  color: rgb(255 255 255 / 0.9);
}

.section-body-soft {
  color: rgb(17 24 39 / 0.82);
}

.cta-body-soft {
  color: rgb(17 24 39 / 0.82);
}

.cta-label {
  font-size: 1.0625rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.faq-card h3 {
  line-height: 1.4;
}

.faq-card p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgb(17 24 39 / 0.72);
}

.faq-item[open] {
  box-shadow: 0 12px 32px rgb(17 24 39 / 0.06);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "+";
  font-family: "Inter Tight", sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  color: rgb(17 24 39 / 0.55);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-summary::after {
  transform: rotate(45deg);
}

.mobile-sticky-cta {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 0.6rem;
  background: #12161f;
  color: #fff;
  font-family: "Inter Tight", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 35px rgb(17 24 39 / 0.24);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgb(17 24 39 / 0.45);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .site-footer-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 3rem;
    text-align: left;
  }

  .footer-trust-bar {
    justify-content: center;
  }

  .subpage-hero-shell {
    padding-top: 13rem;
    padding-bottom: 6.5rem;
  }

  .mobile-sticky-cta {
    display: none;
  }
}

@media (max-width: 767px) {
  .mobile-wrap-safe {
    white-space: normal;
    line-height: 1.45;
  }

  .faq-item {
    padding: 1.15rem 1.1rem;
  }
}

@media (min-width: 1024px) {
  .subpage-hero-shell {
    padding-top: 15rem;
    padding-bottom: 7rem;
  }

  .subpage-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 4rem;
  }
}

@media (max-width: 767px) {
  .subpage-hero-grid {
    gap: 1.5rem;
  }

  .subpage-hero-copy .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .subpage-hero-copy .hero-actions a {
    justify-content: center;
  }

  .subpage-hero-frame {
    border-radius: 24px;
    aspect-ratio: 4 / 5;
  }
}

/* Accessibility contrast overrides for low-opacity utility combos used in hero/pills/cards */
.text-background-6\/50 {
  color: rgb(13 16 23 / 0.78) !important;
}

.text-background-13\/30 {
  color: rgb(13 13 18 / 0.62) !important;
}

.bsp-card-tag {
  color: rgb(13 16 23 / 0.82) !important;
}

.bsp-card-detail {
  color: rgb(13 16 23 / 0.76) !important;
}

.bg-background-7 .mobile-wrap-safe {
  color: rgb(13 16 23 / 0.8) !important;
}

/* Klaro: match footer color system */
#klaro .cookie-notice,
#klaro .cookie-modal .cm-modal {
  background: #191d2a !important;
  color: rgb(241 244 246 / 0.96) !important;
  border: 1px solid rgb(124 142 165 / 0.25) !important;
  box-shadow: 0 18px 48px rgb(0 0 0 / 0.35) !important;
}

#klaro .cookie-notice {
  right: 20px !important;
  left: auto !important;
  bottom: 20px !important;
  width: min(420px, calc(100vw - 32px)) !important;
  max-width: 420px !important;
  padding: 18px 18px 16px !important;
  border-radius: 18px !important;
}

#klaro .cookie-notice .cn-body {
  padding: 0 !important;
}

#klaro .cookie-notice .cn-body p {
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
}

#klaro .cookie-notice .cn-ok {
  margin-top: 14px !important;
}

#klaro .cookie-notice .cn-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

#klaro .cookie-notice .cn-buttons .cm-btn {
  margin: 0 !important;
}

#klaro .cookie-notice p,
#klaro .cookie-notice strong,
#klaro .cookie-modal .cm-body,
#klaro .cookie-modal .cm-body p,
#klaro .cookie-modal .cm-list-title,
#klaro .cookie-modal .cm-title {
  color: rgb(241 244 246 / 0.96) !important;
}

#klaro .cookie-notice a,
#klaro .cookie-modal a {
  color: rgb(148 174 207 / 0.98) !important;
}

#klaro .cookie-notice .cn-buttons button,
#klaro .cookie-notice .cn-buttons .cm-btn,
#klaro .cookie-modal .cm-footer button,
#klaro .cookie-modal .cm-footer .cm-btn {
  border-radius: 10px !important;
  border: 1px solid rgb(124 142 165 / 0.4) !important;
  background: #0d1017 !important;
  color: #f8f9fa !important;
}

#klaro .cookie-notice .cn-buttons .cm-btn.cm-btn-success,
#klaro .cookie-modal .cm-footer .cm-btn.cm-btn-success {
  background: #f1f4f6 !important;
  border-color: #f1f4f6 !important;
  color: #12161f !important;
}

#klaro .cookie-notice .cn-buttons .cm-btn:hover,
#klaro .cookie-modal .cm-footer .cm-btn:hover {
  filter: brightness(1.06);
}

#klaro .cm-powered-by {
  display: none !important;
}

@media (max-width: 640px) {
  #klaro .cookie-notice {
    right: 12px !important;
    left: 12px !important;
    bottom: 12px !important;
    width: auto !important;
    max-width: none !important;
    border-radius: 16px !important;
  }
}
