/* ============================================================
   Benchmark Email — Site-wide layout styles
   Extends colors_and_type.css with page chrome (nav, footer)
   and component classes pulled from the handoff JSX prototypes.
   ============================================================ */

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

img { display: block; max-width: 100%; }


/* ----------------------------------------------------------
   Shared page primitives
   ---------------------------------------------------------- */
.be-container { max-width: 1280px; margin: 0 auto; }
.be-container--narrow { max-width: 1180px; margin: 0 auto; }

.be-section { padding: 96px 72px; }
.be-section--alt { background: #F6EDF6; }
.be-section--soft-purple { background: var(--be-soft-purple); }

/* Eyebrow (Poppins Bold, caps, purple) */
.be-eyebrow-pill {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--be-purple);
  margin-bottom: 14px;
}

/* Inked card: 2px Night Rider outline + 8px radius */
.be-inked {
  background: var(--be-white);
  border: 2px solid var(--be-night-rider);
  border-radius: var(--radius-sm);
}

/* Buttons (reusable) */
.be-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.be-btn--primary {
  background: var(--be-purple);
  color: #fff;
  border: 0;
  padding: 14px 28px;
}
.be-btn--primary:hover { background: #2E1A64;color: #fff; }
.be-btn--primary:active { transform: translateY(1px); }
.be-btn--ghost {
  background: transparent;
  color: var(--be-purple);
  border: 2px solid var(--be-purple);
  padding: 12px 26px;
}
.be-btn--ghost:hover { background: var(--be-soft-purple); }

/* ----------------------------------------------------------
   Hero photo card cluster
   ---------------------------------------------------------- */
.be-hero {
  position: relative;
  padding: 96px 72px 64px;
  background: var(--be-off-white);
  overflow: hidden;
}
.be-hero__wash {
  position: absolute;
  right: -200px;
  bottom: -260px;
  width: 900px;
  height: 900px;
  background: var(--be-sherpa);
  transform: rotate(-18deg);
  border-radius: 160px;
  z-index: 0;
}
.be-hero__grid {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
  z-index: 1;
}
.be-hero__title {
  font-family: var(--font-display);
  font-size: 60px;
  line-height: 1.02;
  color: var(--be-night-rider);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.be-hero__lead {
  margin: 28px 0 0;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 32px;
  color: var(--fg-muted);
  max-width: 540px;
}
.be-hero__actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.be-hero__fineprint {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--be-rainy-day);
  margin-left: 6px;
}
.be-hero__photo-wrap { position: relative; }
.be-hero__photo {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.be-hero__stat {
  position: absolute;
  top: 24px;
  left: -28px;
  background: #fff;
  border: 2px solid var(--be-night-rider);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 8px 24px rgba(60, 36, 127, 0.12);
}
.be-hero__stat-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--be-minty-fresh);
  display: flex; align-items: center; justify-content: center;
}
.be-hero__stat-num {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--be-night-rider);
  line-height: 1;
  font-weight: 500;
}
.be-hero__stat-label {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--be-rainy-day);
}
.be-hero__chip {
  position: absolute;
  bottom: -20px;
  right: 24px;
  background: var(--be-minty-fresh);
  border: 2px solid var(--be-night-rider);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.be-hero__chip-avatar {
  width: 28px; height: 28px;
  border-radius: var(--radius-full);
  object-fit: cover;
}
.be-hero__chip-text {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--be-night-rider);
  line-height: 1.2;
}
.be-hero__logostrip {
  max-width: 1280px;
  margin: 72px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0.6;
  font-family: 'Song Myung', serif;
  font-size: 18px;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: 16px;
}

/* ----------------------------------------------------------
   Feature grid (3-up inked cards)
   ---------------------------------------------------------- */
.be-section-head {
  max-width: 1280px;
  margin: 0 auto;
}
.be-section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 48px;
  color: var(--be-night-rider);
  margin: 0;
  max-width: 640px;
  text-wrap: balance;
}
.be-section-lede {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
}
.be-features {
  max-width: 1280px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.be-feature {
  border: 2px solid var(--be-night-rider);
  border-radius: var(--radius-sm);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.be-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(60, 36, 127, 0.10);
}
.be-feature__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--be-off-white);
  border: 2px solid var(--be-night-rider);
  display: flex;
  align-items: center;
  justify-content: center;
}
.be-feature__title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--be-night-rider);
  line-height: 28px;
  font-weight: 500;
}
.be-feature__body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 22px;
  color: var(--fg-muted);
}
.be-feature__cta {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--be-purple);
}

/* ----------------------------------------------------------
   Testimonials
   ---------------------------------------------------------- */
.be-testimonials-head {
  max-width: 1280px;
  margin: 0 auto 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.be-testimonials-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.be-testimonial {
  border: 2px solid var(--be-night-rider);
  border-radius: var(--radius-sm);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.be-testimonial__body {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 30px;
  color: var(--be-night-rider);
  margin: 0;
  font-weight: 400;
}
.be-testimonial__meta {
  margin-top: auto;
  display: flex;
  gap: 12px;
  align-items: center;
}
.be-testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  border: 2px solid var(--be-night-rider);
  object-fit: cover;
}
.be-testimonial__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--be-night-rider);
}
.be-testimonial__role {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--be-rainy-day);
}
.be-testimonial-arrow {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  border: 2px solid var(--be-night-rider);
  background: var(--be-off-white);
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--be-night-rider);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.be-testimonial-arrows { display: flex; gap: 10px; }

/* ----------------------------------------------------------
   Pricing
   ---------------------------------------------------------- */
.be-pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
.be-pricing-toggle__group {
  display: inline-flex;
  border: 2px solid var(--be-night-rider);
  border-radius: var(--radius-full);
  padding: 4px;
  background: #fff;
}
.be-pricing-toggle__btn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 0;
  cursor: pointer;
  background: transparent;
  color: var(--be-night-rider);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.be-pricing-toggle__btn[aria-pressed="true"] {
  background: var(--be-purple);
  color: #fff;
}
.be-pricing-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.be-tier {
  background: #fff;
  color: var(--be-night-rider);
  border: 2px solid var(--be-night-rider);
  border-radius: var(--radius-sm);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.be-tier--featured {
  background: var(--be-purple);
  color: var(--be-off-white);
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(60, 36, 127, 0.25);
}
.be-tier__badge {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--be-sun-burst);
  color: var(--be-night-rider);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 2px solid var(--be-night-rider);
}
.be-tier__name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
}
.be-tier__pitch {
  font-family: var(--font-body);
  font-size: 14px;
  opacity: 0.8;
}
.be-tier__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.be-tier__price-num {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
  font-weight: 500;
}
.be-tier__price-num--contact {
  font-size: 44px;
}
.be-tier__price-unit {
  font-family: var(--font-body);
  font-size: 14px;
  opacity: 0.7;
}
.be-tier__cta {
  background: var(--be-purple);
  color: #fff;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background var(--dur-fast) var(--ease);
}
.be-tier__cta:hover { background: #2E1A64; }
.be-tier--featured .be-tier__cta {
  background: var(--be-off-white);
  color: var(--be-purple);
}
.be-tier--featured .be-tier__cta:hover { background: #fff; }
.be-tier__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.be-tier__feature {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 22px;
}
.be-tier__feature svg { flex-shrink: 0; margin-top: 2px; }

/* ----------------------------------------------------------
   Pricing summary — scannable plans-at-a-glance recap
   ---------------------------------------------------------- */
.pricing-summary {
  max-width: 720px;
  margin: var(--sp-7) auto var(--sp-8);
  padding: var(--sp-6);
  background: var(--surface);
  border: var(--outline-brand);
  border-radius: var(--radius-sm);
}
.pricing-summary > h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-display-md);
  line-height: var(--lh-display-md);
  text-align: center;
  margin: 0 0 var(--sp-5);
}
.pricing-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pricing-summary li {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-muted);
  padding: var(--sp-4) 0;
  text-wrap: pretty;
}
.pricing-summary li + li { border-top: 1px solid var(--border-divider); }
.pricing-summary strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-display-sm);
  color: var(--fg);
}
.pricing-summary a {
  color: var(--be-purple);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease);
}
.pricing-summary a:hover { border-bottom-color: var(--be-purple); }

/* ----------------------------------------------------------
   Mobile (single breakpoint — keeps the doc readable)
   ---------------------------------------------------------- */
@media (max-width: 960px) {
  .be-nav { padding: 0 20px; height: 72px; }
  .be-nav__menu { display: none; }
  .be-hero { padding: 48px 20px 32px; }
  .be-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .be-hero__title { font-size: 42px; }
  .be-hero__photo { height: 320px; }
  .be-hero__logostrip { flex-direction: column; align-items: flex-start; }
  .be-section { padding: 56px 20px; }
  .be-features,
  .be-testimonials-grid,
  .be-pricing-grid { grid-template-columns: 1fr; }
  .be-testimonials-head { flex-direction: column; align-items: flex-start; }
  .be-tier--featured { transform: none; }
  .pricing-summary { margin: var(--sp-6) var(--sp-4) var(--sp-7); padding: var(--sp-5) var(--sp-4); }
  .be-footer { padding: 48px 20px 24px; }
  .be-footer__grid { grid-template-columns: 1fr 1fr; }
  .be-footer__legal { flex-direction: column; gap: 12px; }
}
