/* ==========================================================
   RF Finance — purple, playful, 3D
   ========================================================== */
:root {
  --p950: #2e2100;
  --p900: #5c4400;
  --p800: #6e5405;
  --p700: #8a6a08;
  --p600: #c29a1a;
  --p500: #E4BC36;
  --p400: #edcf6a;
  --p300: #f3e0a0;
  --p100: #fbf3d6;
  --p50:  #fefaea;
  --pink: #e85fa8;
  --gold: #f5b82e;
  --green: #2bb673;
  --ink: #2b2410;
  --ink-2: #6b5f40;
  --ink-3: #a39a80;
  --white: #fff;
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --shadow: 0 18px 40px -18px rgba(92, 68, 0, .45);
  --shadow-lg: 0 40px 80px -30px rgba(92, 68, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: "Nunito", "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", system-ui, sans-serif;
  color: var(--ink); background: #fff; line-height: 1.65;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
svg { display: block; }
h1, h2, h3 { line-height: 1.2; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- Preloader: spinning 3D cube ---------- */
.preloader { position: fixed; inset: 0; z-index: 9999; display: grid; place-content: center; justify-items: center; gap: 34px; background: radial-gradient(circle at 50% 40%, var(--p600), var(--p950)); color: #fff; font-weight: 800; letter-spacing: .2em; transition: opacity .7s var(--ease), visibility .7s, transform .9s var(--ease); }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__cube { width: 70px; height: 70px; position: relative; transform-style: preserve-3d; animation: cube 2.2s var(--ease) infinite; }
.preloader .f { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.9rem; font-weight: 900; font-style: italic; letter-spacing: 0; border-radius: 14px; background: linear-gradient(135deg, var(--p400), var(--p600)); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.f1 { transform: translateZ(35px); } .f2 { transform: rotateY(90deg) translateZ(35px); } .f3 { transform: rotateY(180deg) translateZ(35px); background: linear-gradient(135deg, #ffd56b, var(--gold)) !important; color: #7a4b00; }
.f4 { transform: rotateY(-90deg) translateZ(35px); } .f5 { transform: rotateX(90deg) translateZ(35px); } .f6 { transform: rotateX(-90deg) translateZ(35px); }
@keyframes cube { 0% { transform: rotateX(-20deg) rotateY(0); } 100% { transform: rotateX(-20deg) rotateY(360deg); } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 1001; background: linear-gradient(90deg, var(--pink), var(--p500), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 800; white-space: nowrap; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s; }
.btn--lg { padding: 15px 34px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn--purple { background: linear-gradient(180deg, var(--p400), var(--p500)); color: var(--p950); box-shadow: 0 6px 0 var(--p900), 0 16px 30px -10px rgba(92,68,0,.6); }

.btn--purple:active { transform: translateY(4px) !important; box-shadow: 0 2px 0 var(--p900), 0 8px 16px -8px rgba(92,68,0,.6); }
.btn--white { background: #fff; color: var(--p700); box-shadow: 0 6px 0 var(--p300), 0 16px 30px -10px rgba(46,33,0,.45); }

.btn--white:active { transform: translateY(4px) !important; box-shadow: 0 2px 0 var(--p300); }
.btn--ghost-white { color: var(--p950); box-shadow: inset 0 0 0 2px var(--p950); }

.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%); transform: translateX(-110%); transition: transform .8s var(--ease); }

.btn .arrow { transition: transform .35s var(--ease); }

.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,.5); animation: ripple .7s var(--ease) forwards; pointer-events: none; }
.btn--white .ripple { background: rgba(228,188,54,.45); }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Notice bar ---------- */
.notice { background: var(--p800); color: #fff; font-size: .82rem; overflow: hidden; white-space: nowrap; padding: 9px 0; }
.notice__track { display: inline-flex; gap: 80px; animation: marquee 40s linear infinite; padding-left: 100%; }
.notice:hover .notice__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.92); backdrop-filter: blur(14px) saturate(1.5); transition: box-shadow .4s, transform .5s var(--ease); }
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(92,68,0,.5); }
.header__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 14px 0 10px; transition: padding .4s var(--ease); }
.header.scrolled .header__top { padding: 6px 0 4px; }
.header__contact, .header__account { display: flex; gap: 36px; font-size: 1.05rem; padding-bottom: 10px; border-bottom: 1.5px solid var(--ink-3); transition: border-color .3s; }
.header.scrolled .header__contact, .header.scrolled .header__account { border-color: transparent; }
.header__account { justify-content: flex-end; }
.header__contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.header__contact svg { width: 20px; height: 20px; fill: var(--p700); }

.header__account a { font-weight: 600; transition: color .3s; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(from 200deg, var(--pink), var(--p600), var(--p900), var(--pink)); padding: 5px; transition: transform .8s var(--bounce); transform-style: preserve-3d; }
.logo__mark span { width: 100%; height: 100%; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--p700); font-weight: 900; font-style: italic; font-size: 1.2rem; }

.logo__mark--xs { width: 28px; height: 28px; padding: 3px; } .logo__mark--xs span { font-size: .6rem; }
.logo__text { display: grid; line-height: 1; color: var(--p700); font-weight: 900; font-size: 1.5rem; letter-spacing: .02em; }
.logo__text b { font-weight: 800; font-size: 1.25rem; color: var(--p600); }
.header.scrolled .logo__mark { width: 46px; height: 46px; }

.header__nav { display: flex; justify-content: center; gap: 8px; padding-bottom: 10px; }
.header__nav a { position: relative; padding: 8px 18px; font-size: 1.05rem; color: var(--ink-2); font-weight: 600; transition: color .3s; }
.header__nav a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--p600); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.header__nav a.active { color: var(--p700); }
.header__nav a.active::after { transform: scaleX(1); transform-origin: left; }
.header__nav sup { position: absolute; top: -8px; right: -4px; padding: 1px 8px; border-radius: 999px; background: var(--p500); color: #fff; font-size: .68rem; font-weight: 800; animation: bob 2.4s ease-in-out infinite; }
.nav__apply { color: var(--p600) !important; font-weight: 800 !important; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; justify-self: end; }
.burger span { position: absolute; left: 10px; right: 10px; height: 3px; border-radius: 3px; background: var(--p700); transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 27px; }
.header.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.open .burger span:nth-child(2) { opacity: 0; }
.header.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Diagonal stripes ---------- */
.stripe { position: absolute; display: block; height: 16px; background: linear-gradient(90deg, var(--p400), var(--p700)); transform: skewX(-40deg) scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); pointer-events: none; z-index: 0; }
.stripe.in, .in > .stripe, .section.seen > .stripe { transform: skewX(-40deg) scaleX(1); }
.stripe--left { left: -40px; top: 28px; width: 34%; }
.stripe--right { right: -40px; top: 40px; width: 28%; transform-origin: right; background: linear-gradient(90deg, var(--p700), var(--p400)); }
.stripe--small { position: relative; width: 140px; height: 8px; margin: 0 auto 26px; }
.stripe--big { height: 12px; width: 160px; top: 36px; left: -30px; transform: rotate(-28deg) scaleX(0); }
.section.seen > .stripe--big { transform: rotate(-28deg) scaleX(1); }
.section > .container { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--p950); background: radial-gradient(1200px 600px at 75% 40%, #fff0b8 0%, transparent 60%), linear-gradient(120deg, var(--p600) 0%, var(--p500) 55%, #f6dd8a 100%); padding: 40px 0 30px; min-height: calc(100vh - 160px); display: flex; flex-direction: column; justify-content: center; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__shape { position: absolute; border-radius: 50%; filter: blur(2px); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), rgba(255,255,255,.04) 70%); animation: drift 14s ease-in-out infinite alternate; }
.hero__shape--1 { width: 320px; height: 320px; top: -80px; left: 30%; }
.hero__shape--2 { width: 160px; height: 160px; bottom: 40px; left: 6%; animation-delay: -5s; }
.hero__shape--3 { width: 90px; height: 90px; top: 20%; right: 6%; animation-delay: -9s; }
@keyframes drift { to { transform: translate(40px, 50px) scale(1.15); } }
.stripe--hero { top: 26px; left: -30px; width: 30%; height: 10px; background: var(--p950); }
.loaded .stripe--hero { transform: skewX(-40deg) scaleX(1); }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 20px; }
.hero__brand { display: inline-block; font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 900; font-style: italic; letter-spacing: .02em; color: #fff; text-shadow: 3px 3px 0 var(--p600), 6px 6px 0 rgba(46,33,0,.25); opacity: 0; transform: translateX(-30px); }
.loaded .hero__brand { animation: slideIn .9s var(--ease) forwards; }
@keyframes slideIn { to { opacity: 1; transform: none; } }

/* extruded 3D display text */
.display { font-weight: 900; font-style: italic; line-height: 1.12; letter-spacing: .02em; margin: 14px 0 22px; perspective: 800px; }
.display__line { display: block; font-size: clamp(2.8rem, 8vw, 6.4rem); }
[data-split] .word { display: inline-block; white-space: nowrap; }
.display__line--2 { margin-left: clamp(0px, 4vw, 60px); }
.display .ch {
  display: inline-block; color: #fff; -webkit-text-stroke: 0;
  text-shadow: 1px 1px 0 var(--p600), 2px 2px 0 var(--p600), 3px 3px 0 var(--p700), 4px 4px 0 var(--p700), 5px 5px 0 var(--p800), 6px 6px 0 var(--p800), 7px 7px 0 var(--p900), 8px 8px 0 var(--p900), 14px 16px 24px rgba(46,33,0,.45);
  transform-origin: 50% 100%; opacity: 0; transform: translateY(-60px) rotateX(90deg);
  transition: transform .45s var(--bounce);
}
.split-in .ch { animation: chIn .9s var(--bounce) forwards; animation-delay: calc(var(--i) * 45ms + var(--base, 0ms)); }
@keyframes chIn { 0% { opacity: 0; transform: translateY(-60px) rotateX(90deg); } 100% { opacity: 1; transform: none; } }
.split-done .ch { opacity: 1; transform: none; animation: none; }

.display .ch.wiggle { animation: wiggle .7s var(--bounce); }
@keyframes wiggle { 30% { transform: translateY(-16px) rotate(-8deg); } 60% { transform: translateY(2px) rotate(4deg); } }

.hero__sub { font-size: 1.15rem; max-width: 520px; opacity: .92; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.hero__stage { position: relative; height: min(560px, 70vh); min-height: 420px; }
#mascot3d { position: absolute; inset: -40px -40px 0; width: calc(100% + 80px); height: calc(100% + 40px); cursor: grab; touch-action: pan-y; }
#mascot3d:active { cursor: grabbing; }
.hero__fallback { display: none; }
.hero__advisor { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; pointer-events: none; filter: drop-shadow(0 16px 14px rgba(92, 68, 0, .28)); }
.no-webgl #mascot3d { display: none; }
.no-webgl .hero__fallback { display: block; position: absolute; inset: 8% 18% 6%; background: url("/assets/mascot.png") center bottom / contain no-repeat; }
.promo { color: #fff; position: absolute; right: 0; bottom: 30px; display: grid; justify-items: end; text-align: right; pointer-events: none; }
.promo__tag { padding: 4px 20px; border-radius: 999px; background: linear-gradient(90deg, var(--pink), #ff8a3d); font-weight: 900; font-style: italic; font-size: 1.25rem; box-shadow: 0 8px 20px -6px rgba(255,138,61,.6); transform: rotate(-3deg); }
.promo__amt { font-size: 1.1rem; font-weight: 800; font-style: italic; margin-top: 4px; }
.promo__amt b { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; text-shadow: 3px 3px 0 var(--p700), 5px 5px 0 var(--p900); }
.promo__sub { font-weight: 800; font-style: italic; font-size: 1.2rem; margin-top: -6px; }
.hero__hint { position: absolute; left: 50%; bottom: 6px; translate: -50% 0; font-size: .82rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.55); color: var(--p950); backdrop-filter: blur(6px); animation: bob 2s ease-in-out infinite; white-space: nowrap; }
.hero__tnc { position: relative; display: block; text-align: right; opacity: .8; font-size: .75rem; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 110px 0; overflow: hidden; }
.section h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--ink); }
.section__title { margin-bottom: 30px; }
.section__title q { quotes: "“" "”"; color: var(--p700); font-weight: 900; }
.panel { background: var(--p100); border-radius: 6px; padding: 26px 30px; color: var(--ink); font-size: 1.05rem; box-shadow: 0 1px 0 rgba(92,68,0,.05); position: relative; }
.panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; border-radius: 6px 0 0 6px; background: linear-gradient(var(--p400), var(--p700)); transform: scaleY(0); transform-origin: top; transition: transform 1s var(--ease) .3s; }
.panel.in::before { transform: scaleY(1); }
.panel--center { text-align: center; margin-top: 60px; }
.panel--center h3 { color: var(--p700); font-size: 1.35rem; margin-bottom: 12px; font-weight: 800; }

/* reveal */
.reveal { opacity: 0; transform: translateY(36px) scale(.97); transition: opacity .7s var(--ease), transform .75s var(--bounce); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.card3d.reveal, .step-tl.reveal, .rel.reveal, .stat.reveal { transform: translateY(42px) scale(.94); }
.card3d.reveal.in, .step-tl.reveal.in, .rel.reveal.in, .stat.reveal.in { transform: none; }
.timeline + .subs { margin-top: 22px; }
.rise { opacity: 0; transform: translateY(32px); transition: opacity .65s var(--ease), transform .7s var(--bounce); transition-delay: var(--d, 0s); }
.rise.in { opacity: 1; transform: none; }
.group-h.rise { transform: translateX(-18px); }
.group-h.rise.in { transform: none; }

/* ---------- Product flip tiles ---------- */
.products__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; }
.tile { perspective: 900px; aspect-ratio: 1 / .92; }
.tile__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--bounce); cursor: pointer; }
.tile.flipped .tile__inner { transform: rotateY(180deg); }
.tile__face { position: absolute; inset: 0; border-radius: 34px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-content: center; justify-items: center; text-align: center; padding: 14px; }
.tile__front { background: #fff; border: 2.5px solid var(--p600); box-shadow: 0 9px 0 var(--p700), 0 24px 30px -16px rgba(92,68,0,.55); gap: 10px; font-weight: 800; font-size: .98rem; color: var(--ink); line-height: 1.25; }
.tile__icon { width: 64px; height: 64px; transition: transform .5s var(--bounce); }
.tile__icon svg { width: 100%; height: 100%; }
.tile.in .tile__icon { animation: iconPop .8s var(--bounce) both; animation-delay: calc(var(--d) + .3s); }
@keyframes iconPop { 0% { transform: scale(0) rotate(-30deg); } 100% { transform: none; } }
.tile__back { transform: rotateY(180deg); background: linear-gradient(150deg, var(--p700), var(--p900)); color: #fff; box-shadow: 0 9px 0 var(--p950), 0 24px 30px -16px rgba(92,68,0,.55); line-height: 1.1; }
.tile__back b { font-size: 2.2rem; font-weight: 900; font-style: italic; text-shadow: 3px 3px 0 var(--p900); }
.tile__back small { opacity: .85; font-weight: 700; }
.tile__back a { margin-top: 12px; padding: 6px 16px; border-radius: 999px; background: var(--p500); color: var(--p950); font-weight: 800; font-size: .88rem; }
.products__copy { text-align: center; }
.products__copy h2 { color: var(--p700); font-weight: 800; line-height: 1.35; }
.products__copy .hl { color: var(--ink); }
.products__copy p { margin: 26px auto 28px; max-width: 360px; color: var(--ink-2); }
.products__tip { font-size: .85rem; color: var(--ink-3) !important; margin-top: 20px !important; }

/* ---------- AI section + 3D phone ---------- */
.ai { background: linear-gradient(180deg, #fff, var(--p50)); }
.ai__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.ai__steps { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.ai__steps li { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 18px; background: #fff; box-shadow: 0 2px 0 var(--p100), inset 0 0 0 1.5px var(--p100); transition: transform .4s var(--ease), box-shadow .4s; }

.ai__steps li > span { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; font-style: italic; color: #fff; background: linear-gradient(135deg, var(--p400), var(--p700)); box-shadow: 0 5px 0 var(--p900); }
.ai__steps b { display: block; font-size: 1.06rem; }
.ai__steps small { color: var(--ink-2); font-size: .92rem; }

.phone-stage { position: relative; height: 560px; perspective: 1400px; display: grid; place-items: center; }
.phone { position: relative; width: 260px; height: 520px; transform-style: preserve-3d; transform: rotateY(var(--ry, -24deg)) rotateX(var(--rx, 10deg)) rotateZ(4deg); transition: transform .3s ease-out; animation: phoneFloat 6s ease-in-out infinite; }
@keyframes phoneFloat { 50% { translate: 0 -16px; } }
.phone__side { position: absolute; inset: 0; border-radius: 44px; background: linear-gradient(135deg, var(--p600), var(--p950)); transform: translateZ(-14px); box-shadow: 30px 40px 60px -20px rgba(46,33,0,.6); }
.phone__screen { position: absolute; inset: 0; border-radius: 44px; padding: 12px; background: linear-gradient(135deg, var(--p800), var(--p950)); box-shadow: inset 0 0 0 2px rgba(255,255,255,.2); }
.phone__notch { position: absolute; top: 18px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 20px; background: #140e00; z-index: 2; }
.app { height: 100%; border-radius: 34px; background: linear-gradient(180deg, var(--p50), #fff); padding: 54px 18px 18px; display: flex; flex-direction: column; gap: 18px; overflow: hidden; position: relative; }
.app__head { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--p900); }
.app__ring { position: relative; width: 140px; height: 140px; margin: 0 auto; }
.app__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.app__ring circle { fill: none; stroke: var(--p100); stroke-width: 12; }
.app__ring .app__ring-val { stroke: var(--p600); stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; }
.app__ring-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.app__ring-txt b { font-size: 1.8rem; color: var(--p700); font-weight: 900; }
.app__ring-txt small { color: var(--ink-3); font-weight: 700; }
.app__list { list-style: none; display: grid; gap: 10px; }
.app__list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(92,68,0,.08); font-weight: 700; font-size: .9rem; opacity: .4; transform: translateX(-10px); transition: all .5s var(--bounce); }
.app__list i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--p300); position: relative; transition: all .4s; }
.app__list li.ok { opacity: 1; transform: none; }
.app__list li.ok i { background: var(--green); border-color: var(--green); }
.app__list li.ok i::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.app__approved { position: absolute; left: 14px; right: 14px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--green), #1d9a8a); box-shadow: 0 14px 30px -10px rgba(43,182,115,.7); transform: translateY(140%) scale(.8); transition: transform .7s var(--bounce); }
.app__approved span { font-size: 1.8rem; }
.app__approved small { display: block; opacity: .85; font-weight: 700; }
.app__approved b { font-size: 1.4rem; font-weight: 900; }
.app.done .app__approved { transform: none; }
.phone-shadow { position: absolute; bottom: 0; width: 220px; height: 30px; border-radius: 50%; background: radial-gradient(rgba(46,33,0,.35), transparent 70%); animation: shadowPulse 6s ease-in-out infinite; }
@keyframes shadowPulse { 50% { transform: scale(.82); opacity: .6; } }
.chip3d { position: absolute; padding: 10px 18px; border-radius: 16px; background: #fff; font-weight: 800; color: var(--p700); box-shadow: 0 6px 0 var(--p300), var(--shadow); transform: translateZ(80px); animation: chipFloat 5s ease-in-out infinite; white-space: nowrap; }
.chip3d--a { top: 70px; left: 2%; }
.chip3d--b { top: 46%; right: 0; animation-delay: -1.7s; }
.chip3d--c { bottom: 80px; left: 6%; animation-delay: -3.3s; }
@keyframes chipFloat { 50% { translate: 0 -14px; rotate: -3deg; } }

/* ---------- Calculator ---------- */
.calc-sec { background: var(--p50); }
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.calc__intro > p { color: var(--ink-2); margin: -10px 0 34px; font-size: 1.05rem; }
.calc__controls { display: grid; gap: 28px; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.field label { font-weight: 700; color: var(--ink-2); }
.field output { font-weight: 900; font-size: 1.2rem; color: var(--p700); background: #fff; padding: 4px 14px; border-radius: 12px; box-shadow: 0 4px 0 var(--p100); transition: transform .25s var(--bounce); }
.field output.bump { transform: scale(1.1) rotate(-2deg); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; border-radius: 12px; cursor: pointer; background: linear-gradient(90deg, var(--p400), var(--p700)) 0 / var(--fill, 50%) 100% no-repeat, var(--p100); box-shadow: inset 0 2px 3px rgba(92,68,0,.15); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 7px solid var(--p700); box-shadow: 0 4px 0 var(--p900), 0 8px 14px rgba(0,0,0,.25); transition: transform .25s var(--bounce); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 7px solid var(--p700); box-shadow: 0 4px 0 var(--p900); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.25) rotate(20deg); }
.calc__card { position: relative; background: #fff; border-radius: 30px; padding: 30px; box-shadow: 0 10px 0 var(--p300), var(--shadow-lg); overflow: hidden; }
.coins { position: relative; height: 200px; margin: -10px -10px 10px; border-radius: 22px; background: radial-gradient(ellipse at 50% 120%, var(--p300), var(--p100) 60%); perspective: 600px; display: flex; align-items: flex-end; justify-content: center; gap: 22px; padding-bottom: 24px; overflow: hidden; }
.stack { position: relative; width: 70px; height: 0; transform-style: preserve-3d; transform: rotateX(60deg); }
.coin { position: absolute; left: 0; bottom: 0; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ffe79a, var(--gold) 55%, #d99a00); box-shadow: 0 0 0 3px #c98a00 inset; transform: translateZ(calc(var(--n) * 7px)); animation: coinDrop .5s var(--bounce) both; }
.coin::after { content: "$"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 900; color: #a06c00; font-size: 1.4rem; }
.coin::before { content: ""; position: absolute; inset: 0; border-radius: 50%; transform: translateZ(-6px); background: #b07a00; }
@keyframes coinDrop { from { transform: translateZ(calc(var(--n) * 7px + 200px)); opacity: 0; } }
.calc__emi { text-align: center; }
.calc__emi small { color: var(--ink-3); font-weight: 700; }
.calc__emi b { display: block; font-size: 2.8rem; font-weight: 900; font-style: italic; color: var(--p700); line-height: 1.1; text-shadow: 3px 3px 0 var(--p100); }
.calc__rows { display: grid; gap: 10px; margin: 20px 0 24px; padding: 18px 0; border-block: 1.5px dashed var(--p100); }
.calc__rows div { display: flex; justify-content: space-between; color: var(--ink-2); font-weight: 600; }
.calc__rows b { color: var(--ink); }

/* ---------- Stats ---------- */
.stats { position: relative; overflow: hidden; padding: 70px 0; background: linear-gradient(120deg, var(--p950), var(--p800)); color: #fff; }
.stats::before { content: ""; position: absolute; inset: -60%; background: conic-gradient(from 0deg, transparent, rgba(255,255,255,.12), transparent 25%, rgba(232,95,168,.18), transparent 55%); animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; letter-spacing: .02em; font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 900; font-style: italic; text-shadow: 3px 3px 0 var(--p600), 6px 6px 0 rgba(0,0,0,.4); color: var(--p400); }
.stat > span { opacity: .85; font-weight: 600; }

/* ---------- Stories: 3D coverflow ---------- */
.quote-mark { font-size: 3.4rem; line-height: 0; vertical-align: -.3em; color: var(--p700); font-weight: 900; margin-right: 6px; }
.coverflow { position: relative; height: 380px; margin-top: 50px; perspective: 1400px; transform-style: preserve-3d; touch-action: pan-y; user-select: none; overflow: hidden; }
.story { position: absolute; left: 50%; top: 0; width: min(640px, 82vw); height: 340px; margin-left: calc(min(640px, 82vw) / -2); padding: 34px 40px; border-radius: 34px; color: #fff; text-align: center; background: radial-gradient(circle at 80% 0%, rgba(255,255,255,.18), transparent 50%), linear-gradient(150deg, var(--p800), var(--p950)); box-shadow: 0 12px 0 #140e00, var(--shadow-lg); display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 16px; transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s; cursor: pointer; }
.story p { font-size: 1.08rem; font-weight: 600; max-width: 480px; }
.story__av { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; font-size: 2.6rem; font-weight: 900; font-style: italic; color: #fff; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.45), transparent 60%), var(--c); box-shadow: 0 0 0 6px rgba(255,255,255,.25), 0 14px 26px -8px rgba(0,0,0,.4); align-self: center; }
.story.is-active .story__av { animation: avSpin 1.2s var(--bounce); }
@keyframes avSpin { from { transform: rotateY(-180deg) scale(.6); } }
.story__who { justify-self: start; text-align: left; }
.story__who b { display: block; }
.story__who small { opacity: .9; } .story__who em { font-style: normal; font-weight: 900; color: #ffe08a; }
.coverflow__ctrl { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.round-btn { width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; font-size: 1.6rem; font-weight: 900; color: var(--p700); background: #fff; box-shadow: 0 5px 0 var(--p300), var(--shadow); transition: transform .3s var(--bounce); }

.round-btn:active { transform: translateY(3px); }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: var(--p300); cursor: pointer; transition: width .4s var(--ease), background .3s; }
.dots button.on { width: 30px; background: var(--p700); }

/* ---------- FAQ ---------- */
.faq__title { margin-bottom: 30px; }
.accordion { border-top: 1.5px solid var(--p100); }
.acc { border-bottom: 1.5px solid var(--p100); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 22px 12px; font-size: 1.12rem; font-weight: 700; transition: color .3s, background .3s; border-radius: 12px; }
.acc summary::-webkit-details-marker { display: none; }

.acc__n { color: var(--p600); font-weight: 900; }
.acc__chev { margin-left: auto; width: 12px; height: 12px; border: solid var(--p600); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform .45s var(--bounce); }
.acc.expanded .acc__chev { transform: rotate(-135deg); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc__body > p { overflow: hidden; padding: 0 12px 0 40px; color: var(--ink-2); }
.acc.expanded .acc__body { grid-template-rows: 1fr; }
.acc.expanded .acc__body > p { padding-bottom: 22px; }
.disclaimer { margin-top: 60px; font-size: .82rem; color: var(--ink-3); }

/* ---------- Apply ---------- */
.apply { padding: 20px 0 110px; }
.apply__box { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 64px 56px; border-radius: 40px; color: #fff; background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.18), transparent 40%), linear-gradient(130deg, var(--p950), var(--p800) 55%, var(--p700)); box-shadow: 0 14px 0 #140e00, var(--shadow-lg); overflow: hidden; isolation: isolate; }
.apply__copy p { margin-top: 10px; font-size: 1.1rem; opacity: .92; }
.display--sm .ch { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: .02em; }
.display--sm { margin: 0; }
.apply__deco { position: absolute; inset: 0; z-index: -1; perspective: 600px; pointer-events: none; }
.coin3d { position: absolute; width: 90px; height: 90px; left: 40%; top: -20px; transform-style: preserve-3d; animation: coinSpin 4s linear infinite; }
.coin3d::before, .coin3d::after, .coin3d i { position: absolute; inset: 0; border-radius: 50%; }
.coin3d::before { content: ""; background: #b07a00; transform: translateZ(-5px); }
.coin3d::after { content: ""; background: #b07a00; transform: translateZ(-2.5px); }
.coin3d i { display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 2.2rem; color: #a06c00; background: radial-gradient(circle at 40% 35%, #ffe79a, var(--gold) 55%, #d99a00); box-shadow: inset 0 0 0 4px #c98a00; }
.coin3d--2 { width: 60px; height: 60px; left: 6%; top: auto; bottom: 20px; animation-duration: 5s; animation-direction: reverse; }
.coin3d--2 i { font-size: 1.4rem; }
.coin3d--3 { width: 46px; height: 46px; left: auto; right: 6%; top: 24px; animation-duration: 3.4s; }
.coin3d--3 i { font-size: 1.1rem; }
@keyframes coinSpin { 0% { transform: rotateY(0) translateY(0); } 50% { transform: rotateY(180deg) translateY(16px); } 100% { transform: rotateY(360deg) translateY(0); } }
.apply-form { display: grid; gap: 14px; padding: 28px; border-radius: 28px; background: rgba(255,255,255,.14); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.ff { position: relative; }
.ff input, .ff select { width: 100%; padding: 22px 18px 8px; border-radius: 16px; border: 0; background: #fff; color: var(--ink); outline: none; appearance: none; box-shadow: 0 4px 0 var(--p300); transition: box-shadow .3s, transform .3s var(--ease); }
.ff input:focus, .ff select:focus { box-shadow: 0 4px 0 var(--p300), 0 0 0 4px rgba(255,255,255,.45); transform: translateY(-2px); }
.ff label { position: absolute; left: 18px; top: 15px; color: var(--ink-3); pointer-events: none; transition: all .25s var(--ease); }
.ff input:focus + label, .ff input:not(:placeholder-shown) + label, .ff select:focus + label, .ff select:valid + label { top: 4px; font-size: .72rem; font-weight: 800; color: var(--p600); }
.btn__spinner { display: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--p100); border-top-color: var(--p600); animation: spin .8s linear infinite; }
.btn.loading .btn__label { display: none; } .btn.loading .btn__spinner { display: block; }
.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(180deg, var(--p900), var(--p950)); color: #f6edc9; padding: 70px 0 40px; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.3fr; gap: 30px; font-size: .92rem; }
.footer h5 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer__grid > div > a { display: block; padding: 3px 0; transition: color .3s, transform .3s var(--ease); }

.footer__grid p { margin-bottom: 4px; } .footer__grid p b { color: #fff; }
.footer__co { display: grid; align-content: start; gap: 4px; }
.footer__co b { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.12); font-weight: 800; transition: transform .4s var(--bounce), background .3s; }

.footer__warning { margin-top: 60px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.15); }
.warn { font-weight: 900; font-style: italic; color: #fff; }
.warn--zh { font-family: "Noto Sans TC", sans-serif; perspective: 800px; }
.warn--zh .ch { display: inline-block; font-size: clamp(1.8rem, 4.4vw, 3.4rem); opacity: 0; transform: translateY(-40px) rotateX(90deg); text-shadow: 2px 2px 0 var(--p500), 4px 4px 0 var(--p900), 8px 10px 16px rgba(0,0,0,.3); }
.warn--zh.split-in .ch { animation: chIn .8s var(--bounce) forwards; animation-delay: calc(var(--i) * 50ms); }
.warn--zh.split-done .ch { opacity: 1; transform: none; animation: none; }
.warn--en { font-size: clamp(1rem, 2vw, 1.4rem); margin-top: 6px; }
.footer__warning small { display: block; margin-top: 8px; font-weight: 800; font-style: italic; }

/* ---------- Floating actions ---------- */
.side-actions { position: fixed; right: 18px; bottom: 24px; z-index: 900; display: grid; gap: 12px; }
.side-btn { width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; font-size: 1.4rem; background: #fff; color: var(--p700); font-weight: 900; box-shadow: 0 5px 0 var(--p300), var(--shadow); transition: transform .35s var(--bounce), opacity .3s; }

.side-btn--wa { background: var(--green); box-shadow: 0 5px 0 #1d8a55, var(--shadow); animation: pulse 2.5s infinite; }
@keyframes pulse { 0% { box-shadow: 0 5px 0 #1d8a55, 0 0 0 0 rgba(43,182,115,.5); } 70% { box-shadow: 0 5px 0 #1d8a55, 0 0 0 16px rgba(43,182,115,0); } }
.side-btn--top { opacity: 0; pointer-events: none; transform: scale(.6); }
.side-btn--top.show { opacity: 1; pointer-events: auto; transform: none; }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 2000; display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 16px; background: var(--p900); color: #fff; font-weight: 700; box-shadow: var(--shadow-lg); transform: translate(-50%, 160%); transition: transform .6s var(--bounce); max-width: calc(100% - 32px); }
.toast span { width: 26px; height: 26px; border-radius: 50%; background: var(--green); display: grid; place-items: center; flex: none; }
.toast.show { transform: translate(-50%, 0); }
.confetti { position: fixed; top: 0; left: 0; width: 10px; height: 14px; z-index: 2001; pointer-events: none; border-radius: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner, .products__inner, .ai__grid, .calc, .apply__box { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 30px; }
  .hero__stage { height: 440px; min-height: 0; }
  .products__copy { order: -1; }
  .phone-stage { height: 520px; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .header__top { grid-template-columns: auto 1fr auto; padding: 8px 0; }
  .header__contact, .header__account { display: none; }
  .logo { grid-column: 1; }
  .logo__mark { width: 46px; height: 46px; }
  .burger { display: block; grid-column: 3; }
  .header__nav { position: absolute; left: 0; right: 0; top: 100%; width: 100%; flex-direction: column; gap: 0; padding: 10px 16px 20px; background: #fff; box-shadow: 0 20px 30px -20px rgba(92,68,0,.5); clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease); }
  .header.open .header__nav { clip-path: inset(0 0 0 0); }
  .header__nav a { padding: 12px 6px; font-size: 1.1rem; }
  .header__nav a::after { left: 6px; right: auto; width: 40px; }
  .header__nav sup { position: static; margin-left: 6px; }
  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 80px 0; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .tile__face { border-radius: 26px; }
  .tile__front { font-size: .9rem; }
  .hero__stage { height: 380px; }
  .promo { bottom: 40px; }
  .promo__tag { font-size: 1rem; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .phone-stage { height: 480px; transform: scale(.9); }
  .chip3d--b { right: -6px; }
  .story { padding: 26px 22px; height: 360px; }
  .coverflow { height: 400px; }
  .apply__box { padding: 40px 20px; border-radius: 28px; }
  .footer__grid { grid-template-columns: 1fr; }
  .side-actions { right: 12px; bottom: 16px; }
  .side-btn { width: 48px; height: 48px; font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .display .ch, .warn--zh .ch, .hero__brand, .rise { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================
   Richfund 盈富資金 — site additions (multi-page, Traditional Chinese)
   builds on base.css (gold #E4BC36 design system)
   ========================================================== */
body { font-family: "Noto Sans TC", "Nunito", "PingFang HK", "Microsoft JhengHei", system-ui, sans-serif; line-height: 1.8; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 3000; padding: 10px 16px; border-radius: 10px; background: var(--p950); color: #fff; font-weight: 800; transition: top .2s; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--p700); outline-offset: 3px; border-radius: 6px; }
.container.narrow { width: min(1040px, 100% - 32px); }

/* ---- header ---- */
.logo__text { display: block; line-height: 1.05; font-size: 1.55rem; letter-spacing: .01em; }
.logo__text b { display: inline; font-size: inherit; color: var(--p600); }
.logo__text em { display: block; font-style: normal; font-size: .78rem; font-weight: 800; letter-spacing: .28em; color: var(--ink-2); margin-top: 2px; }
.header__nav { align-items: center; flex-wrap: wrap; }
.header__nav .nav__calc { color: var(--ink-2); }
.header__nav a, .nav-dd__btn { font-family: inherit; }
.nav-dd { position: relative; }
.nav-dd__btn { position: relative; padding: 8px 18px; font-size: 1.05rem; color: var(--ink-2); font-weight: 600; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.nav-dd__btn i { width: 8px; height: 8px; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translateY(-2px); transition: transform .35s var(--bounce); }
.nav-dd.open .nav-dd__btn, .nav-dd.is-active .nav-dd__btn { color: var(--p700); }
.nav-dd.open .nav-dd__btn i { transform: rotate(225deg) translateY(-2px); }
.nav-dd__menu { position: absolute; top: calc(100% + 6px); left: 0; width: min(640px, calc(100vw - 40px)); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 14px; background: #fff; border-radius: 22px; box-shadow: 0 30px 70px -20px rgba(92, 68, 0, .5), 0 0 0 1px var(--p100); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transform-origin: top left; transition: opacity .35s var(--ease), transform .5s var(--bounce), visibility .35s; z-index: 20; }
.nav-dd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-dd.open .nav-dd__menu, .nav-dd:focus-within .nav-dd__menu { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.header__nav .nav-dd__menu a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; color: var(--ink); transition: background .25s, transform .3s var(--ease); }
.header__nav .nav-dd__menu a::after { display: none; }

.nav-dd__menu b { font-size: 1rem; } .nav-dd__menu small { color: var(--ink-3); font-size: .8rem; line-height: 1.4; font-weight: 500; }
.nav__apply { padding: 8px 22px !important; border-radius: 999px; background: linear-gradient(180deg, var(--p400), var(--p500)); color: var(--p950) !important; font-weight: 800 !important; box-shadow: 0 4px 0 var(--p700); margin-left: 6px; transition: transform .3s var(--bounce), box-shadow .3s !important; }
.nav__apply::after { display: none; }

.logo__mark span { color: var(--p700); }
.header__contact a { white-space: nowrap; }

/* ---- display text for inner pages ---- */
.display--page { font-size: clamp(1.9rem, 4.4vw, 3.5rem); line-height: 1.18; margin: 14px 0 18px; color: #fff; letter-spacing: .01em; text-shadow: 1px 1px 0 var(--p600), 2px 2px 0 var(--p600), 3px 3px 0 var(--p700), 4px 4px 0 var(--p700), 5px 5px 0 var(--p800), 6px 6px 0 var(--p800), 10px 12px 22px rgba(46, 33, 0, .45); opacity: 0; transform: translateY(30px) rotateX(40deg); transform-origin: 50% 100%; }
.loaded .display--page { animation: pageIn 1s var(--bounce) .15s forwards; }
@keyframes pageIn { to { opacity: 1; transform: none; } }
.hero__brand { font-size: clamp(1.1rem, 2.2vw, 1.7rem); }

/* ---- page hero ---- */
.page-hero { position: relative; overflow: hidden; color: var(--p950); padding: 22px 0 64px; background: radial-gradient(900px 420px at 80% 30%, #fff0b8 0%, transparent 60%), linear-gradient(120deg, var(--p600) 0%, var(--p500) 55%, #f6dd8a 100%); }
.page-hero--slim { padding-bottom: 40px; }
.page-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero__inner { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 30px; align-items: center; }
.page-hero--slim .page-hero__inner { grid-template-columns: 1fr; }
.page-hero__lead { font-size: 1.1rem; max-width: 58ch; font-weight: 500; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; font-weight: 700; margin-bottom: 14px; color: rgba(46, 33, 0, .75); }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .6); font-weight: 800; font-size: .9rem; color: var(--p950); box-shadow: 0 3px 0 rgba(92, 68, 0, .25); }
.chips li::before { content: "✓ "; color: var(--p800); }
.stage3d { position: relative; height: 360px; perspective: 1100px; display: grid; place-items: center; }
.stage3d__card { position: relative; width: min(330px, 86%); padding: 30px 26px; border-radius: 30px; background: linear-gradient(150deg, #fff, #fdf2c6); box-shadow: 0 40px 70px -30px rgba(46, 33, 0, .6), inset 0 0 0 2px rgba(255, 255, 255, .8); transform-style: preserve-3d; animation: stageSpin 9s ease-in-out infinite; }
@keyframes stageSpin { 0%, 100% { transform: rotateY(-18deg) rotateX(8deg) translateY(0); } 50% { transform: rotateY(16deg) rotateX(-4deg) translateY(-14px); } }
.stage3d__icon { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; font-size: 2.2rem; background: linear-gradient(135deg, var(--p400), var(--p600)); box-shadow: 0 8px 0 var(--p800); transform: translateZ(50px); margin-bottom: 18px; }
.stage3d__card ul { list-style: none; display: grid; gap: 10px; transform: translateZ(30px); }
.stage3d__card li { padding: 9px 14px; border-radius: 12px; background: var(--p50); font-weight: 800; font-size: .98rem; box-shadow: inset 0 0 0 1.5px var(--p100); }
.stage3d .coin3d { left: auto; top: auto; }
.stage3d .coin3d--a { right: 4%; top: 6%; width: 86px; height: 86px; }
.stage3d .coin3d--b { left: 2%; bottom: 14%; width: 60px; height: 60px; animation-duration: 5s; animation-direction: reverse; }
.stage3d .coin3d--c { right: 12%; bottom: 4%; width: 44px; height: 44px; animation-duration: 3.4s; }
.stage3d .coin3d i { font-size: 1.6rem; }

/* ---- bands & prose ---- */
.band { position: relative; padding: 76px 0; overflow-x: clip; }
.band.alt { background: var(--p50); }
.band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.3; color: var(--ink); }
.sec-head { margin-bottom: 26px; } .sec-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.sec-head--center p { color: var(--ink-2); margin-top: 10px; }
.prose { max-width: 78ch; color: var(--ink); font-size: 1.04rem; }
.prose p { margin-bottom: 1.05em; } .prose a { color: var(--p700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ticks { list-style: none; display: grid; gap: 8px; margin: 0 0 1.1em; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--p400); color: var(--p950); font-size: .72rem; font-weight: 900; display: grid; place-items: center; }
.subs { display: grid; gap: 34px; }
.sub h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; padding-left: 16px; position: relative; line-height: 1.4; }
.sub h3::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 6px; border-radius: 6px; background: linear-gradient(var(--p400), var(--p700)); }
.sub p, .sub .ticks { color: var(--ink); padding-left: 16px; margin-bottom: .9em; max-width: 78ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; margin: 14px 0 6px; }
.card3d { position: relative; padding: 26px 24px 22px; border-radius: 24px; background: #fff; box-shadow: 0 8px 0 var(--p100), 0 24px 40px -24px rgba(92, 68, 0, .4), inset 0 0 0 1.5px var(--p100); transform-style: preserve-3d; transition: box-shadow .4s var(--ease), opacity .9s var(--ease), transform .9s var(--ease); will-change: transform; }
.card3d.in { transition: box-shadow .4s var(--ease), opacity .9s var(--ease), transform .12s ease-out; }

.card3d::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(228, 188, 54, .22), transparent 45%); opacity: 0; transition: opacity .35s; }

.card3d__n { position: absolute; right: 18px; top: 8px; font-size: 2.6rem; font-weight: 900; font-style: italic; color: var(--p300); line-height: 1; transform: translateZ(20px); }
.card3d h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; padding-right: 54px; line-height: 1.4; transform: translateZ(24px); }
.card3d p { color: var(--ink-2); font-size: .97rem; margin-bottom: .6em; transform: translateZ(12px); }
.card3d .ticks { font-size: .95rem; color: var(--ink-2); }
.timeline { list-style: none; display: grid; gap: 16px; margin: 10px 0; counter-reset: s; }
.step-tl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start; padding: 20px 22px; border-radius: 22px; background: #fff; box-shadow: 0 5px 0 var(--p100), inset 0 0 0 1.5px var(--p100); transition: transform .4s var(--ease), box-shadow .4s, opacity .9s var(--ease); }
.step-tl > .fold__btn { grid-column: 2; margin: 2px 0 0; }

.step-tl__n { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; font-style: italic; color: var(--p950); background: linear-gradient(135deg, var(--p400), var(--p500)); box-shadow: 0 5px 0 var(--p700); }
.step-tl h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 4px; } .step-tl p { color: var(--ink-2); font-size: .97rem; margin-bottom: .5em; font-weight: 400; }
.toc { display: flex; gap: 8px; align-items: center; padding: 16px 0 0; overflow-x: auto; scrollbar-width: none; }
.toc::-webkit-scrollbar { display: none; }
.toc span { flex: none; font-weight: 900; color: var(--p800); margin-right: 4px; }
.toc a { flex: none; padding: 6px 14px; border-radius: 999px; background: var(--p100); color: var(--p950); font-weight: 700; font-size: .85rem; transition: background .25s, transform .3s var(--bounce); }

[id^="sec"] { scroll-margin-top: 130px; }

/* ---- FAQ accordion (headings kept as h3 for SEO) ---- */
.accordion { display: grid; gap: 12px; border: 0; margin-top: 8px; }
.acc { border: 0; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--p100), 0 4px 0 var(--p100); }
.acc[open], .acc.expanded { box-shadow: inset 0 0 0 1.5px var(--p300), 0 4px 0 var(--p300), var(--shadow); }
.acc summary { padding: 18px 20px; }
.acc summary h3 { font-size: 1.04rem; font-weight: 700; line-height: 1.5; flex: 1; }
.acc__inner { overflow: hidden; min-height: 0; padding: 0 22px; color: var(--ink-2); }
.acc.expanded .acc__inner { padding-bottom: 20px; }
.acc__inner p { margin-bottom: .8em; }

/* ---- related + CTA ---- */
.rels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 10px; }
.rel { display: grid; gap: 6px; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 6px 0 var(--p100), inset 0 0 0 1.5px var(--p100); transition: box-shadow .4s, opacity .9s var(--ease), transform .9s var(--ease); transform-style: preserve-3d; align-content: start; }
.rel.in, .rels.in .rel { transition: box-shadow .4s, opacity .9s var(--ease), transform .12s ease-out; }

.rel b { font-size: 1.1rem; font-weight: 700; transform: translateZ(18px); } .rel span { color: var(--ink-2); font-size: .93rem; font-weight: 400; } .rel i { font-style: normal; font-weight: 600; color: var(--p700); margin-top: 4px; }
.cta-band { padding: 10px 0 80px; }
.cta-band__box { position: relative; overflow: hidden; border-radius: 34px; padding: 44px 48px; color: #fff; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; background: radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .16), transparent 40%), linear-gradient(130deg, var(--p950), var(--p800) 60%, var(--p700)); box-shadow: 0 12px 0 #140e00, var(--shadow-lg); isolation: isolate; }
.cta-band__box h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); } .cta-band__box p { opacity: .9; margin-top: 6px; max-width: 46ch; }
.cta-band__box > div:nth-child(2) { flex: 1 1 320px; }
.cta-band__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band__coin { position: relative; width: 78px; height: 78px; flex: none; perspective: 500px; }
.cta-band__coin i { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 2rem; color: #7a5400; background: radial-gradient(circle at 40% 35%, #fff2b0, var(--p500) 55%, #c29a1a); box-shadow: inset 0 0 0 4px #c29a1a, 0 12px 20px rgba(0, 0, 0, .35); animation: coinFlip 3.6s linear infinite; }
@keyframes coinFlip { to { transform: rotateY(360deg); } }
.btn--white { color: var(--p800); }

/* ---- forms ---- */
.apply-wrap { background: #fff; border-radius: 30px; padding: 30px; box-shadow: 0 10px 0 var(--p100), var(--shadow-lg); }
.apply-wrap .apply-form { background: none; padding: 0; box-shadow: none; backdrop-filter: none; }
.apply-wrap .ff input, .apply-wrap .ff select { box-shadow: inset 0 0 0 1.5px var(--p300); }
.apply-wrap .ff input:focus, .apply-wrap .ff select:focus { box-shadow: inset 0 0 0 2px var(--p600), 0 0 0 4px rgba(228, 188, 54, .35); }
.apply-wrap--dark { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); backdrop-filter: blur(10px); color: #fff; }
.apply-wrap--dark .check, .apply-wrap--dark .form-note { color: #fdf2c6; }
.apply-wrap--dark .check a { color: #fff; text-decoration: underline; }
.apply-form { gap: 14px; }
.ff label { font-weight: 600; } .ff input:focus + label, .ff input:not(:placeholder-shown) + label, .ff select:focus + label, .ff select:valid + label { color: var(--p800); }
.ff select { padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--p700) 50%), linear-gradient(135deg, var(--p700) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; line-height: 1.6; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--p600); }
.check a { color: var(--p700); font-weight: 600; }
.form-note { font-size: .78rem; color: var(--ink-3); line-height: 1.6; }
.apply-form .btn .btn__label { white-space: normal; }
.apply-form .btn { white-space: normal; }
.apply-form.invalid { animation: shake .5s; }
.apply-form .err { box-shadow: inset 0 0 0 2px #e5484d !important; }
.apply-form .ff.err input, .apply-form .ff.err select, .apply-form .check.err { box-shadow: inset 0 0 0 2px #e5484d !important; }
.apply-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; align-items: start; }
.apply-side { padding: 28px; border-radius: 26px; background: var(--p50); box-shadow: inset 0 0 0 1.5px var(--p100); }
.apply-side h2 { font-size: 1.3rem; margin-bottom: 14px; font-weight: 700; } .apply-side p { color: var(--ink-2); font-size: .95rem; margin-top: 12px; } .apply-side a { color: var(--p700); font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 10px; }
.contact-grid a { color: var(--p700); font-weight: 800; }
.link-light { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 84ch; } .legal p { line-height: 1.95; color: var(--ink); } .legal-h { font-size: 1.2rem !important; margin: 1.8em 0 .6em; } .legal-li { padding-left: 1.2em; position: relative; } .legal-li::before { content: "•"; position: absolute; left: 0; color: var(--p700); }
.legal-meta { font-size: .85rem; color: var(--ink-3) !important; }
.visit { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.visit h2 { margin-bottom: 8px; } .visit p { color: var(--ink-2); }

/* ---- home specifics ---- */
.hero__title, .display__line { text-wrap: balance; }
.display__line { font-size: clamp(2.8rem, 8vw, 6rem); }
.hero__sub { font-weight: 500; }
.hero .chips { margin: 0 0 8px; }
.promo__amt b { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.tiles--7 { grid-template-columns: repeat(4, 1fr); gap: 26px 22px; margin-top: 34px; }
.tile { aspect-ratio: 1 / .95; }
.tile__front h3 { font-size: 1.02rem; font-weight: 800; line-height: 1.35; }
.tile__emoji { font-size: 2.4rem; line-height: 1; transition: transform .5s var(--bounce); }

.tile__back ul { list-style: none; display: grid; gap: 4px; font-size: .88rem; font-weight: 700; text-align: left; margin-bottom: 4px; }
.tile__back li::before { content: "✓ "; color: var(--p300); }
.tile__back a { color: var(--p950); background: var(--p400); }
.products .container { position: relative; }
.stories .coverflow { height: 460px; }
.story { height: 410px; padding: 30px 38px; grid-template-rows: auto 1fr auto; text-align: left; align-content: start; }
.story h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.4; color: #fff3c4; }
.story p { font-size: .98rem; max-width: none; font-weight: 500; overflow: auto; }
.story__who { display: flex; align-items: center; gap: 12px; justify-self: start; }
.story__av { width: 46px; height: 46px; font-size: 1.2rem; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.story__note { text-align: center; font-size: .82rem; color: var(--ink-3); margin-top: 14px; }
.calc__note { font-size: .78rem; color: var(--ink-3); margin-top: 12px; line-height: 1.6; }
.section h2 { font-weight: 900; }
.footer__grid { grid-template-columns: 1fr 1fr 1fr 1.3fr; }
.footer h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; font-weight: 800; }
.footer address { font-style: normal; margin: 8px 0; } .footer .hours { font-size: .85rem; opacity: .85; margin-top: 8px; }
.footer__co { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15); align-items: baseline; }
.footer__co small { margin-left: auto; opacity: .8; }
.footer__grid p a { color: #fff; font-weight: 700; }
.warn--zh .ch { color: #fff; }
.scroll-progress { z-index: 1100; }

.fold { max-height: 7.4rem; overflow: hidden; -webkit-mask-image: linear-gradient(#000 58%, transparent); mask-image: linear-gradient(#000 58%, transparent); }
.fold.is-open { max-height: none; -webkit-mask-image: none; mask-image: none; }
.fold__btn { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 4px; padding: 0; border: 0; background: none; color: var(--p800); font: inherit; font-weight: 800; cursor: pointer; }
.fold__btn::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.fold.is-open + .fold__btn::after { transform: rotate(225deg) translateY(-1px); }
@media print { .fold { max-height: none; -webkit-mask-image: none; mask-image: none; } .fold__btn { display: none; } }


/* ---- responsive ---- */
@media (max-width: 1080px) {
  .apply-layout { grid-template-columns: 1fr; }
  .stage3d { height: 300px; }
  .tiles--7 { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .header__nav { align-items: stretch; flex-direction: column; max-height: calc(100vh - 120px); overflow-y: auto; }
  .nav-dd__btn { width: 100%; justify-content: space-between; padding: 12px 6px; font-size: 1.1rem; }
  .nav-dd__menu { position: static; width: 100%; box-shadow: none; padding: 0 0 8px 12px; grid-template-columns: 1fr; opacity: 1; visibility: visible; pointer-events: auto; transform: none; display: none; }
  .nav-dd__menu::before { content: none; }
  .nav-dd.open .nav-dd__menu { display: grid; transform: none; }
  .nav-dd:hover .nav-dd__menu { transform: none; }
  .nav__apply { text-align: center; margin: 8px 0 0; }
  .logo__text { font-size: 1.3rem; }
}
@media (max-width: 560px) {
  .band { padding: 56px 0; }
  .tiles--7 { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .tile { aspect-ratio: 1 / 1.05; } .tile__back ul { font-size: .78rem; } .tile__front h3 { font-size: .92rem; }
  .cta-band__box { padding: 30px 22px; border-radius: 26px; } .cta-band__btns .btn { flex: 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .apply-wrap { padding: 22px 18px; border-radius: 24px; }
  .story { padding: 24px 20px; height: 440px; } .stories .coverflow { height: 490px; }
  .display__line { font-size: clamp(2.4rem, 13vw, 3.6rem); }
  .page-hero { padding-bottom: 44px; } .stage3d { height: 250px; } .stage3d__card { padding: 20px 18px; }
  .stage3d__icon { width: 56px; height: 56px; font-size: 1.7rem; margin-bottom: 10px; } .stage3d__card li { padding: 6px 10px; font-size: .88rem; }
  .page-hero__cta .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .display--page { opacity: 1 !important; transform: none !important; }
  .stage3d__card, .cta-band__coin i { animation: none !important; }
}

/* ---- fixes ---- */
.kicker-p { font-weight: 600; font-style: normal; color: var(--p700); font-size: 1.05rem; margin-bottom: 6px; letter-spacing: .02em; }
.display--page, .band h2, .story h3 { text-wrap: balance; }
.tile__cta { height: 100%; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; border-radius: 34px; color: var(--p950); background: linear-gradient(150deg, var(--p400), var(--p500)); box-shadow: 0 9px 0 var(--p800), 0 24px 30px -16px rgba(92, 68, 0, .55); transition: transform .4s var(--bounce), box-shadow .4s; }
.tile__cta span { font-size: 2.4rem; line-height: 1; } .tile__cta b { font-size: 1.25rem; font-weight: 900; } .tile__cta small { font-weight: 700; opacity: .85; }

/* coins: both faces show the $ sign */
.coin3d::before { content: "$"; display: grid; place-items: center; font-weight: 900; font-size: 1.8rem; color: #a06c00; background: radial-gradient(circle at 40% 35%, #ffe79a, var(--p500) 55%, #c29a1a); box-shadow: inset 0 0 0 4px #c98a00; transform: translateZ(-5px) rotateY(180deg); }
.coin3d--b::before, .coin3d--2::before { font-size: 1.3rem; } .coin3d--c::before, .coin3d--3::before { font-size: 1rem; }
.coin3d i { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.coin3d::before, .coin3d::after { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
@media (max-width: 560px) { .hero__brand { font-size: 1rem; text-shadow: 2px 2px 0 var(--p600); } }
.toast:not(.show) { visibility: hidden; } .toast { transition: transform .6s var(--bounce), visibility 0s linear .6s; } .toast.show { visibility: visible; transition-delay: 0s; }
.group-h { font-size: 1.05rem; font-weight: 800; line-height: 1.45; margin: 16px 0 8px; padding: 10px 14px; border-left: 5px solid var(--p500); border-radius: 0 14px 14px 0; background: linear-gradient(90deg, var(--p100), rgba(251, 243, 214, 0)); color: var(--p950); }
.group-h + .group-h { margin-top: 8px; }
.group-p { margin: 8px 0 16px; padding-left: 16px; color: var(--ink); line-height: 1.75; }
.cmp { overflow-x: auto; margin: 8px 0 18px; }
.cmp table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .92rem; }
.cmp th, .cmp td { border-bottom: 1px solid var(--p100); padding: 10px 8px; text-align: left; vertical-align: top; }
.cmp thead th { background: var(--p100); }
@media (max-width: 560px) { .stage3d .coin3d--b { display: none; } .stage3d .coin3d--a { width: 60px; height: 60px; } }

/* ===== readability pass ===== */
/* tagline: a clean pill instead of blurry italic */
.hero__brand { display: inline-block; padding: 7px 18px; border-radius: 999px; background: rgba(46, 33, 0, .9); color: #fdf2c6; font-style: normal; font-weight: 800; font-size: .9rem; letter-spacing: .08em; text-shadow: none; box-shadow: 0 4px 0 rgba(46, 33, 0, .25); line-height: 1.5; }
.page-hero .hero__brand { font-size: .85rem; }
/* intro copy: short lines, bold key numbers */
.hero__sub { font-size: clamp(1.06rem, 1.7vw, 1.3rem); line-height: 1.85; font-weight: 600; color: var(--p950); max-width: 30em; }
.hero__sub strong { font-weight: 900; color: #fff; text-shadow: 1px 1px 0 var(--p800), 2px 2px 0 var(--p800); font-size: 1.12em; white-space: nowrap; }
.hero__lic { margin-top: 18px; font-size: .9rem; font-weight: 800; color: var(--p950); opacity: .9; }
/* chips: tidy equal grid, upright text */
.hero .chips { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px; margin: 18px 0 4px; }
.chips li { font-style: normal; text-align: center; white-space: nowrap; font-size: .88rem; }
.page-hero .chips { display: flex; }
.hero__cta { margin: 26px 0 0; }
/* mobile header: call button */
.header__tools { display: none; align-items: center; gap: 6px; justify-self: end; }
.header__call { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--p400), var(--p500)); box-shadow: 0 3px 0 var(--p700); }
.header__call svg { width: 20px; height: 20px; fill: var(--p950); }
@media (max-width: 860px) {
  .header__tools { display: flex; grid-column: 3; }
  .header__tools .burger { display: block; }
  .side-btn:not(.side-btn--wa):not(.side-btn--top) { display: none; }
}
@media (max-width: 560px) {
  /* headline: lighter 3D so the strokes stay crisp on small screens */
  .display .ch { text-shadow: 1px 1px 0 var(--p700), 2px 2px 0 var(--p800), 3px 3px 0 var(--p800), 6px 8px 10px rgba(46, 33, 0, .32); }
  .display--page { text-shadow: 1px 1px 0 var(--p700), 2px 2px 0 var(--p800), 3px 3px 0 var(--p800), 6px 8px 12px rgba(46, 33, 0, .32); font-size: clamp(1.7rem, 7.4vw, 2.2rem); }
  .display__line { font-size: clamp(2.6rem, 14vw, 3.6rem); }
  .display__line--2 { margin-left: 0; }
  .hero__brand { font-size: .8rem; padding: 6px 14px; letter-spacing: .04em; }
  .hero__sub { font-size: 1.04rem; line-height: 1.8; }
  .hero .chips { grid-template-columns: 1fr 1fr; gap: 8px; }
  .chips li { font-size: .8rem; padding: 7px 8px; box-shadow: 0 2px 0 rgba(92, 68, 0, .22); white-space: normal; line-height: 1.35; }
  .page-hero .chips li { text-align: left; }
  .hero__cta { gap: 12px; }
  .side-btn { width: 44px; height: 44px; font-size: 1.1rem; }
  .side-actions { bottom: 14px; right: 10px; }
  .hero__lic { font-size: .82rem; }
}

/* ===== readability pass 2 ===== */
.hero__sub strong { color: var(--p950); text-shadow: none; background: linear-gradient(transparent 60%, rgba(255, 255, 255, .8) 60%); padding: 0 2px; font-size: 1.05em; }
/* two-line page titles: strong keyword line + calm sub line */
.display--page { text-shadow: none; color: var(--p950); font-style: normal; transform: translateY(18px); }
.loaded .display--page { animation: pageIn .9s var(--ease) .1s forwards; }
.display--page .h1-main { display: block; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.15; color: #fff; font-style: italic; text-shadow: 1px 1px 0 var(--p700), 2px 2px 0 var(--p800), 3px 3px 0 var(--p800), 8px 10px 16px rgba(46, 33, 0, .35); text-wrap: balance; }
.display--page .h1-sep { display: none; }
.display--page .h1-sub { display: block; margin-top: 10px; font-size: clamp(1.05rem, 2vw, 1.5rem); font-weight: 800; line-height: 1.5; color: var(--p950); letter-spacing: .02em; text-wrap: balance; }
.page-hero--slim .display--page, .display--page:not(:has(.h1-main)) { color: #fff; text-shadow: 1px 1px 0 var(--p700), 2px 2px 0 var(--p800), 3px 3px 0 var(--p800), 8px 10px 16px rgba(46, 33, 0, .35); font-style: italic; font-weight: 900; }
/* notice bar: seamless marquee, visible text from the first frame */
.notice__track--loop { padding-left: 0; gap: 0; animation: noticeLoop 48s linear infinite; }
.notice__track--loop span { padding-right: 90px; }
@keyframes noticeLoop { to { transform: translateX(-50%); } }
@media (max-width: 560px) {
  .display--page .h1-main { font-size: clamp(1.9rem, 9vw, 2.5rem); }
  .display--page .h1-sub { font-size: 1.02rem; }
  .stage3d { height: auto; padding: 8px 0 0; }
  .stage3d__card ul { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stage3d__card li { font-size: .8rem; padding: 8px 10px; line-height: 1.35; }
  .stage3d__card { width: 100%; transform: none; animation: none; }
  .stage3d .coin3d--c { display: none; }
}

/* ===== simple hero ===== */
.usp { background: #fff; border-bottom: 1px solid var(--p100); }
.usp .container { display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; padding: 18px 0; }
.usp__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; font-size: .95rem; color: var(--p950); }
.usp__list li { display: flex; align-items: center; gap: 8px; }
.usp__list li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 900; background: var(--p500); color: var(--p950); }
.usp__lic { font-size: .85rem; font-weight: 400; color: var(--ink-2); }
@media (max-width: 860px) {
  .hero { min-height: 0; padding: 22px 0 34px; }
  .hero__inner { display: block; position: relative; }
  .hero__copy { position: relative; z-index: 2; }
  .hero .display { max-width: 44%; margin: 14px 0 12px; }
  .display__line { font-size: clamp(1.85rem, 8.4vw, 3.4rem); line-height: 1.12; }
  .display__line--2 { margin-left: 0; }
  .hero__sub { max-width: 42%; font-size: .98rem; line-height: 1.75; }
  .hero__sub br { display: none; }
  .hero__stage { position: absolute; right: 0; top: 8px; width: 48%; height: clamp(260px, 72vw, 420px); min-height: 0; z-index: 1; }
  #mascot3d { inset: 0; width: 100%; height: 100%; }
  .promo, .hero__hint, .hero__tnc { display: none; }
  .hero__cta { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; margin-top: 22px; flex-direction: row; }
  .hero__cta .btn { width: auto; padding: 14px 8px; font-size: 1rem; }
  .usp .container { padding: 16px 0; }
  .usp__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; font-size: .86rem; width: 100%; }
  .usp__lic { width: 100%; text-align: center; font-size: .8rem; }
}
@media (max-width: 860px) {
  .hero .hero__stage { position: absolute; right: -20px; top: auto; bottom: -34px; width: 66%; height: calc(100% + 34px); min-height: 0; z-index: 1; }
  .hero .hero__advisor { top: auto; bottom: 0; height: 100%; object-fit: contain; object-position: right bottom; }
  .hero__cta { position: relative; z-index: 3; }
  .hero__cta .btn--ghost-white { background: rgba(255, 255, 255, .35); backdrop-filter: blur(4px); }
  .stats { padding: 40px 0; }
  .stat b { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .stat > span { font-size: .85rem; display: block; line-height: 1.4; }
}
@media (max-width: 380px) { .usp__list { font-size: .78rem; gap: 10px 8px; } .usp__list li { gap: 6px; } .usp__list li::before { width: 18px; height: 18px; } }

/* ===== inner pages: same simple hero as home ===== */
.page-hero { padding: 26px 0 34px; }
.page-hero__inner { grid-template-columns: 1.05fr 1fr; align-items: end; }
.page-hero .page-hero__lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); font-weight: 400; line-height: 1.8; color: var(--p950); max-width: 34em; margin-top: 4px; }
.page-hero .hero__stage { height: min(520px, 62vh); min-height: 380px; align-self: end; }
.page-hero .display--page { margin: 14px 0 10px; }
@media (max-width: 860px) {
  .page-hero { padding: 18px 0 34px; }
  .page-hero__inner { display: block; position: relative; }
  .page-hero__copy { position: relative; z-index: 2; }
  .page-hero:not(.page-hero--slim) .crumbs { max-width: 52%; }
  .page-hero:not(.page-hero--slim) .display--page { max-width: none; }
  .page-hero:not(.page-hero--slim) .display--page .h1-main { white-space: nowrap; font-size: clamp(1.45rem, 6.2vw, 2.2rem); letter-spacing: 0; }
  .page-hero:not(.page-hero--slim) .display--page .h1-sub { max-width: 46%; font-size: clamp(.92rem, 3.6vw, 1.2rem); }
  .page-hero:not(.page-hero--slim) .page-hero__lead { max-width: 42%; font-size: .95rem; line-height: 1.7; }
  .page-hero .hero__stage { position: absolute; right: -20px; top: auto; bottom: -34px; width: 66%; height: calc(100% + 34px); min-height: 0; z-index: 1; }
  .page-hero .hero__advisor { top: auto; bottom: 0; height: 100%; object-fit: contain; object-position: right bottom; }
  .page-hero__cta { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; margin-top: 20px; position: relative; z-index: 3; }
  .page-hero__cta .btn { width: auto; padding: 14px 8px; font-size: 1rem; flex: none; }
  .page-hero__cta .btn--ghost-white { background: rgba(255, 255, 255, .35); backdrop-filter: blur(4px); }
  .crumbs { font-size: .8rem; margin-bottom: 10px; }
}
@media (max-width: 640px) {
  .footer { padding: 36px 0 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__co { flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 26px; padding-top: 16px; }
  .footer__co small { margin-left: 0; }
  .footer__warning { margin-top: 22px; padding-top: 16px; }
  .warn--zh .word { white-space: normal; }
  .warn--zh .ch { font-size: clamp(1.05rem, 4.8vw, 1.35rem); }
  .warn--en { font-size: .88rem; line-height: 1.65; }
  .footer address, .footer__grid p { overflow-wrap: anywhere; }
}
.wa-ask { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 20px; background: rgba(20, 14, 0, .55); }
.wa-ask__card { width: min(420px, 100%); padding: 26px 22px 20px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); }
.wa-ask__card b { display: block; font-size: 1.25rem; margin-bottom: 8px; }
.wa-ask__card p { color: var(--ink-2); line-height: 1.7; }
.wa-ask__row { display: flex; gap: 10px; margin-top: 18px; }
.wa-ask__row .btn { flex: 1; }
.wa-ask__no { background: var(--p100); color: var(--p950); }
@media (min-width: 641px) {
  .apply-form { grid-template-columns: 1fr 1fr; align-items: start; }
  .apply-form > :not(.ff) { grid-column: 1 / -1; }
}
.ff:has(input[name="amount"]) input { padding-left: 62px; }
.ff:has(input[name="amount"]) label { left: 62px; }
.ff:has(input[name="amount"])::before { content: "HK$"; position: absolute; left: 16px; top: 20px; z-index: 1; font-weight: 800; color: var(--p800); pointer-events: none; }
.ff input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
.ff input[type="number"]::-webkit-outer-spin-button,
.ff input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.check { padding: 12px 12px; border-radius: 14px; background: var(--p50); box-shadow: inset 0 0 0 1.5px var(--p100); transition: box-shadow .25s, background .25s; }
.check:has(input:checked) { background: #fff8df; box-shadow: inset 0 0 0 2px var(--p600); }
.check:has(input:focus-visible) { box-shadow: inset 0 0 0 2px var(--p800); }
.apply-wrap--dark .check { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); }
.apply-wrap--dark .check:has(input:checked) { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 2px #fff; }
.apply-form .btn:disabled { opacity: .72; cursor: progress; }
.apply-form .btn { min-height: 56px; }
.apply-layout { background: #fff; border-radius: 30px; padding: 34px 36px; box-shadow: 0 10px 0 var(--p100), var(--shadow-lg); align-items: stretch; }
.apply-layout .apply-wrap, .apply-layout .apply-side { background: none; box-shadow: none; border-radius: 0; padding: 0; height: 100%; }
.apply-layout .apply-form { width: 100%; }
.apply-layout .apply-side { padding-left: 28px; border-left: 1px solid var(--p100); }
.apply-wrap .ff input, .apply-wrap .ff select { background: transparent; border-radius: 0; box-shadow: none; border-bottom: 1.5px solid var(--p300); }
.apply-wrap .ff input:focus, .apply-wrap .ff select:focus { transform: none; border-bottom-color: var(--p800); box-shadow: none; }
.apply-form .ff.err input, .apply-form .ff.err select { border-bottom: 2px solid #e5484d; box-shadow: none !important; }
.check, .check:has(input:checked), .check:has(input:focus-visible),
.apply-wrap--dark .check, .apply-wrap--dark .check:has(input:checked) { padding: 0; background: none; box-shadow: none; border-radius: 0; }
.apply-wrap--dark { background: none; box-shadow: none; backdrop-filter: none; padding: 0; width: 100%; }
.apply-wrap--dark .ff input, .apply-wrap--dark .ff select { color: #fff; border-bottom-color: rgba(255,255,255,.5); }
.apply-wrap--dark .ff label, .apply-wrap--dark .ff:has(input[name="amount"])::before { color: #fff6d2; }
.apply-wrap--dark .ff input:focus + label, .apply-wrap--dark .ff input:not(:placeholder-shown) + label, .apply-wrap--dark .ff select:focus + label, .apply-wrap--dark .ff select:valid + label { color: #fff; }
@media (max-width: 1080px) {
  .apply-layout { padding: 22px 18px; }
  .apply-layout .apply-side { padding-left: 0; padding-top: 18px; margin-top: 6px; border-left: 0; border-top: 1px solid var(--p100); }
}
body { line-height: 1.75; }
.hero { min-height: 0; padding: 28px 0 20px; }
.sec-head { margin-bottom: 20px; }
.prose { font-size: 1.02rem; }
.prose p { margin-bottom: .9em; }
.subs { gap: 24px; }
.cards { gap: 18px; margin: 12px 0 8px; }
.card3d { padding: 22px 22px 20px; }
.timeline { gap: 16px; }
.step-tl { padding: 20px 22px; }
.step-tl p, .card3d p, .sub p { font-size: 1rem; line-height: 1.75; margin-bottom: .65em; }
.ticks { gap: 12px; }
.stats { padding: 48px 0; }
.footer { padding: 52px 0 32px; }
.footer__co { margin-top: 28px; }
.footer__warning { margin-top: 32px; padding-top: 20px; }
.apply { padding: 16px 0 56px; }
.apply__box { padding: 40px 36px; gap: 32px; }
.coverflow { height: 340px; margin-top: 28px; }
.story { height: 300px; padding: 28px 32px; }
.acc summary { padding: 16px 18px; font-size: 1.05rem; }
.products__inner, .ai__grid, .calc { gap: 40px; }
.panel--center { margin-top: 32px; }
.disclaimer { margin-top: 28px; }
.fold { max-height: 4.6rem; }
.sub__body.fold, .prose.fold { max-height: 4.6rem; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.fold.is-open, .sub__body.fold.is-open, .prose.fold.is-open { max-height: none; -webkit-mask-image: none; mask-image: none; overflow: visible; }
.fold__btn { margin: 4px 0 2px; }
.sub > .fold__btn { margin-left: 16px; }
.subs { gap: 18px; }
.sub h3 { margin-bottom: 6px; }
.apply-form { gap: 16px; }
.check { line-height: 1.75; }
@media (min-width: 861px) {
  .hero__stage { height: 440px; min-height: 0; }
  .page-hero .hero__stage { height: 400px; min-height: 0; }
  .section { padding: 72px 0; }
  .band { padding: 56px 0; }
}
@media (max-width: 860px) {
  .section { padding: 48px 0; }
  .band { padding: 40px 0; }
  .container, .container.narrow { width: min(1200px, 100% - 40px); }
  .card3d, .step-tl { padding: 18px 16px; }
}
.form-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 16px; }
.apply-form--old .ff--top { display: grid; gap: 6px; align-content: start; }
.apply-form--old .ff--top > label, .apply-form--old .ff__label { position: static; font-size: .92rem; font-weight: 600; color: var(--ink); }
.apply-form--old .ff--top input, .apply-form--old .ff--top select {
  background: #f6e7b8;
  border: 1.5px solid #b8922a;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
  padding: 14px 14px;
  color: var(--p950);
}
.apply-form--old .ff--top input::placeholder { color: #8a7040; }
.apply-form--old .ff--top input:focus, .apply-form--old .ff--top select:focus {
  background: #fbeec4;
  border-color: var(--p800);
  box-shadow: 0 0 0 4px rgba(228, 188, 54, .35);
  transform: none;
}
.apply-form--old select {
  appearance: none;
  cursor: pointer;
  background-color: #f6e7b8;
  background-image: linear-gradient(45deg, transparent 50%, var(--p800) 50%), linear-gradient(135deg, var(--p800) 50%, transparent 50%);
  background-position: calc(100% - 22px) 55%, calc(100% - 15px) 55%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
  padding-right: 42px;
  font-weight: 700;
}
.apply-form--old .loan-select:invalid { color: #8a7040; font-weight: 600; }
.apply-form--old select option { color: var(--p950); background: #fbeec4; font-weight: 700; }
.apply-wrap--dark .apply-form--old .ff--top input,
.apply-wrap--dark .apply-form--old .ff--top select,
.apply-wrap--dark .apply-form--old select {
  background-color: rgba(255, 244, 210, .14);
  color: #fff;
  border-color: rgba(255, 232, 170, .55);
  box-shadow: none;
}
.apply-wrap--dark .apply-form--old select {
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 22px) 55%, calc(100% - 15px) 55%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}
.apply-wrap--dark .apply-form--old input::placeholder,
.apply-wrap--dark .apply-form--old .loan-select:invalid { color: rgba(255, 244, 210, .72); }
.apply-wrap--dark .apply-form--old .ff--top input:focus,
.apply-wrap--dark .apply-form--old .ff--top select:focus {
  background-color: rgba(255, 244, 210, .22);
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 244, 210, .2);
}
.apply-form--old .ff:has(input[name="amount"])::before { content: none; }
.apply-form--old .ff:has(input[name="amount"]) input { padding-left: 14px; }
.apply-form--old .ff.err input, .apply-form--old .ff.err select { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, .18) !important; }
.choices { display: grid; gap: 8px; }
.choices label { position: static; display: flex; align-items: center; gap: 8px; padding: 12px 12px; border: 1.5px solid var(--p800); border-radius: 12px; background: #fff; box-shadow: 0 3px 0 var(--p200); font-weight: 700; color: var(--ink); cursor: pointer; }
.choices input { width: 18px; height: 18px; accent-color: var(--p700); flex: none; }
.choices label:has(input:checked) { background: #fff6d4; border-color: var(--p700); box-shadow: 0 3px 0 var(--p500); }
.apply-form--old .ff.err .choices label { border-color: #e5484d; }
.apply-wrap--dark .apply-form--old .ff--top > label,
.apply-wrap--dark .apply-form--old .ff__label { color: #fff6d2; }
.apply-form--old input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 40px #f6e7b8 inset;
  -webkit-text-fill-color: var(--p950);
}
.apply-layout { grid-template-columns: 1fr; }
.apply-layout .apply-side { order: -1; padding: 0 0 12px; margin: 0 0 16px; border: 0; border-bottom: 1px solid var(--p100); }
.apply-side h2 { font-size: 1rem; margin-bottom: 8px; }
.apply-side .ticks { display: grid; gap: 8px; margin: 0; }
.apply-side p { margin-top: 8px; font-size: .88rem; }
@media (max-width: 1080px) {
  .apply-layout .apply-side { padding: 0 0 12px; margin: 0 0 14px; border-left: 0; border-top: 0; border-bottom: 1px solid var(--p100); }
}
.card-more { display: inline-flex; align-items: center; margin-top: 14px; padding: 8px 16px; border-radius: 999px; background: var(--p500); color: var(--p950); font-weight: 800; font-size: .9rem; box-shadow: 0 4px 0 var(--p700); }

.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.sheet-open { overflow: hidden; }
.sheet { position: fixed; inset: 0; z-index: 3000; }
.sheet__back { position: absolute; inset: 0; background: rgba(46, 33, 0, .45); }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: min(78vh, 640px); display: flex; flex-direction: column; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -12px 40px rgba(46, 33, 0, .28); outline: none; }
.sheet__panel header { display: flex; align-items: center; gap: 12px; padding: 16px 18px 10px; border-bottom: 1px solid var(--p100); }
.sheet__panel header b { font-size: 1.05rem; line-height: 1.4; }
.sheet__panel header button { margin-left: auto; border: 0; background: var(--p100); color: var(--p950); font: inherit; font-weight: 800; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.sheet__body { overflow: auto; padding: 16px 18px 28px; line-height: 1.75; }
.sheet__body p { margin-bottom: .8em; }
.timeline--acc .step-tl { cursor: pointer; }
.timeline--acc .step-tl__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.timeline--acc .step-tl__inner { overflow: hidden; min-height: 0; }
.timeline--acc .step-tl.is-open .step-tl__body { grid-template-rows: 1fr; }
.timeline--acc .step-tl h3 { padding-right: 22px; }
.timeline--acc .step-tl h3::after { content: ""; position: absolute; right: 0; top: .45em; width: 8px; height: 8px; border: solid var(--p700); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.timeline--acc .step-tl h3 { position: relative; }
.timeline--acc .step-tl.is-open h3::after { transform: rotate(225deg); top: .7em; }
.faq-tools { display: grid; gap: 10px; margin-bottom: 14px; }
.faq-search { width: 100%; border: 1.5px solid var(--p300); background: #fff; border-radius: 12px; padding: 12px 14px; font: inherit; }
.faq-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-chips button { border: 0; background: var(--p100); color: var(--p950); font: inherit; font-weight: 800; font-size: .86rem; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.faq-chips button.is-on { background: var(--p500); }
.cmp-cards { display: none; }
@media (max-width: 760px) {
  .cmp table { display: none; }
  .cmp-cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .cmp-cards article { flex: 0 0 86%; scroll-snap-align: center; background: #fff; border-radius: 18px; padding: 16px; box-shadow: inset 0 0 0 1.5px var(--p100); }
  .cmp-cards h3 { font-size: 1.05rem; margin-bottom: 8px; }
  .cmp-cards dt { font-weight: 800; margin-top: 8px; }
  .cmp-cards dd { color: var(--ink-2); }
}
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.legal-toc a { padding: 6px 12px; border-radius: 999px; background: var(--p100); color: var(--p950); font-weight: 800; font-size: .86rem; }
@media (max-width: 860px) {
  .header__nav.container {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100% !important;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 6px 16px 22px;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    overflow-anchor: none;
    max-height: calc(100dvh - 120px);
    z-index: 40;
  }
  .header.open .header__nav { clip-path: inset(0 0 0 0); }
  .nav-dd { width: 100%; min-width: 0; }
  .nav-dd__menu {
    position: static !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0;
    display: none;
    grid-template-columns: 1fr !important;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 4px 4px;
    transform: none !important;
    opacity: 1;
    visibility: visible;
  }
  .nav-dd:hover .nav-dd__menu { display: none; }
  .nav-dd.open .nav-dd__menu,
  .nav-dd.open:hover .nav-dd__menu { display: grid !important; }
  .header__nav .nav-dd__menu b { display: block; color: var(--ink); font-weight: 800; font-size: 1rem; }
  .header__nav .nav-dd__menu small { display: block; overflow: visible; -webkit-line-clamp: unset; color: var(--ink-3); }
}
.rels { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 8px; padding-bottom: 6px; }
.rel { flex: 0 0 78%; scroll-snap-align: start; padding: 14px 16px; gap: 4px; }
.rel span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 800px) {
  .rels { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .rel { flex: none; }
}
.ticks { display: grid; gap: 10px; margin-bottom: .75em; }
.ticks li { max-width: 100%; line-height: 1.65; font-weight: 400; word-break: normal; overflow-wrap: anywhere; }
.card3d .ticks { margin-bottom: 0; }

/* ===== UI polish: ticker clip, toc overflow, mobile hero wrap, FAB overlap ===== */
.notice {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent);
  mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent);
}
.notice__track--loop span { padding-left: 20px; padding-right: 90px; }
@keyframes noticeLoop {
  0%, 8% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .notice { white-space: normal; text-align: center; padding: 8px 16px; -webkit-mask-image: none; mask-image: none; }
  .notice__track, .notice__track--loop { display: block; animation: none !important; padding-left: 0; }
  .notice__track span[aria-hidden], .notice__track--loop span[aria-hidden] { display: none; }
  .notice__track--loop span { padding: 0; }
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 8px;
  align-items: center;
  padding: 16px 0 8px;
  overflow: visible;
}

.hero__phrase, .hero__break { white-space: nowrap; }

@media (max-width: 860px) {
  .hero__sub { max-width: 54%; font-size: .9rem; line-height: 1.55; }
  .hero__sub br { display: none; }
  .hero__phrase, .hero__break { display: block; }
  .stats { padding: 48px 0 80px; }
}

/* ===== UI simplify v=ui2: tighter rhythm, calmer bands, clearer type ===== */

/* Calmer alternating backgrounds — same gold family, less stripey */
.band.alt { background: #faf6ea; }

/* Tighter vertical padding on content sections */
.band { padding: 44px 0; }
.cta-band { padding: 8px 0 44px; }
.cta-band__box { padding: 28px 32px; border-radius: 26px; }
.section { padding: 56px 0; }

/* Stacked bands share space instead of doubling gaps */
.toc + .band,
.usp + .band,
.band + .band { padding-top: 24px; }
.band:not(.alt) + .band.alt,
.band.alt + .band:not(.alt) { padding-top: 36px; }
.band + .cta-band { padding-top: 8px; }
.band.alt + .band.alt {
  box-shadow: inset 0 1px 0 rgba(46, 33, 0, .06);
  padding-top: 28px;
}

@media (min-width: 861px) {
  .section { padding: 56px 0; }
  .band { padding: 44px 0; }
}
@media (max-width: 860px) {
  .section { padding: 32px 0; }
  .band { padding: 32px 0; }
  .cta-band { padding: 4px 0 32px; }
  .cta-band__box { padding: 22px 18px; border-radius: 22px; }
  .toc + .band,
  .usp + .band,
  .band + .band { padding-top: 18px; }
  .band:not(.alt) + .band.alt,
  .band.alt + .band:not(.alt) { padding-top: 26px; }
  .usp .container { padding: 12px 0; }
  /* Keep prior FAB clearance on home stats */
  .stats { padding: 48px 0 80px; }
}

/* Clearer typographic hierarchy */
.band h2,
.section h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.sec-head { margin-bottom: 14px; }
.kicker-p {
  font-size: .92rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.prose { font-size: 1.02rem; line-height: 1.8; }
.prose p { margin-bottom: .75em; }
.group-h { margin: 12px 0 6px; padding: 8px 12px; }

/* Cards and timelines slightly denser */
.cards { gap: 14px; margin: 10px 0 4px; }
.card3d { padding: 18px 18px 16px; border-radius: 18px; }
.card3d__n { font-size: 2.1rem; }
.subs { gap: 16px; }
.timeline { gap: 14px; }
.step-tl { padding: 16px 18px; }

/* USP bar and TOC sit closer to content */
.usp .container { padding: 12px 0; }
.usp__list { font-size: .9rem; gap: 6px 18px; }
.toc { padding: 12px 0 4px; }

/* Legal pages: typography and spacing only — wording untouched */
.legal.prose,
article.legal {
  font-size: .98rem;
  line-height: 1.9;
  max-width: 72ch;
}
.legal-h,
.legal h2.legal-h {
  font-size: 1.15rem !important;
  margin: 1.45em 0 .5em;
  line-height: 1.4;
  letter-spacing: 0;
}
.legal-meta { margin-bottom: 1.2em; }
.legal p { margin-bottom: .95em; }
.page-hero--slim { padding: 22px 0 28px; }
.page-hero--slim + .band { padding-top: 32px; padding-bottom: 48px; }

/* Visit / office compact */
.visit { gap: 16px; }

/* Apply pages: less empty band around the form */
.band:has(.apply-layout),
.band:has(.apply-wrap) {
  padding-top: 28px;
  padding-bottom: 40px;
}

/* Homepage primary sections keep a little more air than inner bands */
.section.products,
.section.ai,
.section.calc-sec,
.section.stories { padding: 56px 0; }

/* ===== UI polish v=ui3: calmer body type + accessible form errors ===== */
.prose,
.prose p,
.ticks li,
.sub p,
.card3d p,
.acc__inner,
.legal.prose,
article.legal {
  font-weight: 400;
  word-break: normal;
  overflow-wrap: anywhere;
  line-height: 1.8;
}
.prose a,
.check a,
.apply-side a,
.contact-grid a {
  font-weight: 600;
}
.usp__list {
  font-weight: 600;
}
.usp__lic {
  font-weight: 400;
}
.band h2,
.section h2,
.sub h3,
.card3d h3,
.step-tl h3,
.acc summary h3 {
  font-weight: 700;
}
.kicker-p {
  font-weight: 600;
  font-style: normal;
}
.rel span,
.hero__sub,
.page-hero__lead {
  font-weight: 400;
}
.legal-toc a {
  font-weight: 600;
}

/* Form validation: summary + inline errors (not success toast) */
.form-errors {
  display: grid;
  gap: 6px;
  margin: 0 0 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid #e5484d;
  background: #fff1f0;
  color: #8c1d18;
  outline: none;
}
.form-errors[hidden] { display: none !important; }
.form-errors__title {
  margin: 0;
  font-size: .95rem;
  font-weight: 700;
  color: #8c1d18;
}
.form-errors ul {
  margin: 0;
  padding-left: 1.15em;
  display: grid;
  gap: 2px;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.5;
}
.ff__error,
.field-error {
  margin: 4px 0 0;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.45;
  color: #c81e1e;
}
.ff__error[hidden],
.field-error[hidden] { display: none !important; }
.apply-form .ff.err input,
.apply-form .ff.err select,
.apply-form--old .ff.err input,
.apply-form--old .ff.err select {
  border-color: #e5484d !important;
  background: #fff6f5 !important;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, .16) !important;
}
.apply-form .check.err {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff1f0;
  box-shadow: inset 0 0 0 1.5px #e5484d !important;
}
.apply-wrap--dark .form-errors {
  background: rgba(255, 80, 80, .18);
  border-color: #ffb4b0;
  color: #ffe8e6;
}
.apply-wrap--dark .form-errors__title { color: #fff; }
.apply-wrap--dark .ff__error,
.apply-wrap--dark .field-error { color: #ffd0cc; }
.apply-wrap--dark .apply-form .ff.err input,
.apply-wrap--dark .apply-form .ff.err select,
.apply-wrap--dark .apply-form--old .ff.err input,
.apply-wrap--dark .apply-form--old .ff.err select {
  background: rgba(255, 90, 90, .18) !important;
  border-color: #ffb4b0 !important;
  box-shadow: 0 0 0 3px rgba(255, 140, 140, .22) !important;
  color: #fff;
}
.apply-wrap--dark .apply-form .check.err {
  background: rgba(255, 90, 90, .16);
  box-shadow: inset 0 0 0 1.5px #ffb4b0 !important;
}
@media (prefers-reduced-motion: reduce) {
  .apply-form.invalid { animation: none; }
}

/* ==========================================================
   Funki-inspired restyle v=ui5
   Layout language from funki.com.hk, 盈富資金 gold (not purple).
   ========================================================== */
:root {
  --page: #FBF8F2;
  --wash: #F7F3EA;
  --wash-2: #F8F1DC;
  --halo: rgba(228, 188, 54, .16);
  --hairline: #E6DFD0;
  --ink: #3C344A;
  --ink-2: #5C5340;
  --ink-3: #8A8170;
  --coral: #FF6D6D;
  --footer-bg: #2E2100;
  --notice-bg: #2E2100;
  --cta: #E4BC36;
  --cta-deep: #C9A227;
  --shadow: 0 16px 40px -24px rgba(46, 33, 0, .28);
  --shadow-lg: 0 28px 64px -32px rgba(46, 33, 0, .3);
  --pill-glow: -2px -2px 4px 0 rgba(255, 248, 220, .85) inset, -3px 3px 6px 0 rgba(92, 68, 0, .2), 4px 4px 8px 0 rgba(255, 250, 230, .8) inset;
  --radius: 24px;
}

html { background: var(--page); }
body {
  font-family: "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", "Noto Sans", system-ui, sans-serif;
  background: var(--page);
  color: #353535;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
}
h1, h2, h3 {
  font-weight: 700;
  font-style: normal;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.25;
}
.container { width: min(1240px, 100% - 40px); }
.container.narrow { width: min(1040px, 100% - 40px); }

/* ---- Buttons: gold pills, inset glow, no 3D push ---- */
.btn {
  font-weight: 700;
  border-radius: 999px;
  min-height: 48px;
  padding: 12px 28px;
  box-shadow: none;
  overflow: hidden;
}
.btn--lg { min-height: 52px; padding: 14px 34px; }
.btn--purple,
.nav__apply,
.header__call {
  background: var(--cta) !important;
  color: var(--footer-bg) !important;
  box-shadow: var(--pill-glow) !important;
}

.btn--purple:active,
.btn--white:active,
.nav__apply:active,
.header__call:active {
  transform: none !important;
  box-shadow: var(--pill-glow) !important;
}
.btn--white {
  background: var(--cta);
  color: var(--footer-bg);
  box-shadow: var(--pill-glow);
}

.btn--ghost-white {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.hero .btn--ghost-white,
.page-hero .btn--ghost-white {
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
}
.btn__label::after {
  content: " ›";
  font-weight: 700;
  margin-left: 2px;
}
.btn.loading .btn__label::after { content: none; }

/* ---- Announcement ticker ---- */
.notice {
  background: var(--notice-bg);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .01em;
  padding: 8px 0;
  -webkit-mask-image: none;
  mask-image: none;
}

/* ---- Header: three-band, white, text nav, gold apply pill ---- */
.header {
  background: #fff;
  backdrop-filter: none;
  border-bottom: 1px solid var(--hairline);
  box-shadow: none;
}
.header.scrolled { box-shadow: 0 8px 24px -20px rgba(46, 33, 0, .35); }
.header__top { padding: 12px 0 8px; gap: 16px; }
.header.scrolled .header__top { padding: 8px 0 4px; }
.header__contact,
.header__account {
  border-bottom: 0;
  padding-bottom: 0;
  font-size: .95rem;
  gap: 22px;
}
.header__contact a,
.header__account a {
  font-weight: 500;
  color: var(--ink);
}
.header__contact svg { fill: var(--cta-deep); width: 18px; height: 18px; }
.logo__mark {
  background: conic-gradient(from 200deg, var(--p400), var(--p600), var(--p900), var(--p400));
}
.logo__mark span {
  font-style: normal;
  font-weight: 900;
  color: var(--p800);
}
.logo__text {
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.02em;
}
.logo__text b { font-weight: 900; color: var(--cta-deep); }
.logo__text em { font-weight: 700; letter-spacing: .22em; color: var(--ink-2); }

.header__nav { gap: 4px; padding: 4px 0 12px; }
.header__nav a,
.nav-dd__btn {
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.header__nav a::after { display: none; }
.header__nav a.active,
.nav-dd.open .nav-dd__btn,
.nav-dd.is-active .nav-dd__btn {
  color: var(--footer-bg);
  background: #F6EED8;
}
.header__nav a.nav__apply,
.header__nav a.nav__apply:hover,
.header__nav a.nav__apply.active {
  background: var(--cta) !important;
  color: var(--footer-bg) !important;
  font-weight: 700 !important;
  box-shadow: var(--pill-glow) !important;
  margin-left: 8px;
  padding: 8px 20px !important;
}
.nav-dd__menu {
  border-radius: 24px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--hairline);
}

.header__call {
  box-shadow: var(--pill-glow) !important;
  background: var(--cta) !important;
}
.header__call svg { fill: var(--footer-bg); }

/* ---- Heroes: soft cream wash, typographic, not 3D italic ---- */
.hero,
.page-hero {
  background:
    radial-gradient(1000px 480px at 78% 20%, #F3E6C4 0%, transparent 60%),
    linear-gradient(180deg, #FBF3DC 0%, #FBF8F2 62%, #fff 100%);
  color: var(--ink);
  min-height: 0;
}
.hero__brand,
.page-hero .hero__brand {
  font-style: normal;
  font-weight: 500;
  font-size: .92rem !important;
  letter-spacing: .08em;
  color: var(--cta-deep);
  text-shadow: none !important;
  text-transform: none;
}
.display,
.display--sm,
.display--page,
.page-hero--slim .display--page,
.display--page:not(:has(.h1-main)),
.display--page .h1-main,
.display--page .h1-sub,
.display .ch,
.display--page .ch,
.hero .display .ch {
  font-style: normal !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0;
  letter-spacing: -.03em;
}
.display { margin: 10px 0 18px; perspective: none; }
.display__line { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.15; }
.display--page .h1-main {
  font-size: clamp(2rem, 4.6vw, 3.1rem) !important;
  line-height: 1.2 !important;
}
.display--page .h1-sub {
  margin-top: 8px;
  font-size: clamp(1.05rem, 2vw, 1.4rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  color: var(--ink-2) !important;
}
.hero__sub,
.page-hero .page-hero__lead,
.page-hero__lead {
  color: var(--ink-2);
  font-weight: 400;
  line-height: 1.7;
}
.crumbs { color: var(--ink-3); font-weight: 500; }
.hero .chips li,
.page-hero .chips li,
.chips li {
  font-weight: 500;
  box-shadow: none;
  background: #fff;
  border: 1px solid var(--hairline);
  color: var(--ink);
}

/* ---- Sections, cards, product stage ---- */
.band { padding: 64px 0; }
.band.alt { background: var(--wash); }
.section { padding: 72px 0; background: transparent; }
.section.products,
.section.ai,
.section.calc-sec,
.section.stories { padding: 72px 0; }
.calc-sec { background: var(--wash); }
.sec-head { margin-bottom: 28px; }
.band h2,
.section h2,
.section__title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.03em;
}
.section__title q,
h2 q {
  quotes: "“" "”";
  color: var(--cta-deep);
  font-style: normal;
  font-weight: 700;
}
.prose,
.prose p,
.ticks li,
.sub p,
.card3d p {
  font-weight: 400;
  line-height: 1.75;
  color: #353535;
}
.tiles {
  background: linear-gradient(180deg, #F8F1DC, #FBF8F2);
  border-radius: 40px;
  padding: 28px 22px;
  box-shadow: inset 0 0 0 1px rgba(228, 188, 54, .18);
}
.tile__face,
.card3d,
.step-tl,
.rel,
.cta-band__box,
.story {
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.card3d {
  background: #fff;
  box-shadow: 0 10px 30px -22px rgba(46, 33, 0, .28), 0 0 0 1px var(--hairline);
  transform: none;
}
.card3d__n { font-style: normal; font-weight: 700; color: var(--p300); }
.step-tl__n {
  font-style: normal;
  font-weight: 700;
  box-shadow: none;
  border-radius: 50%;
}
.round-btn,
.side-btn {
  box-shadow: var(--shadow);
}
.round-btn:active,
.side-btn:active { transform: none; }
.usp { background: #fff; border-bottom: 1px solid var(--hairline); }
.usp__list { font-weight: 500; }
.usp__list li::before {
  font-weight: 700;
  background: var(--cta);
  color: var(--footer-bg);
  box-shadow: none;
}

/* Stats: deep brand band, calmer figures */
.stats {
  background: var(--footer-bg);
}
.stat b {
  font-style: normal;
  font-weight: 700;
  text-shadow: none;
  color: var(--cta);
  letter-spacing: -.03em;
}

/* ---- Calculator: gold header, clean sliders, large EMI, pill CTA ---- */
.calc { gap: 48px; }
.calc__card {
  padding: 0 28px 28px;
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--hairline);
  overflow: hidden;
}
.calc__card::before {
  content: "貸款計算機";
  display: block;
  margin: 0 -28px 8px;
  padding: 16px 28px;
  background: var(--cta);
  color: var(--footer-bg);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.02em;
  text-align: center;
}
.calc__card .coins {
  height: 88px;
  margin: 0 -12px 8px;
  border-radius: 0 0 20px 20px;
  background: linear-gradient(180deg, #F8F1DC, #FBF8F2);
}
.field label { font-weight: 500; color: var(--ink); }
.field output {
  font-weight: 700;
  font-style: normal;
  background: var(--wash-2);
  color: var(--ink);
  border-radius: 999px;
  box-shadow: none;
  padding: 4px 12px;
  font-size: 1rem;
}
.field output.bump { transform: scale(1.04); }
input[type=range] {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cta-deep), var(--cta)) 0 / var(--fill, 50%) 100% no-repeat, #EEEEEE;
  box-shadow: none;
}
input[type=range]::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
  border: 5px solid var(--cta-deep);
  background: #fff;
  box-shadow: 0 2px 8px rgba(46, 33, 0, .2);
}
input[type=range]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 5px solid var(--cta-deep);
  background: #fff;
  box-shadow: 0 2px 8px rgba(46, 33, 0, .2);
}
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.08) rotate(0); }
.calc__emi small { font-weight: 500; color: var(--ink-3); }
.calc__emi b {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  font-style: normal;
  color: var(--ink);
  text-shadow: none;
  letter-spacing: -.03em;
}
.calc__card .btn { margin-top: 4px; border-radius: 999px; }

/* ---- Footer: full-bleed ink, columns, large 忠告 ---- */
.footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 64px 0 36px;
  display: flex;
  flex-direction: column;
}
.footer__grid { order: 1; gap: 28px; font-size: .92rem; }
.footer h2,
.footer h5 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0;
}
.footer__grid > div > a { padding: 4px 0; color: rgba(255, 255, 255, .86); }

.footer__grid p b,
.footer__grid p a,
.footer__co b { color: #fff; font-weight: 500; }
.footer__warning {
  order: 2;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.footer__co {
  order: 3;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .78);
}
.warn,
.warn--zh,
.warn--zh .ch,
.warn--en {
  font-style: normal !important;
  text-shadow: none !important;
}
.warn--zh,
.warn--zh .ch {
  font-weight: 700;
  color: #fff;
  font-size: clamp(1.7rem, 4.4vw, 2.7rem);
  letter-spacing: -.03em;
  line-height: 1.25;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
.warn--zh .ch { display: inline; }
.warn--en {
  font-size: .92rem;
  font-weight: 400;
  color: rgba(255, 255, 255, .72);
  margin-top: 10px;
  max-width: 62ch;
}
.socials a {
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  font-weight: 700;
}


/* ---- Application form: underline / highlight card language ---- */
.apply,
.band:has(.apply-layout),
.band:has(.apply-wrap) {
  padding: 48px 0 72px;
  background:
    radial-gradient(720px 280px at 50% 0%, rgba(228, 188, 54, .18), transparent 70%),
    var(--page);
}
.apply__box {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  padding: 12px 0 24px;
  border-radius: 0;
  overflow: visible;
  grid-template-columns: .85fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.apply__deco { opacity: .35; }
.apply__copy .display,
.apply__copy .display .ch,
.apply__copy .display--sm .ch {
  color: var(--ink) !important;
  text-shadow: none !important;
  font-style: normal !important;
  font-weight: 700 !important;
}
.apply__copy p { color: var(--ink-2); }
.apply__box .link-light {
  color: var(--cta-deep);
  font-weight: 500;
}

.apply-wrap,
.apply-layout,
.apply-wrap--dark,
.apply-layout .apply-wrap {
  background: #fff;
  border-radius: 40px;
  padding: 40px 44px 32px;
  box-shadow: 0 0 0 14px var(--halo), var(--shadow-lg);
  backdrop-filter: none;
  width: 100%;
}
.apply-layout { padding: 40px 44px 32px; }
.apply-layout .apply-wrap,
.apply-layout .apply-side {
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.apply-layout .apply-side {
  padding-left: 28px;
  border-left: 1px solid var(--hairline);
}
.form-title {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: 22px;
  color: var(--ink);
}

.apply-form,
.apply-form.apply-form--old,
.apply-wrap--dark .apply-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  color: var(--ink);
}
.apply-form > .form-errors,
.apply-form > .ff:has([name="name"]),
.apply-form > .ff:has([name="type"]),
.apply-form > .ff:has([name="hkid"]),
.apply-form > .check,
.apply-form > .btn,
.apply-form > button,
.apply-form > .form-note {
  grid-column: 1 / -1;
}
.apply-form > .form-errors { order: 0; }
.apply-form > .ff:has([name="name"]) { order: 1; }
.apply-form > .ff:has([name="amount"]) { order: 2; }
.apply-form > .ff:has([name="phone"]) { order: 3; }
.apply-form > .ff:has([name="work"]) { order: 4; }
.apply-form > .ff:has([name="job"]) { order: 5; }
.apply-form > .ff:has([name="hkid"]) { order: 6; }
.apply-form > .ff:has([name="type"]) { order: 7; }
.apply-form > .check { order: 8; }
.apply-form > .btn,
.apply-form > button { order: 10; }
.apply-form > .form-note { order: 11; }

.apply-form .ff,
.apply-form--old .ff,
.apply-form--old .ff--top {
  position: relative;
  display: grid;
  gap: 6px;
  align-content: start;
}
.apply-form .ff > label,
.apply-form--old .ff--top > label,
.apply-form--old .ff__label,
.apply-wrap--dark .ff label {
  position: static !important;
  left: auto;
  top: auto;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
  pointer-events: auto;
  transform: none;
}
.apply-form .ff:has([required]) > label::after {
  content: " *";
  color: var(--coral);
  font-weight: 500;
}
.apply-form .ff input,
.apply-form .ff select,
.apply-form--old .ff--top input,
.apply-form--old .ff--top select,
.apply-form--old select,
.apply-wrap .ff input,
.apply-wrap .ff select,
.apply-wrap--dark .ff input,
.apply-wrap--dark .ff select {
  width: 100%;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #D8D8D8 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 8px 0 10px !important;
  color: var(--ink) !important;
  font-weight: 400;
  transform: none !important;
}
.apply-form .ff input::placeholder,
.apply-form--old .ff--top input::placeholder {
  color: #9A9386;
}
.apply-form .ff input:focus,
.apply-form .ff select:focus,
.apply-form--old .ff--top input:focus,
.apply-form--old .ff--top select:focus,
.apply-wrap .ff input:focus,
.apply-wrap .ff select:focus {
  outline: none;
  border-bottom: 2px solid var(--cta-deep) !important;
  box-shadow: none !important;
  background: transparent !important;
  transform: none !important;
}
.apply-form--old select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%) !important;
  background-position: calc(100% - 12px) calc(50% + 2px), calc(100% - 7px) calc(50% + 2px) !important;
  background-size: 6px 6px, 6px 6px !important;
  background-repeat: no-repeat !important;
  padding-right: 28px !important;
}

/* Amount prefix sits on the underline */
.apply-form .ff:has(input[name="amount"]) label { left: auto; }
.apply-form .ff:has(input[name="amount"])::before {
  content: "HK$";
  position: absolute;
  left: 0;
  top: auto;
  bottom: 10px;
  z-index: 1;
  font-weight: 500;
  color: var(--ink-3);
  pointer-events: none;
}
.apply-form .ff:has(input[name="amount"]) input { padding-left: 42px !important; }


/* Loan type chips (select remains the source of truth) */
.loan-select--hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  clip-path: inset(50%);
}
.loan-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.loan-chip {
  appearance: none;
  border: 0;
  background: #EEEEEE;
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.2;
  transition: background .2s, color .2s, box-shadow .2s;
}

.loan-chip.is-on,
.loan-chip[aria-pressed="true"] {
  background: var(--cta);
  color: var(--footer-bg);
  font-weight: 700;
  box-shadow: var(--pill-glow);
}

/* Consents: circular checkboxes, still native inputs */
.apply-form .check,
.apply-form .check:has(input:checked),
.apply-form .check:has(input:focus-visible),
.apply-wrap--dark .check,
.apply-wrap--dark .check:has(input:checked) {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  line-height: 1.65;
  color: var(--ink-2);
  font-size: .9rem;
}
.apply-form .check input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  border-radius: 50%;
  border: 1.5px solid #C8C4BA;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}
.apply-form .check input:checked {
  border-color: var(--cta-deep);
  background: #fff;
  box-shadow: inset 0 0 0 6px var(--cta);
}
.apply-form .check input:focus-visible {
  outline: 3px solid var(--cta-deep);
  outline-offset: 2px;
}
.apply-form .check a { color: var(--cta-deep); font-weight: 500; }

/* Huge capsule submit */
.apply-form .btn,
.apply-form .btn.btn--block,
.apply-form .btn--lg {
  width: 100%;
  min-height: 56px;
  margin-top: 8px;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: var(--pill-glow) !important;
}
.apply-form .btn:disabled { opacity: .72; }
.form-note {
  font-size: 12px;
  font-weight: 400;
  color: #71717A;
  line-height: 1.6;
  margin-top: 4px;
}

/* Validation: rose underline + text, no filled error boxes / green toast path */
.form-errors {
  border-radius: 16px;
  border: 1px solid #f1b4b0;
  background: #fff6f5;
  box-shadow: none;
}
.apply-form .ff.err input,
.apply-form .ff.err select,
.apply-form--old .ff.err input,
.apply-form--old .ff.err select,
.apply-wrap--dark .apply-form .ff.err input,
.apply-wrap--dark .apply-form .ff.err select,
.apply-wrap--dark .apply-form--old .ff.err input,
.apply-wrap--dark .apply-form--old .ff.err select {
  border-color: transparent !important;
  border-bottom: 2px solid #e5484d !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ink) !important;
}
.ff__error,
.field-error { color: #c81e1e; font-weight: 500; }
.apply-form .check.err,
.apply-wrap--dark .apply-form .check.err {
  padding: 10px 12px;
  border-radius: 16px;
  background: #fff6f5;
  box-shadow: inset 0 0 0 1px #e5484d !important;
}
.apply-wrap--dark .form-errors {
  background: #fff6f5;
  border-color: #f1b4b0;
  color: #8c1d18;
}
.apply-wrap--dark .form-errors__title,
.apply-wrap--dark .ff__error,
.apply-wrap--dark .field-error { color: #c81e1e; }

@media (max-width: 1080px) {
  .apply__box { grid-template-columns: 1fr; padding: 0; }
  .apply-layout,
  .apply-wrap { padding: 28px 22px 24px; border-radius: 32px; }
  .apply-layout .apply-side {
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid var(--hairline);
  }
}
@media (max-width: 720px) {
  .apply-form,
  .apply-form.apply-form--old { grid-template-columns: 1fr; gap: 18px; }
  .apply-form > .ff:has([name="amount"]),
  .apply-form > .ff:has([name="phone"]),
  .apply-form > .ff:has([name="work"]),
  .apply-form > .ff:has([name="job"]) { grid-column: 1 / -1; }
  .warn--zh, .warn--zh .ch { font-size: 1.45rem; }
  .tiles { padding: 18px 12px; border-radius: 28px; }
  .calc__card { padding: 0 20px 22px; }
  .calc__card::before { margin: 0 -20px 8px; }
  .hero .btn--ghost-white,
  .page-hero .btn--ghost-white { background: rgba(255, 255, 255, .7); }
  .page-hero:not(.page-hero--slim) .display--page .h1-main,
  .page-hero:not(.page-hero--slim) .display--page .h1-sub,
  .page-hero:not(.page-hero--slim) .page-hero__lead {
    color: var(--ink) !important;
    text-shadow: none !important;
  }
}

/* Keep logo / mark at 900; everything else stays 400/500/700 */
.logo__text,
.logo__mark span { font-weight: 900; }


/* ===== UI polish v=ui6: error = red labels only, no red frames ===== */
.apply-form .err,
.apply-form .ff.err,
.apply-form .check.err,
.apply-form .ff.err input,
.apply-form .ff.err select,
.apply-form--old .ff.err input,
.apply-form--old .ff.err select,
.apply-form--old .ff.err .choices label,
.apply-wrap--dark .apply-form .ff.err input,
.apply-wrap--dark .apply-form .ff.err select,
.apply-wrap--dark .apply-form--old .ff.err input,
.apply-wrap--dark .apply-form--old .ff.err select,
.apply-wrap--dark .apply-form .check.err,
.apply-form > .ff:has([name="name"]).err,
.apply-form > .ff:has([name="name"]).err input {
  box-shadow: none !important;
  outline: none !important;
}
.apply-form .ff.err input,
.apply-form .ff.err select,
.apply-form--old .ff.err input,
.apply-form--old .ff.err select,
.apply-wrap--dark .apply-form .ff.err input,
.apply-wrap--dark .apply-form .ff.err select,
.apply-wrap--dark .apply-form--old .ff.err input,
.apply-wrap--dark .apply-form--old .ff.err select {
  border: 0 !important;
  border-bottom: 1px solid #D8D8D8 !important;
  background: transparent !important;
  color: var(--ink) !important;
}
.apply-form .check.err,
.apply-wrap--dark .apply-form .check.err {
  padding: 0 !important;
  border-radius: 0 !important;
  background: none !important;
}
.apply-form .ff.err > label,
.apply-form--old .ff.err > label,
.apply-wrap--dark .apply-form .ff.err > label,
.apply-form .check.err,
.apply-form .check.err span {
  color: #c81e1e !important;
}
.apply-form .ff.err:has([required]) > label::after {
  color: #c81e1e;
}

/* Keep HK$ prefix on the input line when an error message is shown */
.apply-form .ff:has(input[name="amount"])::before {
  top: 2.15rem;
  bottom: auto;
}

/* ===== UI polish v=ui7: logo mark image, mobile nav slide, denser spacing ===== */

/* Circular photo mark — no conic gradient, no 3D spin */
.logo__mark {
  padding: 0;
  background: none !important;
  overflow: hidden;
  border-radius: 50%;
  transform-style: flat;
  transition: width .4s var(--ease), height .4s var(--ease);
}

.logo__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.logo__mark svg { width: 100%; height: 100%; display: block; }
.logo__mark--xs { padding: 0; }

/* Mobile menu: animate clip-path between inset values (not `none`) */
@media (max-width: 860px) {
  .header__nav,
  .header__nav.container {
    clip-path: inset(0 0 100% 0);
    pointer-events: none;
    visibility: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    transition: clip-path .45s var(--ease), visibility 0s linear .45s;
  }
  .header.open .header__nav,
  .header.open .header__nav.container {
    clip-path: inset(0 0 0 0);
    pointer-events: auto;
    visibility: visible;
    overflow-y: auto;
    overflow-x: hidden;
    transition: clip-path .45s var(--ease), visibility 0s;
  }

  /* Product dropdown: height accordion, not display:none/grid jump */
  .nav-dd {
    display: grid;
    grid-template-rows: auto 0fr;
    transition: grid-template-rows .4s var(--ease);
  }
  .nav-dd.open { grid-template-rows: auto 1fr; }
  .nav-dd__menu,
  .nav-dd:hover .nav-dd__menu,
  .nav-dd:focus-within .nav-dd__menu,
  .nav-dd.open .nav-dd__menu,
  .nav-dd.open:hover .nav-dd__menu {
    display: grid !important;
    position: static !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: none !important;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0 4px !important;
    grid-template-columns: 1fr !important;
  }
  .nav-dd.open .nav-dd__menu,
  .nav-dd.open:hover .nav-dd__menu {
    pointer-events: auto;
    padding: 0 0 8px 4px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header__nav,
  .header__nav.container,
  .header.open .header__nav,
  .header.open .header__nav.container,
  .nav-dd {
    transition: none !important;
  }
}

/* Tighten excess mobile whitespace without crushing legal copy */
@media (max-width: 860px) {
  .header__top { padding: 8px 0; gap: 10px; }
  .header.scrolled .header__top { padding: 6px 0; }
  .section,
  .section.products,
  .section.ai,
  .section.calc-sec,
  .section.stories { padding: 40px 0; }
  .band { padding: 36px 0; }
  .cta-band { padding: 4px 0 28px; }
  .sec-head { margin-bottom: 18px; }
  .stats { padding: 36px 0 52px; }
  .footer { padding: 40px 0 28px; }
  .footer__warning { margin-top: 28px; padding-top: 20px; }
  .footer__co { margin-top: 20px; }
  .apply,
  .band:has(.apply-layout),
  .band:has(.apply-wrap) { padding: 32px 0 48px; }
  .apply__box { padding: 8px 0 16px; gap: 24px; }
  .calc { gap: 28px; }
  .page-hero { padding: 16px 0 28px; }
  .hero { padding: 16px 0 24px; }
  .visit { gap: 12px; }
}
@media (max-width: 560px) {
  .section,
  .section.products,
  .section.ai,
  .section.calc-sec,
  .section.stories { padding: 32px 0; }
  .band { padding: 28px 0; }
  .cta-band { padding: 0 0 24px; }
  .cta-band__box { padding: 20px 16px; }
  .stats { padding: 28px 0 44px; }
  .footer { padding: 32px 0 24px; }
  .apply,
  .band:has(.apply-layout),
  .band:has(.apply-wrap) { padding: 24px 0 40px; }
  .apply-layout,
  .apply-wrap { padding: 22px 16px 20px; }
  .apply__box { padding: 4px 0 12px; }
}

/* ===== UI polish v=ui8: WhatsApp brand green ===== */
:root { --wa: #25D366; --wa-deep: #128C7E; }

.header__call,
.header__call:hover,
.header__call:active {
  background: var(--wa) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(18, 140, 126, .35) !important;
  filter: none;
}

.header__call svg { fill: #fff !important; }

.header__contact a[href*="wa.me"] { color: var(--wa); }

.header__contact a[href*="wa.me"] svg { fill: var(--wa) !important; }

.side-btn--wa {
  background: var(--wa) !important;
  color: #fff;
  box-shadow: 0 5px 0 var(--wa-deep), var(--shadow);
}

.socials a[href*="wa.me"] {
  background: var(--wa);
  color: #fff;
}


.apply__box a[href*="wa.me"],
.footer a[href*="wa.me"]:not(.socials a),
.band a[href*="wa.me"],
.prose a[href*="wa.me"],
p a[href*="wa.me"] {
  color: var(--wa-deep);
}

.btn--wa,
.btn--wa:hover,
.btn--wa:active {
  background: var(--wa) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(18, 140, 126, .35) !important;
  filter: none;
}


/* ===== UI polish v=ui9: calculator mobile UX ===== */
#calculate { scroll-margin-top: 88px; }
@media (min-width: 861px) {
  #calculate { scroll-margin-top: 140px; }
}

.calc {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.calc__panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px 40px;
  align-items: center;
  background: #fff;
  border-radius: 32px;
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--hairline);
}
.calc__card {
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.calc__card::before { display: none; }
.calc__note { color: var(--ink-2); }

@media (max-width: 860px) {
  .calc {
    gap: 0;
    background: #fff;
    border-radius: 28px;
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--hairline);
    overflow: hidden;
  }
  .calc__intro .section__title {
    margin: 0;
    padding: 14px 20px;
    background: var(--cta);
    color: var(--footer-bg);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -.02em;
    text-align: center;
  }
  .calc__intro .section__title q { color: inherit; }
  .calc__intro > p {
    margin: 0;
    padding: 14px 20px 0;
    font-size: .95rem;
  }
  .calc__panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 20px 20px;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .calc__controls { gap: 14px; }
  .field__top { margin-bottom: 2px; }
  .field output { font-size: .95rem; padding: 3px 10px; }
  /* Larger slider hit area without a fat track */
  input[type=range] {
    height: 44px;
    margin: 0;
    background:
      linear-gradient(90deg, var(--cta-deep), var(--cta)) 0 50% / var(--fill, 50%) 8px no-repeat,
      #EEEEEE 0 50% / 100% 8px no-repeat;
    background-color: transparent;
  }
  .calc__card .coins { display: none; }
  .calc__emi { padding-top: 8px; }
  .calc__emi b { font-size: 2.35rem; }
  .calc__rows { margin: 14px 0 18px; padding: 14px 0; }
  .calc__note { margin-top: 10px; }
}

@media (max-width: 560px) {
  .calc { border-radius: 24px; }
  .calc__intro .section__title { padding: 12px 16px; font-size: 1.05rem; }
  .calc__panel { padding: 10px 16px 18px; }
}

/* ===== UI polish v=ui10: timeline collapse owned by js/components ===== */
@media (prefers-reduced-motion: reduce) {
  .timeline--acc .step-tl__body,
  .acc__body { transition: none; }
}

/* ===== UI polish v=ui11: stories carousel hugs the card on mobile ===== */
@media (max-width: 860px) {
  .stories .coverflow,
  .coverflow {
    height: auto !important;
    margin-top: 12px;
    overflow: hidden;
  }
  .story {
    height: auto !important;
    min-height: 0;
    grid-template-rows: auto auto auto;
    gap: 12px;
    padding: 22px 18px;
    width: 100%;
    /* keep off-screen slides out of flow */
    position: absolute;
    visibility: hidden;
  }
  .coverflow:not(:has(.story.is-active)) .story:first-child,
  .story.is-active {
    position: relative;
    left: auto;
    margin-left: 0;
    visibility: visible;
    transform: none !important;
  }
  .coverflow__ctrl { margin-top: 12px; }
  .story__note { margin-top: 10px; }
}
@media (max-width: 560px) {
  .story { padding: 20px 16px; }
}

/* ===== UI polish v=ui12: hover only on fine pointers; no sticky flip/tilt on tap ===== */

/* Flip tiles only via .flipped (click). Neutralize leftover :hover flip on touch. */
@media (hover: none) {
  .tile:hover .tile__inner { transform: none; }
  .tile.flipped .tile__inner,
  .tile.flipped:hover .tile__inner { transform: rotateY(180deg); }
  .tile:hover .tile__emoji { transform: none; }
  .split-done .ch:hover { transform: none; }
  .logo:hover .logo__mark { transform: none; }
}

@media (hover: hover) and (pointer: fine) {
  /* Buttons: subtle lift + brightness, no large motion */
  .btn--purple:hover,
  .nav__apply:hover,
  .header__call:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: var(--pill-glow) !important;
  }
  .btn--white:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: var(--pill-glow);
  }
  .btn--ghost-white:hover {
    background: rgba(46, 33, 0, .05);
    color: var(--ink);
  }
  .btn:hover::before { transform: translateX(110%); }
  .btn:hover .arrow { transform: translateX(5px); }
  .btn--wa:hover { filter: brightness(1.06); }
  .header__call:hover { filter: brightness(1.06); }
  .header__contact a[href*="wa.me"]:hover { color: var(--wa-deep); }

  /* Logo / display letters: gentle lift, not a spin or big wiggle */
  .logo:hover .logo__mark { transform: translateY(-1px); }
  .split-done .ch:hover { transform: translateY(-2px); }

  /* Product tiles: lift/shadow on hover — flip stays click-only via .flipped */
  .tile:hover .tile__inner { transform: translateY(-2px); }
  .tile.flipped .tile__inner,
  .tile.flipped:hover .tile__inner { transform: rotateY(180deg); }
  .tile:hover .tile__emoji { transform: translateY(-1px) scale(1.04); }
  .tile__cta:hover { transform: translateY(-2px); box-shadow: 0 11px 0 var(--p800), 0 26px 30px -16px rgba(92, 68, 0, .55); }

  /* Cards / steps / related: 1–2px lift + shadow, no rotate or whole-grid jump */
  .rel:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--p300), var(--shadow); }
  .card3d:hover { box-shadow: 0 8px 0 var(--p300), 0 28px 44px -24px rgba(92, 68, 0, .45), inset 0 0 0 1.5px var(--p300); }
  .card3d:hover::before { opacity: 1; }
  .step-tl:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--p300), var(--shadow); }
  .ai__steps li:hover { transform: translateY(-2px); box-shadow: var(--shadow), inset 0 0 0 1.5px var(--p300); }

  /* Chrome controls: gentle lift, no big rotate/scale */
  .round-btn:hover { transform: translateY(-2px); }
  .side-btn:hover { transform: translateY(-2px); }
  .socials a:hover {
    background: var(--cta);
    color: var(--footer-bg);
    transform: translateY(-2px);
  }
  .socials a[href*="wa.me"]:hover {
    background: var(--wa-deep);
    color: #fff;
  }
  .loan-chip:hover { background: #e4e0d8; }
  .acc summary:hover { color: var(--p700); background: var(--p50); }
  .footer__grid > div > a:hover { color: #fff; }
  .header__contact a:hover, .header__account a:hover { color: var(--p600); }
  .card-more:hover { transform: translateY(-2px); }
  .toc a:hover { background: var(--p400); transform: translateY(-2px); }
  .crumbs a:hover { color: var(--p950); }

  /* Desktop nav hover wash; apply pill stays gold; mobile still uses .open */
  .header__nav a:hover,
  .nav-dd:hover .nav-dd__btn {
    color: var(--footer-bg);
    background: #F6EED8;
  }
  .header__nav a.nav__apply:hover {
    background: var(--cta) !important;
    color: var(--footer-bg) !important;
  }
  .nav-dd:hover .nav-dd__btn i { transform: rotate(225deg) translateY(-2px); }
  .nav-dd:hover .nav-dd__menu { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .header__nav .nav-dd__menu a:hover { background: var(--wash-2); color: var(--p800); }
}

/* ===== UI polish v=ui13: shrink mobile advisor so titles/CTAs stay readable ===== */
@media (max-width: 860px) {
  .hero .hero__stage,
  .page-hero .hero__stage {
    width: 46%;
    right: -8px;
    bottom: -16px;
    height: min(calc(100% + 16px), 280px);
    max-height: 280px;
    z-index: 1;
  }
  .hero .hero__advisor,
  .page-hero .hero__advisor {
    object-fit: contain;
    object-position: right bottom;
  }
  .page-hero:not(.page-hero--slim) .display--page,
  .page-hero:not(.page-hero--slim) .display--page .h1-main,
  .page-hero:not(.page-hero--slim) .display--page .h1-sub,
  .page-hero:not(.page-hero--slim) .page-hero__lead,
  .hero .display,
  .hero__sub {
    position: relative;
    z-index: 3;
    max-width: 58%;
  }
  .page-hero:not(.page-hero--slim) .display--page .h1-main {
    white-space: normal;
  }
  .page-hero__cta,
  .hero__cta { z-index: 3; }
}
@media (max-width: 560px) {
  .hero .hero__stage,
  .page-hero .hero__stage {
    width: 42%;
    right: -6px;
    height: min(calc(100% + 16px), 240px);
    max-height: 240px;
  }
  .page-hero:not(.page-hero--slim) .display--page,
  .page-hero:not(.page-hero--slim) .display--page .h1-main,
  .page-hero:not(.page-hero--slim) .display--page .h1-sub,
  .page-hero:not(.page-hero--slim) .page-hero__lead,
  .hero .display,
  .hero__sub { max-width: 56%; }
}

/* ===== UI polish v=ui14: no sticky tap selection or focus ring on touch ===== */
html {
  -webkit-tap-highlight-color: transparent;
}
.header, .header a, .header button,
.hero, .page-hero,
.btn, .nav__apply, .header__call, .side-btn, .round-btn, .loan-chip,
.tile, .rel, .card3d, .acc summary, .cta-band, .usp,
.socials a, .footer__grid > div > a, .burger, .nav-dd__btn,
.display, .display--page, .hero__sub, .page-hero__lead, .chips, .hero__cta, .page-hero__cta {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
.prose, .prose *,
input, select, textarea, .ff, .ff label, .apply-form input, .apply-form select, .apply-form textarea {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--p700); outline-offset: 3px; border-radius: 6px; }
@media (hover: none), (pointer: coarse) {
  a:focus, a:focus-visible,
  button:focus, button:focus-visible,
  .btn:focus, .btn:focus-visible,
  .nav__apply:focus, .nav__apply:focus-visible,
  .header__call:focus, .header__call:focus-visible,
  .burger:focus, .burger:focus-visible,
  .nav-dd__btn:focus, .nav-dd__btn:focus-visible,
  .side-btn:focus, .side-btn:focus-visible,
  .round-btn:focus, .round-btn:focus-visible,
  summary:focus, summary:focus-visible {
    outline: none;
  }
}


/* ===== UI polish v=ui15: Funki-inspired menu on 盈富 gold (not a purple clone) ===== */
.header {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(43, 36, 16, .08);
  box-shadow: none;
}
.header.scrolled {
  box-shadow: 0 8px 24px -20px rgba(43, 36, 16, .28);
}
.header__top {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 10px 0 8px;
}
.header.scrolled .header__top { padding: 6px 0 4px; }
.header__contact,
.header__account {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 0;
  border-bottom: 0;
  font-size: .9rem;
}
.header__account { justify-content: flex-end; }
.header__contact a,
.header__account a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .01em;
}
.header__contact svg { width: 16px; height: 16px; fill: var(--cta-deep); }
.header__contact a[href*="wa.me"] { color: var(--wa); }
.header__contact a[href*="wa.me"] svg { fill: var(--wa) !important; }

.burger {
  width: 42px;
  height: 42px;
}
.burger span {
  left: 11px;
  right: 11px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--ink);
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.header.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.header__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 2px;
  padding: 0 0 12px;
}
.header__nav a,
.nav-dd__btn {
  position: relative;
  font-weight: 500;
  font-size: .92rem;
  color: var(--ink);
  padding: 8px 13px;
  border-radius: 0;
  background: none;
  transition: color .2s ease;
}
.header__nav a::after { display: none !important; }
.header__nav a.active,
.nav-dd.is-active .nav-dd__btn,
.nav-dd.open .nav-dd__btn {
  color: var(--cta-deep);
  background: none;
  font-weight: 700;
}
.header__nav a.nav__calc { display: none; }
.header__nav a.nav__apply,
.header__nav a.nav__apply:hover,
.header__nav a.nav__apply.active {
  margin-left: 10px;
  padding: 7px 18px !important;
  border-radius: 999px !important;
  background: var(--cta) !important;
  color: var(--footer-bg) !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.nav-dd__btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; font: inherit; }
.nav-dd__btn i {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  display: inline-block;
  transition: transform .2s ease;
}
.nav-dd.open .nav-dd__btn i { transform: rotate(225deg) translateY(-1px); }
.nav-dd__menu {
  border-radius: 16px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 18px 40px -24px rgba(43, 36, 16, .35), 0 0 0 1px rgba(43, 36, 16, .08);
}
.header__nav .nav-dd__menu a {
  padding: 10px 12px;
  border-radius: 10px;
  background: none !important;
}
.header__nav .nav-dd__menu b {
  display: block;
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink);
}
.header__nav .nav-dd__menu small {
  display: block;
  margin-top: 2px;
  font-weight: 400;
  font-size: .78rem;
  color: var(--ink-3);
  line-height: 1.45;
}

@media (hover: hover) and (pointer: fine) {
  .header__contact a:hover,
  .header__account a:hover { color: var(--cta-deep); }
  .header__contact a[href*="wa.me"]:hover { color: var(--wa-deep); }
  .header__nav a:hover:not(.nav__apply):not(.active),
  .nav-dd__btn:hover { color: var(--cta-deep); background: none; }
  .header__nav .nav-dd__menu a:hover {
    background: #F7F4EC !important;
  }
  .header__nav a.nav__apply:hover {
    filter: brightness(1.04);
  }
}

body.menu-open { overflow: hidden; }

@media (max-width: 860px) {
  .header__top { grid-template-columns: auto 1fr auto; padding: 8px 0; gap: 10px; }
  .header.scrolled .header__top { padding: 6px 0; }
  .header__contact, .header__account { display: none; }
  .header__nav,
  .header__nav.container,
  .header.open .header__nav,
  .header.open .header__nav.container {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: var(--rf-header-bottom, 72px) !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    max-height: none !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 28px !important;
    background: #fff;
    box-shadow: none;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 40;
    clip-path: none !important;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .header.open .header__nav,
  .header.open .header__nav.container {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .header__nav a,
  .nav-dd__btn {
    width: 100%;
    justify-content: space-between;
    font-size: 1.12rem;
    font-weight: 500;
    padding: 16px 0 !important;
    border-bottom: 1px solid rgba(43, 36, 16, .08);
    border-radius: 0 !important;
    background: none !important;
    color: var(--ink) !important;
    text-align: left;
  }
  .header__nav a.active,
  .nav-dd.is-active .nav-dd__btn,
  .nav-dd.open .nav-dd__btn {
    color: var(--cta-deep) !important;
    font-weight: 700 !important;
    background: none !important;
  }
  .header__nav a.nav__calc {
    display: block !important;
    order: 20;
  }
  .header__nav a.nav__apply,
  .header__nav a.nav__apply:hover,
  .header__nav a.nav__apply.active {
    order: 30;
    margin: 22px 0 0 !important;
    width: 100%;
    text-align: center;
    justify-content: center;
    border-bottom: 0 !important;
    border-radius: 999px !important;
    padding: 14px 20px !important;
    background: var(--cta) !important;
    color: var(--footer-bg) !important;
    font-weight: 700 !important;
    box-shadow: none !important;
  }
  .nav-dd { width: 100%; min-width: 0; }
  .nav-dd__menu {
    position: static !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0;
    display: none;
    grid-template-columns: 1fr !important;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 8px 4px !important;
    background: transparent;
    transform: none !important;
    opacity: 1;
    visibility: visible;
  }
  .nav-dd.open .nav-dd__menu,
  .nav-dd.open:hover .nav-dd__menu {
    display: grid !important;
    pointer-events: auto;
  }
  .header__nav .nav-dd__menu a {
    padding: 10px 0 10px 8px !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    background: none !important;
  }
  .header__nav .nav-dd__menu b {
    font-size: 1rem;
    font-weight: 600;
  }
  .header__nav .nav-dd__menu small { color: var(--ink-3); }
}
@media (prefers-reduced-motion: reduce) {
  .header__nav,
  .header__nav.container,
  .header.open .header__nav,
  .header.open .header__nav.container {
    transition: none !important;
    transform: none !important;
  }
}


/* ===== UI polish v=ui16: component event animations (Funki-calm, 盈富 gold) ===== */
.btn, .nav__apply, .side-btn, .header__call, .fold__btn, .loan-chip, .faq-chips button, .header__account a {
  transition: transform .18s var(--ease), filter .18s ease, box-shadow .18s ease, background .2s ease, color .2s ease;
}
.btn:not(.magnetic).is-pressed,
a.nav__apply.is-pressed,
.header__call.is-pressed,
.loan-chip.is-pressed,
.faq-chips button.is-pressed,
.header__account a.is-pressed {
  transform: scale(.97);
}
.magnetic.is-pressed,
.side-btn.is-pressed,
.fold__btn.is-pressed {
  filter: brightness(.96);
}

.nav-dd__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  min-height: 0;
  overflow: hidden;
}
.header__nav .nav-dd__menu a {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .32s var(--ease), transform .4s var(--ease), background .2s ease, color .2s ease;
  transition-delay: 0s;
}
.nav-dd.open .nav-dd__menu a,
.nav-dd:focus-within .nav-dd__menu a {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 35ms);
}

.acc__body > * { overflow: hidden; min-height: 0; }
.acc__inner {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .35s var(--ease), transform .4s var(--ease), padding .5s var(--ease);
}
.acc.expanded .acc__inner {
  opacity: 1;
  transform: none;
}

.timeline--acc .step-tl { cursor: pointer; }
.timeline--acc .step-tl__inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.timeline--acc .step-tl.is-open .step-tl__inner {
  opacity: 1;
  transform: none;
}

.sheet[hidden] { display: none; }
.sheet:not([hidden]) { display: block; }
.sheet .sheet__back {
  opacity: 0;
  transition: opacity .35s ease;
}
.sheet .sheet__panel {
  transform: translateY(24px);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .35s ease;
}
.sheet.is-open .sheet__back { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; opacity: 1; }

.toast {
  transform: translate(-50%, 28px) scale(.96);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .4s ease, visibility 0s linear .5s;
}
.toast.show {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
  transition-delay: 0s;
}

.side-btn--top {
  transform: scale(.6);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s var(--ease), opacity .3s ease, background .2s ease, filter .18s ease;
}
.side-btn--top.show {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.faq-chips button { transition: background .2s ease, color .2s ease, transform .18s var(--ease); }

@media (max-width: 860px) {
  .header__nav > a,
  .header__nav > .nav-dd {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .32s var(--ease), transform .4s var(--ease), color .2s ease, background .2s ease, border-color .2s ease;
  }
  .header.open .header__nav > a,
  .header.open .header__nav > .nav-dd {
    opacity: 1;
    transform: none;
  }
  .header.open .header__nav > :nth-child(1) { transition-delay: .04s; }
  .header.open .header__nav > :nth-child(2) { transition-delay: .08s; }
  .header.open .header__nav > :nth-child(3) { transition-delay: .12s; }
  .header.open .header__nav > :nth-child(4) { transition-delay: .16s; }
  .header.open .header__nav > :nth-child(5) { transition-delay: .2s; }
  .header.open .header__nav > :nth-child(6) { transition-delay: .24s; }
  .header.open .header__nav > :nth-child(7) { transition-delay: .28s; }
  .header.open .header__nav > :nth-child(8) { transition-delay: .32s; }
  .header__nav a.nav__apply,
  .header.open .header__nav a.nav__apply {
    opacity: 1;
    transform: none;
  }
  .header:not(.open) .header__nav a.nav__apply { transition-delay: 0s; }

  .nav-dd__menu {
    display: grid !important;
    grid-template-rows: 0fr;
    grid-template-columns: 1fr !important;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none;
    padding: 0 0 0 4px !important;
    transition: grid-template-rows .4s var(--ease) !important;
  }
  .nav-dd.open .nav-dd__menu,
  .nav-dd.open:hover .nav-dd__menu {
    grid-template-rows: 1fr;
    pointer-events: auto;
    padding: 0 0 8px 4px !important;
  }
  .nav-dd__inner { grid-template-columns: 1fr; }
  .header__nav .nav-dd__menu a {
    opacity: 0;
    transform: translateY(6px);
  }
  .nav-dd.open .nav-dd__menu a {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .nav__apply, .side-btn, .header__call, .fold__btn, .loan-chip,
  .nav-dd__menu, .nav-dd__menu a, .acc__body, .acc__inner, .acc__chev,
  .step-tl__body, .step-tl__inner, .sheet .sheet__back, .sheet .sheet__panel,
  .toast, .side-btn--top, .header__nav, .header__nav > a, .header__nav > .nav-dd {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .btn:not(.magnetic).is-pressed,
  a.nav__apply.is-pressed { transform: none !important; }
}


/* ===== UI polish v=ui17: checkbox error sits under the legal text, not in the 22px box column ===== */
.apply-form .check,
.apply-wrap--dark .apply-form .check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  grid-template-areas:
    "box text"
    ". err";
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
}
.apply-form .check input {
  grid-area: box;
  justify-self: center;
}
.apply-form .check > span {
  grid-area: text;
  min-width: 0;
}
.apply-form .check .field-error,
.apply-form .check .ff__error {
  grid-area: err;
  grid-column: 2;
  margin: 2px 0 0;
  width: auto;
  max-width: 100%;
  white-space: normal;
  writing-mode: horizontal-tb;
  word-break: normal;
  overflow-wrap: anywhere;
  line-height: 1.45;
  font-size: .82rem;
  font-weight: 500;
  color: #c81e1e;
}


/* ===== UI polish v=ui18: gold fire flare when components trigger ===== */
.rf-fire-host { position: relative; }
.rf-flare {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 4;
  transform: translate(-50%, -50%) scale(.2);
  background: radial-gradient(circle, rgba(228, 188, 54, .55) 0%, rgba(228, 188, 54, .16) 42%, rgba(228, 188, 54, 0) 70%);
  animation: rf-flare .55s var(--ease) forwards;
}
@keyframes rf-flare {
  0% { transform: translate(-50%, -50%) scale(.2); opacity: .9; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}
.is-firing {
  animation: rf-glow .5s ease-out;
}
.btn.is-firing,
a.nav__apply.is-firing,
.header__call.is-firing,
.loan-chip.is-firing,
.side-btn.is-firing {
  animation: rf-glow .5s ease-out;
}
@keyframes rf-glow {
  0% { box-shadow: 0 0 0 0 rgba(228, 188, 54, .42); }
  100% { box-shadow: 0 0 0 16px rgba(228, 188, 54, 0); }
}
.acc summary.is-firing,
.nav-dd__btn.is-firing,
.header__nav > a.is-firing,
.fold__btn.is-firing {
  animation: rf-ink-flash .45s ease-out;
}
@keyframes rf-ink-flash {
  0% { color: var(--cta-deep); }
  100% { color: inherit; }
}
.header.open .header__nav.is-firing,
.header.open.is-firing .header__nav {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .rf-flare, .is-firing, .btn.is-firing, a.nav__apply.is-firing {
    animation: none !important;
  }
}


/* ===== UI polish v=ui19: product .sub cards, aligned gold mark, in-place fold ===== */
.subs {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.sub {
  background: #fff;
  border: 1px solid rgba(43, 36, 16, .08);
  border-radius: 16px;
  padding: 16px 18px 14px;
  box-shadow: none;
}
.sub h3 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0;
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
  position: relative;
}
.sub h3::before {
  content: "";
  position: static;
  left: auto;
  top: auto;
  bottom: auto;
  width: 3px;
  height: .9em;
  margin-top: .28em;
  flex: none;
  border-radius: 2px;
  background: var(--cta, #E4BC36);
}
.sub p,
.sub .ticks,
.sub .sub__body,
.sub > .fold,
.sub .fold {
  padding-left: 13px;
  max-width: none;
  margin-bottom: .7em;
}
.sub .ticks { margin-bottom: .35em; }
.sub .sub__body > :last-child,
.sub > p:last-child { margin-bottom: 0; }
.sub > .fold__btn,
.sub .fold__btn {
  margin: 2px 0 2px 13px;
  font-weight: 500;
  font-size: .9rem;
  color: var(--cta-deep, #8A6A12);
}
.sub__body.fold,
.prose.fold,
.fold.clamp {
  max-height: 11.2rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
  mask-image: linear-gradient(#000 70%, transparent);
  transition: max-height .45s var(--ease);
}
.fold.is-open,
.sub__body.fold.is-open,
.prose.fold.is-open,
.fold.clamp.is-open {
  max-height: 200rem;
  -webkit-mask-image: none;
  mask-image: none;
  overflow: visible;
}
.fold.is-open + .fold__btn::after,
.sub .fold.is-open + .fold__btn::after {
  transform: rotate(225deg) translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
  .sub__body.fold, .prose.fold, .fold.clamp {
    transition: none !important;
  }
}

/* ===== UI polish v=ui22: contrast + screen-reader heading text ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.logo__text b { color: #8A6810; }
.story__note,
.calc__note,
.form-note,
.disclaimer { color: #5c5648; }
.footer a[href*="wa.me"]:not(.socials a) { color: #25D366; }


/* ===== UI polish v=ui20: enlarge mobile advisor, keep titles readable ===== */
@media (max-width: 860px) {
  .hero .hero__stage,
  .page-hero .hero__stage {
    width: 58%;
    right: -12px;
    bottom: -24px;
    height: min(calc(100% + 24px), 360px);
    max-height: 360px;
  }
  .page-hero:not(.page-hero--slim) .display--page,
  .page-hero:not(.page-hero--slim) .display--page .h1-main,
  .page-hero:not(.page-hero--slim) .display--page .h1-sub,
  .page-hero:not(.page-hero--slim) .page-hero__lead,
  .hero .display,
  .hero__sub {
    max-width: 54%;
  }
}
@media (max-width: 560px) {
  .hero .hero__stage,
  .page-hero .hero__stage {
    width: 54%;
    right: -10px;
    height: min(calc(100% + 24px), 320px);
    max-height: 320px;
  }
  .page-hero:not(.page-hero--slim) .display--page,
  .page-hero:not(.page-hero--slim) .display--page .h1-main,
  .page-hero:not(.page-hero--slim) .display--page .h1-sub,
  .page-hero:not(.page-hero--slim) .page-hero__lead,
  .hero .display,
  .hero__sub { max-width: 52%; }
}

/* Long restored SEO H1s (e.g. 清卡數邊間好? 二線清數專家 Richfund) must wrap beside the advisor. */
@media (max-width: 860px) {
  .page-hero:not(.page-hero--slim) .display--page .h1-main {
    white-space: normal;
    overflow-wrap: break-word;
  }
}

/* ===== UI polish v=ui21: expanding 閱讀全文 must drop line-clamp (avoids iOS overlap) ===== */
.clamp.is-open,
.fold.is-open,
.sub__body.fold.is-open,
.prose.fold.is-open,
.fold.clamp.is-open {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  max-height: none;
  overflow: hidden;
  -webkit-mask-image: none;
  mask-image: none;
}

/* Prevent text selection and touch callouts on public page content. */
body, body * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
body input, body textarea, body select,
body [contenteditable="true"], body [contenteditable="plaintext-only"],
body #visual-builder input, body #visual-builder textarea {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

/* Product headings get their own mobile row instead of nested half-widths. */
@media (max-width: 860px) {
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .page-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .page-hero__copy { display: contents; }
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .crumbs { grid-row: 1; max-width: 100%; margin: 0; }
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .hero__brand { grid-row: 2; justify-self: start; max-width: 100%; }
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .display--page {
    grid-row: 3; grid-column: 1; width: 100%; max-width: 100%; margin: 4px 0;
  }
  .page-hero:not(.page-hero--slim) .display--page .h1-main,
  .page-hero:not(.page-hero--slim) .display--page .h1-sub {
    max-width: 100%; width: auto; white-space: normal; word-break: normal; overflow-wrap: normal;
  }
  .page-hero:not(.page-hero--slim) .display--page .h1-main { font-size: clamp(1.65rem, 7vw, 2.25rem); line-height: 1.28; letter-spacing: 0; }
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .page-hero__lead {
    grid-row: 4; grid-column: 1; align-self: center; max-width: 48%; margin: 0; z-index: 3;
  }
  .page-hero:not(.page-hero--slim) .page-hero__stage {
    position: relative; grid-row: 4; grid-column: 1; justify-self: end;
    width: 50%; height: 230px; min-height: 0; max-height: none; right: 0; bottom: 0;
  }
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .page-hero__cta { grid-row: 5; grid-column: 1; margin-top: 0; }
}

/* Mobile audit: separate homepage copy from the advisor and enlarge touch controls. */
@media (max-width: 860px) {
  .hero .hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hero .hero__copy { display: contents; }
  .hero .hero__brand { grid-row: 1; justify-self: start; max-width: 100%; white-space: normal; }
  .hero .display { grid-row: 2; grid-column: 1; max-width: 100%; width: 100%; margin: 4px 0; }
  .hero .display__line { font-size: clamp(1.9rem, 8vw, 2.4rem); line-height: 1.25; }
  .hero .hero__sub { grid-row: 3; grid-column: 1; align-self: center; max-width: 48%; margin: 0; }
  .hero .hero__phrase, .hero .hero__break { white-space: normal; }
  .hero .hero__stage {
    position: relative; grid-row: 3; grid-column: 1; justify-self: end;
    width: 50%; height: 230px; min-height: 0; max-height: none; right: 0; bottom: 0;
  }
  .hero .hero__cta { grid-row: 4; grid-column: 1; margin-top: 0; }
  main button, main .button, .acc summary { min-height: 44px; }
  main button { min-width: 44px; }
  .tile__back a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Blend the advisor cutout's bottom edge into the hero background. */
.hero__advisor {
  filter: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent 100%), linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent 100%), linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* Hide unsplit hero copy before JS prepares the original letter animation. */
.motion-pending .hero [data-split]:not(.split-in):not(.split-done) { visibility: hidden; }
.motion-fallback .hero [data-split], .motion-fallback .hero .display .ch,
.motion-fallback .page-hero .display--page {
  visibility: visible; opacity: 1; transform: none; animation: none;
}

/* Advisor illustrations sit behind the copy rather than adding a layout row. */
@media (max-width: 860px) {
  .hero .hero__inner,
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .page-hero__inner {
    display: block; position: relative; min-height: 230px;
  }
  .hero .hero__copy,
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .page-hero__copy {
    display: block; position: relative; z-index: 2; width: 48%; min-height: 230px;
  }
  .hero .hero__copy { position: static; }
  .hero .hero__inner:has(.hero__cta),
  .page-hero:not(.page-hero--slim):has(.page-hero__cta) .page-hero__inner { padding-bottom: 74px; }
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .page-hero__copy { position: static; }
  .hero .hero__stage,
  .page-hero:not(.page-hero--slim) .page-hero__stage {
    position: absolute; right: 0; bottom: 0; top: auto; width: 50%; height: 230px; z-index: 1;
  }
  .hero .hero__inner:has(.hero__cta) .hero__stage,
  .page-hero:not(.page-hero--slim):has(.page-hero__cta) .page-hero__stage { bottom: 74px; }
  .hero .hero__cta,
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .page-hero__cta {
    position: absolute; bottom: 0; left: 0; right: 0; width: 100%; margin: 0; z-index: 3;
  }
  .hero .display, .hero .hero__sub,
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .display--page,
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .page-hero__lead,
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .crumbs { max-width: 100%; width: auto; }
  .hero .hero__brand,
  .page-hero:not(.page-hero--slim) .hero__brand { max-width: 100%; white-space: normal; margin-bottom: 10px; }
  .hero .hero__copy { padding-top: 44px; min-height: 274px; }
  .hero .hero__brand { position: absolute; top: 0; left: 0; width: max-content; max-width: 100%; font-size: .78rem !important; letter-spacing: .02em; padding: 6px 10px; }
  .hero .display__line { font-size: clamp(1.45rem, 6.6vw, 2rem); line-height: 1.3; }
  .hero .hero__sub { margin: 14px 0 0; }
  .page-hero:not(.page-hero--slim) .display--page .h1-main { font-size: clamp(1.45rem, 6vw, 2rem) !important; }
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .display--page { margin: 4px 0 12px; }
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .page-hero__lead { margin: 0; }
  .page-hero.page-hero--apply { padding: 12px 0; }
  .page-hero.page-hero--apply + .usp .container { padding-top: 8px; padding-bottom: 8px; gap: 8px; }
}
@media (min-width: 861px) {
  .hero .hero__inner,
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .page-hero__inner { display: block; position: relative; }
  .hero .hero__inner { min-height: 440px; }
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .page-hero__inner { min-height: 400px; }
  .hero .hero__copy,
  .page-hero:not(.page-hero--slim):has(.page-hero__stage) .page-hero__copy { position: relative; z-index: 2; width: 50%; padding-right: 20px; }
  .hero .hero__stage,
  .page-hero:not(.page-hero--slim) .page-hero__stage { position: absolute; right: 0; bottom: 0; width: calc(50% - 15px); }
}

/* Keep the desktop advisor callout readable over the light hero background. */
.promo__amt, .promo__sub { color: var(--ink); text-shadow: none; }
.promo__amt b { color: var(--cta-deep); text-shadow: none; }

/* Consistent spacing between breadcrumbs, hero labels and headings. */
.page-hero { --hero-copy-gap: 16px; }
.page-hero .crumbs,
.page-hero:not(.page-hero--slim):has(.page-hero__stage) .crumbs {
  margin: 0 0 var(--hero-copy-gap);
}
.page-hero .hero__brand,
.page-hero:not(.page-hero--slim) .hero__brand {
  display: inline-flex; margin: 0; vertical-align: middle;
}
.page-hero .display--page,
.page-hero:not(.page-hero--slim):has(.page-hero__stage) .display--page {
  margin: var(--hero-copy-gap) 0 14px;
}
@media (min-width: 861px) {
  .page-hero { --hero-copy-gap: 20px; }
}

/* Present each hero highlight as a separate, readable label. */
.page-hero .hero__brand:has(.hero__brand-chip) {
  display: inline-flex; flex-wrap: wrap; gap: 6px;
  padding: 0; background: transparent; box-shadow: none;
  line-height: 1.4;
}
.page-hero .hero__brand-chip {
  display: inline-block; padding: 5px 10px; border-radius: 999px;
  background: rgba(46, 33, 0, .9); color: var(--cta-deep);
  box-shadow: 0 3px 0 rgba(46, 33, 0, .22);
  font-size: .78rem; letter-spacing: .02em; white-space: normal;
}
