/*
 * Feature/marketing pages in the home page style (first used by _wiim.php,
 * "What's in it for me?"). Light blue hero wash, alternating image/text rows,
 * blue pill buttons, navy call-to-action band. Scoped to .rzf*.
 */
:root {
  --rzf-ink: #16212c;
  --rzf-muted: #5f6d7b;
  --rzf-line: #e1e8ef;
  --rzf-primary: #0091ff;
  --rzf-primary-dark: #0a7fe0;
  --rzf-navy: #0f1b26;
}

body.rzf-body {
  background: #f7f7f7;
}

.rzf {
  color: var(--rzf-ink);
}

.rzf h1,
.rzf h2,
.rzf p {
  margin: 0;
}

.rzf-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Hero ---------- */
.rzf-hero {
  padding: clamp(40px, 7vw, 80px) 0 clamp(36px, 5vw, 56px);
  background:
    radial-gradient(ellipse 55% 90% at 12% 0%, rgba(0, 145, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 80% at 95% 20%, rgba(14, 159, 110, 0.08), transparent 60%),
    linear-gradient(180deg, #eef6ff 0%, #f7f7f7 100%);
  text-align: center;
}

.rzf-eyebrow {
  margin-bottom: 10px !important;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rzf-primary);
  text-align: center;
}

.rzf-hero h1 {
  max-width: 760px;
  margin: 0 auto !important;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--rzf-ink);
  text-align: center;
}

.rzf-lead {
  max-width: 620px;
  margin: 14px auto 0 !important;
  font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem);
  line-height: 1.55;
  color: var(--rzf-muted);
  text-align: center;
}

.rzf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 20px;
}

.rzf-actions-center {
  justify-content: center;
  margin-top: 26px;
}

.rzf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--rzf-line);
  border-radius: 999px;
  background: #fff;
  color: var(--rzf-ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.rzf-btn:hover,
.rzf-btn:focus-visible {
  border-color: #b8d9f5;
  color: #03446a;
  outline: none;
  transform: translateY(-1px);
}

.rzf-btn-primary {
  border-color: var(--rzf-primary);
  background: var(--rzf-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 145, 255, 0.3);
}

.rzf-btn-primary:hover,
.rzf-btn-primary:focus-visible {
  border-color: var(--rzf-primary-dark);
  background: var(--rzf-primary-dark);
  color: #fff;
}

.rzf-btn i { transition: transform 0.2s ease; }
.rzf-btn:hover .fa-arrow-right { transform: translateX(3px); }

.rzf-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.rzf-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--rzf-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--rzf-ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.rzf-pills i { color: var(--rzf-primary); }

/* ---------- Feature rows ---------- */
.rzf-features {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  padding-top: 12px;
  padding-bottom: 12px;
}

.rzf-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--rzf-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 33, 48, 0.04), 0 16px 36px -22px rgba(16, 33, 48, 0.25);
}

.rzf-row-flip .rzf-media { order: 2; }

.rzf-media {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 16px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 145, 255, 0.10), transparent 60%),
    linear-gradient(135deg, #f2f8ff, #f6fbf8);
}

.rzf-media img {
  display: block;
  max-width: 100%;
  max-height: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.rzf-copy { text-align: left; }

.rzf-tag {
  display: inline-block;
  margin-bottom: 10px !important;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e8f4ff;
  color: #03446a;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rzf-copy h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--rzf-ink);
  text-align: left;
}

.rzf-copy > p:not(.rzf-tag) {
  margin-top: 12px !important;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--rzf-muted);
  text-align: left;
}

.rzf-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--rzf-primary);
  font-weight: 600;
  text-decoration: none;
}

.rzf-link:hover { color: var(--rzf-primary-dark); text-decoration: underline; }

/* ---------- Closing call to action ---------- */
.rzf-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin: clamp(28px, 5vw, 48px) 0 clamp(40px, 6vw, 64px);
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 120% at 100% 0%, rgba(0, 145, 255, 0.35), transparent 60%),
    var(--rzf-navy);
  color: #fff;
}

.rzf-cta h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: left;
}

.rzf-cta p {
  margin-top: 6px !important;
  color: #c9d4de;
  text-align: left;
}

.rzf-cta .rzf-actions { margin-top: 0; }

.rzf-btn-light {
  border-color: #fff;
  background: #fff;
  color: var(--rzf-navy);
}

.rzf-btn-light:hover,
.rzf-btn-light:focus-visible { background: #eef7ff; color: var(--rzf-navy); }

.rzf-btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.rzf-btn-ghost:hover,
.rzf-btn-ghost:focus-visible { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .rzf-row { grid-template-columns: minmax(0, 1fr); }
  .rzf-row-flip .rzf-media { order: 0; }
  .rzf-media { min-height: 0; }
  .rzf-media img { max-height: 220px; }
}

@media (max-width: 560px) {
  .rzf-wrap { padding: 0 16px; }
  .rzf-actions .rzf-btn { width: 100%; }
  .rzf-actions-center { flex-direction: column; }
  .rzf-pills li { font-size: 0.82rem; }
  .rzf-cta .rzf-actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .rzf-btn, .rzf-btn i { transition: none; }
}
