
.hero-wrap { padding: calc(80px + 46px + var(--edge)) var(--edge) 0; }

.hero {
  position: relative;
  min-height: 600px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  
  background-color: var(--hero-img-edge);
  background-image: url("../assets/hero-potion.webp");
  background-size: auto 100%;
  background-position: right center;
  background-repeat: no-repeat;
  will-change: transform;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 130% at 100% 100%, rgba(var(--dark-rgb), .82) 0%, rgba(var(--dark-rgb), .35) 34%, transparent 62%),
    linear-gradient(to top, rgba(var(--dark-rgb), .45) 0%, transparent 40%);
  z-index: 1;
}

.hero-pill {
  position: absolute;
  top: 18px; right: 20px;
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  z-index: 2;
  cursor: pointer;
  transition: background-color .3s ease;
}

.hero-pill:hover { background: rgba(var(--teal-dark-rgb), .18); }

.hero-pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  margin-right: 9px;
  transition: margin-right .3s ease;
}

.hero-pill:hover .dot { margin-right: 19px; }

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.hero-title {
  color: #fff;
  font-size: 66px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1px;
  max-width: 830px;
}

.slide-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.slide-word > span,
.slide-word { transform: translateY(0); }

.hero-title .slide-word {
  opacity: 0;
  transform: translateY(60%);
  animation: wordUp .8s cubic-bezier(.165,.84,.44,1) forwards;
}

.hero-title .slide-word:nth-child(1) { animation-delay: .05s; }
.hero-title .slide-word:nth-child(2) { animation-delay: .125s; }
.hero-title .slide-word:nth-child(3) { animation-delay: .2s; }
.hero-title .slide-word:nth-child(5) { animation-delay: .275s; }
.hero-title .slide-word:nth-child(6) { animation-delay: .35s; }

@keyframes wordUp { to { opacity: 1; transform: translateY(0); } }

.hero-side { max-width: 505px; padding-bottom: 8px; }

.hero-side p {
  color: rgba(255,255,255,.9);
  font-size: 16px;
  margin-bottom: 22px;
  text-shadow: 0 1px 12px rgba(0,0,0,.55);
}

.feature-cols { padding: 58px 0 44px; }

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-col {
  border-left: 2px solid var(--gray-2);
  padding-left: 30px;
  transition: border-color .35s ease;
}

.feature-col:hover { border-color: var(--primary); }

.feature-col h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-col p { font-size: 15px; margin-bottom: 18px; max-width: 365px; }

.legacy { padding: 60px 0 50px; }

.legacy-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 44px;
}

.legacy-head h2 {
  font-size: 47px;
  font-weight: 700;
  letter-spacing: -.5px;
}

.legacy-side { max-width: 460px; padding-top: 8px; }
.legacy-side > p { font-size: 15.5px; margin-bottom: 20px; }

.legacy-cta { display: flex; align-items: center; gap: 18px; }

.avatars { display: flex; }

.avatar {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid #fff;
  transition: margin .3s ease;
  cursor: pointer;
}

.avatar:not(:first-child) { margin-left: -14px; }
.avatars:hover .avatar:not(:first-child) { margin-left: 6px; }

.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

.avatar::after {
  content: attr(data-name);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--teal-dark);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease;
  white-space: nowrap;
  z-index: 5;
}

.avatar:hover::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.legacy-cards { gap: 30px; }

.legacy-card {
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  background: var(--gray-1);
}

.legacy-card-img { overflow: hidden; }

.legacy-card-img img {
  width: 100%;
  aspect-ratio: 440/255;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.165,.84,.44,1);
}

.legacy-card:hover .legacy-card-img img { transform: scale(1.05); }

.legacy-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 22px;
  font-family: var(--heading-font);
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ink);
}

.legacy-card-bar svg { transition: transform .3s ease; }
.legacy-card:hover .legacy-card-bar svg { transform: translateX(4px); }

.framework { padding: 70px 0 60px; }

.framework-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.framework-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 14px;
}

.framework-copy h2 {
  font-size: 47px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.5px;
  color: var(--ink);
  margin-bottom: 18px;
}

.framework-copy > p.ph { font-size: 16px; color: var(--black); max-width: 520px; }

.framework-streams-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 26px 0 12px;
}

.framework-streams {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.framework-streams span {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  background: var(--gray-1);
  border: 1px solid var(--gray-2);
  border-radius: 999px;
  padding: 7px 14px;
}

.framework-panel {
  border-radius: var(--radius);
  overflow: hidden;
}

.framework-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.framework-stages .stage-num {
  font-family: var(--heading-font);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: var(--black);
  margin-bottom: 14px;
}

.stats { padding: 60px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1.13fr;
  gap: 90px;
  align-items: center;
}

.stats-copy .stats-big {
  font-family: var(--heading-font);
  font-size: 74px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.stats-label {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  margin: 10px 0 26px;
}

.stats-copy h3 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.3px;
  max-width: 560px;
}

.stats-divider { border: 0; border-top: 1px solid var(--gray-2); margin: 30px 0 24px; max-width: 575px; }

.stats-copy p { font-size: 15.5px; max-width: 485px; margin-bottom: 26px; }

.btn-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.stats-asterisks {
  font-family: var(--heading-font);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 2px;
  display: flex;
  align-items: flex-end;
}

.stats-asterisks .dash {
  width: 24px; height: 7px;
  background: var(--teal-dark);
  border-radius: 2px;
  margin-left: 7px;
  margin-bottom: 2px;
}

.stats-panel {
  border-radius: 10px;
  padding: 80px;
  background-size: cover;
  background-position: center;
}

.panel-donut { background-image: url("../assets/ind-food.jpg"); aspect-ratio: 1 / 1; }
.panel-bars { background-image: url("../assets/ind-films.jpg"); }

.quotes { padding: 60px 0; }

.quotes-head { text-align: center; margin-bottom: 46px; }

.quotes-head h2 {
  font-size: 47px;
  font-weight: 700;
  letter-spacing: -.4px;
  max-width: 980px;
  margin: 0 auto 18px;
}

.quotes-head p { font-size: 15.5px; color: var(--black); }

.split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  margin: 0 auto 34px;
  max-width: 1180px;
}

.split-copy {
  padding: 46px;
  display: flex;
  flex-direction: column;
  min-height: 585px;
}

.split-logo { width: auto; height: 38px; align-self: flex-start; margin-bottom: 24px; }

.split-copy h3 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.3px;
  max-width: 480px;
}

.split-copy p { font-size: 14px; color: var(--black); margin-top: auto; max-width: 480px; }

.split-img { position: relative; min-height: 585px; }

.split-img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.logos-band { background: var(--gray-1); padding: 52px 0 58px; overflow: hidden; }

.logos-title {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 38px;
}

.marquee {
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee-track img { height: 34px; width: auto; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 40px)); }
}

.best { padding: 90px 0 70px; }

.best-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 66px;
}

.badge-line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--heading-font);
  margin-bottom: 18px;
}

.ico-tile {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--primary-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ico-tile.round { border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); }

.best-left h2 {
  font-size: 47px;
  font-weight: 700;
  letter-spacing: -.5px;
}

.best-right { max-width: 330px; }
.best-right p { font-size: 15px; margin-bottom: 20px; }

.best-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px 30px;
}

.best-cell {
  border-left: 2px solid var(--gray-2);
  padding-left: 30px;
  transition: border-color .35s ease;
}

.best-cell:hover { border-color: var(--primary); }

.best-ico { margin-bottom: 18px; }

.best-cell h4 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }

.best-cell p { font-size: 14.5px; max-width: 280px; margin-bottom: 18px; }

.duo { padding: 40px 0 60px; }

.duo-grid {
  display: grid;
  grid-template-columns: 1.58fr 1fr;
  gap: 30px;
}

.duo-quote {
  background: var(--gray-1);
  border-radius: var(--radius);
  padding: 60px;
}

.duo-person { display: flex; align-items: center; gap: 13px; margin-bottom: 26px; }
.duo-person img { border-radius: 50%; }
.duo-person strong { display: block; font-size: 15.5px; color: var(--ink); line-height: 1.3; }
.duo-person span { font-size: 13.5px; color: var(--black); }

.duo-quote h3 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -.3px;
  max-width: 680px;
  margin-bottom: 20px;
}

.duo-quote p { font-size: 15px; max-width: 620px; margin-bottom: 26px; }

.stars { display: flex; gap: 3px; }
.rated { font-size: 13px; color: var(--black); margin-top: 8px; }

.duo-trusted {
  border-radius: var(--radius);
  background-image: url("../assets/why-hero-b.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  min-height: 420px;
}

.duo-trusted-inner { padding: 42px; width: 100%; }

.duo-trusted-inner strong {
  display: block;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 20px;
}

.trusted-logos { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.trusted-logos img { width: auto; opacity: .95; }

.video-wrap { padding: 30px var(--edge); }

.video-card {
  position: relative;
  min-height: 550px;
  border-radius: var(--radius);
  border: 1px solid #fff;
  
  background-image: linear-gradient(180deg, rgba(255,255,255,.67) 0%, #fff 100%), linear-gradient(rgba(var(--teal-dark-rgb), .28), rgba(var(--teal-dark-rgb), .28)), url("../assets/bridge-hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 30px;
}

.play-btn {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 16px 44px rgba(0,0,0,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: transform .3s ease;
}

.play-btn:hover { transform: scale(1.08); }
.play-btn svg { margin-left: 3px; }

.video-card .badge-line { margin-bottom: 14px; }

.video-card h2 {
  font-size: 47px;
  font-weight: 700;
  letter-spacing: -.4px;
  margin-bottom: 18px;
}

.video-card p { font-size: 15px; color: var(--black); margin-bottom: 26px; }

.blog { padding: 70px 0; overflow: hidden; }

.blog-grid {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 110px;
  align-items: center;
}

.blog-label { color: var(--primary); font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }

.blog-copy h2 {
  font-size: 47px;
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 14px;
}

.blog-copy p { font-size: 15.5px; margin-bottom: 24px; max-width: 260px; }

.blog-carousel { position: relative; min-width: 0; }

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform .6s cubic-bezier(.25,.8,.35,1);
}

.blog-card {
  flex: 0 0 388px;
  background: #fff;
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  z-index: 1;
  cursor: grab;
  transition: transform .2s ease, box-shadow .2s ease, opacity .6s ease;
}

.blog-card:not(.gone):hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.blog-card.gone {
  opacity: 0;
  transform: scale(.9);
  z-index: 0;
  transition: transform .6s cubic-bezier(.25,.8,.35,1), opacity .6s ease;
}

.carousel-track.sliding .blog-card:not(.gone) { animation: cardDip .6s ease; }

@keyframes cardDip {
  0% { opacity: 1; }
  40% { opacity: .6; }
  100% { opacity: 1; }
}

.blog-card-img img {
  width: 100%;
  aspect-ratio: 388/198;
  object-fit: cover;
}

.blog-card-body { padding: 18px 22px 22px; }

.tags { display: flex; gap: 8px; margin-bottom: 12px; }

.tags span {
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
  background: var(--gray-1);
  border: 1px solid var(--gray-2);
  padding: 4px 11px;
  border-radius: 7px;
}

.blog-card h4 { font-size: 21px; font-weight: 700; letter-spacing: -.2px; margin-bottom: 14px; }

.blog-card .date {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--black);
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 34px;
}

.carousel-dots .dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--gray-4);
  transition: width .15s ease, background .15s ease;
  padding: 0;
}

.carousel-dots .dot:hover { background: var(--gray-5); }
.carousel-dots .dot.active { width: 22px; background: var(--gray-6); }

.cta { padding: 20px 0 90px; }

.cta-card {
  background: var(--tint-1);
  border-radius: var(--radius);
  padding: 52px 50px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
}

.cta-card h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.4px;
  padding-left: 0;
}

.cta-right p { font-size: 15.5px; color: var(--black); margin-bottom: 22px; }

.cta-actions { display: flex; align-items: center; gap: 22px; }

.cta-rating span { display: block; font-size: 12.5px; color: var(--black); margin-top: 5px; }

@media (max-width: 1100px) {
  
  .main-nav, .header-actions, .header-utility { display: none; }
  .mobile-toggle { display: flex; margin-left: auto; }
  .header-main { height: 64px; }
  .hero-wrap { padding-top: calc(64px + var(--edge)); }
  .hero-title { font-size: 54px; }
  .legacy-head h2, .best-left h2, .blog-copy h2 { font-size: 40px; }
  .framework-copy h2 { font-size: 40px; }
  .framework-grid { grid-template-columns: 1fr; gap: 40px; }
  
  .framework-panel img { min-height: 0; aspect-ratio: 16 / 10; }
  .stats-grid, .duo-grid, .blog-grid { grid-template-columns: 1fr; gap: 40px; }
  .cols-3, .best-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { padding: 44px 40px; gap: 40px; }
  .cta-card h2 { font-size: 32px; }
}

@media (max-width: 767px) {
  .hero { min-height: 500px; padding: 40px 0; }
  .hero .container { padding: 0 24px; }
  .hero-content { flex-direction: column; align-items: flex-start; gap: 30px; }
  .hero-title { font-size: 42px; }
  
  .hero-pill {
    position: static;
    align-self: flex-start;
    margin: 0 24px 26px;
    font-size: 12px;
  }
  .hero { justify-content: flex-end; }
  .hero-alt-link { display: inline-flex; margin: 14px 0 0; }
  .cols-3, .best-grid { grid-template-columns: 1fr; }
  .legacy-head, .best-head { flex-direction: column; gap: 26px; }
  .legacy-head h2 { font-size: 36px; }
  .framework-copy h2 { font-size: 34px; }
  .stats-panel { padding: 36px; }
  .split-card, .split-card.split-reverse { grid-template-columns: 1fr; }
  .split-copy { min-height: 0; padding: 28px; }
  .split-copy h3 { font-size: 26px; margin-bottom: 26px; }
  .split-img { min-height: 300px; order: -1; }
  .quotes-head h2 { font-size: 32px; }
  .best-left h2 { font-size: 36px; }
  .duo-quote { padding: 30px; }
  .duo-quote h3 { font-size: 26px; }
  .video-card h2 { font-size: 32px; }
  .blog-card { flex: 0 0 86%; }
  .cta-card { grid-template-columns: 1fr; padding: 36px 26px; }
  .cta-card h2 { font-size: 30px; }
  .cta-actions { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-social { border-left: 0; padding-left: 0; }
  .footer-block { border-left: 0; padding-left: 0; }
}
