/* ============================================================
   PARLEY — single home page
   Merged from parley-hero, parley-cards-v2, parley-testimonials,
   parley-pricing + new sections (how-it-works, faq, integrations,
   cta, footer) matching parley.framer.ai structure.
   ============================================================ */

:root {
  --bg: #f7f7f4;
  --surface: #eeede6;
  --surface-hover: #e8e6dd;
  --surface-warm: #f5f4f0;
  --warm-tint: #fbf8f3;
  --white: #ffffff;
  --grey-900: #251f19;
  --grey-800: #251f19;
  --grey-700: #5c544c;
  --grey-600: #68615a;
  --grey-500: #8e867d;
  --grey-400: #948b81;
  --grey-300: #dcd8cc;
  --orange-500: #f48d16;
  --grey-f400: #d4cdc7;
  --grey-f200: #e4e0dd;
  --grey-f100: #ebe8e4;
  --grey-f50: rgba(235, 232, 228, 0.6);
  --card-line: #ddd8d3;
  --orange-300: #f8c28a;
  --green-500: #1fbe6d;
  --ink: #251f19;

  /* Card body copy — darker than grey-600 so secondary text clears AA 4.5:1
     over the amber portion of the cloud bg. */
  --card-body: #3d342c;

  --hairline: rgba(26, 23, 20, 0.08);
  --hairline-strong: rgba(26, 23, 20, 0.14);

  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* why-cards timing */
  --d-grow: 380ms;
  --d-content: 280ms;
  --d-quick: 140ms;

  --wcard-h: 567px;
  --wcol-base: 278px;
  --wcol-active: 330px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--grey-800);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

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

.page {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
}

/* Full-bleed helper: section escapes the 1200 container */
.bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* ---------- shared type ---------- */

.badge {
  margin: 0;
  font-family: "Geist", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  color: var(--orange-500);
}

.h2 {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 52px;
  line-height: 1.05;
  color: var(--grey-800);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 14;
  text-wrap: balance;
}

.h2 em {
  font-style: italic;
  color: var(--grey-400);
  font-weight: 500;
}

.h2--center {
  text-align: center;
}

/* ============ TOP NAV ============ */

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
  display: flex;
  justify-content: center;
  transform: translateY(0);
  transition:
    transform 320ms var(--ease-standard),
    background-color 240ms var(--ease-standard),
    backdrop-filter 240ms var(--ease-standard);
  will-change: transform;
}

.nav-bar.is-over-hero {
  background: rgba(247, 247, 244, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.nav-bar.is-hidden {
  transform: translateY(-100%);
}

.nav {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
}

.nav__brand img {
  display: block;
  height: 18px;
  width: auto;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__links a {
  font-family: "Geist", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  color: var(--grey-800);
  text-decoration: none;
  transition: opacity 200ms var(--ease-standard);
}

.nav__links a:hover {
  opacity: 0.65;
}

.nav__sep {
  width: 4px;
  height: 4px;
  background: var(--grey-900);
  user-select: none;
  flex-shrink: 0;
}

.nav__cta,
.hero__cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 200ms var(--ease-standard);
}

.nav__cta img,
.hero__cta img {
  display: block;
  height: 42px;
  width: auto;
}

.nav__cta:hover,
.hero__cta:hover {
  transform: translateY(-1px);
}

/* ============ HERO ============ */

.hero {
  position: relative;
  width: 100%;
  padding-top: 80px;
  height: 700px;
  z-index: 1;
}

.hero__sticky {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__media {
  --w: 100%;
  --h: 600px;
  --l: 0px;
  --t: 0px;
  --radius: 18px;
  position: absolute;
  width: var(--w);
  height: var(--h);
  left: var(--l);
  top: var(--t);
  border-radius: var(--radius);
  overflow: hidden;
  background: #c8855d;
  will-change: width, height, left, top, border-radius;
}

.hero__img {
  --img-scale: 1.8;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  transform: scale(var(--img-scale));
  transform-origin: center 70%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
  text-align: center;
  color: var(--white);
  z-index: 2;
}

.hero__headline {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--white);
  text-wrap: balance;
  max-width: 1200px;
  text-shadow: 0 2px 24px rgba(26, 23, 20, 0.18);
}

.hero__headline em {
  font-style: italic;
  font-weight: 400;
}

.hero__lede {
  margin: 0;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  max-width: 480px;
  text-shadow: 0 1px 12px rgba(26, 23, 20, 0.25);
}

.hero__cta {
  margin-top: 8px;
}

/* ============ LOGO STRIP ============ */

.logos {
  position: relative;
  z-index: 2;
  background: var(--bg);
  width: 100%;
  padding: 60px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.logos__label {
  margin: 0;
  font-family: "Geist", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--grey-800);
  letter-spacing: 0.01em;
}

.logos__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo__part {
  position: relative;
  display: inline-block;
  width: var(--w);
  height: var(--h);
  flex-shrink: 0;
}

.logo__part img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.logo__part .logo__d {
  opacity: 1;
  transition: opacity 240ms var(--ease-standard);
}

.logo__part .logo__h {
  opacity: 0;
  transition: opacity 240ms var(--ease-standard);
}

.logo:hover .logo__d {
  opacity: 0;
}

.logo:hover .logo__h {
  opacity: 1;
}

/* ============ WHY PARLEY (expanding cards) ============ */

.why {
  width: 100%;
  padding: 140px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.why__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.why__heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 540px;
}

.why__lede {
  margin: 0;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.35;
  color: var(--grey-600);
  width: 420px;
  text-wrap: pretty;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(2px, -3px); }
  50% { transform: translate(-1px, 2px); }
  75% { transform: translate(-2px, -1px); }
}

/* ============ DELEGATION ============ */

.delegation {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--bg);
}

.delegation__scroll {
  position: relative;
  width: 100%;
  height: 380vh;
}

.trigger {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.trigger[data-step="0"] { top: 0; }
.trigger[data-step="1"] { top: 25%; }
.trigger[data-step="2"] { top: 50%; }
.trigger[data-step="3"] { top: 75%; }

.delegation__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 60px;
  padding: 120px 0;
  box-sizing: border-box;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.delegation__header,
.delegation__inner {
  transform: translateZ(0);
}

.delegation__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.delegation__heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 540px;
}

.delegation__lede {
  margin: 0;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.35;
  color: var(--grey-600);
  width: 420px;
}

.delegation__inner {
  display: flex;
  align-items: stretch;
  gap: 40px;
  width: 100%;
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 438px;
  flex-shrink: 0;
}

.feature__btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 20px 0;
  width: 100%;
  display: block;
  position: relative;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.feature__btn:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 4px;
  border-radius: 8px;
}

.feature__chevron {
  position: absolute;
  left: -32px;
  top: 28px;
  width: 21px;
  height: 16px;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px) scale(0.7);
  transition: opacity 0s, transform 0s, visibility 0s 100ms;
}

.feature__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.feature__label {
  font-family: "Geist", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.1;
  color: var(--grey-400);
  transition: color 320ms var(--ease-standard);
}

.feature__desc {
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: var(--grey-600);
  max-width: 360px;
  text-wrap: balance;
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 320ms var(--ease-spring),
    opacity 240ms var(--ease-standard);
}

.feature__btn[aria-selected="true"] .feature__chevron {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  transition:
    opacity 280ms var(--ease-standard) 80ms,
    transform 480ms var(--ease-spring) 80ms,
    visibility 0s;
}

.feature__btn[aria-selected="true"] .feature__label {
  color: var(--grey-800);
}

.feature__btn[aria-selected="true"] .feature__desc {
  max-height: 200px;
  opacity: 1;
}

.stage {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 564px;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
}

.mock {
  position: absolute;
  inset: 0;
  padding: 48px 0 0 54px;
  opacity: 0;
  transform: translateY(12px) scale(0.99);
  transition:
    opacity 360ms var(--ease-standard),
    transform 480ms var(--ease-spring);
  pointer-events: none;
}

.mock[hidden] {
  display: block;
}

.mock.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.mock__img {
  display: block;
  width: 860px;
  height: auto;
  max-width: none;
  max-height: none;
  border-radius: 24px;
  box-shadow: 0 28px 70px -23px rgba(26, 23, 20, 0.18);
}

/* ============ TESTIMONIALS ============ */

.testimonials {
  position: relative;
  padding: 120px 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
  background: var(--bg);
}

.testimonials__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 0 24px;
}

.testimonials__lede {
  margin: 0;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: var(--grey-600);
  max-width: 480px;
  text-wrap: balance;
}

.marquee {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow-x: clip;
  overflow-y: visible;
  padding: 24px 0;
  mask-image: linear-gradient(
    to right,
    transparent 0,
    black 100px,
    black calc(100% - 100px),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    black 100px,
    black calc(100% - 100px),
    transparent 100%
  );
}

/* ============ PRICING ============ */

.pricing {
  padding: 120px 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.pricing__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.pricing__heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
}

.pricing__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 40px;
  max-width: 420px;
  /* Align description first line with the h2 first line */
  padding-top: 26px;
}

.pricing__lede {
  margin: 0;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: var(--grey-600);
  text-align: right;
}

/* ============ HOW IT WORKS ============ */

.hiw {
  padding: 40px 0 120px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.hiw__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

/* ============ FAQ ============ */

.faq {
  padding: 40px 0 140px;
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 60px;
  align-items: start;
}

.faq__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.faq__sub {
  margin: 20px 0 6px;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--grey-600);
}

.faq__mosaic {
  margin-top: 48px;
  width: 530px;
  max-width: 90%;
  height: auto;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq__item {
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
}

.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: "Geist", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  color: var(--grey-900);
  transition: background-color 200ms var(--ease-standard);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary:hover {
  background: var(--surface-hover);
}

.faq__plus {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--orange-500);
  transition: transform 320ms var(--ease-spring);
}

.faq__item[open] .faq__plus {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 24px;
  overflow: hidden;
}

.faq__answer p {
  margin: 0;
  padding: 2px 0 24px;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: var(--grey-600);
  max-width: 560px;
}

/* ============ INTEGRATIONS ============ */

.integrations {
  padding: 0 0 140px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.integrations__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.integrations__lede {
  margin: 4px 0 0;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  color: var(--grey-600);
  max-width: 460px;
  text-wrap: balance;
}





/* ============ CTA ============ */

.cta {
  padding: 0 0 20px;
}

/* ============ FOOTER ============ */

.footer {
  width: 100%;
  background: #efeee8;
  margin-top: 100px;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0 0;
  display: flex;
  flex-direction: column;
}

.footer__logo {
  height: 22px;
  width: auto;
}

.footer__mid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  padding: 36px 0 10px;
}

.footer__tagline {
  margin: 0;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey-600);
  max-width: 300px;
}

.footer__cols {
  display: flex;
  gap: 80px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col-title {
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Geist", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--grey-900);
}

.footer__square {
  width: 7px;
  height: 7px;
  background: var(--orange-500);
  flex-shrink: 0;
}

.footer__col a {
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--grey-600);
  text-decoration: none;
  padding-left: 17px;
  transition: color 180ms var(--ease-standard);
}

.footer__col a:hover {
  color: var(--grey-900);
}

/* framer footer [logo] block: 235px clipped window; the wordmark is
   pinned at bottom:-101px so its lower third sits below the page edge. */
.footer__mark {
  position: relative;
  margin-top: 20px;
  height: 235px;
  overflow: hidden;
}

.footer__watermark {
  position: absolute;
  left: 0;
  bottom: -101px;
  width: 100%;
  height: 307px;
  object-fit: cover;
  display: block;
}

.footer__mosaic {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 624px;
  max-width: 80%;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

.footer__bottom {
  position: absolute;
  left: 0;
  bottom: 23px;
  width: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--grey-600);
}

.footer__bottom p {
  margin: 0;
}

.footer__bottom a {
  color: var(--grey-600);
  text-decoration: none;
  transition: color 180ms var(--ease-standard);
}

.footer__bottom a:hover {
  color: var(--grey-900);
}

/* ============ REDUCED MOTION ============ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero {
    height: auto;
  }
  .hero__sticky {
    position: static;
    height: 100vh;
  }
  .delegation__scroll {
    height: auto;
  }
  .delegation__pin {
    position: static;
    height: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ TABLET / MOBILE ============ */

@media (max-width: 1240px) {
  .container {
    padding: 0 20px;
  }
  .nav {
    padding: 16px 20px;
  }
}

@media (max-width: 900px) {
  .nav {
    padding: 14px 16px;
  }
  .nav__links {
    display: none;
  }

  .hero__headline {
    font-size: clamp(32px, 7vw, 48px);
  }

  .logos__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    padding: 0 16px;
  }

  .h2 {
    font-size: 38px;
  }

  /* why cards: vertical stack, all expanded */
  .why {
    padding: 90px 0 0;
  }
  .why__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .why__heading,
  .why__lede {
    width: 100%;
  }

  /* delegation flows naturally on mobile */
  .delegation__scroll {
    width: 100%;
    height: auto;
  }
  .delegation__pin {
    position: static;
    height: auto;
    padding: 60px 0;
  }
  .delegation__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .delegation__heading,
  .delegation__lede {
    width: 100%;
  }
  .delegation__inner {
    flex-direction: column;
    gap: 24px;
  }
  .features {
    width: 100%;
  }
  .stage {
    height: 460px;
  }

  .testimonials {
    padding: 80px 0;
    gap: 40px;
  }
  .marquee {
    mask-image: linear-gradient(
      to right,
      transparent 0,
      black 40px,
      black calc(100% - 40px),
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      black 40px,
      black calc(100% - 40px),
      transparent 100%
    );
  }

  .pricing {
    padding: 80px 0;
    gap: 40px;
  }
  .pricing__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .pricing__side {
    align-items: flex-start;
    padding-top: 0;
  }
  .pricing__lede {
    text-align: left;
  }

  /* how-it-works: window scrolls naturally, no pan */
  .hiw {
    padding: 20px 0 80px;
    gap: 36px;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 20px 0 90px;
  }
  .faq__mosaic {
    margin-top: 24px;
    width: 320px;
  }

  .integrations {
    padding: 0 0 90px;
  }

  .footer__inner {
    padding: 40px 20px 24px;
  }
  .footer__mid {
    flex-direction: column;
    gap: 32px;
  }
  .footer__cols {
    gap: 40px;
    flex-wrap: wrap;
  }
  .footer__mark {
    height: 150px;
  }
  .footer__watermark {
    height: 140px;
    bottom: -46px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    bottom: 60px;
    padding: 0 4px;
  }
}

@media (max-width: 560px) {
  .hero {
    height: 620px;
  }
  .hero__media {
    --h: 520px;
  }
  .footer__cols {
    flex-direction: column;
    gap: 24px;
  }
}

/* ================================================================
   FRAMER COMPONENT PORTS — exact specs from project M9cZnnZEzzWUCV6nAPp1
   ================================================================ */

/* ---------- Buttons/button (Y7iLraJCB) ---------- */

.fbtn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px 12px 4px 4px;
  border-radius: 8px;
  text-decoration: none;
  overflow: hidden;
  transition: background-color 200ms var(--ease-standard);
}

.fbtn--primary { background: var(--grey-900); }
.fbtn--secondary { background: var(--white); }
.fbtn--full { width: 100%; }

.fbtn__chip {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: var(--orange-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

/* 25px window, two 24px chevrons; default shows the right one,
   hover slides to the left one (framer end→start distribution swap) */
.fbtn__arrows {
  display: inline-flex;
  align-items: center;
  width: 25px;
  height: 24px;
  overflow: hidden;
}

.fbtn__arrows svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--grey-900);
  transform: translateX(-23px);
  transition: transform 400ms var(--ease-spring);
}

.fbtn:hover .fbtn__arrows svg {
  transform: translateX(0);
}

/* label roller: 18px window, two stacked copies */
.fbtn__label {
  display: inline-flex;
  flex-direction: column;
  height: 18px;
  overflow: hidden;
  font-family: "Geist", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
}

.fbtn__label span {
  display: block;
  height: 18px;
  line-height: 18px;
  opacity: 0.9;
  transform: translateY(0);
  transition: transform 400ms var(--ease-spring);
}

.fbtn:hover .fbtn__label span {
  transform: translateY(-18px);
}

.fbtn--primary .fbtn__label { color: var(--white); }
.fbtn--secondary .fbtn__label { color: var(--grey-900); }

/* ---------- Cards/Benefit cards (OA43R7kz7 + L54dG_oz5) ---------- */

.why-cards {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 420px;
}

.wcard {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 420px;
  background: var(--surface);
  border-radius: 12px;
  overflow: clip;
  cursor: pointer;
  outline: none;
  /* framer: tween 0.34,1.2,0.64,1 0.4s on the card variant switch */
  transition:
    flex-basis 400ms cubic-bezier(0.34, 1.2, 0.64, 1),
    flex-grow 400ms cubic-bezier(0.34, 1.2, 0.64, 1),
    height 400ms cubic-bezier(0.34, 1.2, 0.64, 1),
    background-color 400ms cubic-bezier(0.34, 1.2, 0.64, 1),
    border-radius 400ms cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 400ms cubic-bezier(0.34, 1.2, 0.64, 1);
}

.wcard.is-active {
  flex: 0 0 352px;
  height: 440px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 12px 16px 0 var(--grey-f100);
}

.wcard:focus-visible {
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 4px var(--orange-500);
}

/* closed state: number / mosaic / title, space-between */
.wcard__closed {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 20px 40px;
  opacity: 1;
  transition: opacity 240ms var(--ease-standard) 120ms;
}

.wcard.is-active .wcard__closed {
  opacity: 0;
  transition-delay: 0ms;
  pointer-events: none;
}

.wcard__number {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 52px;
  line-height: 1.05;
  color: rgb(221, 216, 211);
  font-variation-settings: "opsz" 14;
}

.wcard__mosaic {
  width: 100%;
  height: 164px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wcard__mosaic img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  animation: drift 9s ease-in-out infinite;
}

.wcard[data-index="02"] .wcard__mosaic img { animation-delay: -2s; }
.wcard[data-index="03"] .wcard__mosaic img { animation-delay: -4s; }
.wcard[data-index="04"] .wcard__mosaic img { animation-delay: -6s; }

.wcard__title-closed {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.1;
  color: var(--grey-900);
  font-variation-settings: "opsz" 14;
}

/* opened state: image (radius 12) + content, padding 8 */
.wcard__open {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms var(--ease-standard);
}

.wcard.is-active .wcard__open {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 120ms;
}

.wcard__img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.wcard__img img {
  display: block;
  width: 100%;
  height: auto;
}

.wcard__content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wcard__title {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  color: var(--grey-900);
  font-variation-settings: "opsz" 14;
  text-wrap: balance;
}

.wcard__desc {
  margin: 0;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: var(--grey-900);
  text-wrap: pretty;
}

/* ---------- Cards/Review (G8EVipizY) ---------- */

.marquee__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  width: max-content;
  animation: marquee 60s linear infinite;
  will-change: transform;
}

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

.tcard {
  flex: 0 0 373px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 20px;
  height: 346px;
  border-radius: 12px;
  background: var(--white);
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
}

/* hover: cloud painting fades in (no scrim — exact framer behavior) */
.tcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("https://parley-home.vercel.app/assets/tcard-cloud.jpg") center / cover no-repeat;
  opacity: 0;
  transition: opacity 400ms var(--ease-standard);
  pointer-events: none;
}

.tcard:hover::before { opacity: 1; }

.tcard__quote {
  margin: 0;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: var(--grey-900);
  opacity: 0.8;
  text-wrap: pretty;
  transition: opacity 300ms var(--ease-standard);
}

.tcard:hover .tcard__quote { opacity: 1; }

.tcard__author {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.tcard__avatar {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  background: #ffd8a8;
  border: 1.5px solid var(--white);
}

.tcard__name {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.1;
  color: var(--grey-900);
  font-variation-settings: "opsz" 14;
}

.tcard__role {
  display: block;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: var(--grey-900);
  opacity: 0.5;
  margin-top: 5px;
  transition: opacity 300ms var(--ease-standard);
}

.tcard:hover .tcard__role { opacity: 0.7; }

.tcard__source {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: var(--grey-900);
  color: var(--grey-f100);
  border-radius: 4px;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms var(--ease-standard);
}

.tcard__source-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.tcard:hover .tcard__source {
  opacity: 1;
  pointer-events: auto;
}

.tcard__source:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 2px;
}

/* ---------- Sections/Pricing (Xithlzoxo) ---------- */

.toggle {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  background: var(--surface);
  border-radius: 8px;
}

.toggle__btn {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px 12px;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: var(--grey-600);
  border-radius: 8px;
  transition: background 240ms var(--ease-standard), color 240ms var(--ease-standard);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.toggle__btn.is-active {
  background: var(--white);
  color: var(--grey-900);
}

.toggle__off {
  font-family: "Geist", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--grey-900);
  line-height: 1.2;
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.plan {
  position: relative;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--card-line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 20px;
  isolation: isolate;
  overflow: hidden;
  cursor: default;
}

/* per-card cloud (portrait painting) cross-fade — kept from the approved
   interaction, styled with the exact framer pro-card asset */
.plan::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("https://parley-home.vercel.app/assets/pro-cloud.png") center / cover no-repeat;
  opacity: 0;
  transition: opacity 260ms var(--ease-standard);
  pointer-events: none;
}

.plan.is-featured::before { opacity: 1; }
.plans:hover .plan.is-featured:not(:hover)::before { opacity: 0; }
.plans .plan:hover::before { opacity: 1; }

.plan.is-featured,
.plans .plan:hover { background-color: transparent; }
.plans:hover .plan.is-featured:not(:hover) { background-color: var(--surface); }

.plan__name {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.1;
  color: var(--grey-900);
}

.plan__price {
  display: block;
}

.plan__price .plan__currency,
.plan__price .plan__amount {
  display: inline;
}

.plan__amount,
.plan__currency {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  color: var(--grey-900);
  font-variation-settings: "opsz" 14;
}

.plan__period {
  margin: 8px 0 0;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: var(--grey-600);
}

.plan__desc {
  margin: 0;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: var(--grey-600);
  text-wrap: pretty;
  min-height: 58px;
}

.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: var(--grey-900);
}

.plan-features__dot {
  width: 8px;
  height: 8px;
  background: var(--orange-500);
  flex-shrink: 0;
}

/* disabled rows: square stays in layout at opacity 0, text at 0.6 */
.plan-features li.is-off { opacity: 1; color: var(--grey-900); }
.plan-features li.is-off .plan-features__dot { display: block; opacity: 0; }
.plan-features li.is-off { color: rgba(37, 31, 25, 0.6); }

.plan .fbtn { margin-top: auto; }

/* ---------- Sections/Tab+images (uHCAWDn2h) ---------- */

.hiw__panel {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: url("https://parley-home.vercel.app/assets/canyon.png") center / cover no-repeat;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hiw__pills {
  display: flex;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 3;
}

.hiw__pill {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--grey-900);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 260ms var(--ease-standard);
}

.hiw__pill.is-active {
  background: var(--white);
}

.hiw__stage {
  position: relative;
  width: 100%;
  border-radius: 25px;
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 1.53;
}

.hiw__lottie {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 320ms var(--ease-standard);
}

.hiw__lottie.is-active {
  opacity: 1;
}

.hiw__lottie[hidden] { display: block; }

.hiw__lottie canvas,
.hiw__lottie svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* ---------- Integrations ticker (oEMyWBkEX) ---------- */

.int-marquee {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  -webkit-mask-image: radial-gradient(50% 122% at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 80.63%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(50% 122% at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 80.63%, rgba(0,0,0,0) 100%);
}

.int-marquee__row {
  display: flex;
  gap: 20px;
  width: max-content;
  border-radius: 10px;
}

/* velocity 20px/s over half-set width 928px → 46.4s */
.int-marquee__row[data-dir="left"] { animation: int-left 46.4s linear infinite; }
.int-marquee__row[data-dir="right"] { animation: int-right 46.4s linear infinite; }

@keyframes int-left {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 10px)); }
}

@keyframes int-right {
  from { transform: translateX(calc(-50% - 10px)); }
  to   { transform: translateX(0); }
}

.int-marquee__set {
  display: flex;
  gap: 20px;
}

.int-tile {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  background: var(--grey-f50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.int-tile img {
  width: 96px;
  height: 96px;
}

/* ---------- Sections/Final CTA (IlMg0EFiD / RVGavsn11) ---------- */

.cta {
  padding: 0 0 20px;
}

.cta__panel {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: var(--grey-900);
  opacity: 0.25;
  z-index: -1;
  pointer-events: none;
}

.cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 40px 24px;
  max-width: 700px;
}

.cta__title {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--white);
  font-variation-settings: "opsz" 14;
  text-wrap: balance;
}

.cta__title em {
  font-style: italic;
  font-weight: 500;
}

.cta__lede {
  margin: 0;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: var(--white);
  max-width: 500px;
}

/* ---------- Navigation/Footer (pAQMlpg20) ---------- */

.footer {
  width: 100%;
  background: var(--surface);
  margin-top: 100px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--grey-f400);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 19px;
}

.footer__social-label {
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.2;
  color: var(--grey-600);
}

.footer__social-btns {
  display: flex;
  gap: 8px;
}

.footer__social-btn {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: var(--grey-f200);
  color: var(--grey-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 200ms var(--ease-standard);
}

.footer__social-btn:hover {
  background: var(--bg);
}

.footer__social-btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- responsive overrides for ported components ---------- */

@media (max-width: 900px) {
  .why-cards {
    flex-direction: column;
    height: auto;
    align-items: stretch;
  }
  .wcard,
  .wcard.is-active {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    background: var(--white);
    border-radius: 12px;
  }
  .wcard__closed { display: none; }
  .wcard__open {
    position: relative;
    opacity: 1;
    pointer-events: auto;
  }
  .plans { grid-template-columns: 1fr; }
  .cta__panel { height: 420px; }
  .cta__title { font-size: 32px; }
  .hiw__pills { flex-wrap: wrap; }
  .int-tile, .int-tile img { width: 76px; height: 76px; }
  .fbtn--full { width: 100%; }
}
