/* Become a Friend of FND Connect — impact-led landing */
.friends-landing {
  --fl-navy: #051d3d;
  --fl-deep: #021228;
  --fl-pink: #c9005a;
  --fl-pink-dark: #9d0047;
  --fl-blue: #008bd2;
  --fl-sky: #dff4ff;
  --fl-blush: #fff0f6;
  --fl-ink: #142033;
  --fl-muted: #5f6b7b;
  --fl-line: #dbe5f0;
  --fl-paper: #fbfcfe;
  color: var(--fl-ink);
  background: var(--fl-paper);
  overflow-x: hidden;
}
.friends-landing .wrap {
  width: 100%;
  max-width: var(--max, 1120px);
  margin-inline: auto;
  padding-inline: var(--gutter, 1rem);
}
.friends-landing h1,
.friends-landing h2,
.friends-landing h3 {
  color: var(--fl-navy);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.fl-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.6rem) 0 clamp(3rem, 5vw, 4.4rem);
  background:
    radial-gradient(55% 95% at 2% 96%, rgba(0, 139, 210, 0.17), transparent 62%),
    radial-gradient(60% 105% at 98% 2%, rgba(201, 0, 90, 0.16), transparent 60%),
    linear-gradient(135deg, #fff 0%, #fff8fb 48%, #f2faff 100%);
  border-bottom: 1px solid var(--fl-line);
  isolation: isolate;
}
.fl-hero::before,
.fl-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  transform: rotate(-8deg);
}
.fl-hero::before {
  left: -10vw;
  bottom: -4.4rem;
  width: 54vw;
  height: 5.5rem;
  border: 1.2rem solid rgba(201, 0, 90, 0.82);
  background: transparent;
}
.fl-hero::after {
  left: -7vw;
  bottom: -6.5rem;
  width: 58vw;
  height: 7rem;
  border: 1.25rem solid rgba(0, 139, 210, 0.9);
  background: transparent;
}
.fl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.8fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.fl-hero-copy {
  min-width: 0;
  animation: fl-copy-arrive 620ms cubic-bezier(.2,.75,.2,1) both;
}
.fl-hero__headline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(10.5rem, 21vw, 13rem);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: center;
}
.fl-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: var(--fl-blush);
  color: var(--fl-pink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fl-hero h1 {
  margin: 0.7rem 0 0.85rem;
  font-size: clamp(2.35rem, 4.8vw, 4rem);
  max-width: 14ch;
  text-wrap: balance;
}
.fl-hero h1 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--fl-pink) 5%, #e30558 45%, var(--fl-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fl-handwritten {
  margin: -0.2rem 0 0;
  color: var(--fl-blue);
  font-family: "Paint Brush Script", "Caveat Brush", "Caveat", cursive;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1;
  transform: rotate(-2deg);
  transform-origin: left center;
}
.fl-eric-sticker {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0.42rem;
  border: 0.25rem solid #fff;
  border-radius: 48% 52% 46% 54% / 50% 45% 55% 50%;
  background: #fff;
  box-shadow: 0 1.25rem 2.5rem rgba(5, 29, 61, 0.18), 0 0 0 0.12rem rgba(0, 139, 210, 0.12);
  transform: rotate(2.5deg);
  animation: fl-eric-arrive 760ms 120ms cubic-bezier(.2,.8,.2,1) both;
}
.fl-eric-sticker picture,
.fl-eric-sticker img {
  display: block;
  width: 100%;
}
.fl-eric-sticker picture {
  overflow: visible;
  border-radius: 0;
}
.fl-eric-sticker .fnd-eric__frame {
  border: 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
  transform: none;
}
.fl-eric-sticker img {
  height: auto;
  border-radius: 0;
}
.fl-eric-sticker figcaption {
  position: absolute;
  right: -0.45rem;
  bottom: -1rem;
  max-width: 10rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: var(--fl-navy);
  color: #fff;
  font-family: "Paint Brush Script", "Caveat Brush", "Caveat", cursive;
  font-size: clamp(0.92rem, 1.6vw, 1.12rem);
  line-height: 1;
  text-align: center;
  transform: rotate(-3deg);
}
.fl-eric-sticker::after {
  content: "♡";
  position: absolute;
  top: -1rem;
  right: -0.8rem;
  color: var(--fl-pink);
  font-family: "Paint Brush Script", "Caveat Brush", "Caveat", cursive;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  transform: rotate(12deg);
}
.fl-hero .lead {
  margin: 0 0 1.2rem;
  max-width: 36rem;
  color: var(--fl-muted);
  font-size: 1.12rem;
  line-height: 1.65;
}
.fl-hero .lead a { color: var(--fl-pink); font-weight: 800; }
.fl-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--fl-muted);
  font-size: 0.95rem;
  font-weight: 600;
}
.fl-proof li::before { content: "✓ "; color: var(--fl-blue); font-weight: 900; }

.fl-goal {
  display: grid;
  grid-template-columns: 6.25rem minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
  max-width: 40rem;
  margin-top: 1.45rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 139, 210, 0.38), transparent 44%),
    var(--fl-navy);
  color: #fff;
  box-shadow: 0 1rem 2.2rem rgba(5, 29, 61, 0.16);
}
.fl-goal__mark {
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  text-align: center;
}
.fl-goal__mark strong {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.82;
}
.fl-goal__mark span {
  margin-top: 0.45rem;
  color: #ff9cc4;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  line-height: 1.1;
  text-transform: uppercase;
}
.fl-goal__copy { min-width: 0; }
.fl-goal__eyebrow {
  margin: 0 0 0.18rem;
  color: #8ed9ff;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fl-goal h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}
.fl-goal__intro,
.fl-goal__unavailable {
  margin: 0.3rem 0 0.65rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  line-height: 1.4;
}
.fl-goal__status {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  margin-bottom: 0.35rem;
  color: #fff;
  font-size: 0.78rem;
}
.fl-goal__status span { color: rgba(255, 255, 255, 0.72); }
.fl-goal__progress {
  height: 0.62rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.fl-goal__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff4d96, #00a0df);
}
.fl-goal__link {
  display: inline-flex;
  gap: 0.3rem;
  margin-top: 0.55rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}
.fl-goal__link:hover { color: #bdeaff; }

.fl-join-card {
  position: sticky;
  top: 1rem;
  overflow: hidden;
  padding: 1.35rem 1.25rem 1.2rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--fl-line);
  box-shadow: 0 22px 50px rgba(5, 29, 61, 0.12);
  animation: fl-card-arrive 680ms 100ms cubic-bezier(.2,.75,.2,1) both;
}
.fl-join-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.34rem;
  background: linear-gradient(90deg, var(--fl-pink), #ed2b7b 48%, var(--fl-blue));
}
.fl-join-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
}
.fl-join-card > p {
  margin: 0 0 1rem;
  color: var(--fl-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Impact tiers */
.fl-section { padding: 3.25rem 0; }
.fl-section--tint {
  background: #f4f7fb;
  border-block: 1px solid var(--fl-line);
}
.fl-section-head { max-width: 40rem; margin-bottom: 1.6rem; }
.fl-section-head .eyebrow {
  margin: 0 0 0.4rem;
  color: var(--fl-pink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fl-section-head h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.fl-section-head p {
  margin: 0;
  color: var(--fl-muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

.fl-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.fl-tier {
  --fl-tier-accent: var(--fl-blue);
  --fl-tier-soft: var(--fl-sky);
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.2rem 1.25rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--fl-line);
  border-top: 0.35rem solid var(--fl-tier-accent);
  box-shadow: 0 14px 36px rgba(5, 29, 61, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.fl-tier:nth-child(2) {
  --fl-tier-accent: var(--fl-pink);
  --fl-tier-soft: var(--fl-blush);
}
.fl-tier:nth-child(3) {
  --fl-tier-accent: #0876c9;
  --fl-tier-soft: #e8f3ff;
}
.fl-tier:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(5, 29, 61, 0.1);
}
.fl-tier.is-featured {
  border-color: rgba(201, 0, 90, 0.35);
  border-top-color: var(--fl-tier-accent);
  box-shadow: 0 18px 44px rgba(236, 23, 109, 0.12);
}
.fl-tier__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.fl-tier__price {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--fl-navy);
  letter-spacing: -0.03em;
  line-height: 1;
}
.fl-tier__price small {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fl-muted);
}
.fl-tier__badge {
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--fl-tier-soft);
  color: var(--fl-tier-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fl-tier__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.75rem;
  border-radius: 14px;
  background: var(--fl-tier-soft);
  color: var(--fl-tier-accent);
}
.fl-tier__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}
.fl-tier__icon svg[data-stroke="1"] {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fl-tier h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}
.fl-tier p {
  margin: 0 0 1.1rem;
  color: var(--fl-muted);
  line-height: 1.55;
  font-size: 0.96rem;
  flex: 1;
}
.fl-tier .button {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.fl-why {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}
.fl-why-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 139, 210, 0.48), transparent 38%),
    linear-gradient(145deg, #051d3d, #0a3266);
  color: #fff;
  box-shadow: 0 20px 44px rgba(5, 29, 61, 0.22);
}
.fl-why-card::after {
  content: "Stronger together ♡";
  display: block;
  margin-top: 1.15rem;
  color: #8ed9ff;
  font-family: "Paint Brush Script", "Caveat Brush", "Caveat", cursive;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
  transform: rotate(-2deg);
  transform-origin: left center;
}
.fl-why-card h3 { margin: 0 0 0.55rem; color: #fff; }
.fl-why-card p { margin: 0; color: rgba(255, 255, 255, 0.88); line-height: 1.6; }
.fl-why-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.fl-why-list li {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--fl-line);
  box-shadow: 0 8px 20px rgba(5, 29, 61, 0.04);
}
.fl-why-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--fl-navy);
}
.fl-why-list span {
  color: var(--fl-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.fl-faq details {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--fl-line);
}
.fl-faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--fl-navy);
  list-style: none;
}
.fl-faq summary::-webkit-details-marker { display: none; }
.fl-faq summary::after {
  content: "+";
  float: right;
  color: var(--fl-pink);
  font-weight: 900;
}
.fl-faq details[open] summary::after { content: "−"; }
.fl-faq details p {
  margin: 0.55rem 0 0;
  color: var(--fl-muted);
  line-height: 1.6;
  padding-right: 1.5rem;
}

.fl-cta-band {
  padding: 2.75rem 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(237, 43, 123, 0.5), transparent 55%),
    radial-gradient(45% 100% at 100% 100%, rgba(0, 139, 210, 0.5), transparent 62%),
    linear-gradient(145deg, #021228 0%, #0a3266 50%, #051d3d 100%);
}
.fl-cta-band h2 {
  margin: 0 auto 0.65rem;
  max-width: 18ch;
  color: #fff;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
}
.fl-cta-band p {
  margin: 0 auto 1.25rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}
.fl-cta-band .button.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

/* Friend picker on this page: panel style tweaks for light card */
.friends-landing .friend-levels--panel .friend-levels__cta {
  min-height: 50px;
  font-weight: 800;
}

@keyframes fl-copy-arrive {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: none; }
}
@keyframes fl-eric-arrive {
  from { opacity: 0; transform: translateY(1.25rem) rotate(6deg) scale(0.94); }
  to { opacity: 1; transform: rotate(2.5deg) scale(1); }
}
@keyframes fl-card-arrive {
  from { opacity: 0; transform: translateY(1.4rem); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .fl-hero-grid,
  .fl-tiers,
  .fl-why {
    grid-template-columns: 1fr;
  }
  .fl-join-card { position: static; }
  .fl-hero h1 { max-width: none; }
}

@media (max-width: 620px) {
  .fl-hero {
    padding-top: 2rem;
  }
  .fl-hero__headline {
    grid-template-columns: minmax(0, 1fr) 6.25rem;
    gap: 0.45rem;
    align-items: start;
  }
  .fl-hero h1 {
    margin-top: 0.6rem;
    font-size: clamp(1.9rem, 8.5vw, 2.35rem);
    line-height: 1.04;
  }
  .fl-handwritten {
    font-size: 1.45rem;
  }
  .fl-eric-sticker {
    margin-top: 1.6rem;
    padding: 0.25rem;
    border-width: 0.18rem;
  }
  .fl-eric-sticker figcaption {
    right: -0.2rem;
    bottom: -1.35rem;
    width: 6.6rem;
    font-size: 0.76rem;
  }
  .fl-eric-sticker::after {
    top: -0.7rem;
    right: -0.35rem;
    font-size: 2.2rem;
  }
  .fl-hero .lead {
    margin-top: 1.15rem;
  }
  .fl-goal {
    grid-template-columns: 4.75rem minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.9rem;
  }
  .fl-goal__mark strong { font-size: 1.72rem; }
  .fl-goal__mark span { font-size: 0.56rem; }
  .fl-hero::before,
  .fl-hero::after {
    width: 86vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fl-hero-copy,
  .fl-eric-sticker,
  .fl-join-card { animation: none; }
  .fl-tier { transition: none; }
  .fl-tier:hover { transform: none; }
}
