/* Brand-matched credibility sections for the compiled Handsfree site. */
:root {
  --hf-ink: #0e1624;
  --hf-ink-soft: #172438;
  --hf-blue: #006fd7;
  --hf-cyan: #00aab8;
  --hf-mint: #17b889;
  --hf-mist: #f4f5f7;
  --hf-muted: #667085;
  --hf-line: rgba(14, 22, 36, 0.1);
  --hf-radius-lg: 28px;
  --hf-radius-md: 20px;
}

#about,
#reviews {
  scroll-margin-top: var(--hf-anchor-offset, 96px);
}

.hf-credibility-section,
.hf-credibility-section * {
  box-sizing: border-box;
}

.hf-credibility-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.hf-section-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.hf-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--hf-blue);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.hf-eyebrow::before {
  width: clamp(48px, 6vw, 80px);
  height: 2px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.hf-eyebrow--dark {
  color: #43c7cb;
}

.hf-about-section {
  isolation: isolate;
  background: var(--hf-ink);
  color: #fff;
}

.hf-about-section::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 13, 24, 0.2), transparent 46%, rgba(5, 13, 24, 0.18));
  content: "";
  pointer-events: none;
}

.hf-about-diamond-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.25;
  background-size: 60px 60px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.46) 72%, transparent);
  mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.46) 72%, transparent);
}

.hf-section-orb {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(1px);
  opacity: 0.55;
  pointer-events: none;
}

.hf-section-orb--one {
  top: -260px;
  right: -160px;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(0, 111, 215, 0.2), transparent 68%);
}

.hf-section-orb--two {
  bottom: -320px;
  left: -180px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(0, 170, 184, 0.13), transparent 68%);
}

.hf-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(52px, 7vw, 96px);
}

.hf-founder-portrait-wrap {
  position: relative;
  max-width: 500px;
}

.hf-founder-portrait-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--hf-radius-lg);
  background: #12315f;
  box-shadow: 0 36px 70px rgba(0, 0, 0, 0.34);
}

.hf-founder-portrait-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 12, 23, 0.84), rgba(5, 12, 23, 0.02) 48%);
  content: "";
  pointer-events: none;
}

.hf-founder-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 280ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hf-founder-portrait-frame:hover .hf-founder-portrait {
  transform: scale(1.015);
}

.hf-founder-id {
  position: absolute;
  right: 26px;
  bottom: 24px;
  left: 26px;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.hf-founder-id strong {
  font-size: clamp(20px, 2vw, 27px);
  letter-spacing: -0.025em;
}

.hf-founder-id span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
}

.hf-founder-proof {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: calc(100% - 42px);
  margin: -2px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 18px 18px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.hf-founder-proof > div {
  display: flex;
  min-width: 0;
  min-height: 86px;
  flex-direction: column;
  justify-content: center;
  padding: 16px 12px;
  background: rgba(20, 32, 50, 0.96);
  text-align: center;
}

.hf-founder-proof strong {
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.hf-founder-proof span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hf-about-copy h2,
.hf-reviews-heading h2 {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.hf-about-copy h2 {
  max-width: 760px;
  color: #fff;
}

.hf-about-lede {
  margin: 30px 0 0;
  color: #fff !important;
  font-size: clamp(18px, 2vw, 22px) !important;
  line-height: 1.55 !important;
}

.hf-about-copy > p:not(.hf-eyebrow):not(.hf-about-lede) {
  margin: 20px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.75;
}

.hf-about-copy blockquote {
  position: relative;
  margin: 30px 0 0;
  padding: 2px 0 2px 24px;
  border-left: 3px solid var(--hf-cyan);
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.62;
}

.hf-about-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}

.hf-credibility-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 180ms ease, box-shadow 180ms ease;
}

.hf-credibility-button:active {
  transform: scale(0.97);
}

.hf-credibility-button:focus-visible {
  outline: 3px solid rgba(66, 194, 255, 0.48);
  outline-offset: 3px;
}

.hf-credibility-button--primary {
  background: var(--hf-blue);
  box-shadow: 0 14px 34px rgba(0, 111, 215, 0.28);
  color: #fff;
}

.hf-credibility-button--primary:hover {
  background: #005fba;
  box-shadow: 0 18px 42px rgba(0, 111, 215, 0.38);
}

.hf-founder-note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.hf-reviews-section {
  background: var(--hf-mist);
  color: var(--hf-ink);
}

.hf-reviews-section::before {
  position: absolute;
  top: -300px;
  right: -240px;
  width: 660px;
  height: 660px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 111, 215, 0.08), transparent 68%);
  content: "";
  pointer-events: none;
}

.hf-reviews-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 56px;
  margin-bottom: 48px;
}

.hf-reviews-heading h2 {
  max-width: 780px;
}

.hf-reviews-heading > p {
  margin: 0 0 6px;
  color: var(--hf-muted);
  font-size: 16px;
  line-height: 1.7;
}

.hf-featured-review {
  display: grid;
  grid-template-columns: minmax(250px, 0.35fr) minmax(0, 0.65fr);
  overflow: hidden;
  border: 1px solid rgba(0, 111, 215, 0.11);
  border-radius: var(--hf-radius-lg);
  background: #fff;
  box-shadow: 0 30px 70px rgba(15, 34, 58, 0.11);
}

.hf-featured-review-profile {
  display: flex;
  flex-direction: column;
  padding: 42px;
  background:
    radial-gradient(circle at 10% 5%, rgba(0, 170, 184, 0.18), transparent 34%),
    linear-gradient(145deg, #101d2f, #071725);
  color: #fff;
}

.hf-julio-photo-wrap {
  position: relative;
  width: 128px;
  height: 128px;
  margin-bottom: 22px;
}

.hf-julio-photo {
  display: block;
  width: 100%;
  height: 100%;
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.hf-photo-check {
  position: absolute;
  right: 3px;
  bottom: 7px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 3px solid #102034;
  border-radius: 50%;
  background: var(--hf-mint);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.hf-review-stars {
  display: inline-block;
  color: #ffba2f;
  font-size: 14px;
  letter-spacing: 0.16em;
  line-height: 1;
}

.hf-featured-review-profile h3 {
  margin: 12px 0 2px;
  color: #fff;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.hf-featured-review-profile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 700;
}

.hf-featured-review-profile > div > span:not(.hf-review-stars):not(.hf-photo-check) {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.hf-featured-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: auto 0 0;
  padding: 30px 0 0;
}

.hf-featured-metrics > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hf-featured-metrics dt {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.hf-featured-metrics dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hf-featured-quote {
  position: relative;
  margin: 0;
  padding: 52px 58px 50px;
}

.hf-quote-mark {
  position: absolute;
  top: 17px;
  right: 34px;
  color: rgba(0, 111, 215, 0.08);
  font-family: Georgia, serif;
  font-size: 136px;
  line-height: 1;
  pointer-events: none;
}

.hf-featured-quote p {
  position: relative;
  z-index: 1;
  margin: 0 0 15px;
  color: #344054;
  font-size: 16px;
  line-height: 1.72;
}

.hf-featured-quote p:first-of-type {
  color: var(--hf-ink);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.012em;
}

.hf-featured-quote p:last-child {
  margin-bottom: 0;
  color: #111c2c;
  font-weight: 700;
}

.hf-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.hf-review-card {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--hf-line);
  border-radius: var(--hf-radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 38px rgba(15, 34, 58, 0.06);
  transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 220ms ease, border-color 220ms ease;
}

.hf-review-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 92px;
  height: 92px;
  border-radius: 92px 0 0 0;
  background: linear-gradient(135deg, transparent, rgba(0, 111, 215, 0.045));
  content: "";
  pointer-events: none;
}

.hf-review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 111, 215, 0.2);
  box-shadow: 0 22px 48px rgba(15, 34, 58, 0.1);
}

.hf-review-card-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.hf-review-card-top h3 {
  margin: 0;
  color: var(--hf-ink);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hf-review-card-top p {
  margin: 3px 0 0 !important;
  color: var(--hf-muted) !important;
  font-size: 11px !important;
  font-weight: 650;
  line-height: 1.35 !important;
}

.hf-review-avatar,
.hf-review-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.hf-review-avatar--cyan {
  background: linear-gradient(145deg, #0aa6b5, #087c9d);
  box-shadow: 0 10px 24px rgba(10, 166, 181, 0.2);
}

.hf-review-avatar--blue {
  background: linear-gradient(145deg, #187de0, #2854b8);
  box-shadow: 0 10px 24px rgba(24, 125, 224, 0.2);
}

.hf-review-icon {
  border: 1px solid rgba(0, 111, 215, 0.13);
  background: #edf6ff;
  color: var(--hf-blue);
  font-size: 20px;
}

.hf-review-card > p {
  margin: 0;
  color: #475467;
  font-size: 15px;
  line-height: 1.72;
}

.hf-review-theme {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 25px;
  color: var(--hf-blue);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* The compiled app also manages .active; this data attribute guarantees one correct indicator after mobile menu reflows. */
header[data-hf-active-section] a.nav-link {
  color: var(--muted-foreground) !important;
}

header[data-hf-active-section] a.nav-link::after {
  width: 0 !important;
}

header[data-hf-active-section="home"] a.nav-link[href="#home"],
header[data-hf-active-section="services"] a.nav-link[href="#services"],
header[data-hf-active-section="pricing"] a.nav-link[href="#pricing"],
header[data-hf-active-section="why-choose-us"] a.nav-link[href="#why-choose-us"],
header[data-hf-active-section="about"] a.nav-link[href="#about"],
header[data-hf-active-section="reviews"] a.nav-link[href="#reviews"],
header[data-hf-active-section="how-it-works"] a.nav-link[href="#how-it-works"],
header[data-hf-active-section="outcomes"] a.nav-link[href="#outcomes"],
header[data-hf-active-section="careers"] a.nav-link[href="#careers"],
header[data-hf-active-section="faqs"] a.nav-link[href="#faqs"],
header[data-hf-active-section="contact"] a.nav-link[href="#contact"] {
  color: var(--hf-blue) !important;
}

header[data-hf-active-section="home"] a.nav-link[href="#home"]::after,
header[data-hf-active-section="services"] a.nav-link[href="#services"]::after,
header[data-hf-active-section="pricing"] a.nav-link[href="#pricing"]::after,
header[data-hf-active-section="why-choose-us"] a.nav-link[href="#why-choose-us"]::after,
header[data-hf-active-section="about"] a.nav-link[href="#about"]::after,
header[data-hf-active-section="reviews"] a.nav-link[href="#reviews"]::after,
header[data-hf-active-section="how-it-works"] a.nav-link[href="#how-it-works"]::after,
header[data-hf-active-section="outcomes"] a.nav-link[href="#outcomes"]::after,
header[data-hf-active-section="careers"] a.nav-link[href="#careers"]::after,
header[data-hf-active-section="faqs"] a.nav-link[href="#faqs"]::after,
header[data-hf-active-section="contact"] a.nav-link[href="#contact"]::after {
  width: 100% !important;
}

@media (max-width: 1023px) {
  header[data-hf-active-section] a[href^="#"] {
    background-color: transparent !important;
    color: oklch(0.5 0.02 260) !important;
  }

  header[data-hf-active-section] a[href^="#"].hf-nav-active {
    background-color: oklch(0.94 0.02 255) !important;
    color: var(--hf-blue) !important;
  }
}

/* Keep every desktop navigation destination visible at common laptop widths. */
@media (min-width: 1024px) and (max-width: 1535px) {
  header a.nav-link {
    padding-right: 6px !important;
    padding-left: 6px !important;
    font-size: 11px !important;
    white-space: nowrap;
  }
}

@media (min-width: 1024px) {
  .hf-credibility-section {
    padding: 128px 0;
  }

  .hf-section-container {
    padding-right: 32px;
    padding-left: 32px;
  }
}

@media (max-width: 900px) {
  .hf-about-grid,
  .hf-reviews-heading,
  .hf-featured-review {
    grid-template-columns: 1fr;
  }

  .hf-about-grid {
    gap: 58px;
  }

  .hf-founder-portrait-wrap {
    width: min(100%, 540px);
    margin: 0 auto;
  }

  .hf-about-copy {
    max-width: 720px;
  }

  .hf-reviews-heading {
    gap: 20px;
  }

  .hf-reviews-heading > p {
    max-width: 650px;
  }

  .hf-featured-review-profile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
  }

  .hf-julio-photo-wrap {
    margin-bottom: 0;
  }

  .hf-featured-metrics {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding-top: 18px;
  }

  .hf-featured-metrics > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 18px 0;
  }

  .hf-featured-metrics > div:first-child {
    padding-left: 0;
  }
}

@media (max-width: 700px) {
  .hf-credibility-section {
    padding: 84px 0;
  }

  .hf-about-grid {
    gap: 48px;
  }

  .hf-review-grid {
    grid-template-columns: 1fr;
  }

  .hf-review-card {
    min-height: 0;
  }

  .hf-founder-proof {
    width: calc(100% - 24px);
  }
}

@media (max-width: 520px) {
  .hf-section-container {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hf-about-copy h2,
  .hf-reviews-heading h2 {
    font-size: clamp(34px, 10.5vw, 45px);
  }

  .hf-eyebrow {
    gap: 11px;
    font-size: 11px;
    letter-spacing: 0.065em;
  }

  .hf-eyebrow::before {
    width: 42px;
    height: 1px;
  }

  .hf-founder-portrait-frame {
    border-radius: 22px;
  }

  .hf-founder-id {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .hf-founder-proof > div {
    min-height: 78px;
    padding: 14px 8px;
  }

  .hf-founder-proof strong {
    font-size: 15px;
  }

  .hf-founder-proof span {
    font-size: 8px;
  }

  .hf-about-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hf-credibility-button {
    width: 100%;
  }

  .hf-featured-review-profile {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
    padding: 28px 22px;
  }

  .hf-julio-photo-wrap {
    width: 96px;
    height: 96px;
  }

  .hf-featured-review-profile h3 {
    font-size: 23px;
  }

  .hf-featured-metrics {
    grid-template-columns: 1fr;
    padding-top: 12px;
  }

  .hf-featured-metrics > div,
  .hf-featured-metrics > div:first-child {
    flex-direction: row;
    align-items: baseline;
    padding: 11px 0 0;
  }

  .hf-featured-quote {
    padding: 36px 24px 34px;
  }

  .hf-featured-quote p,
  .hf-featured-quote p:first-of-type {
    font-size: 15px;
  }

  .hf-quote-mark {
    top: 8px;
    right: 15px;
    font-size: 100px;
  }

  .hf-review-card {
    padding: 24px 21px;
  }

  .hf-review-card-top {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .hf-review-card-top .hf-review-stars {
    grid-column: 1 / -1;
  }
}

@media (max-width: 360px) {
  .hf-section-container {
    padding-right: 15px;
    padding-left: 15px;
  }

  .hf-founder-proof span {
    letter-spacing: 0.015em;
  }

  .hf-featured-review-profile {
    grid-template-columns: 82px minmax(0, 1fr);
    padding: 24px 18px;
  }

  .hf-julio-photo-wrap {
    width: 82px;
    height: 82px;
  }

  .hf-review-card-top {
    gap: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hf-founder-portrait,
  .hf-review-card,
  .hf-credibility-button {
    transition: none;
  }
}
