/* Resident Benefits Package — page-specific styles */

/* HERO */
.rbp-hero { padding: 72px 0 56px; position: relative; overflow: hidden; text-align: center; }
.rbp-hero .hero-grid { display: block; }
.rbp-hero .hero-left { max-width: 720px; margin: 0 auto; position: relative; z-index: 2; }
.rbp-hero .eyebrow { justify-content: center; }
.rbp-hero h1 {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: clamp(40px, 6vw, 76px); line-height: .98; letter-spacing: -.03em;
  margin: 20px 0 20px; color: var(--ink);
}
.rbp-hero h1 .line { display: block; }
.rbp-hero h1 em { font-style: italic; color: var(--accent); font-weight: 600; }
.rbp-hero h1 .underline { position: relative; display: inline-block; }
.rbp-hero h1 .underline::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .08em;
  height: .08em; background: var(--accent); opacity: .25; transform: skewY(-1deg);
}
.rbp-hero .hero-sub { font-size: 19px; line-height: 1.55; color: #40444F; max-width: 560px; margin: 0 auto 32px; }
.rbp-hero .hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-ghost {
  position: absolute; right: -40px; bottom: -60px;
  font-family: 'Fraunces', serif; font-weight: 800; font-style: italic;
  font-size: 360px; color: rgba(8, 78, 254, 0.05); line-height: 1;
  letter-spacing: -.06em; pointer-events: none; z-index: 0;
}

/* WHAT'S INCLUDED */
.rbp-included { padding: 96px 0; }
.rbp-included .section-title {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -.03em;
  margin: 0 auto 56px; max-width: 700px;
}
.rbp-included .section-title em { font-style: italic; color: var(--accent); font-weight: 600; }
.rbp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rbp-card {
  background: var(--card); border: 1px solid rgba(11,13,20,.08); border-radius: 20px;
  padding: 32px 28px; transition: all .2s;
}
.rbp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.rbp-ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-tint); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 18px;
}
.rbp-card h3 { font-family: 'Fraunces', serif; font-weight: 700; font-size: 19px; letter-spacing: -.01em; margin: 0 0 10px; }
.rbp-card p { font-size: 14.5px; line-height: 1.6; color: #40444F; margin: 0; }

/* PEACE OF MIND */
.rbp-peace { padding: 72px 0; background: var(--paper-2); }
.rbp-peace .section-title {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -.03em;
  margin: 0 0 40px;
}
.rbp-peace .section-title em { font-style: italic; color: var(--accent); font-weight: 600; }
.rbp-peace-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rbp-peace-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid rgba(11,13,20,.08); border-radius: 16px;
  padding: 20px 22px; color: var(--accent);
}
.rbp-peace-item svg { flex-shrink: 0; }
.rbp-peace-item span { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.4; }

/* FAQ */
.rbp-faq { padding: 96px 0; max-width: 820px; margin: 0 auto; }
.rbp-faq .section-title {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -.03em;
  margin: 0 0 40px;
}
.rbp-faq .section-title em { font-style: italic; color: var(--accent); font-weight: 600; }
.rbp-faq-list details {
  border-bottom: 1px solid rgba(11,13,20,.12); padding: 24px 0; transition: all .2s;
}
.rbp-faq-list summary {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -.01em; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; line-height: 1.25;
}
.rbp-faq-list summary::-webkit-details-marker { display: none; }
.rbp-faq-list summary::after {
  content: '+'; font-family: 'DM Sans'; font-size: 28px; font-weight: 300; color: var(--accent);
  transition: transform .2s; flex-shrink: 0;
}
.rbp-faq-list details[open] summary::after { transform: rotate(45deg); }
.rbp-faq-list details p { color: #40444F; font-size: 16px; margin: 14px 0 0; max-width: 720px; line-height: 1.65; }
.rbp-faq-list details p a { color: var(--accent); border-bottom: 1px solid rgba(8,78,254,.3); }
.rbp-faq-list details p a:hover { border-color: var(--accent); }

/* FINAL CTA (shares markup pattern with Areas/Pricing final sections) */
.final { padding: 100px 0; background: var(--paper-2); text-align: center; }
.final h2 {
  font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(36px, 5vw, 64px);
  line-height: .98; letter-spacing: -.03em; margin: 0 0 18px;
  max-width: 700px; margin-left: auto; margin-right: auto;
}
.final h2 em { font-style: italic; color: var(--accent); }
.final p { font-size: 17px; color: #40444F; max-width: 520px; margin: 0 auto 28px; }
.final-btns { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 900px) {
  .rbp-grid { grid-template-columns: repeat(2, 1fr); }
  .rbp-peace-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .rbp-hero { padding: 48px 0 40px; }
  .rbp-hero .hero-cta { flex-direction: column; width: 100%; }
  .rbp-hero .hero-cta .btn { width: 100%; }
  .rbp-included, .rbp-peace, .rbp-faq, .final { padding: 56px 0; }
  .rbp-grid { grid-template-columns: 1fr; }
}
