/* ============================================================
   Ownly Website — Global Styles
   Fonts: Poppins (marketing) | Inter (UI/data)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@400;500;600;700&display=swap');

/* ── Variables ───────────────────────────────────────────── */
:root {
  --green:        #2ECC9A;
  --green-dark:   #25A97F;
  --green-dim:    rgba(46,204,154,.12);
  --green-border: rgba(46,204,154,.32);

  --navy:         #111923;
  --navy-mid:     #182030;
  --navy-light:   #1E2A3E;
  --white:        #FFFFFF;
  --off-white:    #F7F7F5;
  --gray-100:     #EFEFED;
  --gray-200:     #DEDED9;
  --gray-400:     #A0A09A;
  --gray-600:     #5A5A54;
  --text-dark:    #0F1724;

  --font-m:  'Poppins', sans-serif;
  --font-ui: 'Inter', sans-serif;

  --max:    1200px;
  --nav-h:  68px;

  /* Buttons: rounded rectangle, not pill */
  --r-btn:  8px;
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   24px;
  --r-pill: 999px;
}

/* ── Scroll reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-m); color: var(--text-dark); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Container ───────────────────────────────────────────── */
.wrap {
  width: 100%; max-width: var(--max);
  margin-inline: auto; padding-inline: 56px;
}

/* ── Buttons  (rounded rectangle) ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-btn);
  font-family: var(--font-m); font-size: .875rem; font-weight: 600; line-height: 1;
  transition: all .18s ease; white-space: nowrap;
}
.btn-green  { background: var(--green); color: var(--navy); border: none; }
.btn-green:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-ghost  {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.07); }

.btn-outline {
  background: transparent; color: var(--text-dark);
  border: 1.5px solid var(--gray-200);
}
.btn-outline:hover { background: var(--gray-100); }

.btn-link {
  padding: 0; background: none; border: none;
  color: var(--green); font-weight: 600; font-size: .9rem; gap: 6px;
  display: inline-flex; align-items: center;
  transition: gap .15s;
}
.btn-link:hover { gap: 10px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background .25s;
  overflow: visible;
}
.nav.solid {
  background: rgba(17,25,35,.96);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav.solid::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav__inner {
  display: flex; align-items: center;
  width: 100%; max-width: var(--max);
  margin-inline: auto; padding-inline: 56px;
}
.nav__logo img { height: 56px; width: auto; display: block; }
.nav__links {
  display: flex; align-items: center;
  margin-left: auto; gap: 2px;
}
.nav__links a {
  padding: 7px 15px; border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.78);
  transition: color .15s, background .15s;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav__cta { margin-left: 20px; }

/* ── Nav dropdown items ──────────────────────────────────── */
.nav__item { position: relative; }
.nav__item-link {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 15px; border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.78);
  transition: color .15s, background .15s; cursor: pointer;
}
.nav__item-link:hover,
.nav__item.open .nav__item-link { color: #fff; background: rgba(255,255,255,.08); }
.nav__arrow {
  font-size: .6rem; opacity: .55; display: inline-block;
  transition: transform .2s ease; line-height: 1;
}
.nav__item.open .nav__arrow { transform: rotate(90deg); opacity: .9; }

.nav__dropdown {
  display: none;
  position: absolute; top: calc(100% + 8px); left: 0;
  background: rgba(15,22,34,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: 8px 0;
  min-width: 250px;
  z-index: 300;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}
/* Transparent bridge covers the 8px gap so mouse never loses hover */
.nav__dropdown::before {
  content: ''; position: absolute;
  top: -12px; left: 0; right: 0; height: 12px;
}
.nav__item.open .nav__dropdown { display: block; }
.nav__dropdown a {
  display: block; padding: 9px 20px;
  font-size: .8125rem; color: rgba(255,255,255,.62);
  transition: color .15s, background .15s;
  white-space: nowrap; border-radius: 0; background: none;
}
.nav__dropdown a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav__dropdown-label {
  margin: 0; padding: 10px 20px 4px;
  font-size: .6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
}

.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; margin-left: auto;
}
.nav__mobile-cta { display: none; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ============================================================
   HERO  —  full-bleed background + buyer journey card
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url('../images/building.png') 95% 40% / cover no-repeat;
  background-color: var(--navy);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(17,25,35,.93) 0%,
    rgba(17,25,35,.80) 40%,
    rgba(17,25,35,.40) 65%,
    rgba(17,25,35,.08) 85%,
    transparent 100%
  );
}
.hero__body {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--max);
  margin-inline: auto; padding-inline: 56px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 48px;
}
.hero__text { max-width: 500px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px; border-radius: var(--r-pill);
  border: 1px solid var(--green-border);
  background: var(--green-dim);
  font-size: .68rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 24px; width: fit-content;
}
.hero__badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

.hero h1 {
  font-size: clamp(2.25rem, 3.8vw, 3.375rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -.025em; color: #fff; margin-bottom: 20px;
}
.hero__sub {
  font-size: .9375rem; color: rgba(255,255,255,.65);
  line-height: 1.75; margin-bottom: 36px; max-width: 460px;
}
.hero__btns { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }

/* Avatars + trust line */
.hero__trust { display: flex; align-items: center; gap: 12px; }
.hero__avatars { display: flex; }
.hero__av {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--navy); margin-left: -8px;
  background: var(--green-dark); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 700; color: #fff; font-family: var(--font-ui);
}
.hero__av:first-child { margin-left: 0; }
.hero__trust-txt { font-size: .8rem; color: rgba(255,255,255,.55); line-height: 1.4; }
.hero__trust-txt strong { color: #fff; font-weight: 600; }

/* ── Buyer Journey Card ──────────────────────────────────── */
.journey-card {
  flex-shrink: 0; width: 280px;
  background: rgba(12,18,30,.82);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: 20px 22px;
  font-family: var(--font-ui);
}

/* Buyer profile row */
.journey-card__profile {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.journey-card__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--green-dark) 0%, #1a8a65 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: #fff;
  border: 2px solid rgba(255,255,255,.12);
}
.journey-card__name { font-size: .8125rem; font-weight: 600; color: rgba(255,255,255,.92); line-height: 1.3; }
.journey-card__meta { font-size: .68rem; color: rgba(255,255,255,.42); margin-top: 2px; }

/* Engagement badge */
.journey-card__engagement {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(46,204,154,.1); border: 1px solid rgba(46,204,154,.2);
  border-radius: var(--r-md); padding: 8px 12px; margin-bottom: 16px;
}
.journey-card__eng-label { font-size: .68rem; color: rgba(255,255,255,.5); }
.journey-card__eng-value { font-size: .75rem; font-weight: 700; color: var(--green); }

/* Stage timeline */
.journey-card__stages { display: flex; flex-direction: column; gap: 0; }
.journey-stage {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 0; position: relative;
}
/* Vertical connector line between stages */
.journey-stage:not(:last-child)::after {
  content: '';
  position: absolute; left: 7px; top: calc(50% + 8px);
  width: 2px; height: calc(100% - 2px);
  background: rgba(255,255,255,.1);
}
.journey-stage--active .journey-stage__line { background: rgba(46,204,154,.35); }

.journey-stage__dot {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2);
  background: transparent; flex-shrink: 0;
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.journey-stage--done .journey-stage__dot {
  background: var(--green); border-color: var(--green);
}
.journey-stage--done .journey-stage__dot::after {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--navy);
}
.journey-stage--active .journey-stage__dot {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(46,204,154,.2);
}
.journey-stage--active .journey-stage__dot::after {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
}

.journey-stage__info { flex: 1; display: flex; align-items: center; justify-content: space-between; }
.journey-stage__label {
  font-size: .78rem; font-weight: 500;
  color: rgba(255,255,255,.38);
}
.journey-stage--done .journey-stage__label  { color: rgba(255,255,255,.55); }
.journey-stage--active .journey-stage__label { color: #fff; font-weight: 600; }

.journey-stage__tag {
  font-size: .62rem; font-weight: 700; padding: 2px 7px;
  border-radius: var(--r-pill);
  background: rgba(46,204,154,.18); color: var(--green);
}
.journey-stage__detail {
  font-size: .65rem; color: rgba(255,255,255,.35); margin-left: auto;
}

/* ============================================================
   FEATURES STRIP
   ============================================================ */
.features {
  background: var(--off-white);
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--gray-100);
}
.features__top { text-align: center; margin-bottom: 52px; }
.features__eyebrow {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.features__heading {
  font-size: clamp(1.375rem, 2vw, 1.875rem);
  font-weight: 600; color: var(--text-dark);
  letter-spacing: -.02em; line-height: 1.35;
  max-width: 560px; margin-inline: auto;
}

/* Grid with separator lines */
.features__grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.fc {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 28px;
  border-right: 1px solid var(--gray-200);
  gap: 12px;
}
.fc:last-child { border-right: none; }
.fc:first-child { padding-left: 0; }

.fc__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dark); opacity: .75;
}
.fc__icon svg { width: 28px; height: 28px; stroke-width: 1.5; }
.fc__title {
  font-size: .875rem; font-weight: 600; color: var(--text-dark); line-height: 1.4;
}
.fc__desc {
  font-size: .8125rem; color: var(--gray-600); line-height: 1.7;
}

/* ============================================================
   VALUE PROP  —  full-bleed, lighter overlay
   ============================================================ */
.value {
  position: relative; overflow: hidden; padding: 96px 0;
}
.value__bg {
  position: absolute; inset: 0;
  background: url('../images/people-talking.png') center / cover no-repeat;
  background-color: var(--navy);
}
.value__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,14,22,.85) 0%,
    rgba(8,14,22,.72) 50%,
    rgba(8,14,22,.50) 100%
  );
}
.value__inner { position: relative; z-index: 1; }
.value__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.value__eyebrow {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green); margin-bottom: 18px;
}
.value h2 {
  font-size: clamp(1.875rem, 3.2vw, 2.75rem);
  font-weight: 700; color: #fff;
  line-height: 1.18; letter-spacing: -.025em; margin-bottom: 20px;
}
.value__desc {
  font-size: .9375rem; color: rgba(255,255,255,.65);
  line-height: 1.78; margin-bottom: 28px; max-width: 420px;
}

/* Performance card */
.perf-card {
  background: rgba(10,16,26,.78);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl); padding: 28px 30px;
  font-family: var(--font-ui);
}
.perf-card__hdr {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.perf-card__title { font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.9); }
.perf-card__live {
  display: flex; align-items: center; gap: 5px;
  font-size: .65rem; font-weight: 700; color: var(--green);
  padding: 3px 9px; border-radius: var(--r-pill);
  background: rgba(46,204,154,.14);
}
.perf-card__live::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.perf-card__metrics {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px;
}
.pm { background: rgba(255,255,255,.06); border-radius: var(--r-md); padding: 14px 16px; }
.pm__val { font-size: 1.5rem; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 5px; }
.pm__val span { color: var(--green); }
.pm__lbl { font-size: .68rem; color: rgba(255,255,255,.45); line-height: 1.45; }
.perf-card__bar-row {
  display: flex; justify-content: space-between;
  font-size: .7rem; color: rgba(255,255,255,.48); margin-bottom: 6px;
}
.perf-card__bar-row span:last-child { color: #fff; font-weight: 600; }
.perf-card__bar { height: 4px; background: rgba(255,255,255,.08); border-radius: 2px; margin-bottom: 14px; }
.perf-card__bar:last-child { margin-bottom: 0; }
.perf-card__bar-fill { height: 100%; border-radius: 2px; background: var(--green); }
.perf-card__bar-fill--dim { background: rgba(46,204,154,.42); }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners {
  background: var(--white);
  padding: 52px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.partners__label {
  text-align: center; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 32px;
}
.partners__row {
  display: flex; align-items: center; justify-content: center;
  gap: 64px; flex-wrap: wrap;
}
.partner {
  font-family: var(--font-ui); font-size: 1rem; font-weight: 700;
  color: var(--gray-200); letter-spacing: -.01em; transition: color .2s;
}
.partner:hover { color: var(--gray-400); }
.partner--serif { font-family: Georgia, 'Times New Roman', serif; }

/* ============================================================
   CTA  —  full-bleed image, text overlaid on left
   ============================================================ */
.cta-section {
  position: relative;
  min-height: 580px;
  display: flex; align-items: center;
  overflow: hidden;
}
.cta-section__bg {
  position: absolute; inset: 0;
  background: url('../images/balcony.png') center / cover no-repeat;
  background-color: var(--navy);
}
.cta-section__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(17,25,35,.96) 0%,
    rgba(17,25,35,.88) 35%,
    rgba(17,25,35,.55) 58%,
    rgba(17,25,35,.12) 78%,
    transparent 100%
  );
}
.cta-section__wrap {
  position: relative; z-index: 2;
  width: 100%;
}
.cta-section__content {
  max-width: 560px;
}
.cta-section__eyebrow {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green); margin-bottom: 20px;
}
.cta-section h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.75rem);
  font-weight: 700; color: #fff;
  line-height: 1.2; letter-spacing: -.025em;
  margin-bottom: 36px;
}
.cta-section__btns {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0B0F18; padding-top: 68px; }
.footer__grid {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 80px; padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__brand-logo img { height: 38px; margin-bottom: 14px; }
.footer__tagline { font-size: .8125rem; color: rgba(255,255,255,.38); line-height: 1.65; max-width: 200px; }
.footer__nav { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.footer__col-head {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 18px;
}
.footer__col-links { display: flex; flex-direction: column; gap: 11px; }
.footer__col-links a { font-size: .8125rem; color: rgba(255,255,255,.4); transition: color .15s; }
.footer__col-links a:hover { color: rgba(255,255,255,.85); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; gap: 12px;
}
.footer__copy { font-size: .75rem; color: rgba(255,255,255,.22); }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { font-size: .75rem; color: rgba(255,255,255,.22); transition: color .15s; }
.footer__legal a:hover { color: rgba(255,255,255,.65); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .wrap { padding-inline: 32px; }
  .nav__inner { padding-inline: 32px; }
  .hero__body { padding-inline: 32px; flex-direction: column; align-items: flex-start; }
  .journey-card { width: 100%; max-width: 340px; }
  .features__grid { grid-template-columns: repeat(3, 1fr); }
  .fc:nth-child(3) { border-right: none; }
  .fc:nth-child(4), .fc:nth-child(5) { border-top: 1px solid var(--gray-200); padding-top: 24px; }
  .value__grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-section { min-height: 480px; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .wrap { padding-inline: 20px; }
  .nav__inner { padding-inline: 20px; }
  .hero__body { padding-inline: 20px; gap: 32px; }
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: var(--nav-h) 0 0 0;
    background: var(--navy); padding: 28px 20px; gap: 4px; overflow-y: auto;
    z-index: 201;
  }
  .nav__links.open a { padding: 13px 16px; font-size: 1rem; }
  .nav__item { width: 100%; }
  .nav__item-link { width: 100%; justify-content: space-between; padding: 13px 16px; font-size: 1rem; }
  .nav__item:hover .nav__item-link { background: none; color: rgba(255,255,255,.78); }
  .nav__item:hover .nav__arrow { transform: none; }
  .nav__item.open .nav__item-link { color: #fff; }
  .nav__item.open .nav__arrow { transform: rotate(90deg); opacity: .9; }
  .nav__dropdown {
    display: none; position: static;
    background: none; border: none; padding: 4px 0 8px 0;
    box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    min-width: unset;
  }
  .nav__item.open .nav__dropdown { display: flex; flex-direction: column; }
  .nav__dropdown a {
    padding: 9px 16px 9px 32px; font-size: .9375rem; color: rgba(255,255,255,.5);
    border-left: none; white-space: normal;
  }
  .nav__dropdown a:hover { color: rgba(255,255,255,.85); background: none; }
  .nav__dropdown-label { padding: 10px 16px 4px 32px; }
  .nav__mobile-cta { display: none; }
  .nav__links.open .nav__mobile-cta {
    display: inline-flex; margin-top: 16px; align-self: flex-start;
    padding: 13px 24px; font-size: 1rem;
  }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .fc { border-right: none; border-bottom: 1px solid var(--gray-200); padding: 20px 0; }
  .fc:last-child { border-bottom: none; }
  .perf-card__metrics { grid-template-columns: 1fr 1fr; }
  .cta-section__wrap { padding-inline: 20px; }
  .cta-section { min-height: 380px; padding: 56px 0; }
  .partners__row { gap: 32px; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-wrap: wrap; }
  .value { padding: 64px 0; }
  .section-light { padding: 64px 0; }
  .section-off   { padding: 64px 0; }
  .section-dark  { padding: 64px 0; }
  .page-hero__body { padding: 48px 0; }
}

@media (max-width: 480px) {
  .features__grid { grid-template-columns: 1fr; }
  .hero__btns { flex-direction: column; align-items: flex-start; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .journey-card { display: none; }
  .hero__body { gap: 24px; }
  .value { padding: 48px 0; }
  .section-light { padding: 48px 0; }
  .section-off   { padding: 48px 0; }
  .section-dark  { padding: 48px 0; }
  .cta-section { min-height: 300px; padding: 48px 0; }
  .page-hero { min-height: 420px; }
  .page-hero__body { padding: 40px 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ============================================================
   INNER PAGE SHARED STYLES
   ============================================================ */

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: .75rem; color: rgba(255,255,255,.45);
  margin-bottom: 24px; font-family: var(--font-ui);
}
.breadcrumb a { color: rgba(255,255,255,.45); transition: color .15s; }
.breadcrumb a:hover { color: rgba(255,255,255,.8); }
.breadcrumb__sep { font-size: .65rem; opacity: .4; }
.breadcrumb__current { color: rgba(255,255,255,.7); }

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  min-height: 540px; display: flex; align-items: center;
  padding-top: var(--nav-h);
  background: var(--navy);
}
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: var(--navy);
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(17,25,35,.95) 0%,
    rgba(17,25,35,.82) 45%,
    rgba(17,25,35,.40) 75%,
    transparent 100%
  );
}
.page-hero__body {
  position: relative; z-index: 2;
  width: 100%; padding: 72px 0;
}
.page-hero__eyebrow {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green); margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700; color: #fff; line-height: 1.12;
  letter-spacing: -.025em; margin-bottom: 20px; max-width: 640px;
}
.page-hero h1 em { font-style: normal; color: var(--green); }
.page-hero__sub {
  font-size: .9375rem; color: rgba(255,255,255,.65);
  line-height: 1.75; max-width: 520px; margin-bottom: 36px;
}
.page-hero__btns { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
/* Slightly tighter than the shared .btn padding so both hero CTAs fit
   on one line against the narrower text column next to the journey
   widget — scoped to platform/index.html only via this modifier. */
.page-hero__btns--tight { gap: 8px; }
.page-hero__btns--tight .btn { padding: 12px 20px; }

/* ── Journey widget (Platform Overview hero) ─────────────────
   Glassmorphism cards + organic glow connector, data-rendered
   by assets/js/platform-hero.js. Desktop: freeform absolute
   layout with a JS-generated bezier connector. ≤1024px: cards
   collapse to a static stacked column and the connector becomes
   a lightweight pure-CSS glow segment between each card (see
   the responsive block below) — no JS geometry needed there. */
.journey-widget { position: relative; height: 540px; overflow: visible; }
.journey-widget__cards { position: absolute; inset: 0; }

.glass-card {
  position: absolute;
  top: var(--card-top, 0px);
  left: var(--card-left, 0px);
  z-index: var(--z, 1);
  width: 252px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: rgba(10,17,28,.72);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 28px rgba(0,0,0,.45), 0 0 26px rgba(124,255,91,.08);
  animation: cardFloat var(--float-duration, 7s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}
.glass-card__icon {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: rgba(124,255,91,.14); border: 1px solid rgba(124,255,91,.32);
  display: flex; align-items: center; justify-content: center;
  color: #7CFF5B;
}
.glass-card__icon svg { width: 16px; height: 16px; }
.glass-card__body { flex: 1; min-width: 0; }
.glass-card__title { font-size: .75rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.glass-card__subtitle { font-size: .6875rem; color: rgba(255,255,255,.55); }
.glass-card__badge {
  font-size: .75rem; font-weight: 700; color: #7CFF5B;
  font-family: var(--font-ui); flex-shrink: 0;
}
@keyframes cardFloat {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(var(--float-x, 3px), var(--float-y, -4px)); }
}

/* Laptop mockup wrapper (kept from the previous device widget) */
.journey-widget__device { position: absolute; }

/* Connector: SVG bezier path + glow filter, generated by JS */
.journey-connector { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.journey-connector__glow {
  fill: none; stroke: #7CFF5B; stroke-width: 2.5; stroke-linecap: round;
  opacity: .5; animation: connectorPulse 6s ease-in-out infinite;
}
.journey-connector__line {
  fill: none; stroke: #9CFF7A; stroke-width: 1; stroke-linecap: round; opacity: .85;
}
.journey-connector__node { fill: #7CFF5B; animation: nodePulse 4s ease-in-out infinite; }
@keyframes connectorPulse {
  0%, 100% { opacity: .35; }
  50%      { opacity: .65; }
}
@keyframes nodePulse {
  0%, 100% { opacity: .7; r: 3; }
  50%      { opacity: 1; r: 3.8; }
}

/* Traveling particles along the connector path (CSS motion path) */
.journey-particle {
  position: absolute; top: 0; left: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, #eaffe0 0%, #7CFF5B 60%, transparent 100%);
  box-shadow: 0 0 8px 2px rgba(124,255,91,.65);
  offset-rotate: 0deg;
  animation: particleTravel var(--particle-duration, 6s) linear infinite;
  animation-delay: var(--particle-delay, 0s);
  opacity: 0;
}
@keyframes particleTravel {
  0%   { offset-distance: 0%;   opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .glass-card, .journey-connector__glow, .journey-connector__node { animation: none !important; }
  .journey-particle { display: none !important; }
}

/* ── Platform demo video modal (platform/index.html) ─────────
   Opened by #heroVideoTrigger ("See the Platform in Action").
   Sits outside .page-hero (which has overflow:hidden) so it isn't
   clipped, and uses its own <video controls> instance rather than
   the laptop's muted looping one. */
.video-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.video-modal.is-open {
  opacity: 1; visibility: visible;
  transition: opacity .25s ease, visibility 0s linear 0s;
}
.video-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(8,12,18,.86);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.video-modal__panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 960px;
  background: #000; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.5);
  transform: scale(.96); transition: transform .25s ease;
}
.video-modal.is-open .video-modal__panel { transform: scale(1); }
.video-modal__panel video { display: block; width: 100%; aspect-ratio: 1280/652; background: #000; }
.video-modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.3);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, border-color .2s;
}
.video-modal__close:hover { background: rgba(0,0,0,.75); border-color: rgba(255,255,255,.6); }
.video-modal__close svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) {
  .video-modal, .video-modal__panel { transition: none !important; }
}

/* ── Section label / eyebrow ─────────────────────────────── */
.section-eyebrow {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}

/* ── Section heading ─────────────────────────────────────── */
.section-heading {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700; color: var(--text-dark);
  letter-spacing: -.022em; line-height: 1.25;
}
.section-heading--white { color: #fff; }
.section-heading--center { text-align: center; }
/* Scoped down for the ecosystem-card heading (platform/index.html),
   which needs to fit "A Single Ecosystem. A Seamless Journey." on one
   line inside a ~500px-wide card instead of the default 2.25rem cap. */
.section-heading--tight { font-size: clamp(1.125rem, 1.6vw, 1.5rem); }

/* ── Light section ───────────────────────────────────────── */
.section-light { background: var(--white); padding: 88px 0; }
.section-off   { background: var(--off-white); padding: 88px 0; }
.section-dark  { background: var(--navy); padding: 88px 0; }

/* ── Capabilities banner (floating card, overlaps hero bottom) ── */
.capabilities-banner { position: relative; z-index: 3; margin-top: 30px; background: var(--white); padding: 0 0 67px; }
.capabilities-banner__card {
  background: var(--white); border-radius: var(--r-xl);
  box-shadow: 0 24px 64px rgba(15,23,36,.16);
  padding: 40px 48px; display: flex; align-items: center; gap: 48px;
}
.capabilities-banner__intro { flex: 0 0 300px; }
.capabilities-banner__intro h2 { font-size: 1.375rem; font-weight: 700; color: var(--text-dark); line-height: 1.35; }
.capabilities-banner__grid { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cap-chip {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 10px; text-decoration: none;
}
.cap-chip__icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green-dim); border: 1px solid var(--green-border);
  display: flex; align-items: center; justify-content: center; color: var(--green);
  transition: background .2s, color .2s, transform .2s;
}
.cap-chip__icon svg { width: 24px; height: 24px; stroke-width: 1.5; }
.cap-chip:hover .cap-chip__icon { background: var(--green); color: #fff; transform: translateY(-2px); }
.cap-chip__title { font-size: .8125rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; }
.cap-chip__sub { font-size: .6875rem; color: var(--gray-600); }

/* ── Stat blocks ─────────────────────────────────────────── */
.stat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.stat-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.stat-block {
  background: rgba(46,204,154,.08);
  border: 1px solid rgba(46,204,154,.2);
  border-radius: var(--r-lg); padding: 22px 24px;
}
.stat-block__val {
  font-family: var(--font-ui); font-size: 2rem; font-weight: 700;
  color: var(--green); line-height: 1; margin-bottom: 6px;
}
.stat-block__desc { font-size: .8125rem; color: rgba(255,255,255,.65); line-height: 1.5; }
.stat-block--dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }

/* Light stat blocks (white bg sections) */
.stat-block--light {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
}
.stat-block--light .stat-block__val { color: var(--green); }
.stat-block--light .stat-block__desc { color: var(--gray-600); }

/* ── Testimonial ─────────────────────────────────────────── */
.testimonial {
  background: var(--navy);
  padding: 72px 0;
}
.testimonial__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.testimonial__quote {
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  font-weight: 500; color: #fff; line-height: 1.55;
  font-style: italic; margin-bottom: 28px;
}
.testimonial__quote::before { content: '\201C'; color: var(--green); font-size: 2em; line-height: 0; vertical-align: -.4em; margin-right: 4px; }
.testimonial__quote::after { content: '\201D'; color: var(--green); font-size: 2em; line-height: 0; vertical-align: -.4em; margin-left: 4px; }
.testimonial__author { display: flex; align-items: center; gap: 14px; }
.testimonial__av {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-dark); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: #fff; font-family: var(--font-ui);
}
.testimonial__name { font-size: .875rem; font-weight: 600; color: #fff; }
.testimonial__role { font-size: .75rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.testimonial__image {
  border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 4/3; background: var(--navy-light);
}
.testimonial__image img { width: 100%; height: 100%; object-fit: cover; }

/* ── Integrations ────────────────────────────────────────── */
.integrations { background: var(--off-white); padding: 72px 0; border-top: 1px solid var(--gray-100); }
.integrations__label {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gray-400); margin-bottom: 32px; text-align: center;
}
.integrations__grid {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 20px;
}
.integration-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--gray-100);
  font-size: .8125rem; font-weight: 600; color: var(--gray-600);
  transition: border-color .2s, color .2s;
}
.integration-chip:hover { border-color: var(--green); color: var(--text-dark); }
.integration-chip__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0;
}

/* ── Ecosystem + Outcomes row (paired cards) ─────────────── */
.ecosystem-row { padding: 0 0 88px; background: var(--white); }
.ecosystem-row__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
.ecosystem-card {
  background: var(--off-white); border-radius: var(--r-xl); padding: 48px;
  display: flex; flex-direction: column; justify-content: center;
}
.outcomes-card {
  background: var(--navy); border-radius: var(--r-xl); padding: 48px; color: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.outcomes-card .stat-grid { margin-bottom: 28px; }

/* ── Journey nodes (connected-flow diagram) ──────────────── */
.journey-nodes { position: relative; margin-top: 12px; height: 168px; }
.journey-nodes__path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; }
.journey-nodes__row { position: relative; z-index: 1; display: flex; justify-content: space-between; height: 100%; }

/* Same glow + pulse + traveling-particle treatment as the hero
   connector (assets/js/platform-hero.js), tuned for this section's
   light card background instead of the hero's dark glass cards. */
.journey-nodes__glow {
  fill: none; stroke: #2ECC9A; stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 1 7; opacity: .3;
  animation: ecosystemGlowPulse 6s ease-in-out infinite;
}
.journey-nodes__line {
  fill: none; stroke: #2ECC9A; stroke-width: 1.5; stroke-dasharray: 1 7;
  stroke-linecap: round; opacity: .55;
}
.journey-nodes__node { fill: #2ECC9A; animation: ecosystemNodePulse 4s ease-in-out infinite; }
@keyframes ecosystemGlowPulse {
  0%, 100% { opacity: .2; }
  50%      { opacity: .45; }
}
@keyframes ecosystemNodePulse {
  0%, 100% { opacity: .7; r: 3; }
  50%      { opacity: 1; r: 3.8; }
}
.journey-nodes__particle {
  position: absolute; top: 0; left: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, #eaffe0 0%, #2ECC9A 60%, transparent 100%);
  box-shadow: 0 0 8px 2px rgba(46,204,154,.5);
  offset-rotate: 0deg; z-index: 0;
  animation: ecosystemParticleTravel 6.5s linear infinite;
  opacity: 0;
}
@keyframes ecosystemParticleTravel {
  0%   { offset-distance: 0%;   opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-nodes__glow, .journey-nodes__node { animation: none !important; }
  .journey-nodes__particle { display: none !important; }
}
.journey-node {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; width: 92px;
}
.journey-node__icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--gray-100);
  box-shadow: 0 10px 22px rgba(15,23,36,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); margin-bottom: 10px; flex-shrink: 0;
}
.journey-node__icon svg { width: 22px; height: 22px; stroke-width: 1.75; }
.journey-node__title { font-size: .6875rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; }

/* ── Team cards ──────────────────────────────────────────── */
.team-cards {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.team-card {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--gray-100);
  background: var(--white);
  transition: transform .2s, box-shadow .2s;
}
.team-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.team-card__img { aspect-ratio: 4/3; overflow: hidden; background: var(--gray-100); }
.team-card__img img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: 20px; }
.team-card__label { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.team-card__title { font-size: .9375rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; line-height: 1.3; }
.team-card__desc  { font-size: .8rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 14px; }
.team-card a { font-size: .8rem; font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: 5px; transition: gap .15s; }
.team-card a:hover { gap: 8px; }

/* ── What works together (3-col benefit blocks) ──────────── */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.benefit-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.benefit-block { display: flex; flex-direction: column; gap: 12px; }
.benefit-block__icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--green-dim); border: 1px solid var(--green-border);
  display: flex; align-items: center; justify-content: center; color: var(--green);
}
.benefit-block__icon svg { width: 22px; height: 22px; stroke-width: 1.5; }

/* ── Buyer Verification "Buyer Sees / Builder Sees / Flexible" compare ── */
.buyer-verification-compare {
  display: grid; grid-template-columns: 0.95fr 1fr 1fr 1.15fr; gap: 24px;
  max-width: 1280px; margin: 0 auto; align-items: center;
}
.buyer-verification-compare__connector {
  position: absolute; top: 50%; right: -34px; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

/* ── Reservations "Connected Experience" fan-out/fan-in diagram ──── */
.ecosystem-connector__line {
  fill: none; stroke: var(--green-border); stroke-width: 1.5; stroke-dasharray: 4 5;
}
@media (min-width: 1025px) {
  .reservations-ecosystem__arrow { display: none; }
}
.benefit-block__title { font-size: .9375rem; font-weight: 700; color: #fff; }
.benefit-block__desc  { font-size: .8125rem; color: rgba(255,255,255,.6); line-height: 1.65; }

/* ── Two-col text + stats layout ─────────────────────────── */
.split-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.split-section--reverse .split-section__image { order: -1; }
.split-section__image {
  border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/3;
  background: var(--navy-light); position: relative;
}
.split-section__image img { width: 100%; height: 100%; object-fit: cover; }

/* ── Floating metric card (overlaid on images) ───────────── */
.metric-badge {
  position: absolute; bottom: 20px; right: 20px;
  background: rgba(12,18,30,.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); padding: 14px 18px;
  font-family: var(--font-ui);
}
.metric-badge__val { font-size: 1.5rem; font-weight: 700; color: var(--green); line-height: 1; }
.metric-badge__lbl { font-size: .7rem; color: rgba(255,255,255,.5); margin-top: 4px; }

/* ── Buyer Intelligence page ─────────────────────────────── */
.bi-hiw { display: grid; grid-template-columns: 0.62fr 1.38fr; gap: 56px; align-items: center; }
.bi-dashboard {
  font-family: var(--font-ui); background: var(--white);
  border: 1px solid var(--gray-200); border-radius: var(--r-xl);
  box-shadow: 0 24px 64px rgba(17,25,35,.10); overflow: hidden;
}
.bi-dashboard__body { display: grid; grid-template-columns: 132px minmax(0,1fr) 212px; }
.bi-dashboard__sidebar { border-right: 1px solid var(--gray-100); padding: 14px; }
.bi-dashboard__rail { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.bi-strip { display: flex; margin-top: 48px; }
.bi-strip__item {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 14px; padding: 4px 24px;
}
.bi-strip__item + .bi-strip__item { border-left: 1px solid var(--gray-200); }
.bi-journey { display: grid; grid-template-columns: 0.95fr 2.05fr; gap: 48px; align-items: center; }
.bi-journey__cards { display: flex; align-items: stretch; }
.bi-journey__card {
  flex: 1; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); padding: 22px 14px; text-align: center;
}
.bi-journey__card--active { background: var(--green-dim); border-color: var(--green-border); }
.bi-journey__dot {
  width: 26px; flex-shrink: 0; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.bi-journey__dot::before { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: var(--gray-200); }
.bi-journey__dot span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); position: relative; z-index: 1; }
.bi-reporting { display: grid; grid-template-columns: 1.1fr 1.9fr; gap: 48px; align-items: center; }
.bi-reporting__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.bi-reporting__card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; }
.bi-reporting__card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; border: 1px solid var(--gray-100); border-radius: 6px; }
.bi-reporting__card img.bi-reporting__img--wide { aspect-ratio: auto; }
.bi-reporting__card .btn-link { font-size: .75rem; margin-top: auto; padding-top: 12px; align-self: flex-start; }
@media (max-width: 1200px) {
  .bi-hiw { grid-template-columns: 0.75fr 1.25fr; gap: 40px; }
}
@media (max-width: 1024px) {
  .bi-hiw { grid-template-columns: 1fr; gap: 40px; }
  .bi-journey { grid-template-columns: 1fr; gap: 36px; }
  .bi-reporting { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .bi-dashboard__body { grid-template-columns: 1fr; }
  .bi-dashboard__sidebar { display: none; }
  .bi-dashboard__rail { flex-direction: row; padding-top: 0; }
  .bi-dashboard__rail > div { flex: 1; }
  .bi-strip { flex-direction: column; gap: 20px; margin-top: 36px; }
  .bi-strip__item { justify-content: flex-start; padding: 0; }
  .bi-strip__item + .bi-strip__item { border-left: none; }
  .bi-journey__cards { flex-wrap: wrap; gap: 12px; }
  .bi-journey__card { flex: 1 1 42%; }
  .bi-journey__dot { display: none; }
  .bi-reporting__cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bi-dashboard__rail { flex-direction: column; }
}

/* ── Automated CRM page ──────────────────────────────────── */
.crm-hiw { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.crm-automation { display: grid; grid-template-columns: 0.9fr 2.1fr; gap: 48px; align-items: center; }
.crm-diagram__flow { display: flex; align-items: stretch; gap: 10px; }
.crm-diagram__flow-card {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-md); padding: 14px 10px;
}
.crm-diagram__arrow { flex-shrink: 0; align-self: center; }
.crm-diagram__stub { width: 0; height: 16px; border-left: 1.5px dashed var(--gray-400); margin: 0 auto; }
.crm-diagram__rail { border-top: 1.5px dashed var(--gray-400); margin: 0 8.333%; }
.crm-diagram__icons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 16px; }
.crm-diagram__icon-col { text-align: center; }
.crm-diagram__drop { width: 0; height: 16px; border-left: 1.5px dashed var(--gray-400); margin: 0 auto 8px; position: relative; }
.crm-diagram__drop::after {
  content: ''; position: absolute; top: -2px; left: -3.25px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--green);
}
/* ── Reporting & Performance page ────────────────────────── */
.rp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.rp-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); padding: 24px;
  display: flex; flex-direction: column;
}
.rp-questions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.rp-question {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg); padding: 28px 20px; text-align: center;
}
.rp-platform { display: grid; grid-template-columns: 0.85fr 2.15fr; gap: 48px; align-items: center; }
.rp-journey-cards { display: flex; align-items: stretch; gap: 8px; }
.rp-journey-card {
  flex: 1; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); padding: 20px 12px; text-align: center;
}
.rp-journey-card--active { background: var(--green-dim); border-color: var(--green-border); }
.rp-journey-arrow { flex-shrink: 0; align-self: center; }
.rp-reports { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.rp-report {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); padding: 24px 16px; text-align: center;
}
/* ── Integrations & Infrastructure page ──────────────────── */
.ii-hiw { display: grid; grid-template-columns: 0.9fr 1.2fr; gap: 56px; align-items: center; }
.ii-flow__row { display: grid; gap: 12px; }
.ii-flow__row--4 { grid-template-columns: repeat(4, 1fr); }
.ii-flow__row--2 { grid-template-columns: repeat(2, 1fr); padding: 0 14%; }
.ii-flow__card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-md); padding: 18px 10px; text-align: center;
}
.ii-flow__stubs--4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.ii-flow__stubs--2 { display: grid; grid-template-columns: repeat(2, 1fr); padding: 0 14%; }
.ii-why { display: grid; grid-template-columns: repeat(4, 1fr); }
.ii-why__col { text-align: center; padding: 0 28px; border-left: 1px solid rgba(255,255,255,.12); }
.ii-why__col:first-child { border-left: none; }
.ii-center { display: grid; grid-template-columns: 1.05fr 1fr; align-items: start; }
.ii-center__left { padding-right: 48px; }
.ii-center__right { border-left: 1px solid var(--gray-200); padding-left: 48px; }
.ii-hub { display: flex; align-items: center; margin-top: 40px; }
.ii-hub__chips { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.ii-hub__chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px;
  padding: 8px 12px; font-family: var(--font-ui);
  font-size: .6875rem; font-weight: 600; color: var(--text-dark); white-space: nowrap;
}
.ii-hub__fan { flex: 1; align-self: stretch; min-width: 20px; }
.ii-hub__fan svg { width: 100%; height: 100%; display: block; }
.ii-hub__core {
  width: 128px; height: 128px; border-radius: 50%; flex-shrink: 0;
  background: var(--white); border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
}
.ii-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ii-logo {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-md);
  min-height: 62px; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; font-family: var(--font-ui); font-weight: 700; font-size: .9375rem; color: var(--text-dark);
}
.ii-support {
  display: grid; grid-template-columns: 1.5fr repeat(6, 1fr);
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-xl); padding: 36px 28px;
}
.ii-support__intro { padding-right: 28px; }
.ii-support__col { text-align: center; padding: 0 14px; border-left: 1px solid var(--gray-200); }
@media (max-width: 1024px) {
  .crm-hiw { grid-template-columns: 1fr; gap: 40px; }
  .crm-automation { grid-template-columns: 1fr; gap: 36px; }
  .rp-cards { grid-template-columns: 1fr; }
  .rp-questions { grid-template-columns: repeat(2, 1fr); }
  .rp-platform { grid-template-columns: 1fr; gap: 36px; }
  .rp-reports { grid-template-columns: repeat(3, 1fr); }
  .ii-hiw { grid-template-columns: 1fr; gap: 44px; }
  .ii-why { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .ii-why__col:nth-child(3) { border-left: none; }
  .ii-center { grid-template-columns: 1fr; gap: 48px; }
  .ii-center__left { padding-right: 0; }
  .ii-center__right { border-left: none; padding-left: 0; }
  .ii-support { grid-template-columns: repeat(3, 1fr); gap: 28px 0; }
  .ii-support__intro { grid-column: 1 / -1; padding-right: 0; }
}
@media (max-width: 768px) {
  .crm-diagram__flow { flex-direction: column; }
  .crm-diagram__arrow { transform: rotate(90deg); margin: 0 auto; }
  .crm-diagram__stub, .crm-diagram__rail { display: none; }
  .crm-diagram__icons { grid-template-columns: repeat(3, 1fr); gap: 16px 8px; margin-top: 20px; }
  .crm-diagram__drop { display: none; }
  .rp-questions { grid-template-columns: 1fr; }
  .rp-journey-cards { flex-wrap: wrap; gap: 12px; }
  .rp-journey-card { flex: 1 1 42%; }
  .rp-journey-arrow { display: none; }
  .rp-reports { grid-template-columns: repeat(2, 1fr); }
  .ii-flow__row--4 { grid-template-columns: repeat(2, 1fr); }
  .ii-flow__row--2 { padding: 0; }
  .ii-flow__row + .ii-flow__row { margin-top: 12px; }
  .ii-flow__stubs--4, .ii-flow__stubs--2 { display: none; }
  .ii-why { grid-template-columns: 1fr; gap: 32px; }
  .ii-why__col { border-left: none; padding: 0; }
  .ii-hub { flex-direction: column; gap: 16px; }
  .ii-hub__fan { display: none; }
  .ii-hub__chips { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .ii-logos { grid-template-columns: repeat(2, 1fr); }
  .ii-support { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
  .ii-support__col { border-left: none; padding: 0; text-align: left; }
}

/* ── Inner page responsive ───────────────────────────────── */
@media (max-width: 1024px) {
  .capabilities-banner { margin-top: -48px; }
  .capabilities-banner__card { flex-direction: column; align-items: flex-start; gap: 28px; padding: 32px; }
  .capabilities-banner__intro { flex: none; width: 100%; }
  .capabilities-banner__grid { grid-template-columns: repeat(3, 1fr); width: 100%; gap: 24px 16px; }
  .ecosystem-row__grid { grid-template-columns: 1fr; gap: 20px; }
  .team-cards { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .split-section--reverse .split-section__image { order: 0; }
  .testimonial__inner { grid-template-columns: 1fr; gap: 40px; }
  .reservations-ecosystem { grid-template-columns: 1fr !important; gap: 32px !important; }
  .reservations-why-matters { grid-template-columns: 1fr !important; gap: 32px !important; }
}
@media (max-width: 768px) {
  .reservations-why-matters .benefit-grid--cols-4 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
  .capabilities-banner { margin-top: 0; }
  .capabilities-banner__grid { grid-template-columns: repeat(2, 1fr); }
  .team-cards { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .journey-nodes { height: auto; }
  .journey-nodes__path { display: none; }
  .journey-nodes__particle { display: none; }
  .journey-nodes__row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .journey-node { flex-direction: row; text-align: left; gap: 14px; width: 100%; margin-top: 0 !important; }
  .journey-node__icon { margin-bottom: 0; }
  .build-price-compare { grid-template-columns: 1fr !important; gap: 20px !important; }
  .build-price-compare__connector { display: none !important; }
  .buyer-verification-compare { grid-template-columns: 1fr !important; gap: 20px !important; }
  .buyer-verification-compare__connector { display: none !important; }
  .reservations-ecosystem__flow { flex-direction: column; }
  .reservations-ecosystem__arrow { transform: rotate(90deg); }
  .ecosystem-flow { flex-direction: column; align-items: center !important; gap: 16px !important; }
  .ecosystem-flow__arrow { transform: rotate(90deg); margin-top: 0 !important; }
}
@media (max-width: 480px) {
  .team-cards { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .capabilities-banner__grid { grid-template-columns: 1fr 1fr; }
}

/* ── Hero widget card entrance animation ──────────────────── */
@keyframes widgetCardIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.widget-card {
  animation: widgetCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── Hero widget + journey strip — mobile ──────────────────── */
@media (max-width: 768px) {
  /* Hide widget cards and journey strip on mobile */
  .hero__body > div[style*="width:500px"] { display: none; }
  .hero-journey-strip { display: none; }
  /* Remove the extra bottom padding since strip is hidden */
  .hero[style*="padding-bottom:160px"] { padding-bottom: 0 !important; }
}

/* ── Journey widget (Platform Overview) — ≤1024px ────────────
   Cards drop out of the absolute layout into a static, centered
   stack. The connector becomes a small per-card CSS glow segment
   (a line + traveling dot in ::before/::after) instead of the
   JS-generated bezier — no geometry recompute needed here, so it
   stays correct regardless of how tall each card renders. */
@media (max-width: 1024px) {
  .page-hero__body .wrap[style*="grid-template-columns:1fr 600px"] { grid-template-columns: 1fr !important; }
  .page-hero[style*="min-height:680px"] { min-height: auto !important; }

  .journey-widget { height: auto; padding: 40px 0 0; }
  .journey-widget__cards {
    position: static; display: flex; flex-direction: column;
    align-items: center; gap: 0;
  }
  .journey-connector { display: none; }

  .glass-card {
    position: relative; top: 0; left: 0; z-index: auto;
    width: 100%; max-width: 380px; margin-bottom: 32px;
    animation: none;
  }
  .glass-card::after {
    content: ''; position: absolute; left: 50%; bottom: -32px;
    width: 2px; height: 32px; transform: translateX(-50%);
    background: linear-gradient(180deg, #7CFF5B, transparent);
    filter: blur(1px); opacity: .6;
  }
  .glass-card::before {
    content: ''; position: absolute; left: 50%; bottom: 0;
    width: 6px; height: 6px; border-radius: 50%;
    transform: translate(-50%, 0); z-index: 1;
    background: radial-gradient(circle, #eaffe0 0%, #7CFF5B 60%, transparent 100%);
    box-shadow: 0 0 8px 2px rgba(124,255,91,.65);
    animation: flowDotTravel 3.2s linear infinite;
  }
  @keyframes flowDotTravel {
    0%   { bottom: 0px;   opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { bottom: -32px; opacity: 0; }
  }

  .journey-widget__device {
    position: relative; margin: 24px auto 0; width: 100%; max-width: 320px;
    /* Clear the desktop inline bottom/right offsets — at this breakpoint
       the device is relatively positioned, so a leftover inline `bottom`
       would shift it instead of sitting in flow. Height can't go to
       `auto` since every child is absolutely positioned (auto would
       collapse to 0), so it gets an explicit value instead.
       Inline styles win over stylesheet rules, hence !important here. */
    top: auto !important; right: auto !important; bottom: auto !important; height: 260px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .glass-card::before { display: none !important; }
}
@media (max-width: 480px) {
  .glass-card { max-width: 100%; }
}

