/* ============================================================
   RFFL — Reggie Page Styles
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────────
   Offwhite — consistent with other page heroes
   ─────────────────────────────────────────────────────────── */
.reggie-hero {
  background: var(--offwhite);
  padding: 72px 0 80px;
  overflow: hidden;
}

.reggie-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.section-label--red { color: rgba(240, 92, 99, 0.8); }

.reggie-hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 9vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 20px;
  margin-top: 8px;
}

.reggie-hero-sub {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 36px;
}

.reggie-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.reggie-hero-graphic {
  display: flex;
  justify-content: center;
}

.reggie-hero-img-wrap {
  width: 100%;
  max-width: 280px;
}
.reggie-hero-img-wrap svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ── The Problem ─────────────────────────────────────────────
   White — contrasts with offwhite hero
   ─────────────────────────────────────────────────────────── */
.reggie-problem {
  background: var(--white);
  padding: var(--section-py) 0;
}

.reggie-problem-header {
  max-width: 560px;
  margin-bottom: 44px;
}
.reggie-problem-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 22px;
}
.reggie-problem-sub {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.problem-tile {
  background: var(--offwhite);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 30px;
}

.problem-tile-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.problem-tile-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.problem-tile-body {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ── The Solution ────────────────────────────────────────────
   Offwhite — contrasts with white problem section
   ─────────────────────────────────────────────────────────── */
.reggie-solution {
  background: var(--offwhite);
  padding: var(--section-py) 0;
}

.reggie-solution-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.reggie-solution-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 14px;
  margin-top: 8px;
}

.reggie-solution-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 36px;
}

.solution-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.solution-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.solution-feature-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(240, 92, 99, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.solution-feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.solution-feature-body {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Reggie illustration + chat bubble */
.reggie-solution-graphic {
  display: flex;
  justify-content: center;
}

.reggie-solution-img-wrap {
  position: relative;
  width: 100%;
  max-width: 260px;
}

.reggie-solution-img-wrap svg {
  display: block;
  width: 100%;
  height: auto;
}

.reggie-chat-bubble {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
  max-width: 240px;
}

.chat-bubble-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.chat-example {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-secondary);
  font-style: italic;
}

/* ── Pricing ─────────────────────────────────────────────────
   White — contrasts with offwhite solution section
   ─────────────────────────────────────────────────────────── */
.reggie-pricing {
  background: var(--white);
  padding: var(--section-py) 0;
}

.reggie-pricing-header {
  max-width: 480px;
  margin-bottom: 48px;
}

.reggie-pricing-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.reggie-pricing-sub {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.reggie-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

.reggie-tier {
  background: var(--offwhite);
  border: var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition);
}
.reggie-tier:hover {
  box-shadow: var(--shadow-md);
}

/* Featured (Unlimited) */
.reggie-tier--featured {
  background: var(--white);
  border-color: var(--red);
  border-width: 2px;
  box-shadow: 0 8px 32px rgba(240, 92, 99, 0.14);
}
.reggie-tier--featured:hover {
  box-shadow: 0 12px 40px rgba(240, 92, 99, 0.22);
}

/* Platform tier — subtle distinction */
.reggie-tier--platform {
  background: var(--offwhite);
}

.reggie-tier-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.reggie-tier-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.reggie-tier--featured .reggie-tier-name { color: var(--red); }

.reggie-tier-price-wrap {
  margin-bottom: 6px;
}
.reggie-tier-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.reggie-tier-per {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 3px;
}

.reggie-tier-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.reggie-tier-divider {
  border: none;
  border-top: var(--border);
  margin: 0 0 20px;
}

.reggie-tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 28px;
  flex: 1;
}
.reggie-tier-feature {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.reggie-tier-feature::before {
  content: '';
  flex-shrink: 0;
  margin-top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(240, 92, 99, 0.1);
  background-size: 9px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 9 9'%3E%3Cpath d='M1.5 4.5l2 2L7.5 2' stroke='%23f05c63' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.reggie-tier .btn {
  width: 100%;
  justify-content: center;
}

/* ── Desktop overrides ──────────────────────────────────────── */
@media (min-width: 720px) {
  .problem-grid { grid-template-columns: repeat(3, 1fr); }
  .reggie-pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .reggie-tier--featured {
    padding-top: 36px;
    padding-bottom: 40px;
  }
}

@media (min-width: 860px) {
  .reggie-hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
  .reggie-hero-content { flex: 1; }
  .reggie-hero-graphic {
    flex: 0 0 320px;
    justify-content: flex-end;
  }
  .reggie-hero-img-wrap { max-width: 300px; }

  .reggie-solution-inner {
    flex-direction: row;
    align-items: center;
    gap: 72px;
  }
  .reggie-solution-content { flex: 1; }
  .reggie-solution-graphic {
    flex: 0 0 280px;
    justify-content: flex-end;
  }
  .reggie-solution-img-wrap { max-width: 260px; }
}
