/* Kora landing pages (index.html for landlords, agents.html for agents). */
/* ===== Kora landing page ===== */
body.landing { padding: 0; }
.lp { --lp-max: 1180px; --lp-gutter: clamp(1rem, 4vw, 2.5rem); }
.lp-wrap { max-width: var(--lp-max); margin: 0 auto; padding: 0 var(--lp-gutter); }

/* top bar */
.lp-nav { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  background: color-mix(in srgb, var(--bg) 72%, transparent); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.lp-nav .lp-wrap { display: flex; align-items: center; gap: 1rem; height: 64px; }
.lp-logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.lp-logo svg { width: 30px; height: 30px; }
.lp-nav nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.lp-nav nav a.lp-link { color: var(--muted); text-decoration: none; font-weight: 500; }
.lp-nav nav a.lp-link:hover { color: var(--ink); }
.lp-nav .btn { padding: .45rem 1.1rem; }
.lp-nav nav a, .lp-nav .btn { white-space: nowrap; }
@media (max-width: 420px) {
  .lp-nav nav { gap: .5rem !important; }
  .lp-nav nav a.lp-link { padding: .35rem .7rem !important; font-size: .88rem; }
  .lp-nav .btn { padding: .38rem .8rem; font-size: .88rem; }
  .lp-logo { font-size: 1.1rem; gap: .4rem; } .lp-logo svg { width: 26px; height: 26px; }
}
@media (max-width: 340px) { .lp-logo span, .lp-logo b { display: none; } .lp-logo { font-size: 0; gap: 0; } }
#plans-sec { scroll-margin-top: 72px; }
.lp-abroad { max-width: 760px; }
.lp-abroad .lp-ticks { margin-bottom: 1.1rem; }
.lp-abroad-line { margin: 0; font-weight: 600; color: var(--ink); font-size: 1.02rem; line-height: 1.55; }

/* hero */
.lp-hero { padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(3rem, 7vw, 6rem); }
.lp-hero .lp-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lp-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; color: var(--ink); margin: 0 0 1.25rem; max-width: 11ch; }
.lp-lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 46ch; margin: 0 0 2rem; }
.lp-cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.lp-cta .btn { padding: .85rem 1.6rem; font-size: 1.05rem; }
.lp-note { color: var(--muted); font-size: .92rem; margin: 1.1rem 0 0; }
.lp-install { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; padding: .2rem 0; border: 0; background: none;
  color: var(--link); font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; }
.lp-install:hover { text-decoration: underline; }

/* the phone: a Kora rent list that fills in as the page opens */
.lp-stage { position: relative; display: flex; justify-content: center; }
.lp-stage::before { content: ''; position: absolute; inset: 8% 4% 4%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(123,240,207,.28), rgba(123,114,255,.18) 60%, transparent); filter: blur(30px); }
.lp-phone { position: relative; width: min(340px, 86vw); border-radius: 44px; padding: 14px; background: linear-gradient(160deg, #1d2b3a, #0b1520);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.65), inset 0 0 0 1.5px rgba(255,255,255,.12); }
.lp-screen { border-radius: 32px; overflow: hidden; background: var(--bg); color: var(--ink); padding: 22px 16px 18px;
  background-image: radial-gradient(260px 200px at 0% 0%, rgba(123,240,207,.22), transparent 70%), radial-gradient(260px 200px at 100% 0%, rgba(123,114,255,.25), transparent 70%); }
.lp-screen .hi { font-size: .78rem; color: var(--muted); margin: 0; }
.lp-screen .prop { font-weight: 700; font-size: 1.05rem; margin: 0 0 .9rem; }
.lp-month { border-radius: 20px; padding: 14px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 12px; }
.lp-month small { color: var(--muted); font-size: .72rem; }
.lp-month .sum { font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 2px 0; font-variant-numeric: tabular-nums; }
.lp-month .of { color: var(--muted); font-size: .74rem; }
.lp-bar { height: 7px; border-radius: 99px; background: var(--track); overflow: hidden; margin-top: 10px; }
.lp-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #7b72ff); transition: width .45s ease; }
.lp-rows { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.lp-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.lp-row + .lp-row { border-top: 1px solid var(--line); }
.lp-row .pm { width: 34px; height: 34px; border-radius: 11px; } .lp-row .pm svg { width: 18px; height: 18px; }
.lp-row .who { flex: 1; min-width: 0; } .lp-row .who b { display: block; font-size: .85rem; } .lp-row .who small { color: var(--muted); font-size: .7rem; }
.lp-row .amt { font-weight: 700; font-size: .85rem; text-align: right; font-variant-numeric: tabular-nums; }
.lp-st { display: inline-block; font-size: .64rem; font-weight: 600; padding: 2px 8px; border-radius: 99px; margin-top: 3px; transition: background .3s, color .3s; }
.lp-st.due { background: var(--warn-bg); color: var(--warn-fg); }
.lp-st.paid { background: var(--ok-bg); color: var(--ok-fg); }
.lp-receipt { position: absolute; left: -14%; bottom: -3%; width: 220px; border-radius: 18px; padding: 12px 14px; color: var(--ink);
  background: color-mix(in srgb, var(--surface) 85%, var(--bg)); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 48px -24px rgba(0,0,0,.6); opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.lp-receipt.show { opacity: 1; transform: none; }
.lp-receipt b { display: block; font-size: .85rem; } .lp-receipt small { color: var(--muted); font-size: .72rem; }
.lp-receipt .no { font-variant-numeric: tabular-nums; color: var(--brand); font-weight: 600; font-size: .78rem; }

/* sections */
.lp-sec { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.lp-sec h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; margin: 0 0 .75rem; color: var(--ink); max-width: 20ch; }
.lp-sec .intro { color: var(--muted); font-size: 1.08rem; line-height: 1.6; max-width: 52ch; margin: 0 0 2.5rem; }

/* what you get: text beside a small real piece of Kora */
.lp-feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding: 2rem 0; }
.lp-feat + .lp-feat { border-top: 1px solid var(--line); }
.lp-feat h3 { font-size: 1.45rem; font-weight: 700; letter-spacing: -.015em; margin: 0 0 .6rem; }
.lp-feat p { color: var(--muted); line-height: 1.65; margin: 0; max-width: 44ch; }
.lp-feat.flip .lp-copy { order: 2; }
.lp-snip { border-radius: 24px; padding: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lp-late { display: flex; justify-content: space-between; align-items: center; padding: 10px 2px; }
.lp-late + .lp-late { border-top: 1px solid var(--line); }
.lp-late b { font-size: .95rem; } .lp-late small { display: block; color: var(--muted); }
.lp-late .days { font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--bad-bg); color: var(--bad-fg); white-space: nowrap; }
.lp-paper { border-radius: 16px; padding: 18px 20px; background: #fff; color: #14262c; box-shadow: 0 24px 50px -24px rgba(0,0,0,.55); max-width: 360px; margin: 0 auto; transform: rotate(-2deg); }
.lp-paper .t { display: flex; justify-content: space-between; font-weight: 700; } .lp-paper .t span { color: #0e9a82; }
.lp-paper dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .86rem; margin: 12px 0 0; }
.lp-paper dt { color: #5b7078; font-weight: 400; } .lp-paper dd { margin: 0; text-align: right; font-weight: 600; }
.lp-ways { display: grid; gap: 10px; }
.lp-way { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--surface2); border: 1px solid var(--line); }
.lp-way b { display: block; } .lp-way small { color: var(--muted); }

/* how it works: a real three-step sequence */
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); counter-reset: step; }
.lp-steps li { counter-increment: step; padding-top: 1.25rem; border-top: 2px solid var(--brand); }
.lp-steps li::before { content: counter(step); display: block; font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; color: var(--brand); line-height: 1; margin-bottom: .75rem; }
.lp-steps b { display: block; font-size: 1.15rem; margin-bottom: .35rem; } .lp-steps p { color: var(--muted); margin: 0; line-height: 1.6; }

/* plans */
#plans-sec h2, #plans-sec .intro { margin-left: auto; margin-right: auto; text-align: center; }
#plans .seg { margin-left: auto; margin-right: auto; }
#plans .seg { max-width: 470px !important; }
#plans .plans { grid-template-columns: 1fr; }
@media (min-width: 640px) { #plans .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { #plans .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { #plans .plans { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; } }
#plans .plan { min-width: 0; }
#plans > p { text-align: center; max-width: 60ch; margin: 0 auto; }
#plans > .lp-swipe { margin: .2rem auto 1.4rem; }

/* closing call to action */
.lp-end { border-radius: 36px; padding: clamp(2rem, 6vw, 4rem); text-align: center; color: #fff; margin: 0 0 clamp(2rem, 5vw, 4rem);
  background: radial-gradient(600px 300px at 0% 0%, rgba(123,240,207,.35), transparent 70%), radial-gradient(600px 320px at 100% 100%, rgba(123,114,255,.45), transparent 70%), #0b1a28; }
.lp-end h2 { color: #fff; margin: 0 auto .75rem; max-width: 18ch; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; }
.lp-end p { color: rgba(255,255,255,.78); margin: 0 auto 1.75rem; max-width: 46ch; }
.lp-end .btn { padding: .85rem 1.8rem; font-size: 1.05rem; }
.lp-foot { border-top: 1px solid var(--line); padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom)); color: var(--muted); font-size: .9rem; }
.lp-foot .lp-wrap { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; }
.lp-legal { display: flex; gap: 1.25rem; } .lp-legal a { color: var(--muted); }

/* phones and small tablets */

/* every device */
.lp-alt { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--surface) 55%, transparent) 20%, color-mix(in srgb, var(--surface) 55%, transparent) 80%, transparent); }
.lp-dev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lp-ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .9rem; }
.lp-ticks li { position: relative; padding-left: 2rem; color: var(--muted); line-height: 1.6; }
.lp-ticks li b { color: var(--ink); }
.lp-ticks li::before { content: ''; position: absolute; left: 0; top: .25rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--brand-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232cc08a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }
.lp-devs { position: relative; padding: 0 4% 3rem; overflow-x: clip; }
.lp-laptop { width: 100%; max-width: 560px; margin: 0 auto; }
.lp-lscreen { border-radius: 16px 16px 4px 4px; padding: 12px; background: linear-gradient(160deg, #1d2b3a, #0b1520); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 0 0 1.5px rgba(255,255,255,.1); }
.lp-lbar { display: flex; gap: 6px; padding: 2px 4px 10px; } .lp-lbar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.lp-lgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; border-radius: 10px; background: var(--bg);
  background-image: radial-gradient(300px 160px at 0% 0%, rgba(123,240,207,.16), transparent 70%), radial-gradient(300px 160px at 100% 0%, rgba(123,114,255,.18), transparent 70%); }
.lp-lcard { border-radius: 14px; padding: 12px; background: var(--surface); border: 1px solid var(--line); }
.lp-lcard.wide { grid-column: 1 / -1; }
.lp-lcard small { display: block; color: var(--muted); font-size: .7rem; } .lp-lcard b { font-size: 1.3rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lp-lprog { display: block; height: 6px; border-radius: 99px; background: var(--track); margin-top: 8px; overflow: hidden; } .lp-lprog i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #7b72ff); }
.lp-lnote { display: block; font-size: .72rem; color: var(--warn-fg); margin-top: 4px; }
.lp-chart { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: 8px; } .lp-chart i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #7b72ff, var(--brand)); opacity: .85; transform-origin: bottom; }
.lp-anim .lp-chart i { transform: scaleY(0); transition: transform .7s cubic-bezier(.3,.7,.2,1); } .lp-anim.in .lp-chart i { transform: none; }
.lp-anim.in .lp-chart i:nth-child(2) { transition-delay: .08s; } .lp-anim.in .lp-chart i:nth-child(3) { transition-delay: .16s; } .lp-anim.in .lp-chart i:nth-child(4) { transition-delay: .24s; } .lp-anim.in .lp-chart i:nth-child(5) { transition-delay: .32s; } .lp-anim.in .lp-chart i:nth-child(6) { transition-delay: .4s; }
.lp-lbase { height: 14px; margin: 0 -6%; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #2a3a4c, #121c28); box-shadow: 0 16px 30px -18px rgba(0,0,0,.7); }
.lp-mini { position: absolute; right: 0; bottom: 0; width: 150px; border-radius: 28px; padding: 9px; background: linear-gradient(160deg, #1d2b3a, #0b1520); box-shadow: 0 30px 60px -24px rgba(0,0,0,.7), inset 0 0 0 1.5px rgba(255,255,255,.12); }
.lp-mscreen { border-radius: 21px; padding: 18px 12px 16px; background: var(--bg); min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  background-image: radial-gradient(160px 120px at 50% 0%, rgba(123,240,207,.2), transparent 70%); }
.lp-mscreen small { color: var(--muted); font-size: .66rem; } .lp-mscreen b { font-size: .86rem; }
.lp-mscreen .lp-st { align-self: flex-start; }
.lp-anim .lp-mini { opacity: 0; transform: translateY(16px); transition: opacity .5s ease .5s, transform .5s ease .5s; } .lp-anim.in .lp-mini { opacity: 1; transform: none; }
.lp-sync { position: absolute; left: 6%; bottom: .4rem; display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 99px; font-size: .78rem; font-weight: 600;
  background: var(--brand-soft); color: var(--brand); }

/* more features */
.lp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.lp-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-card { -webkit-tap-highlight-color: transparent; border-radius: 22px; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lp-card h3 { font-size: 1.08rem; font-weight: 700; margin: .8rem 0 .4rem; letter-spacing: -.01em; }
.lp-card p { color: var(--muted); margin: 0; line-height: 1.55; font-size: .95rem; }
.lp-ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); }
.lp-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-fine { color: var(--muted); font-size: .9rem; margin: 1.25rem 0 0; }

/* tenants */
.lp-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lp-two .lp-ticks { margin: 0; }

/* questions */
.lp-faq { max-width: 860px; }
.lp-faq details { border-top: 1px solid var(--line); }
.lp-faq details:last-of-type { border-bottom: 1px solid var(--line); }
.lp-faq summary { list-style: none; cursor: pointer; padding: 1.1rem 2.2rem 1.1rem 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--brand); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.lp-faq details p { color: var(--muted); line-height: 1.65; margin: 0 0 1.2rem; max-width: 62ch; }

@media (max-width: 1100px) { .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .lp-dev, .lp-two { grid-template-columns: 1fr; }
  .lp-grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lp-grid { grid-template-columns: 1fr; }
  .lp-mini { width: 120px; } .lp-mscreen { min-height: 120px; }
  .lp-lgrid { padding: 10px; gap: 8px; } .lp-lcard b { font-size: 1.05rem; }
}
/* Wide computer screens: use more of the width instead of a narrow column in the middle
   (text keeps its comfortable line length; the layout, phone and plans get the extra room) */
@media (min-width: 1360px) {
  .lp { --lp-max: 1340px; }
  .lp-hero h1 { font-size: clamp(4.4rem, 4.2vw, 5.4rem); max-width: 12ch; text-wrap: balance; }
  .lp-lede { font-size: 1.28rem; max-width: 50ch; }
  .lp-phone { width: 380px; }
  .lp-receipt { width: 240px; }
  .lp-sec h2 { font-size: clamp(2.6rem, 2.6vw, 3.1rem); }
  .lp-feat h3 { font-size: 1.65rem; } .lp-feat p { font-size: 1.08rem; max-width: 48ch; }
  .lp-snip { padding: 22px; }
}
@media (min-width: 1680px) {
  .lp { --lp-max: 1520px; }
  .lp-phone { width: 410px; }
}
@media (max-width: 900px) {
  .lp-hero .lp-wrap { grid-template-columns: 1fr; }
  .lp-hero h1 { max-width: 13ch; }
  .lp-receipt { left: auto; right: 0; bottom: -4%; width: 200px; }
  .lp-feat { grid-template-columns: 1fr; }
  .lp-feat.flip .lp-copy { order: 0; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-nav nav { gap: 1rem; }
  .lp-nav nav a.lp-link { font-weight: 600; color: var(--ink); border: 1.5px solid var(--line); border-radius: 99px; padding: .4rem .95rem; }
}
@media (max-width: 520px) {
  .lp-cta .btn { flex: 1 1 100%; }
  .lp-receipt { display: none; }
}
/* ---- Scroll-in animations: each plays once when its section comes into view ---- */
.lp-anim .lp-late { opacity: 0; transform: translateX(18px); transition: opacity .45s ease, transform .45s ease; }
.lp-anim.in .lp-late { opacity: 1; transform: none; }
.lp-anim.in .lp-late:nth-child(2) { transition-delay: .15s; } .lp-anim.in .lp-late:nth-child(3) { transition-delay: .3s; }
.lp-late .days { transition: background .3s, color .3s; }
.lp-late .days.sent { background: var(--ok-bg); color: var(--ok-fg); }
.lp-late .days.sent::before { content: ''; display: inline-block; width: 9px; height: 5px; margin: 0 6px 2px 0; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg); }

.lp-anim .lp-paper { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.3,.7,.2,1); }
.lp-anim.in .lp-paper { clip-path: inset(0 0 0 0); }
.lp-anim .lp-paper .t span { opacity: 0; transform: scale(1.6); display: inline-block; transition: opacity .35s ease 1s, transform .35s cubic-bezier(.3,1.6,.5,1) 1s; }
.lp-anim.in .lp-paper .t span { opacity: 1; transform: none; }

.lp-way { transition: border-color .35s, background .35s; }
.lp-way .got { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ok-fg); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.lp-way.lit { border-color: var(--brand); }
.lp-way.lit .got { opacity: 1; transform: none; }
.lp-total { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 4px 0; color: var(--muted); }
.lp-total b { color: var(--ink); font-size: 1.25rem; font-variant-numeric: tabular-nums; }

.lp-anim .lp-steps li { border-top-color: transparent; position: relative; }
.lp-anim .lp-steps li::after { content: ''; position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--brand); transition: width .6s ease; }
.lp-anim.in .lp-steps li::after { width: 100%; }
.lp-anim.in .lp-steps li:nth-child(2)::after { transition-delay: .55s; } .lp-anim.in .lp-steps li:nth-child(3)::after { transition-delay: 1.1s; }
.lp-anim .lp-steps li::before, .lp-anim .lp-steps li b, .lp-anim .lp-steps li p { opacity: .25; transition: opacity .4s ease; }
.lp-anim.in .lp-steps li::before, .lp-anim.in .lp-steps li b, .lp-anim.in .lp-steps li p { opacity: 1; }
.lp-anim.in .lp-steps li:nth-child(2)::before, .lp-anim.in .lp-steps li:nth-child(2) b, .lp-anim.in .lp-steps li:nth-child(2) p { transition-delay: .55s; }
.lp-anim.in .lp-steps li:nth-child(3)::before, .lp-anim.in .lp-steps li:nth-child(3) b, .lp-anim.in .lp-steps li:nth-child(3) p { transition-delay: 1.1s; }

.lp-end { background-size: 140% 140%, 140% 140%, auto; animation: lp-drift 18s ease-in-out infinite alternate; }
@keyframes lp-drift { from { background-position: 0% 0%, 100% 100%, 0 0; } to { background-position: 30% 20%, 70% 80%, 0 0; } }

/* back to top */
.lp-top { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 30;
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: var(--ink); background: color-mix(in srgb, var(--surface) 70%, var(--bg)); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease; }
.lp-top.show { opacity: 1; transform: none; }
.lp-top:hover { border-color: var(--brand); color: var(--brand); }
.lp-top:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }



/* ---- Phones: a shorter page. Swipe rows for plans and safety, two feature cards a row, tighter spacing ---- */
@media (max-width: 640px) {
  .lp-sec { padding: 2.4rem 0; }
  .lp-sec .intro { margin-bottom: 1.4rem; font-size: 1rem; }
  .lp-hero { padding: 2rem 0 2.2rem; }
  .lp-feat { padding: 1.2rem 0; gap: 1rem; }
  .lp-feat h3 { font-size: 1.2rem; }
  .lp-steps { gap: .9rem; } .lp-steps li { padding-top: .8rem; } .lp-steps li::before { font-size: 1.8rem; margin-bottom: .4rem; }
  .lp-devs { padding-bottom: 2.4rem; }
  .lp-ticks { gap: .6rem; margin-bottom: 1rem; }
  /* feature cards: two a row, compact */
  .lp-grid:not(.three) { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .lp-grid:not(.three) .lp-card { padding: .85rem; border-radius: 18px; }
  .lp-grid:not(.three) .lp-card h3 { font-size: .95rem; margin: .55rem 0 .3rem; }
  .lp-grid:not(.three) .lp-card p { font-size: .82rem; line-height: 1.45; }
  .lp-grid:not(.three) .lp-ic { width: 36px; height: 36px; border-radius: 11px; }
  /* safety cards and plans: swipe sideways instead of a tall stack */
  .lp-grid.three, #plans .plans { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--lp-gutter);
    margin: 0 calc(var(--lp-gutter) * -1); padding: .25rem var(--lp-gutter) 1rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .lp-grid.three::-webkit-scrollbar, #plans .plans::-webkit-scrollbar { display: none; }
  .lp-grid.three .lp-card { flex: 0 0 78%; scroll-snap-align: start; }
  #plans .plans .plan { flex: 0 0 82%; scroll-snap-align: start; }
  #plans .plans { padding-top: 1.1rem; }   /* room for the "Recommended" badge above the card */
  .lp-faq summary { padding: .9rem 2rem .9rem 0; font-size: 1rem; }
  .lp-swipe { display: flex !important; }
}
.lp-swipe { display: none; align-items: center; justify-content: center; gap: .4rem; color: var(--muted); font-size: .85rem; margin: .1rem 0 1.4rem; }
.lp-swipe svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* ---- More motion: parts of the page rise in as they scroll into view (once), never while reading ---- */
@media (prefers-reduced-motion: no-preference) {
  /* hero: the words arrive first, then the buttons, while the phone settles in and floats gently */
  .lp-hero h1, .lp-hero .lp-lede, .lp-hero .lp-cta, .lp-hero .lp-note { animation: lp-up .7s cubic-bezier(.2,.7,.2,1) both; }
  .lp-hero .lp-lede { animation-delay: .12s; } .lp-hero .lp-cta { animation-delay: .24s; } .lp-hero .lp-note { animation-delay: .34s; }
  .lp-stage { animation: lp-up .9s cubic-bezier(.2,.7,.2,1) .15s both; }
  .lp-phone { animation: lp-float 7s ease-in-out 1.2s infinite; }
  .lp-stage::before { animation: lp-glow 6s ease-in-out infinite alternate; }

  /* anything marked to reveal */
  .lp-js .lp-rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
  .lp-js .lp-rv.rv-in { opacity: 1; transform: none; }
  .lp-js .lp-rv.from-left { transform: translateX(-28px); } .lp-js .lp-rv.from-right { transform: translateX(28px); }
  .lp-js .lp-rv.from-left.rv-in, .lp-js .lp-rv.from-right.rv-in { transform: none; }
  .lp-js .lp-rv.zoom { transform: scale(.94); } .lp-js .lp-rv.zoom.rv-in { transform: none; }

  /* feature cards: the icon pops after the card arrives */
  .lp-js .lp-card .lp-ic { transform: scale(.4) rotate(-12deg); opacity: 0; transition: transform .5s cubic-bezier(.3,1.6,.5,1), opacity .3s ease; transition-delay: calc(var(--i, 0) * 90ms + .25s); }
  .lp-js .lp-card.rv-in .lp-ic { transform: none; opacity: 1; }

  /* ticked lists: each tick lands in turn */
  .lp-js .lp-ticks li { opacity: 0; transform: translateX(-12px); transition: opacity .45s ease, transform .45s ease; transition-delay: calc(var(--i, 0) * 120ms + .15s); }
  .lp-js .lp-ticks.rv-in li, .lp-js .lp-ticks:not(.lp-rv-list) li { opacity: 1; transform: none; }
  .lp-js .lp-ticks li::before { transform: scale(0); transition: transform .4s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--i, 0) * 120ms + .35s); }
  .lp-js .lp-ticks.rv-in li::before { transform: none; }

  /* every device: the sync badge turns once, the phone's "paid" lights up */
  .lp-anim.in .lp-sync svg { animation: lp-spin 1s cubic-bezier(.3,.7,.2,1) 1s 1 both; }
  .lp-anim.in .lp-mscreen .lp-st { animation: lp-pop .5s cubic-bezier(.3,1.6,.5,1) 1.2s both; }
  .lp-anim .lp-laptop { transform: translateY(14px) scale(.98); opacity: 0; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .6s ease; }
  .lp-anim.in .lp-laptop { transform: none; opacity: 1; }

  /* plans rise in one after another; questions open smoothly */
  .lp-js #plans-sec:not(.rv-in) .plan { opacity: 0; transform: translateY(24px); }
  .lp-js #plans-sec .plan { transition: opacity .55s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
  .lp-js #plans-sec .plan:nth-child(2) { transition-delay: .08s; } .lp-js #plans-sec .plan:nth-child(3) { transition-delay: .16s; }
  .lp-js #plans-sec .plan:nth-child(4) { transition-delay: .24s; } .lp-js #plans-sec .plan:nth-child(5) { transition-delay: .32s; }
  .lp-faq details[open] p { animation: lp-up .35s ease both; }

  /* buttons lift a little under the finger or mouse */
  .lp .btn { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
  .lp .btn:hover { transform: translateY(-2px); }
  .lp .btn:active { transform: translateY(0) scale(.98); }
}
@keyframes lp-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes lp-glow { from { opacity: .75; transform: scale(.97); } to { opacity: 1; transform: scale(1.04); } }
@keyframes lp-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes lp-pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .lp-top { transition: none; }
  .lp-bar i, .lp-st, .lp-receipt { transition: none; }
  .lp-anim .lp-late, .lp-anim .lp-paper, .lp-anim .lp-paper .t span, .lp-way, .lp-way .got,
  .lp-anim .lp-steps li::after, .lp-anim .lp-steps li::before, .lp-anim .lp-steps li b, .lp-anim .lp-steps li p { transition: none !important; }
  .lp-end { animation: none; }
}

/* agents.html */
.lp-soon { display: inline-block; margin: 0 0 1rem; padding: .3rem .8rem; border-radius: 99px; font-size: .85rem; font-weight: 600;
  color: var(--brand); background: var(--brand-soft); }
.lp-agent-hero .lp-wrap { grid-template-columns: 1fr; max-width: 820px; }

/* index.html: the strip above the top bar that points agents to agents.html (scrolls away; the top bar stays) */
.lp-ann { display: flex; align-items: center; justify-content: center; gap: .55rem; padding: .55rem var(--lp-gutter);
  background: linear-gradient(90deg, color-mix(in srgb, #7bf0cf 26%, var(--bg)), color-mix(in srgb, #7b72ff 22%, var(--bg)));
  color: var(--ink); text-decoration: none; font-size: .92rem; line-height: 1.35; text-align: center; border-bottom: 1px solid var(--line); }
.lp-ann:hover, .lp-ann:focus-visible { color: var(--ink); text-decoration: none; }
.lp-ann:hover > span:nth-child(2) { text-decoration: underline; }
.lp-ann-tag { flex: none; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .15rem .5rem;
  border-radius: 99px; background: var(--brand); color: #fff; }
.lp-ann-go { flex: none; font-weight: 700; transition: transform .2s ease; }
.lp-ann:hover .lp-ann-go { transform: translateX(3px); }
@media (max-width: 480px) { .lp-ann-more { display: none; } }
@media (max-width: 380px) { .lp-ann { font-size: .84rem; gap: .4rem; } }

/* index.html: "Try the demo" button under Get started / Log in */
.lp-cta .lp-demo-btn { background: #ffffff; border: 1.5px dashed var(--brand); color: var(--ink); font-weight: 700; }
.lp-cta .lp-demo-btn span { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); margin-top: .1rem; }
.lp-cta .lp-demo-btn:hover { background: var(--brand-soft); color: var(--ink); }

/* "Coming soon" to the app stores, under the install link. Plain labels, not the stores' official badges
   (those may only be used once the app is actually in the store). */
.lp-stores { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.lp-store { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .9rem; border-radius: 12px; background: #14262c; color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.1; opacity: .92; }
.lp-store small { display: block; font-weight: 500; font-size: .7rem; opacity: .8; }
