/* Badri.rent — landing page (Figma: Badri / Web / Landing) */
:root {
  --ink: #0E0F0C;
  --ink-2: #3B3D38;
  --muted: #6B6E66;
  --line: #E7E8E3;
  --soft: #F7F8F4;
  --mint: #F1FFF1;
  --lime: #D4FF31;
  --lime-600: #B8E805;
  --green: #9FE870;
  --blue: #0028FF;
  --dark-card: #1A1C17;
  --dark-line: #34372F;
  --red-50: #FDECEC;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Plus Jakarta Sans", system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-family: var(--font-ar); }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap--narrow { --wrap: 820px; }
.center { text-align: center; }
.hl-lime { color: var(--lime); }
.hl-blue { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 55px; padding: 15px 26px; border: 0; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1.5; cursor: pointer; white-space: nowrap; transition: transform .15s, background-color .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2c27; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #c8f61c; }
.btn--green { background: var(--green); color: #141414; }
.btn--glass { background: rgba(255,255,255,.1); color: #fff; }
.btn--glass:hover { background: rgba(255,255,255,.18); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: #0020d6; }
.btn--ghost { background: var(--soft); color: var(--ink); border: 1.5px solid var(--line); }

/* ---------- Logo ---------- */
.bolt { display: inline-block; background: url(assets/logo-light.svg) center / contain no-repeat; }
.logo--light .bolt { background-image: url(assets/logo-dark.svg); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; direction: ltr; }
.logo__bolt { width: 20px; height: 25px; }
.logo__tld { font-weight: 500; color: var(--muted); }
.logo--light { color: #fff; }
.logo--light .logo__tld { color: rgba(255,255,255,.6); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.3); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-weight: 600; font-size: 15px; color: var(--ink-2); transition: color .15s; }
.nav__links a:hover { color: var(--blue); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle { min-height: 42px; padding: 9px 14px; border: 0; border-radius: 999px; background: var(--soft); font: 700 14px var(--font-ar); cursor: pointer; }
html[lang="ar"] .lang-toggle { font-family: var(--font); }
.lang-toggle:hover { background: var(--line); }
.nav__signup { font-weight: 700; font-size: 14px; padding: 8px 4px; }
.nav__signup:hover { color: var(--blue); }
@media (max-width: 520px) { .nav__signup { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: #3B2716; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
html[dir="rtl"] .hero__bg { transform: scaleX(-1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(28,16,6,.62) 0%, rgba(28,16,6,.38) 42%, rgba(28,16,6,0) 68%); }
html[dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(28,16,6,.62) 0%, rgba(28,16,6,.38) 42%, rgba(28,16,6,0) 68%); }
.hero__inner { position: relative; z-index: 2; min-height: 652px; display: flex; align-items: center; padding-block: 72px 96px; }
.hero__copy { position: relative; z-index: 2; max-width: min(620px, 50%); }
.hero__title { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.2; font-weight: 800; letter-spacing: -.035em; }
@media (min-width: 961px) { .hero__title { white-space: nowrap; } }
.hero__lead { max-width: 783px; margin-top: 16px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.82); }

.quick { width: min(520px, 100%); margin-top: 31px; padding: 18px 19px 20px; border-radius: 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.quick__label, .quick__out small { display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.72); }
.quick__input { display: flex; align-items: baseline; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.35); }
.quick__input input { flex: 1; min-width: 0; padding: 2px 0; border: 0; background: none; color: #fff; font: 800 26px var(--font); outline: none; }
html[dir="rtl"] .quick__input input { text-align: right; }
.quick__input span { font-weight: 700; color: rgba(255,255,255,.72); }
.quick__input:focus-within { border-bottom-color: var(--lime); }
.quick__out { margin-top: 12px; }
.quick__out b { font-size: 26px; font-weight: 800; color: var(--lime); }
.quick__out b span { font-size: 16px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 31px; }

/* ---------- Sections ---------- */
.section { padding-block: 70px; }
.section__title { font-size: clamp(32px, 4vw, 48px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; }
.section__lead { max-width: 886px; margin: 16px auto 0; font-size: 18px; }
.eyebrow { display: block; font-size: 16px; color: var(--muted); }
.on-dark { color: #fff; }

/* Use cases */
.uses { padding-block: 60px 80px; }
.uses__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.uses__grid--three { grid-template-columns: repeat(3, 1fr); }
.use { padding: 26px 22px; border-radius: 20px; background: var(--soft); transition: transform .2s, box-shadow .2s; }
.use:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -22px rgba(0,0,0,.35); }
.use img { width: auto; height: 86px; }
.uses__grid--three .use img { height: 69px; }
.use h3 { margin-top: 14px; font-size: 19px; font-weight: 700; line-height: 1.2; }
.use p { margin-top: 6px; font-size: 15px; color: var(--muted); }

.fundnow { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(760px, 100%); margin: 56px auto 0; padding: 12px 12px 12px 28px; border-radius: 999px; background: #fff; box-shadow: 0 18px 40px -18px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.03); }
html[dir="rtl"] .fundnow { padding: 12px 28px 12px 12px; }
.fundnow__text b { display: block; font-size: 16px; }
.fundnow__text span { display: block; font-size: 14px; color: var(--muted); }

/* How it works */
.how { padding-block: 25px 81px; }
.how__title { max-width: 820px; margin-inline: auto; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 56px 0 0; padding: 0; }
.step { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 24px 0; border-radius: 60px; background: var(--mint); text-align: center; overflow: hidden; height: 544px; }
.step__num { font-size: 18.5px; color: #1E1E1E; }
.step h3 { font-size: 23px; font-weight: 700; line-height: 1.25; }
.step p { max-width: 305px; font-size: 17.4px; line-height: 1.4; color: #1E1E1E; }
.step__phone { position: relative; width: 277px; max-width: 80%; margin-top: auto; flex: none; height: 363px; border: 6px solid #000; border-bottom: 0; border-radius: 32px 32px 0 0; overflow: hidden; background: #fff; transition: transform .3s; }
.step__phone::before { content: ""; position: absolute; top: 8px; left: 50%; width: 72px; height: 21px; border-radius: 60px; background: #000; transform: translateX(-50%); }
.step__phone img { width: 100%; height: auto; }
.step:hover .step__phone { transform: translateY(-8px); }
.steps--four { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps--four .step { height: 500px; border-radius: 40px; padding-inline: 18px; }
.steps--four .step h3 { font-size: 20px; }
.steps--four .step p { font-size: 15.5px; }
.steps--four .step__phone { width: 230px; height: 300px; border-width: 5px; border-radius: 28px 28px 0 0; }

/* Calculator */
.calc { background: var(--ink); }
.calc .eyebrow { color: var(--lime); }
.calc .section__title { margin-top: 14px; }
.calc .section__lead { color: rgba(255,255,255,.65); }
.calc__card { display: grid; grid-template-columns: 575fr 603fr; margin-top: 48px; border-radius: 28px; background: var(--dark-card); border: 1px solid #2A2D25; overflow: hidden; }
.calc__inputs { padding: 44px; display: grid; gap: 32px; align-content: start; color: #fff; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; padding: 0; font-weight: 700; font-size: 15px; }
.field__hint { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.5); }
.money-input { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 0 20px; border-radius: 16px; background: var(--ink); border: 1px solid var(--dark-line); }
.money-input:focus-within { border-color: var(--lime); }
.money-input input { flex: 1; min-width: 0; padding: 18px 2px; border: 0; background: none; color: #fff; font: 800 34px var(--font); outline: none; }
html[dir="rtl"] .money-input input { text-align: right; }
.money-input__cur { font-weight: 700; color: rgba(255,255,255,.5); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin-top: 26px; border-radius: 999px; background: linear-gradient(to right, var(--lime) var(--p, 12%), var(--dark-line) var(--p, 12%)); cursor: pointer; }
html[dir="rtl"] .range { background: linear-gradient(to left, var(--lime) var(--p, 12%), var(--dark-line) var(--p, 12%)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 6px solid var(--lime); box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid var(--lime); }
.range__scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.4); }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.seg__opt { position: relative; cursor: pointer; }
.seg__opt input { position: absolute; inset: 0; opacity: 0; }
.seg__opt span { display: grid; place-items: center; gap: 2px; padding: 14px 6px; border-radius: 14px; background: var(--ink); border: 1px solid var(--dark-line); transition: all .15s; }
.seg__opt b { font-size: 24px; font-weight: 800; line-height: 1.5; }
.seg__opt small { font-size: 12px; color: rgba(255,255,255,.5); }
.seg__opt:hover span { border-color: #575b50; }
.seg__opt input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.seg__opt input:checked + span small { color: rgba(14,15,12,.65); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.seg__opt input:disabled + span { opacity: .35; cursor: not-allowed; }

.calc__result { padding: 44px; background: #fff; display: flex; flex-direction: column; }
.calc__resultLabel { font-weight: 700; font-size: 15px; color: var(--muted); }
.calc__big { margin: 6px 0; font-size: clamp(44px, 5vw, 64px); font-weight: 800; letter-spacing: -.035em; line-height: 1.15; direction: ltr; text-align: start; }
html[dir="rtl"] .calc__big { text-align: right; }
.calc__big small { font-size: 22px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.calc__sub { font-size: 15px; color: var(--muted); }
.bar { display: flex; gap: 2px; height: 14px; margin: 22px 0 18px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar__seg { flex: 0 0 0; transition: flex-basis .35s ease; }
.bar__seg--payout { background: var(--lime-600); }
.bar__seg--disc { background: var(--blue); }
.bar__seg--fee { background: var(--ink); }
.breakdown { margin: 0 0 24px; }
.breakdown > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.breakdown dt { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); }
.breakdown dd { margin: 0; font-weight: 700; direction: ltr; }
.breakdown__total { border-bottom: 0 !important; }
.breakdown dd.is-free { padding: 1px 10px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 14px; }
.breakdown__total dt { font-weight: 800; color: var(--ink); }
.breakdown__total dd { font-size: 20px; font-weight: 800; }
.dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.dot--muted { background: var(--line); }
.dot--disc { background: var(--blue); }
.dot--fee { background: var(--ink); }
.dot--payout { background: var(--lime-600); }
.tag { padding: 1px 8px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.calc__note { margin-bottom: 16px; padding: 10px 14px; border-radius: 12px; background: #FFF6D6; color: #6B4A00; font-size: 14px; font-weight: 600; }
.calc__result .btn { margin-top: auto; }

/* Protected / qualified */
.split__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
.split--flip .split__copy { order: 2; }
.split__ill { width: 102px; height: auto; margin-bottom: 8px; }
.checks { list-style: none; display: grid; gap: 14px; margin: 24px 0 28px; padding: 0; }
.checks li { position: relative; padding-inline-start: 36px; font-weight: 600; font-size: 16px; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23D4FF31' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.split__media { aspect-ratio: 562 / 423; border-radius: 39px; overflow: hidden; background: #1b2414; }
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.split__media:hover img { transform: scale(1.04); }

/* FAQ */
.faq .section__title { margin-top: 14px; }
.faq__list { display: grid; gap: 12px; margin-top: 40px; }
.faq details { padding: 0 22px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); transition: background-color .2s; }
.faq details[open] { background: #fff; box-shadow: 0 12px 30px -24px rgba(0,0,0,.35); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 700; line-height: 1; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--ink-2); }

/* Apply */
.apply { padding-block: 70px; background: var(--lime); }
.apply__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.apply__title { font-size: clamp(36px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.apply__lead { max-width: 520px; margin: 14px 0 28px; font-size: 18px; color: var(--ink-2); }
.pq { width: min(640px, 100%); padding: clamp(22px, 4vw, 36px); border-radius: 28px; background: #fff; text-align: start; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.pq__progress { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 26px; padding: 0; }
.pq__progress li { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 4px solid var(--line); font-size: 14px; color: var(--muted); transition: border-color .2s; }
.pq__progress li span { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--line); font: 800 12px var(--font); }
.pq__progress li.is-on { border-top-color: var(--lime-600); color: var(--ink); }
.pq__progress li.is-on span { background: var(--lime); }
.pq__progress b { font-weight: 600; }
.pq__step { display: grid; gap: 20px; min-width: 0; margin: 0; padding: 0; border: 0; }
.pq__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pq__field { display: grid; gap: 8px; min-width: 0; }
.pq__field > label, .pq__label { font-weight: 700; font-size: 15px; }
.pq input[type="text"], .pq input[type="tel"], .pq input[type="number"], .pq select { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--soft); font-weight: 600; font-size: 16px; outline: none; transition: border-color .15s, background-color .15s; }
.pq select { appearance: none; padding-inline-end: 40px; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230E0F0C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center; cursor: pointer; }
html[dir="rtl"] .pq select { background-position: left 16px center; }
html[dir="rtl"] .pq input { text-align: right; }
.pq input:focus, .pq select:focus { border-color: var(--blue); background-color: #fff; }
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.choice--4 { grid-template-columns: repeat(4, 1fr); }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; }
.choice span { display: block; padding: 12px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--soft); text-align: center; font-weight: 600; font-size: 14px; transition: all .15s; }
.choice--4 span { font: 800 18px var(--font); }
.choice label:hover span { border-color: #C9CBC3; }
.choice input:checked + span { background: var(--lime); border-color: var(--lime-600); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.pq__consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.pq__consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.pq__error { margin-top: 16px; padding: 10px 14px; border-radius: 12px; background: var(--red-50); color: #9B1C1F; font-size: 14px; font-weight: 600; }
.pq__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; }
.pq__nav #pqNext { margin-inline-start: auto; }
.pq__result { display: grid; justify-items: start; gap: 12px; outline: none; }
.pq__ill { width: 92px; margin-bottom: 4px; }
.pq__badge { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.pq__badge--ok { background: var(--lime); }
.pq__badge--review { background: #FFF0C2; color: #6B4A00; }
.pq__badge--no { background: var(--red-50); color: #9B1C1F; }
.pq__resultTitle { font-size: 24px; font-weight: 800; }
.pq__resultAmount { font-size: 18px; font-weight: 700; color: var(--blue); }
.pq__reasons { display: grid; gap: 6px; margin: 0; padding-inline-start: 20px; font-size: 15px; color: var(--ink-2); }
.pq__reasons:empty { display: none; }
.pq__next { width: 100%; padding: 14px 16px; border-radius: 14px; background: var(--soft); font-size: 15px; }

/* Footer */
.footer { padding-block: 40px; background: var(--ink); color: #fff; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; }
.footer__inner > p:not(.footer__copy) { max-width: 680px; font-size: 14px; color: rgba(255,255,255,.6); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.footer__links a[aria-current="page"] { color: var(--lime); }
.footer__links a:hover { color: var(--lime); }
.footer__copy { font-size: 14px; color: rgba(255,255,255,.6); white-space: nowrap; }

/* Use-case cards */
.use { display: block; }
.money-input input::placeholder { color: rgba(255,255,255,.22); }

/* Your tenant */
.talk { background: var(--soft); }
.talk .section__title { margin-top: 14px; }
.talk .section__lead { color: var(--ink-2); }
.talk__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; align-items: stretch; }
.talk__card { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 28px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.talk__step { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.talk__step span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--lime); font: 800 14px var(--font); }
.talk__field { display: grid; gap: 8px; }
.talk__field label { font-weight: 700; font-size: 14px; }
.talk__field input, .talk__field textarea { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--soft); font-family: inherit; font-size: 15px; line-height: 1.6; color: var(--ink); outline: none; resize: vertical; transition: border-color .15s, background-color .15s; }
.talk__field input:focus, .talk__field textarea:focus { border-color: var(--blue); background: #fff; }
.talk__hint { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: 13px; color: var(--muted); }
.talk__reset { padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-weight: 700; cursor: pointer; }
.talk__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.talk__actions .btn { flex: 1 1 180px; }
.btn--wa { background: #25D366; color: #08260F; }
.btn--wa:hover { background: #1fc35c; }
.chat { flex: 1; border-radius: 22px; overflow: hidden; background: #EFEAE2; border: 1px solid var(--line); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--ink); color: #fff; }
.chat__avatar { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: #fff; }
.chat__avatar .bolt { width: 18px; height: 22px; }
.chat__head b { display: block; font-size: 15px; line-height: 1.3; }
.chat__head small { font-size: 12px; color: var(--lime); }
.chat__head small::before { content: "✓ "; }
.chat__body { display: grid; gap: 10px; padding: 18px 16px 22px; }
.chat__when { justify-self: center; padding: 3px 10px; border-radius: 8px; background: rgba(255,255,255,.8); font-size: 12px; font-weight: 600; color: var(--muted); }
.chat__msg { justify-self: start; max-width: 90%; padding: 10px 12px; border-radius: 4px 14px 14px 14px; background: #fff; font-size: 14px; line-height: 1.6; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
html[dir="rtl"] .chat__msg { border-radius: 14px 4px 14px 14px; }
.chat__link { color: var(--blue); font-weight: 700; text-decoration: underline; }
.talk__guide { justify-self: start; font-weight: 700; color: var(--blue); }
.talk__guide::after { content: " →"; }
html[dir="rtl"] .talk__guide::after { content: " ←"; }
.talk__guide:hover { text-decoration: underline; }
.talk__checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin: 40px 0 0; }
.talk__checks li { font-size: 15px; }
@media (max-width: 960px) {
  .talk__grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .talk__grid { margin-top: 32px; }
  .talk__card { padding: 22px 18px; border-radius: 22px; }
  .talk__checks { flex-direction: column; align-items: flex-start; width: fit-content; margin-inline: auto; }
}

/* Reveal (classes toggled by app.js) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .use, .step__phone, .split__media img { transition: none; }
}

/* Compare the alternatives */
.cmp { background: var(--soft); }
.cmp__scroll { margin-top: 44px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.cmp__table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.cmp__table th, .cmp__table td { padding: 16px 18px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp__table tbody tr:last-child > * { border-bottom: 0; }
.cmp__table thead th { font-size: 15px; font-weight: 800; line-height: 1.3; vertical-align: bottom; }
.cmp__table tbody th { width: 20%; font-weight: 700; color: var(--ink); }
.cmp__table td { color: var(--ink-2); }
.cmp__badri { background: var(--mint); }
.cmp__table thead .cmp__badri { background: var(--lime); }
.cmp__table td.cmp__badri { color: var(--ink); font-weight: 600; }
.cmp__table thead .bolt { width: 13px; height: 18px; vertical-align: -3px; }
.cmp__mark { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-inline-end: 8px; border-radius: 50%; vertical-align: -4px; font-size: 12px; font-weight: 800; line-height: 1; }
.cmp__mark--yes { background: var(--green); color: var(--ink); }
.cmp__mark--yes::before { content: "✓"; }
.cmp__mark--no { background: var(--red-50); color: #C62828; }
.cmp__mark--no::before { content: "✕"; }
.cmp__mark--maybe { background: var(--line); color: var(--muted); }
.cmp__mark--maybe::before { content: "–"; }
.cmp__note { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }
.cmp__cta { margin-top: 24px; text-align: center; }
@media (max-width: 720px) {
  .cmp__table { font-size: 14px; min-width: 640px; }
  .cmp__table th, .cmp__table td { padding: 12px; }
  .cmp__table tbody th { position: sticky; inset-inline-start: 0; z-index: 1; background: #fff; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero__copy { max-width: 52%; }
  .steps { gap: 16px; }
  .steps--four { grid-template-columns: repeat(2, 1fr); }
  .step { border-radius: 40px; }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .uses__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .calc__card { grid-template-columns: 1fr; }
  .split__inner { grid-template-columns: 1fr; gap: 32px; }
  .split--flip .split__copy { order: 0; }
  .footer__inner { flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .hero__inner { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__copy { max-width: none; }
  .hero { display: flex; flex-direction: column; }
  .hero::before { display: none; }
  .hero__inner { order: 1; padding-block: 48px 32px; }
  .hero__bg { position: relative; order: 2; height: auto; aspect-ratio: 5 / 4; object-position: 86% center; }
  .hero__ctas .btn { flex: 1; }
  .section { padding-block: 56px; }
  .uses { padding-block: 48px 56px; }
  .uses__grid { gap: 12px; margin-top: 32px; }
  .use { padding: 20px 16px; }
  .use img { height: 64px; }
  .uses__grid--three .use img { height: 51px; }
  .use h3 { font-size: 17px; }
  .use p { font-size: 14px; }
  .fundnow, html[dir="rtl"] .fundnow { flex-direction: column; text-align: center; border-radius: 24px; padding: 20px; margin-top: 36px; }
  .fundnow .btn { width: 100%; }
  .how { padding-block: 16px 56px; }
  .steps { margin-top: 36px; }
  .step { height: 500px; }
  .calc__inputs, .calc__result { padding: 24px 20px; }
  .money-input input { font-size: 28px; padding-block: 14px; }
  .seg { gap: 8px; }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: 16px; padding: 18px 0; }
  .pq__row { grid-template-columns: 1fr; }
  .choice { grid-template-columns: 1fr; }
  .choice--4 { grid-template-columns: repeat(4, 1fr); }
  .nav__actions .btn--sm { padding-inline: 14px; }
}
@media (max-width: 420px) {
  .uses__grid { grid-template-columns: 1fr; }
  .nav__inner { gap: 8px; }
  .logo { font-size: 18px; }
}


/* Phone field with a country-code picker (app.js enhancePhone) */
.phone-field { display: flex; gap: 8px; align-items: stretch; width: 100%; }
.phone-field > input { flex: 1; min-width: 0; }
.phone-field .phone-field__cc { flex: none; width: 112px; max-width: 112px; padding-inline: 10px; font-variant-numeric: tabular-nums; }
/* Links between sign-up and sign-in */
.flow-switch { margin-top: 10px; font-size: 15px; color: var(--muted); }
.flow-switch a { color: var(--blue); font-weight: 700; }
.signin { max-width: 520px; margin-inline: auto; }

/* Small phones: keep the logo, language switch and the longer CTA on one row */
@media (max-width: 380px) {
  .nav__actions { gap: 6px; }
  .lang-toggle { padding-inline: 10px; font-size: 13px; }
  .nav__actions .btn--sm { padding-inline: 11px; font-size: 13px; }
  .logo { font-size: 16px; gap: 6px; }
}
