/* Products for Good — static rebuild
   Brand: orange #ff914d, teal accent #00BA95, dark text #152237
   Fonts: Bebas Neue (titles), Inter (body) */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800&family=Oswald:wght@300;400;500;600;700&display=swap');

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #152237;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #ff914d; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: #152237;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
p { margin: 0 0 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--orange { background: #ff914d; color: #fff; }
.section--orange h1, .section--orange h2, .section--orange h3 { color: #fff; }
.section--light { background: #fff; }
.section--gray { background: #f6f7f9; }
.text-center { text-align: center; }
.eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.5rem;
  color: #ff914d;
  margin-bottom: 0.5rem;
}
.section--orange .eyebrow { color: #ffe6d5; }
.lead { font-size: 1.15rem; max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: #3278ff;
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 0.25rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: filter .15s ease;
  text-align: center;
}
.btn:hover { filter: brightness(0.93); text-decoration: none; color: #fff; }
.btn--primary { background: #ff914d; }
.btn--dark { background: #152237; }
.btn--teal { background: #00BA95; }
.btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.15); color:#fff; }
.btn--lg { font-size: 1.1rem; padding: 1rem 2rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; max-width: 1140px; margin: 0 auto;
}
.nav__logo img { height: 44px; width: auto; }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  font-size: 1.6rem; color: #152237;
}
.nav__menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__menu > li { position: relative; }
.nav__menu a { color: #152237; font-weight: 500; padding: 10px 14px; display: block; border-radius: 6px; }
.nav__menu a:hover { background: #f5f5f5; text-decoration: none; }
.nav__menu .btn { color:#fff; }
.nav__menu .btn:hover { background:#ff914d; }

/* dropdowns */
.has-dropdown > a::after { content: ' \25BE'; font-size: .7em; opacity: .6; }
.dropdown {
  position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid #eee; border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  min-width: 240px; padding: 8px; list-style: none; margin: 6px 0 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .15s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { padding: 9px 12px; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid #eee; padding: 48px 0 32px; }
.footer__grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.footer__logo img { height: 54px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; }
.footer__links a { color: #152237; font-weight: 500; }
.footer__social { display: flex; gap: 16px; font-size: 1.4rem; }
.footer__social a { color: #152237; }
.footer__social a:hover { color: #ff914d; }
.footer__copy { margin-top: 28px; color: #6b7280; font-size: .9rem; }

/* ---------- Grid / cards ---------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid #eee; border-radius: 14px;
  overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.05);
  display: flex; flex-direction: column;
}
.card__img { aspect-ratio: 16/9; object-fit: cover; width: 100%; background:#f2f2f2; }
/* Show the whole image (e.g. square course art) without cropping. */
.card__img--contain { object-fit: contain; aspect-ratio: 1 / 1; background:#fff; padding: 10px; }
.card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-family:'Inter',sans-serif; font-weight: 700; font-size: 1.15rem; margin: 0 0 8px; line-height:1.3; }
.card__meta { color: #6b7280; font-size: .85rem; margin-bottom: 10px; }
.card__tags { display:flex; flex-wrap:wrap; gap:6px; margin-bottom: 12px; }
.tag { background:#eef4ff; color:#3278ff; font-size:.72rem; font-weight:600; padding:3px 9px; border-radius:999px; }
.card__text { color:#374151; font-size:.95rem; flex:1; }
.card__cta { margin-top: 16px; }

/* ---------- Split hero (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: 16px; width: 100%; }

/* ---------- Feature checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .fa-check, .checklist .check { color: #d63384; margin-top: 4px; flex-shrink: 0; }

/* ---------- Logos strip ---------- */
.logos { display: flex; flex-wrap: wrap; gap: 32px 44px; align-items: center; justify-content: center; }
.logos img { max-height: 60px; width: auto; filter: none; }
.logos--sm img { max-height: 44px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  border: 1px solid #e5e7eb; border-radius: 16px; padding: 32px 26px; background:#fff;
  display:flex; flex-direction:column; position: relative;
}
.plan--featured { border-color:#ff914d; box-shadow: 0 10px 30px rgba(255,145,77,.18); }
/* Keep plan card text dark even inside an orange (white-text) section. */
.plan, .plan .plan__name, .plan .plan__price, .plan ul li { color: #152237; }
.plan .plan__price span { color:#6b7280; }
.plan__badge { position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:#ff914d; color:#fff; font-size:.75rem; font-weight:700; padding:5px 14px; border-radius:999px; letter-spacing:.04em; }
.plan__name { font-family:'Inter'; font-weight:700; font-size:1.3rem; margin-bottom:4px; }
.plan__price { font-size:2.2rem; font-weight:800; margin: 8px 0 4px; }
.plan__price span { font-size:1rem; font-weight:500; color:#6b7280; }
.plan ul { list-style:none; padding:0; margin: 18px 0 24px; display:grid; gap:10px; flex:1; }
.plan ul li { padding-left: 26px; position: relative; }
.plan ul li::before { content:"\2713"; position:absolute; left:0; color:#00BA95; font-weight:700; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid #e5e7eb; padding: 18px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 1.08rem; list-style: none; display:flex; justify-content:space-between; gap:16px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content: "+"; color:#ff914d; font-size:1.4rem; line-height:1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: 12px; color:#374151; }

/* ---------- Compare table ---------- */
.compare { width:100%; border-collapse: collapse; margin-top: 24px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid #eee; text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background:#152237; color:#fff; }
.compare thead th:first-child { background:#152237; }
.compare .col-highlight { background: #fff6f0; font-weight:600; }

/* ---------- Form ---------- */
.form { max-width: 520px; margin: 0 auto; display: grid; gap: 16px; }
.form label { font-weight: 600; font-size: .95rem; }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 8px;
  font-family: inherit; font-size: 1rem;
}
.form input:focus, .form textarea:focus { outline: 2px solid #ff914d; border-color: #ff914d; }
.note { font-size: .85rem; opacity: .85; }
.form__status { font-weight: 600; margin: 4px 0 0; }
.form__status--pending { color: #6b7280; }
.form__status--ok { color: #00BA95; font-size: 1.1rem; }
.form__status--error { color: #F73730; }
/* On orange sections, keep the success message readable */
.section--orange .form__status--ok { color: #fff; }
.section--orange .form__status--pending { color: #ffe6d5; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-family:'Inter'; font-weight:700; font-size:1.3rem; margin-top: 2rem; }
.legal p, .legal li { color:#374151; }

/* ---------- Stats ---------- */
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align:center; }
.stat__num { font-family:'Bebas Neue'; font-size: 3rem; color:#ff914d; line-height:1; }
.section--orange .stat__num { color:#fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--3, .grid--4, .pricing, .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
@media (max-width: 768px) {
  .nav__toggle { display: block; }
  .nav__menu {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid #eee; padding: 8px 12px 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
  }
  .nav__menu.is-open { display: flex; }
  .dropdown { position: static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:0; padding: 0 0 0 14px; min-width:0; margin:0; }
  .has-dropdown:hover .dropdown { }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4, .pricing, .stats { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}


/* ---------- Logo slider (continuous marquee, 4 visible) ---------- */
.logo-slider {
  --visible: 4;
  overflow: hidden;
  width: 100%;
  margin-top: 32px;
  position: relative;
  /* soft fade on the edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.logo-slider__track {
  display: flex;
  width: max-content;
  animation: logo-scroll var(--logo-scroll-duration, 40s) linear infinite;
}
.logo-slider:hover .logo-slider__track { animation-play-state: paused; }
.logo-slider__item {
  /* Show 4 at a time. Width = (visible slider width) / (logos shown).
     --slider-w is refined by JS to the exact container width, but the
     min(...) fallback keeps it correct with NO JavaScript too:
     it uses the smaller of the viewport width or the 1100px container. */
  --_w: min(1100px, 100vw);
  flex: 0 0 calc(var(--slider-w, var(--_w)) / var(--visible, 4));
  width: calc(var(--slider-w, var(--_w)) / var(--visible, 4));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  box-sizing: border-box;
}
.logo-slider__item img {
  max-height: 64px;
  width: auto;
  object-fit: contain;
}
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* track is duplicated 2x -> one full loop */
}
@media (prefers-reduced-motion: reduce) {
  .logo-slider__track { animation: none; }
}
@media (max-width: 900px) {
  .logo-slider { --visible: 3; }  /* 3 at a time on tablet */
}
@media (max-width: 560px) {
  .logo-slider { --visible: 2; }  /* 2 at a time on phone */
  .logo-slider__item img { max-height: 52px; }
}


/* ---------- Video cards (podcast guest appearances) ---------- */
.video-card__thumb {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  background: #000; cursor: pointer; overflow: hidden; line-height: 0;
}
.video-card__thumb .card__img { transition: transform .3s ease, opacity .2s ease; }
.video-card__thumb:hover .card__img { transform: scale(1.04); opacity: .9; }
.video-card__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.video-card__play i {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,145,77,.95); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; padding-left: 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  transition: transform .2s ease, background .2s ease;
}
.video-card__thumb:hover .video-card__play i { transform: scale(1.08); background: #ff914d; }
.video-card__thumb:focus-visible { outline: 3px solid #3278ff; outline-offset: 2px; }

/* ---------- Video modal / lightbox ---------- */
.video-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.video-modal[hidden] { display: none; }
.video-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.8); }
.video-modal__dialog {
  position: relative; width: min(90vw, 960px); z-index: 1;
  background: #000; border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.video-modal__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.video-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal__close {
  position: absolute; top: -6px; right: 4px; z-index: 2;
  background: transparent; border: 0; color: #fff; font-size: 2.4rem; line-height: 1;
  cursor: pointer; padding: 8px; text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.video-modal__close:hover { color: #ff914d; }
body.modal-open { overflow: hidden; }


/* ---------- Testimonial slider (rotating, one at a time) ---------- */
.tslider { max-width: 760px; margin: 0 auto; position: relative; }
.tslider__viewport { position: relative; min-height: 220px; }
.tslide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .5s ease; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.tslide.is-active { opacity: 1; visibility: visible; position: relative; }
.tslide__avatar {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 18px; box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.tslide__quote { font-size: 1.2rem; font-style: italic; margin: 0 0 16px; }
.tslide__name { font-weight: 700; margin: 0; }
.tslide__title { color: #6b7280; font-size: .9rem; margin: 2px 0 0; }

.tslider__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.tslider__btn {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 50%;
  width: 42px; height: 42px; cursor: pointer; font-size: 1rem; color: #152237;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease, border-color .15s ease;
}
.tslider__btn:hover { background: #fff6f0; border-color: #ff914d; color: #ff914d; }
.tslider__btn:focus-visible { outline: 3px solid #3278ff; outline-offset: 2px; }
.tslider__dots { display: flex; gap: 8px; }
.tslider__dot {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0;
  background: #d1d5db; cursor: pointer;
}
.tslider__dot.is-active { background: #ff914d; }
.tslider__dot:focus-visible { outline: 2px solid #3278ff; outline-offset: 2px; }


/* ---------- Feature items with icons (course landing) ---------- */
.feat { text-align: center; }
.feat__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff6f0; color: #ff914d; font-size: 1.5rem; margin-bottom: 14px;
}
.feat h3 { margin: 0 0 6px; }
.feat p { color: #374151; margin: 0; }
/* inline icon next to a card title */
.card__icon { color: #ff914d; margin-right: 8px; }


/* ---------- Case studies (draft, unlisted) ---------- */
/* Hero: headshot + client intro */
.cs-hero__inner { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.cs-hero__shot {
  width: 220px; height: 220px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,.18); background: #fff;
}
.cs-hero__text h1 { margin: 6px 0 12px; }
.cs-hero__who { font-weight: 600; font-size: 1.05rem; margin: 0 0 18px; color: #fff; }
.cs-hero__logo {
  display: inline-block; max-height: 64px; max-width: 280px; width: auto; height: auto;
  background: #fff; padding: 10px 16px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.cs-hero a:hover { text-decoration: none; }

/* Summary: snapshot box */
.cs-summary { max-width: 860px; }
.cs-snap {
  margin: 0; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.05); background: #fff;
}
.cs-snap__row { display: grid; grid-template-columns: 200px 1fr; gap: 0; }
.cs-snap__row + .cs-snap__row { border-top: 1px solid #eee; }
.cs-snap dt {
  font-weight: 700; color: #152237; padding: 16px 20px; background: #f6f7f9;
  border-right: 1px solid #eee;
}
.cs-snap dd { margin: 0; padding: 16px 20px; color: #374151; }
.cs-snap__logo { display: block; max-width: 220px; height: auto; margin-bottom: 8px; }

/* Prose story sections */
.cs-prose { max-width: 820px; }
.cs-prose h2 { margin-top: 1.6rem; }
.cs-prose h2:first-child { margin-top: 0; }
.cs-prose p { color: #374151; }
.cs-prose .checklist { margin: 16px 0 24px; }

/* Pull quotes */
.cs-quotes { max-width: 820px; }
.cs-quote {
  margin: 0 0 28px; padding: 28px 32px; background: #fff6f0;
  border-left: 5px solid #ff914d; border-radius: 0 14px 14px 0;
}
.cs-quote p { font-size: 1.2rem; line-height: 1.5; color: #152237; margin: 0 0 12px; }
.cs-quote cite { font-style: normal; font-weight: 600; color: #6b7280; font-size: .95rem; }

/* Clips: 2x2 grid of square videos (sits under the "In their words" quotes) */
.cs-clips {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  margin: 8px auto 0;
}
.cs-clip {
  margin: 0; background: #fff; border: 1px solid #eee; border-radius: 14px;
  overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.cs-clip__video {
  width: 100%; aspect-ratio: 1 / 1; display: block; background: #000; object-fit: cover;
}
.cs-clip__cap { display: block; padding: 16px 18px; }
.cs-clip__title { display: block; font-weight: 700; color: #152237; margin-bottom: 4px; }
.cs-clip__text { display: block; color: #6b7280; font-size: .92rem; }

/* Work-with-Moshe list */
.cs-work { max-width: 640px; margin: 24px auto 0; }

@media (max-width: 760px) {
  .cs-hero__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 24px; }
  .cs-snap__row { grid-template-columns: 1fr; }
  .cs-snap dt { border-right: 0; border-bottom: 1px solid #eee; }
  .cs-clips { grid-template-columns: 1fr; }
}
