/*
Developed by HMD Developments
For Hushlead
www.hmddevs.org
*/

/* FAQ accordion, closing CTA band and footer: markup, class names, CSS
   values, breakpoints and motion cloned element for element from the reference design.
   Copy, links, logo and social targets are Hushlead's own.
   Light mode only; Tiempos is substituted with the self-hosted, OFL-licensed
   Newsreader already used elsewhere on this page for the matching serif role. */

/* --- FAQ accordion (the reference design .hfaq, cloned) ------------------------------ */
.hfaq {
  --hfaq-line: #ebebeb;
  --hfaq-pad: 80px;
  --hfaq-max: var(--content-w, 1200px);
  flex-direction: column;
  display: flex;
}

.hfaq__band {
  padding-inline: var(--hfaq-pad);
}

.hfaq__box {
  max-width: var(--hfaq-max);
  border-inline: 1px solid var(--hfaq-line);
  margin-inline: auto;
}

.hfaq__head {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 72px 80px 40px;
  display: flex;
}

.hfaq__h2 {
  max-width: 100%;
  font-family: "Newsreader Variable", Georgia, serif;
  letter-spacing: -0.02em;
  white-space: nowrap;
  margin: 0;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--kr-text-primary);
}

.hfaq__lead {
  max-width: 540px;
  margin: 0;
  color: #6f6666;
  font-size: 16px;
  line-height: 1.5;
}

.hfaq__contact {
  margin: 0;
  color: #6f6666;
  font-size: 14px;
}

.hfaq__contact a {
  font-weight: 500;
  color: var(--kr-text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hfaq__body {
  padding: 0 80px 72px;
}

.hfaq__list {
  width: 768px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.hfaq__item {
  box-shadow: inset 0 1px #00000014, inset 1px 0 #00000014, inset -1px 0 #00000014;
}

.hfaq__item:last-child {
  box-shadow: inset 0 1px #00000014, inset 1px 0 #00000014, inset -1px 0 #00000014,
    inset 0 -1px #00000014;
}

.hfaq__qh {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

.hfaq__q {
  width: 100%;
  font: inherit;
  letter-spacing: -0.02em;
  text-align: left;
  color: #11100f;
  cursor: pointer;
  background: none;
  border: 0;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  display: flex;
}

.hfaq__q:focus-visible {
  outline: 2px solid #f26625;
  outline-offset: 2px;
}

.hfaq__icon {
  flex: none;
  width: 20px;
  height: 27px;
  position: relative;
}

.hfaq__icon::before,
.hfaq__icon::after {
  content: "";
  background: #73736d;
  width: 14px;
  height: 2px;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: absolute;
  top: 12.5px;
  left: 3px;
}

.hfaq__icon::after {
  transform: rotate(90deg);
}

.hfaq__item.is-open .hfaq__icon::after {
  transform: rotate(180deg) scaleX(0);
}

.hfaq__a {
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: grid;
}

.hfaq__item.is-open .hfaq__a {
  grid-template-rows: 1fr;
}

.hfaq__a-in {
  min-height: 0;
  overflow: hidden;
}

.hfaq__a-in p,
.hfaq__a-in ul {
  letter-spacing: -0.01em;
  color: #6f6666;
  margin: 0;
  padding: 0 54px 20px 20px;
  font-size: 16px;
  line-height: 1.625;
}

.hfaq__a-in p + p,
.hfaq__a-in p + ul,
.hfaq__a-in ul + p {
  padding-top: 0;
}

.hfaq__bottom {
  height: 96px;
  padding-inline: var(--hfaq-pad);
  border-top: 1px solid #00000014;
  border-bottom: 1px solid var(--hfaq-line);
}

.hfaq__bottom .hfaq__box {
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .hfaq__a,
  .hfaq__icon::before,
  .hfaq__icon::after {
    transition: none;
  }
}

@media (max-width: 1199px) {
  .hfaq {
    --hfaq-pad: 42px;
  }
  .hfaq__head {
    padding: 42px 42px 32px;
  }
  .hfaq__h2 {
    font-size: 48px;
  }
  .hfaq__body {
    padding: 0 42px 56px;
  }
}

@media (max-width: 809px) {
  .hfaq {
    --hfaq-pad: 16px;
  }
  .hfaq__head {
    padding: 32px 20px 24px;
  }
  .hfaq__h2 {
    font-size: 40px;
  }
  .hfaq__body {
    padding: 0 20px 40px;
  }
  .hfaq__q {
    padding: 16px;
    font-size: 16px;
    line-height: 1.5;
  }
  .hfaq__a-in p,
  .hfaq__a-in ul {
    padding: 0 40px 16px 16px;
  }
  .hfaq__bottom {
    height: 56px;
  }
}

@media (max-width: 600px) {
  .hfaq__h2 {
    white-space: normal;
    font-size: 32px;
  }
}

/* Closing band CTA: one centred pill linking to the demo page, with shimmer */
.cta__btn {
  color: #11100f;
  white-space: nowrap;
  background-image: linear-gradient(135deg, var(--primary), #ffd38a);
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  height: 52px;
  padding: 0 32px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: filter 0.15s;
  display: inline-flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(232, 153, 107, 0.3);
}

.cta__btn:hover {
  filter: brightness(1.04) saturate(1.05);
}

.cta__btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.email-cta__shimmer {
  border-radius: inherit;
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.email-cta__shimmer::before {
  content: "";
  background: linear-gradient(
    105deg,
    transparent 40%,
    var(--shimmer-color) 50%,
    transparent 60%
  );
  width: 600%;
  animation: var(--shimmer-name) var(--shimmer-cycle) linear infinite;
  background-size: 33.3333% 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -400%;
}

.email-cta__label {
  z-index: 1;
  position: relative;
}

@media (prefers-reduced-motion: reduce) {
  .email-cta__shimmer::before {
    animation: none;
  }
}

/* --- Closing CTA band structure (the reference design .cta.cta--home, cloned) -------- */
.cta {
  z-index: 1;
  position: relative;
}

.cta--home {
  background: #fff;
  box-shadow: inset 0 1px #00000014;
  overflow: hidden;
}

.cta__container {
  flex-direction: column;
  align-items: center;
  padding: 260px 80px;
  display: flex;
  position: relative;
}

/* The reference design uses a raster glow image (cta-gradient.webp, sampled at
   2026-11-04); recreated here as layered CSS radial gradients so no image
   file is copied. Colour stops match the sampled pixels: strongest around
   20-25% of the band's height, fading to white well before every edge. */
.cta__bg {
  background: radial-gradient(
    ellipse 55% 48% at 50% 22%,
    rgba(250, 197, 160, 0.95) 0%,
    rgba(250, 211, 186, 0.7) 25%,
    rgba(253, 230, 217, 0.35) 48%,
    rgba(255, 255, 255, 0) 68%
  );
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta__content {
  z-index: 3;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
  display: flex;
  position: relative;
}

.cta__text {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 640px;
  display: flex;
}

.cta__title {
  width: 100%;
  max-width: 620px;
  font-family: "Newsreader Variable", Georgia, serif;
  letter-spacing: -0.02em;
  color: var(--kr-text-primary);
  margin: 0;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
}

.cta__title em {
  font-style: italic;
  color: var(--primary);
}

.cta__sub {
  width: 100%;
  max-width: 480px;
  color: #333;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.cta__form {
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 100%;
  display: flex;
}

@media (max-width: 809px) {
  .cta__container {
    padding: 100px 20px;
  }
  .cta__title {
    font-size: 32px;
  }
}

/* --- Footer (the reference design .footer, cloned element for element) --------------- */
#site-footer.footer {
  z-index: 8;
  flex-direction: column;
  align-items: center;
  padding: 60px 80px 0;
  display: flex;
  position: relative;
  overflow: clip;
  background: var(--kr-bg);
  box-shadow: inset 0 1px #22222214;
}

.footer__container {
  flex-direction: column;
  gap: 80px;
  width: 100%;
  max-width: var(--content-w, 1200px);
  display: flex;
}

.footer__top {
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  display: flex;
}

.footer__brand {
  flex-direction: column;
  flex-shrink: 0;
  align-items: flex-start;
  gap: 24px;
  width: 260px;
  display: flex;
}

/* base.css's page-wide `p, span, a, button, li { color: var(--kr-text-secondary) }`
   greys the wordmark span, same bug the header logo already has to override. */
.footer__logo {
  color: var(--kr-text-primary);
}

.footer__tagline {
  color: #44403c;
  max-width: 32ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.footer__socials {
  align-items: center;
  gap: 8px;
  display: flex;
}

.footer__socials a {
  display: flex;
  color: #000;
  opacity: 0.6;
  margin: -4px;
  padding: 4px;
  border-radius: 2px;
  transition: opacity 0.2s;
}

.footer__socials a:hover,
.footer__socials a:focus-visible {
  opacity: 1;
}

.footer__socials a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.footer__socials svg {
  width: 24px;
  height: 24px;
}

.footer__actions {
  align-items: center;
  gap: 24px;
  display: flex;
}

.footer__cols {
  align-items: flex-start;
  gap: 40px;
  display: flex;
}

.footer__col {
  white-space: nowrap;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  display: flex;
}

.footer__col--fixed {
  width: 130px;
}

.footer__title,
.footer__link {
  color: #000;
  font-size: 14px;
  line-height: 1.2;
}

.footer__title {
  font-weight: 600;
}

.footer__link:hover {
  color: var(--kr-text-primary);
  text-decoration: underline;
}

.footer__cookie {
  color: #6f6666;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
}

.footer__cookie svg {
  width: 18px;
  height: 18px;
}

.footer__credits {
  flex-direction: column;
  gap: 32px;
  padding-bottom: 36px;
  display: flex;
}

.footer__row {
  /* The reference design keeps compliance badges on the left of this row; Hushlead has
     none, so the row holds only the right-hand actions. */
  justify-content: flex-end;
  align-items: flex-end;
  gap: 10px;
  display: flex;
}

.footer__lang,
.footer__lang span {
  color: var(--kr-text-primary);
}

.footer__lang {
  align-items: center;
  gap: 6px;
  padding: 0 8px 0 10px;
  font-size: 14px;
  line-height: 1.2;
  display: flex;
}

.footer__divider {
  height: 3px;
  width: 100%;
  position: relative;
}

.footer__divider::before {
  content: "";
  background: #00000014;
  height: 1px;
  position: absolute;
  top: 1px;
  left: 0;
  right: 0;
}

.footer__legal {
  color: #000;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px 32px;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
}

.footer__legal p {
  opacity: 0.7;
  margin: 0;
}

.footer__legal a {
  color: inherit;
}

.footer__legal a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer__made {
  align-items: center;
  gap: 5px;
  display: flex;
}

.footer__heart {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  display: inline-block;
  font-size: 1em;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer__made:hover .footer__heart {
  transform: scale(1.35);
}

@media (prefers-reduced-motion: reduce) {
  .footer__heart {
    transition: none;
  }
  .footer__made:hover .footer__heart {
    transform: none;
  }
}

@media (max-width: 1199.98px) {
  #site-footer.footer {
    padding: 60px 42px 0;
  }
  .footer__top {
    flex-direction: column;
  }
  .footer__cols {
    flex-wrap: wrap;
    row-gap: 40px;
  }
}

@media (max-width: 809.98px) {
  #site-footer.footer {
    padding: 60px 16px 0;
  }
  .footer__top {
    flex-direction: column;
    gap: 48px;
  }
  .footer__cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(50px, 1fr));
    gap: 24px;
    width: 100%;
  }
  .footer__legal {
    flex-wrap: wrap;
    gap: 0 12px;
  }
  .footer__row {
    align-items: flex-start;
    gap: 24px;
  }
  .footer__actions {
    justify-content: flex-end;
    width: 100%;
  }
  .footer__col--fixed {
    width: auto;
  }
  /* Hushlead's link labels run longer than the reference design's; nowrap would overflow
     the narrow mobile column, so wrap instead of clipping. */
  .footer__col {
    white-space: normal;
  }
}

/* The giant faded wordmark beneath the footer predates this file and must
   render unchanged. base.css's global `p, span, a, button, li { color }`
   reset otherwise wins over its Tailwind gradient-text utilities (unlayered
   rules beat Tailwind's @layer utilities regardless of specificity), so it
   is restated here, scoped to exactly that element. */
#site-footer p.text-transparent.bg-clip-text {
  color: transparent;
  -webkit-text-fill-color: transparent;
}
