/* Wenya Connect — shared styles for every page.
   Tokens mirror the Figma variables (color/blue, color/zest, ...) and WC/* text styles. */

:root {
  --blue: #3414b5;
  --zest: #dff0a8;
  --ink: #14101f;
  --mute: #4a4560;
  --soft: #5f5a73;
  --tint: #f6f5fb;
  --grey: #e7e7e7;
  --white: #fff;
  --gutter: 120px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Figtree", -apple-system, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }

/* Layout */
.section { padding: 88px var(--gutter); }
.section > .inner { max-width: var(--max); margin: 0 auto; }
.bg-white { background: var(--white); }
.bg-tint { background: var(--tint); }
.bg-zest { background: var(--zest); }
.bg-blue { background: var(--blue); }
.stack { display: flex; flex-direction: column; gap: 40px; }
.row { display: flex; gap: 24px; align-items: flex-start; }
.row > * { flex: 1 1 0; min-width: 0; }
.center { text-align: center; }

/* Type (WC/* styles) */
.display { font-size: 60px; font-weight: 800; line-height: 1.05; letter-spacing: -1.5px; }
.h2 { font-size: 40px; font-weight: 800; line-height: 1.12; letter-spacing: -0.8px; color: var(--blue); }
.h2-sm { font-size: 36px; font-weight: 800; line-height: 1.12; letter-spacing: -0.72px; color: var(--blue); }
.h3 { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.body-l { font-size: 19px; line-height: 1.55; }
.body { font-size: 16px; line-height: 1.55; color: var(--mute); }
.small { font-size: 14px; line-height: 1.5; }
.eyebrow { font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: 0.52px; text-transform: uppercase; }
.pill {
  display: inline-block; align-self: flex-start;
  padding: 7px 14px; border-radius: 999px;
  background: var(--zest); color: var(--blue);
  font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: 0.26px;
}

/* Button — "Book a demo" is the only call to action */
.btn {
  display: inline-block; align-self: flex-start;
  padding: 16px 30px; border-radius: 999px;
  font-size: 16px; font-weight: 700; line-height: 1.2; white-space: nowrap;
  background: var(--blue); color: var(--white);
  transition: filter .15s;
}
.btn:hover { filter: brightness(1.12); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--zest); outline-offset: 3px; }
.btn--onblue { background: var(--zest); color: var(--blue); }
.btn--onblue:hover { filter: brightness(0.95); }

/* Logo lockup (badge + wordmark + rule + "Connect") */
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); }
.logo__badge { position: relative; width: 35.2px; height: 35.2px; flex: none; }
.logo__badge img { position: absolute; transform: scaleY(-1); }
.logo__badge .b1 { inset: 0.03% 0.09% 0.09% 0.09%; width: 99.82%; height: 99.88%; }
.logo__badge .b2 { inset: 17.25% 0.16% 13.86% 0.16%; width: 99.68%; height: 68.89%; }
.logo__wordmark { width: 123.2px; height: 32.8px; }
.logo__rule { width: 1.6px; height: 25.6px; background: currentColor; }
.logo__connect { font-size: 24px; font-weight: 600; line-height: 1.3; }
.logo--onblue { gap: 7px; color: var(--white); }
.logo--onblue .logo__badge { width: 30.8px; height: 30.8px; }
.logo--onblue .logo__wordmark { width: 107.8px; height: 28.7px; }
.logo--onblue .logo__rule { width: 1.4px; height: 22.4px; background: var(--zest); }
.logo--onblue .logo__connect { font-size: 21px; }

/* Nav */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter); background: var(--white);
  border-bottom: 1px solid var(--grey);
}
.nav__links { display: flex; gap: 32px; font-weight: 600; font-size: 16px; }
.nav__links a:hover { color: var(--blue); }
.nav__links a[aria-current="page"] { color: var(--blue); }

/* Hero with photo + blue wash */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  display: flex; gap: 40px; align-items: center; padding: var(--gutter);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg img.flip { transform: scaleX(-1); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(52,20,181,.72), rgba(52,20,181,.8) 55%, rgba(52,20,181,.9));
}
.hero > :not(.hero__bg) { position: relative; flex: 1 1 0; min-width: 0; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero__copy .body-l { opacity: .88; }

/* Desk view mock (illustrative) */
.mock {
  background: var(--white); color: var(--ink); border-radius: 24px; padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 30px 60px -20px rgba(10,5,51,.45);
}
.mock__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mock__title { font-weight: 800; color: var(--blue); }
.mock__note { font-size: 12.5px; line-height: 1.5; color: var(--soft); }
.mock__item { border: 1px solid var(--grey); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.mock__row { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; line-height: 1.5; font-size: 14.5px; }
.mock__row span:last-child { color: var(--blue); font-size: 14px; white-space: nowrap; }
.mock__bar { height: 8px; border-radius: 4px; background: var(--grey); overflow: hidden; }
.mock__bar span { display: block; height: 100%; border-radius: 4px; background: var(--blue); }

/* Cards */
.card { background: var(--tint); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.bg-tint .card { background: var(--white); }

/* Compare (ring-round vs one message) */
.compare { border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 14px; background: var(--white); }
.compare .eyebrow { color: var(--soft); }
.compare ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; color: var(--mute); }
.compare li { padding-left: 1.1em; text-indent: -1.1em; }
.compare li::before { content: "•"; display: inline-block; width: 1.1em; text-indent: 0; }
.compare--blue { background: var(--blue); }
.compare--blue .eyebrow { color: var(--zest); }
.compare--blue ul { color: var(--white); }

/* Steps */
.step { display: flex; flex-direction: column; gap: 12px; }
.step__num {
  width: 44px; height: 44px; border-radius: 22px; background: var(--blue); color: var(--zest);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; line-height: 1.3;
}

/* Band (zest statement) */
.band { padding: 80px var(--gutter); text-align: center; color: var(--blue); display: flex; flex-direction: column; gap: 16px; }
.band .h2-sm { color: inherit; }

/* Founding pilot */
.pilot { display: flex; gap: 56px; align-items: flex-start; }
.pilot > * { flex: 1 1 0; min-width: 0; }
.pilot__copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.pilot__copy .body-l { color: var(--mute); }
.price { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; }
.price strong { font-size: 60px; font-weight: 800; line-height: 1.05; letter-spacing: -1.5px; color: var(--blue); }
.price span { font-size: 19px; color: var(--mute); }
.terms { background: var(--white); border-radius: 24px; padding: 12px 32px 28px; }
.terms dl { margin: 0; }
.terms__row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--grey); }
.terms__row:first-child { border-top: 0; }
.terms dt { font-weight: 700; color: var(--ink); white-space: nowrap; }
.terms dd { margin: 0; color: var(--mute); text-align: right; }
.terms__ask { background: var(--tint); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.terms__ask .eyebrow { color: var(--blue); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.faq__item { border-top: 1px solid var(--grey); padding: 20px 0; display: flex; flex-direction: column; gap: 8px; }
.faq__item h3 { font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--ink); }

/* Book a demo */
.cta { padding: 96px var(--gutter); text-align: center; color: var(--white); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta .eyebrow { color: var(--zest); text-transform: none; }
.cta h2 { font-size: 46px; font-weight: 800; line-height: 1.12; letter-spacing: -0.92px; }
.cta .body-l { opacity: .86; }
.cta .btn { align-self: center; }

/* Footer */
.footer { background: var(--ink); color: var(--white); padding: 56px var(--gutter); display: flex; flex-direction: column; gap: 32px; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; }
.footer__brand { width: 360px; max-width: 100%; display: flex; flex-direction: column; gap: 14px; }
.footer__brand p { font-size: 14px; line-height: 1.5; opacity: .72; }
.footer__cols { display: flex; gap: 56px; font-size: 14px; line-height: 1.5; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col strong { font-weight: 700; }
.footer__col a { opacity: .78; }
.footer a:hover { opacity: 1; text-decoration: underline; }
.footer__legal { border-top: 1px solid var(--white); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; line-height: 1.5; }
.footer__links a, .footer__links button { opacity: .82; }
.footer__links button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.footer__links button:hover { opacity: 1; text-decoration: underline; }
.footer__copy { font-size: 12.5px; line-height: 1.5; opacity: .6; }

/* Responsive */
@media (max-width: 1100px) {
  :root { --gutter: 48px; }
  .row { flex-wrap: wrap; }
  .row > * { flex: 1 1 calc(50% - 12px); }
}
@media (max-width: 860px) {
  :root { --gutter: 20px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .nav { flex-wrap: wrap; row-gap: 12px; }
  .nav__links { order: 3; width: 100%; gap: 24px; }
  .nav .btn { padding: 12px 20px; font-size: 15px; }
  .logo__wordmark { width: 98px; height: 26px; }
  .logo__badge { width: 28px; height: 28px; }
  .logo__connect { font-size: 19px; }
  .logo__rule { height: 20px; }
  .hero, .pilot { flex-direction: column; align-items: stretch; }
  .hero { padding-top: 64px; padding-bottom: 64px; }
  .hero__copy { align-items: flex-start; }
  .display { font-size: 40px; letter-spacing: -1px; }
  .h2 { font-size: 30px; }
  .h2-sm { font-size: 28px; }
  .cta h2 { font-size: 32px; }
  .price strong { font-size: 44px; }
  .row > * { flex: 1 1 100%; }
  .band, .cta { padding-top: 64px; padding-bottom: 64px; }
  .terms { padding: 8px 20px 20px; }
  .terms__row { flex-direction: column; gap: 2px; }
  .terms dt { white-space: normal; }
  .terms dd { text-align: left; }
  .footer__top { flex-direction: column; }
}

/* Section modifiers */
.section--80 { padding-top: 80px; padding-bottom: 80px; }
.band__inner { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.steps { list-style: none; padding: 0; }

/* Pages: home, realestate, enterprise */
.stack--44 { gap: 44px; }
.row.row--32 { gap: 32px; }
.lede { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.lede--full { max-width: none; }
.lede .body-l { color: var(--mute); }
.card--outline { border: 1px solid var(--blue); }
.card--blue { background: var(--blue); border: 1px solid var(--white); }
.bg-tint .card--blue { background: var(--blue); }
.card--blue .h3 { color: var(--zest); }
.card--blue .body { color: var(--white); }
.card--line { background: var(--blue); border: 1px solid rgba(255,255,255,.25); padding: 20px 22px; }
.card--line .h3 { color: var(--zest); }
.card--line .body { color: var(--white); }
.terms--outlined { border: 1px solid var(--blue); }

/* Hero variants */
.hero--56 { gap: 56px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.hero__actions .small { opacity: .85; }
.hero__link { font-size: 16px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.hero__link:hover { text-decoration: underline; }
.hero--home { min-height: 698px; }
.hero--home .hero__bg::after { background: linear-gradient(to right, rgba(52,20,181,.7), rgba(52,20,181,.6) 55%, rgba(52,20,181,.7)); }
.hero > .hero__copy--home { flex: 0 1 704px; }
.hero > .hero__devices { position: absolute; left: 741px; top: 84px; width: 860px; height: 488px; flex: none; pointer-events: none; }
.hero__devices img { position: absolute; }
.hero__devices .laptop { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__devices .phone { left: 1.63%; top: 19.47%; width: 20.7%; height: 78.07%; object-fit: cover; }

/* Viewing chat mock (illustrative) */
.hero > .chat { flex: 0 0 430px; }
.chat { background: var(--tint); color: var(--ink); border: 1px solid var(--grey); border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.chat__bubble, .chat__slots { width: 346px; max-width: 100%; background: var(--white); border-radius: 16px; }
.chat__bubble { padding: 14px 16px; font-size: 14px; line-height: 1.5; }
.chat__slots { border: 1.5px solid var(--blue); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat__title { font-weight: 800; line-height: 1.55; color: var(--blue); }
.chat__slot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 14px; line-height: 1.5; font-weight: 700; background: var(--blue); color: var(--white); }
.chat__slot--booked { background: var(--grey); color: var(--soft); }
.chat__slot--booked span:first-child { font-weight: 400; text-decoration: line-through; }
.chat__ok { display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--zest); font-size: 14px; line-height: 1.5; }
.chat__ok img { width: 16px; height: 16px; flex: none; }
.chat__note { align-self: stretch; text-align: center; font-size: 11.5px; line-height: 1.5; color: var(--soft); }

/* Blue split section (realestate teams) */
.split { display: flex; gap: 56px; align-items: center; }
.split > * { flex: 1 1 0; min-width: 0; }
.split__copy { display: flex; flex-direction: column; gap: 16px; color: var(--white); }
.split__copy .h2 { color: inherit; }
.split__copy .body-l { opacity: .86; }
.split__cards { display: flex; flex-direction: column; gap: 14px; }

/* Zest Book a demo */
.cta--zest { color: var(--blue); }
.cta--zest .eyebrow { color: var(--blue); }
.cta--zest .body-l { opacity: 1; }

/* Home: ring-round photo panel */
.section--home-desk { padding-bottom: 111px; }
.photo-panel { position: relative; height: 420px; border-radius: 24px; overflow: hidden; }
.photo-panel > img { width: 100%; height: 100%; object-fit: cover; }
.photo-panel__phone { position: absolute; left: 40px; top: 28px; width: 247px; height: 392px; overflow: hidden; }
.photo-panel__phone img { width: 100%; }
.photo-panel > img.photo-panel__card { position: absolute; left: 249px; top: 106px; width: 219px; height: 264px; object-fit: cover; }

/* Home: how it works on blue */
.section--home-how { padding-top: 28px; padding-bottom: 80px; }
.section--home-how .stack { gap: 15px; }
.section--home-how .h2 { color: var(--white); }
.steps--onblue .h3, .steps--onblue .body { color: var(--white); }
.steps--onblue .step__num { background: var(--zest); color: var(--blue); }

/* Home: photo feature grid */
.feature-photo { position: relative; overflow: hidden; padding: 62px var(--gutter) 150px; }
.feature-photo__bg { position: absolute; inset: 0; pointer-events: none; }
.feature-photo__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.feature-photo__bg::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.4); }
.feature-photo > .inner { position: relative; max-width: var(--max); margin: 0 auto; }
.feature-photo .lede { max-width: 720px; }
.feature-photo .h2 { color: var(--ink); }
.feature-photo .lede .body-l { color: #000; opacity: .86; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 37px 24px; margin-top: 69px; }

@media (max-width: 1100px) {
  .hero--home { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero > .hero__copy--home { flex: none; }
  .hero > .hero__devices { position: relative; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 860 / 488; order: 2; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 860px) {
  .hero > .chat { flex: none; }
  .split { flex-direction: column; align-items: stretch; }
  .section--home-desk { padding-bottom: 64px; }
  .section--home-how { padding-top: 48px; padding-bottom: 64px; }
  .section--home-how .stack { gap: 32px; }
  .feature-photo { padding-top: 64px; padding-bottom: 64px; }
  .grid3 { grid-template-columns: 1fr; margin-top: 40px; }
  .photo-panel { height: 360px; }
  .photo-panel__phone { left: 16px; top: 16px; width: 200px; height: 344px; }
  .photo-panel > img.photo-panel__card { left: 172px; top: 96px; width: 150px; height: 181px; }
}

html { scroll-behavior: smooth; }
#how-it-works, #pricing, #faqs { scroll-margin-top: 16px; }

/* Pages: enterprise v2, enterprise/security */
.hero--find { min-height: 770px; padding: 112px 54px; align-items: flex-start; }
.hero--find .hero__bg::after { background: linear-gradient(to right, rgba(52,20,181,.72), rgba(52,20,181,.28) 40%, rgba(52,20,181,.26)); }
.hero > .hero__copy--find { flex: 0 1 556px; }
.hero__lede { max-width: 467px; font-weight: 700; }
.hero__lede p + p { margin-top: 1.55em; }
.hero > .find-devices { position: absolute; left: 303px; top: 59px; width: 1226px; height: 666px; flex: none; pointer-events: none; }
.find-devices > img { position: absolute; left: 28.63%; top: 7.96%; width: 71.37%; height: 82.13%; object-fit: cover; }

/* Phone mock: rotated device photo + dynamic island drawn on top */
.mock-phone { position: absolute; left: 0; top: 0; width: 54.32%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.mock-phone > img { width: 86.32%; aspect-ratio: 1; object-fit: cover; transform: rotate(10deg); }
.mock-phone__island { position: absolute; left: 45.66%; top: 19.38%; width: 8.86%; height: 2.1%; border-radius: 35px; background: #292632; }

/* "From your desktop to their conversation" photo with device mocks */
.section--desk { padding-bottom: 76px; }
.desk-panel { position: relative; aspect-ratio: 1200 / 420; }
.desk-panel__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.desk-panel__imessage, .desk-panel__card { position: absolute; pointer-events: none; }
.desk-panel__imessage { left: .67%; top: 12.38%; width: 30.67%; aspect-ratio: 1; object-fit: cover; }
.desk-panel__card { left: 82.67%; top: 24.76%; width: 18%; aspect-ratio: 216 / 327; object-fit: cover; }
.desk-panel .mock-phone { left: 5.33%; top: -22.38%; width: 51.98%; }
.desk-panel .mock-phone__island { left: 45.19%; top: 19.4%; width: 9.62%; height: 2.56%; }

.band__link:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .hero--find { flex-direction: column; align-items: stretch; min-height: 0; padding: 88px var(--gutter) 48px; }
  .hero > .hero__copy--find { flex: none; }
  .hero > .find-devices { position: relative; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 1226 / 666; }
}
@media (max-width: 860px) {
  .hero--find { padding-top: 64px; padding-bottom: 32px; }
}

/* Pages: realestate (final) */
.hero--re { align-items: flex-start; padding: 159px 120px 88px 85px; }
.hero > .hero__copy--re { flex: 0 1 640px; }
.hero__copy--re .display { max-width: 620px; }
.hero__copy--re .body-l { max-width: 560px; }
.hero > .hero__devices--re { left: 672px; top: 156px; width: 672px; height: auto; aspect-ratio: 672 / 514.5; }
.hero__devices--re .laptop { inset: auto; left: 7.14%; top: 0; width: 92.86%; height: auto; }
.hero__devices--re .phone { left: 0; top: 27.69%; width: 27.01%; height: auto; }
.photo-panel--re .photo-panel__phone { left: 50px; top: 21px; width: 234px; height: 394px; }
.photo-panel--re > img.photo-panel__card { left: 261px; top: 295px; width: 237px; height: 96px; }
.feature-photo--re { padding-left: 80px; padding-right: 160px; }
.feature-photo--re .lede { max-width: none; }
.feature-photo--re .lede .body-l { max-width: 720px; }
@media (max-width: 1100px) {
  .hero--re { padding: 88px var(--gutter) 48px; }
  .hero > .hero__copy--re { flex: none; }
  .hero > .hero__devices--re { left: auto; top: auto; width: 100%; max-width: 672px; aspect-ratio: 672 / 514.5; }
  .feature-photo--re { padding-left: var(--gutter); padding-right: var(--gutter); }
}
@media (max-width: 860px) {
  .hero--re { padding-top: 64px; padding-bottom: 64px; }
  .photo-panel--re .photo-panel__phone { left: 16px; top: 16px; width: 200px; height: 337px; }
  .photo-panel--re > img.photo-panel__card { left: 110px; top: 260px; width: 190px; height: 77px; }
}
@media (min-width: 1101px) {
  .section--re-how { padding-bottom: 56px; }
  .feature-photo--re .grid3 { margin-top: 39px; row-gap: 13px; }
}
