/* Reconnect landing page — deliberately scoped to avoid altering Flatsome. */

.rfc-home {
  --rfc-navy-950: #071d29;
  --rfc-navy-900: #0d2735;
  --rfc-navy-800: #153746;
  --rfc-teal-700: #0f696b;
  --rfc-teal-600: #147a7c;
  --rfc-teal-100: #dff1ef;
  --rfc-gold-500: #d4a84f;
  --rfc-gold-100: #f7ecd1;
  --rfc-paper: #fffefa;
  --rfc-cream: #f7f5ef;
  --rfc-white: #ffffff;
  --rfc-ink: #17303b;
  --rfc-muted: #60727b;
  --rfc-line: #dbe3e4;
  --rfc-success: #287454;
  --rfc-shadow: 0 24px 70px rgba(7, 29, 41, 0.14);
  --rfc-shadow-small: 0 10px 30px rgba(7, 29, 41, 0.08);
  overflow: hidden;
  background: var(--rfc-paper);
  color: var(--rfc-ink);
  font-size: 17px;
  line-height: 1.65;
}

.rfc-home *,
.rfc-home *::before,
.rfc-home *::after {
  box-sizing: border-box;
}

.rfc-home h1,
.rfc-home h2,
.rfc-home h3,
.rfc-home p {
  padding: 0;
  margin-top: 0;
  text-transform: none;
}

.rfc-home h1,
.rfc-home h2,
.rfc-home h3 {
  color: var(--rfc-navy-950);
  font-weight: 750;
  letter-spacing: -0.038em;
  line-height: 1.1;
}

.rfc-home h1 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5.3vw, 4.75rem);
}

.rfc-home h2 {
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
}

.rfc-home h3 {
  margin-bottom: 13px;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.rfc-home p {
  margin-bottom: 1.25em;
}

.rfc-home svg {
  display: block;
  max-width: 100%;
}

.rfc-shell {
  width: min(1180px, calc(100% - 46px));
  margin-inline: auto;
}

.rfc-section {
  padding: clamp(76px, 9vw, 118px) 0;
}

.rfc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--rfc-teal-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.rfc-kicker::before {
  width: 28px;
  height: 2px;
  background: var(--rfc-gold-500);
  content: "";
}

.rfc-section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.rfc-section-head p {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--rfc-muted);
  font-size: 1.08rem;
}

.rfc-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: none;
  font-size: 0.94rem;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  text-transform: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.rfc-btn svg {
  width: 17px;
  height: 17px;
}

.rfc-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.rfc-btn-primary {
  background: var(--rfc-teal-700);
  color: var(--rfc-white);
}

.rfc-btn-primary:hover {
  background: var(--rfc-teal-600);
  box-shadow: 0 12px 28px rgba(15, 105, 107, 0.23);
  color: var(--rfc-white);
}

.rfc-btn-secondary {
  border-color: var(--rfc-line);
  background: transparent;
  color: var(--rfc-navy-950);
}

.rfc-btn-secondary:hover {
  border-color: var(--rfc-teal-700);
  background: var(--rfc-teal-100);
  color: var(--rfc-navy-950);
}

.rfc-btn-light {
  background: var(--rfc-white);
  color: var(--rfc-navy-950);
}

.rfc-btn-light:hover {
  background: var(--rfc-gold-100);
  color: var(--rfc-navy-950);
}

/* Light-touch Flatsome header refinement. */
body.rfc-reconnect-front #header .header-main {
  border-bottom: 1px solid rgba(219, 227, 228, 0.9);
  box-shadow: 0 5px 20px rgba(7, 29, 41, 0.04);
}

body.rfc-reconnect-front #header .nav > li > a {
  color: #17303b;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

body.rfc-reconnect-front #header .nav > li > a:hover {
  color: #0f696b;
}

/* Hero */
.rfc-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 9vw, 126px) 0 clamp(92px, 10vw, 138px);
  background:
    radial-gradient(circle at 82% 16%, rgba(212, 168, 79, 0.16), transparent 27%),
    radial-gradient(circle at 12% 80%, rgba(20, 122, 124, 0.1), transparent 28%),
    var(--rfc-paper);
}

.rfc-hero::after {
  position: absolute;
  right: -200px;
  bottom: -260px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(15, 105, 107, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(15, 105, 107, 0.035), 0 0 0 96px rgba(15, 105, 107, 0.02);
  content: "";
}

.rfc-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  gap: clamp(50px, 8vw, 100px);
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
}

.rfc-hero-copy > p {
  max-width: 650px;
  margin-bottom: 31px;
  color: var(--rfc-muted);
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
}

.rfc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.rfc-private-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--rfc-muted);
  font-size: 0.84rem;
  font-weight: 650;
}

.rfc-private-note svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--rfc-success);
}

.rfc-search-preview {
  position: relative;
  padding: 25px;
  border: 1px solid rgba(219, 227, 228, 0.92);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--rfc-shadow);
}

.rfc-search-preview::before {
  position: absolute;
  z-index: -1;
  top: -18px;
  right: 29px;
  width: 112px;
  height: 85px;
  border-radius: 20px;
  background: var(--rfc-gold-100);
  content: "";
  transform: rotate(7deg);
}

.rfc-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--rfc-line);
}

.rfc-preview-head strong,
.rfc-preview-head span {
  display: block;
}

.rfc-preview-head strong {
  margin-bottom: 3px;
  color: var(--rfc-navy-950);
  font-size: 1rem;
}

.rfc-preview-head span {
  color: var(--rfc-muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.rfc-private-pill {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--rfc-teal-100);
  color: var(--rfc-teal-700) !important;
  font-size: 0.65rem !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rfc-private-pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rfc-teal-600);
  content: "";
}

.rfc-preview-fields {
  display: grid;
  gap: 12px;
  padding: 20px 0 18px;
  grid-template-columns: 1fr 1fr;
}

.rfc-preview-field {
  padding: 12px 14px;
  border: 1px solid var(--rfc-line);
  border-radius: 12px;
  background: #fbfcfa;
}

.rfc-preview-wide {
  grid-column: 1 / -1;
}

.rfc-preview-field small,
.rfc-preview-field strong {
  display: block;
}

.rfc-preview-field small {
  margin-bottom: 3px;
  color: var(--rfc-muted);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.rfc-preview-field strong {
  overflow: hidden;
  color: var(--rfc-ink);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rfc-match-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: var(--rfc-navy-950);
  color: rgba(255, 255, 255, 0.68);
}

.rfc-avatar-pair {
  display: flex;
  flex: 0 0 auto;
}

.rfc-avatar-pair span {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border: 2px solid var(--rfc-navy-950);
  border-radius: 50%;
  background: var(--rfc-gold-100);
  color: var(--rfc-navy-950);
  font-size: 0.6rem;
  font-weight: 850;
}

.rfc-avatar-pair span + span {
  margin-left: -10px;
  background: var(--rfc-teal-100);
}

.rfc-match-preview strong,
.rfc-match-preview small {
  display: block;
}

.rfc-match-preview strong {
  color: var(--rfc-white);
  font-size: 0.82rem;
}

.rfc-match-preview small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
}

/* Trust strip */
.rfc-trust-wrap {
  position: relative;
  z-index: 5;
  margin-top: -34px;
}

.rfc-trust-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--rfc-line);
  border-radius: 18px;
  background: var(--rfc-white);
  box-shadow: var(--rfc-shadow-small);
  grid-template-columns: repeat(3, 1fr);
}

.rfc-trust-item {
  display: flex;
  min-height: 100px;
  align-items: center;
  gap: 14px;
  padding: 23px 26px;
}

.rfc-trust-item + .rfc-trust-item {
  border-left: 1px solid var(--rfc-line);
}

.rfc-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: var(--rfc-teal-100);
  color: var(--rfc-teal-700);
}

.rfc-icon svg {
  width: 21px;
  height: 21px;
}

.rfc-trust-item strong,
.rfc-trust-item small {
  display: block;
}

.rfc-trust-item strong {
  color: var(--rfc-navy-950);
  font-size: 0.89rem;
}

.rfc-trust-item small {
  color: var(--rfc-muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

/* Steps */
.rfc-step-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.rfc-step {
  min-height: 265px;
  padding: 31px;
  border: 1px solid var(--rfc-line);
  border-radius: 18px;
  background: var(--rfc-white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.rfc-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--rfc-shadow-small);
}

.rfc-step > span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 44px;
  place-items: center;
  border-radius: 13px;
  background: var(--rfc-navy-950);
  color: var(--rfc-white);
  font-size: 0.8rem;
  font-weight: 850;
}

.rfc-step:nth-child(2) > span {
  background: var(--rfc-teal-700);
}

.rfc-step:nth-child(3) > span {
  background: var(--rfc-gold-500);
  color: var(--rfc-navy-950);
}

.rfc-step p {
  margin-bottom: 0;
  color: var(--rfc-muted);
  font-size: 0.91rem;
}

/* Dark clue section */
.rfc-dark {
  background: var(--rfc-navy-950);
  color: rgba(255, 255, 255, 0.72);
}

.rfc-dark h2,
.rfc-dark h3 {
  color: var(--rfc-white);
}

.rfc-dark .rfc-section-head p {
  color: rgba(255, 255, 255, 0.62);
}

.rfc-dark .rfc-kicker {
  color: #81cfca;
}

.rfc-clue-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(3, 1fr);
}

.rfc-clue {
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 16px;
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
}

.rfc-clue .rfc-icon {
  background: rgba(212, 168, 79, 0.14);
  color: #f1ce86;
}

.rfc-clue strong,
.rfc-clue small {
  display: block;
}

.rfc-clue strong {
  color: var(--rfc-white);
  font-size: 0.87rem;
}

.rfc-clue small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.73rem;
  line-height: 1.4;
}

/* Then and now */
.rfc-soft {
  background: var(--rfc-cream);
}

.rfc-time-grid {
  display: grid;
  align-items: center;
  gap: clamp(50px, 8vw, 100px);
  grid-template-columns: 0.9fr 1.1fr;
}

.rfc-photo-stage {
  position: relative;
  min-height: 470px;
}

.rfc-photo {
  position: absolute;
  display: flex;
  width: min(70%, 300px);
  aspect-ratio: 4 / 5;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 18px;
  border: 8px solid var(--rfc-white);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 32%, rgba(255,255,255,.4) 0 10%, transparent 10.5%),
    radial-gradient(ellipse at 50% 72%, rgba(255,255,255,.28) 0 24%, transparent 24.5%),
    linear-gradient(145deg, #637b83, #b8c5c4);
  box-shadow: var(--rfc-shadow);
}

.rfc-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 48%, rgba(7, 29, 41, 0.8));
  content: "";
}

.rfc-photo-then {
  top: 8px;
  left: 4%;
  filter: sepia(0.58) saturate(0.74);
  transform: rotate(-5deg);
}

.rfc-photo-now {
  right: 3%;
  bottom: 8px;
  background:
    radial-gradient(circle at 50% 32%, rgba(255,255,255,.42) 0 10%, transparent 10.5%),
    radial-gradient(ellipse at 50% 72%, rgba(255,255,255,.3) 0 24%, transparent 24.5%),
    linear-gradient(145deg, var(--rfc-teal-700), #8fb8b3);
  transform: rotate(4deg);
}

.rfc-photo span {
  position: relative;
  z-index: 1;
  color: var(--rfc-white);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rfc-time-copy > p {
  color: var(--rfc-muted);
}

.rfc-checks {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 27px 0 31px;
  list-style: none;
}

.rfc-checks li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--rfc-ink);
  font-size: 0.92rem;
  font-weight: 680;
}

.rfc-checks svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--rfc-success);
}

/* Privacy */
.rfc-privacy-panel {
  display: grid;
  align-items: center;
  gap: 55px;
  padding: clamp(36px, 6vw, 66px);
  border-radius: 28px;
  background: var(--rfc-teal-100);
  grid-template-columns: 1.08fr 0.92fr;
}

.rfc-privacy-panel p {
  margin-bottom: 0;
  color: #426269;
}

.rfc-privacy-list {
  display: grid;
  gap: 10px;
}

.rfc-privacy-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 17px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--rfc-ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.rfc-privacy-list strong {
  flex: 0 0 auto;
  color: var(--rfc-success);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Final CTA */
.rfc-cta-section {
  background: var(--rfc-cream);
}

.rfc-final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7vw, 80px);
  border-radius: 28px;
  background: var(--rfc-navy-950);
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.rfc-final-cta::before,
.rfc-final-cta::after {
  position: absolute;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.rfc-final-cta::before {
  top: -190px;
  left: -90px;
}

.rfc-final-cta::after {
  right: -80px;
  bottom: -200px;
}

.rfc-final-cta h2 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
  color: var(--rfc-white);
}

.rfc-final-cta p {
  position: relative;
  z-index: 1;
  max-width: 610px;
  margin: 0 auto 27px;
}

.rfc-final-cta .rfc-btn {
  position: relative;
  z-index: 1;
}

@media (max-width: 980px) {
  .rfc-hero-grid,
  .rfc-time-grid,
  .rfc-privacy-panel {
    grid-template-columns: 1fr;
  }

  .rfc-hero-copy {
    max-width: 760px;
  }

  .rfc-search-preview {
    max-width: 630px;
  }

  .rfc-clue-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rfc-photo-stage {
    width: min(100%, 570px);
  }
}

@media (max-width: 720px) {
  .rfc-home {
    font-size: 16px;
  }

  .rfc-shell {
    width: min(100% - 28px, 1180px);
  }

  .rfc-hero {
    padding-top: 64px;
  }

  .rfc-hero-grid {
    gap: 45px;
    grid-template-columns: minmax(0, 1fr);
  }

  .rfc-actions .rfc-btn {
    width: 100%;
  }

  .rfc-search-preview {
    padding: 18px;
    border-radius: 20px;
  }

  .rfc-preview-head {
    flex-direction: column;
  }

  .rfc-preview-fields {
    grid-template-columns: 1fr;
  }

  .rfc-preview-wide {
    grid-column: auto;
  }

  .rfc-match-preview {
    align-items: flex-start;
    flex-direction: column;
  }

  .rfc-trust-grid,
  .rfc-step-grid,
  .rfc-clue-grid {
    grid-template-columns: 1fr;
  }

  .rfc-trust-item + .rfc-trust-item {
    border-top: 1px solid var(--rfc-line);
    border-left: 0;
  }

  .rfc-step {
    min-height: 0;
  }

  .rfc-step > span {
    margin-bottom: 28px;
  }

  .rfc-photo-stage {
    min-height: 390px;
  }

  .rfc-privacy-panel {
    gap: 34px;
  }
}

@media (max-width: 440px) {
  .rfc-photo-stage {
    min-height: 340px;
  }

  .rfc-privacy-list > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rfc-home *,
  .rfc-home *::before,
  .rfc-home *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

