/* /lease/ and /zh/lease/ only, on top of main.css tokens and form styles.
   One type system on purpose: headings in Fraunces (upright, never italic),
   everything else in Public Sans, small labels in uppercase. Gold is for
   buttons, numbers and icons only. Scoped to body.ls-page. */

.ls-page { --ink-soft: #37453F; }
.ls-page h1, .ls-page h2, .ls-page h3 { font-family: var(--font-display); font-style: normal; font-weight: 600; letter-spacing: -0.01em; }

.lx-label { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 242, 233, 0.82); }
.lx-label-dark { color: var(--ink-soft); margin-bottom: 10px; }
.lx-btn { padding: 17px 26px; font-size: 1.05rem; }
.lx-phone { color: var(--paper-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(247, 242, 233, 0.4); }
.lx-phone:hover { text-decoration-color: currentColor; color: var(--paper-ink); }
.lx-phone-dark { color: var(--ink); text-decoration-color: rgba(30, 43, 38, 0.3); }
.lx-phone-dark:hover { color: var(--ink); }
.lx-note { margin-top: 16px; font-size: 0.92rem; color: var(--ink-soft); }

/* 1. Hero: full-bleed photo, dark wash, slow settle */
.lx-hero { position: relative; overflow: hidden; background: var(--ink-2); color: var(--paper-ink); min-height: min(88vh, 760px); display: flex; align-items: flex-end; }
.lx-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: lxSettle 9s cubic-bezier(0.2, 0.6, 0.2, 1) forwards; }
@keyframes lxSettle { to { transform: scale(1); } }
.lx-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(21, 32, 28, 0.9) 0%, rgba(21, 32, 28, 0.72) 38%, rgba(21, 32, 28, 0.15) 75%, rgba(21, 32, 28, 0.05) 100%),
    linear-gradient(0deg, rgba(21, 32, 28, 0.55) 0%, rgba(21, 32, 28, 0) 45%);
}
.lx-hero .wrap { position: relative; z-index: 1; }
.lx-hero-inner { display: grid; gap: 20px; max-width: 620px; padding: clamp(96px, 14vw, 160px) 0 clamp(48px, 7vw, 84px); }
.lx-hero h1 { color: var(--paper-ink); font-size: clamp(2.6rem, 6.2vw, 4.5rem); line-height: 1.03; }
.lx-sub { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.5; color: rgba(247, 242, 233, 0.9); max-width: 36ch; }
.lx-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.lx-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.lx-facts li { font-size: 0.92rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(247, 242, 233, 0.3); background: rgba(21, 32, 28, 0.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 720px) {
  .lx-hero { min-height: 660px; }
  .lx-hero::after { background: linear-gradient(0deg, rgba(21, 32, 28, 0.96) 0%, rgba(21, 32, 28, 0.85) 45%, rgba(21, 32, 28, 0.25) 80%, rgba(21, 32, 28, 0.1) 100%); }
  .lx-hero-inner { padding-top: 110px; padding-bottom: 96px; } /* bottom space clears the sticky bar */
}

/* 2. Agent strip */
.lx-agent { background: #fff; border-bottom: 1px solid var(--line-soft); }
.lx-agent-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding: 16px 0; }
.lx-agent-row img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center; background: var(--paper-2); border: 2px solid var(--paper-3); }
.lx-agent-row p { display: grid; gap: 2px; }
.lx-agent-row b { font-size: 1.05rem; color: var(--ink); }
.lx-agent-row p span { font-size: 0.92rem; color: var(--ink-soft); }
.lx-rating { margin-left: auto; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 0.98rem; }
.lx-rating span { color: var(--brass-bright); letter-spacing: 2px; margin-right: 4px; }
@media (max-width: 560px) { .lx-rating { margin-left: 72px; } }

/* Sections */
.lx-section { padding: clamp(64px, 9vw, 108px) 0; }
.lx-tight { padding-top: 0; }
.lx-h2 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.12; color: var(--ink); margin-bottom: 30px; }

/* 3. Steps with pictures */
.lx-steps { list-style: none; display: grid; gap: 22px; }
@media (min-width: 860px) { .lx-steps { grid-template-columns: repeat(3, 1fr); } }
.lx-steps li { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.lx-steps li:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(21, 32, 28, 0.06), 0 24px 44px -18px rgba(21, 32, 28, 0.35); }
.lx-steps figure { margin: 0; overflow: hidden; background: var(--paper-3); }
.lx-steps img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.lx-steps li:hover img { transform: scale(1.05); }
.lx-step-body { position: relative; padding: 30px 22px 24px; }
.lx-num { position: absolute; top: -24px; left: 20px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--brass-bright); color: var(--ink-2); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; border: 4px solid #fff; }
.lx-step-body h3 { font-size: 1.35rem; color: var(--ink); margin-bottom: 6px; }
.lx-step-body p { font-size: 1.04rem; color: var(--ink-soft); }

/* 4. Fee */
.lx-fee {
  display: grid; gap: 30px; align-items: center; color: var(--paper-ink);
  border-radius: 22px; padding: clamp(30px, 5vw, 60px);
  background: radial-gradient(640px 360px at 92% 0%, rgba(185, 138, 47, 0.22), transparent 62%), var(--ink);
}
@media (min-width: 880px) { .lx-fee { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.lx-fee h2 { color: var(--paper-ink); font-size: clamp(2.4rem, 5.4vw, 3.6rem); line-height: 1.04; margin: 10px 0 12px; }
.lx-fee-sub { font-size: 1.18rem; color: rgba(247, 242, 233, 0.88); margin-bottom: 24px; }
.lx-checks { list-style: none; display: grid; gap: 14px; }
.lx-checks li { position: relative; padding-left: 38px; font-size: 1.12rem; font-weight: 600; color: var(--paper-ink); }
.lx-checks li::before { content: "\2713"; position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.85rem; font-weight: 800; background: var(--brass-bright); color: var(--ink-2); }

/* 5. Quote */
.lx-quote-sec { background: var(--paper-2); padding: clamp(60px, 8vw, 100px) 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.lx-quote { margin: 0 auto; max-width: 860px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.lx-stars { color: var(--brass-bright); letter-spacing: 5px; font-size: 1.2rem; }
.lx-quote blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.28; color: var(--ink); }
.lx-quote figcaption { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }

/* 6. Form */
.lx-start { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .lx-start { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } .lx-start-copy { position: sticky; top: 110px; } }
.lx-start .lx-h2 { margin-bottom: 14px; }
.lx-start-sub { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 18px; max-width: 38ch; }
.rv-quiz { min-width: 0; }

/* 7. FAQ */
.lx-faq-sec { padding-top: 0; }
.ls-page .faq summary { font-size: 1.1rem; }
.ls-page .faq .a { font-size: 1.04rem; }

/* Gentle rise on scroll, armed by lease.js only, so nothing stays hidden without it */
.lx-anim .lx-rise { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.lx-anim .lx-steps .lx-rise:nth-child(2) { transition-delay: 0.1s; }
.lx-anim .lx-steps .lx-rise:nth-child(3) { transition-delay: 0.2s; }
.lx-anim .lx-rise.in { opacity: 1; transform: none; }
.lx-anim .lx-steps .lx-rise.in:hover { transform: translateY(-4px); transition-delay: 0s; }

/* ---------- form (unchanged behaviour) ---------- */
.ls-form { display: grid; gap: 16px; }
.ls-form .row { display: grid; gap: 14px; }
@media (min-width: 560px) { .ls-form .row.two { grid-template-columns: 1fr 1fr; } }
.ls-page .field label, .ls-seg legend { font-size: 0.98rem; font-weight: 700; color: var(--ink); }
.ls-page .field input, .ls-page .field select { min-height: 50px; font-size: 1.04rem; }
.ls-seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ls-seg legend { margin-bottom: 6px; padding: 0; }
.ls-seg label { position: relative; cursor: pointer; }
.ls-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ls-seg span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); font-weight: 700; font-size: 1rem; color: var(--ink); }
.ls-seg input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper-ink); }
.ls-seg input:focus-visible + span { outline: 2px solid var(--brass-bright); outline-offset: 2px; }
.ls-more { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.ls-more summary { cursor: pointer; padding: 13px 14px; font-weight: 700; font-size: 0.98rem; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.ls-more summary::-webkit-details-marker { display: none; }
.ls-more summary span { font-weight: 400; color: var(--ink-soft); margin-right: auto; }
.ls-more summary::after { content: "+"; font-family: var(--font-display); font-size: 1.3rem; line-height: 1; color: var(--brass); }
.ls-more[open] summary::after { content: "\2212"; }
.ls-more-body { display: grid; gap: 14px; padding: 0 14px 16px; }
.ls-check { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; color: var(--ink); cursor: pointer; }
.ls-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brass); flex: none; }
.ls-form .btn { width: 100%; justify-content: center; min-height: 54px; font-size: 1.05rem; }
.ls-page .quiz-fine { font-size: 0.82rem; }
.ls-err { color: var(--terra); font-size: 0.95rem; font-weight: 700; }
.ls-done { text-align: center; display: grid; gap: 10px; padding: 12px 0; }
.ls-done .ls-tick { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--paper-ink); display: grid; place-items: center; font-size: 1.5rem; margin: 0 auto 4px; }
.ls-done h3 { font-size: 1.35rem; }
.ls-done p { color: var(--ink-soft); font-size: 1.02rem; }

/* Sticky mobile bar: steps aside while the form is on screen. */
.ls-sticky .btn { flex: 1 1 auto; }
.ls-sticky .ls-call { flex: 0 0 auto; padding-left: 20px; padding-right: 20px; }
.ls-sticky { transition: transform 0.25s ease; }
.ls-sticky.is-away { transform: translateY(110%); }

/* ---------- About page (/about/, /zh/about/) ---------- */
.ab-team { display: grid; gap: 22px; }
@media (min-width: 820px) { .ab-team { grid-template-columns: 1fr 1fr; } }
.ab-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 14px; align-content: start; }
.ab-head { display: flex; align-items: center; gap: 16px; }
.ab-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: center; background: var(--paper-2); border: 3px solid var(--paper-3); flex: none; }
.ab-initials { display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; color: var(--paper-ink); background: var(--ink); border-color: var(--brass-bright); }
.ab-card h3 { font-size: 1.5rem; color: var(--ink); }
.ab-role { font-size: 0.95rem; color: var(--ink-soft); }
.ab-card > p { font-size: 1.04rem; color: var(--ink-soft); }
.ab-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.ab-tags li { font-size: 0.88rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink); }

.ab-diff { list-style: none; display: grid; gap: 18px; }
@media (min-width: 860px) { .ab-diff { grid-template-columns: repeat(3, 1fr); } }
.ab-diff li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 8px; align-content: start; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ab-diff li:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -18px rgba(21, 32, 28, 0.35); }
.ab-diff svg { width: 34px; height: 34px; color: var(--brass-bright); }
.ab-diff h3 { font-size: 1.3rem; color: var(--ink); }
.ab-diff p { font-size: 1.02rem; color: var(--ink-soft); }

.ab-paths { display: grid; gap: 14px; }
@media (min-width: 760px) { .ab-paths { grid-template-columns: repeat(3, 1fr); } }
.ab-paths a { display: grid; gap: 4px; text-decoration: none; padding: 22px 24px; border-radius: 16px; background: rgba(247, 242, 233, 0.06); border: 1px solid rgba(247, 242, 233, 0.16); color: var(--paper-ink); transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease; }
.ab-paths a:hover { background: rgba(185, 138, 47, 0.12); border-color: rgba(185, 138, 47, 0.6); transform: translateY(-3px); color: var(--paper-ink); }
.ab-paths b { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.ab-paths span { font-size: 0.98rem; color: rgba(247, 242, 233, 0.8); }
.ab-paths i { font-style: normal; color: var(--brass-bright); font-weight: 700; margin-top: 6px; }
