/* Brand colors, serif typography and imagery reference https://www.lefin.com.cn/. */
.lefin-home {
  --home-blue: #1d3e89;
  --home-ink: #252637;
  --home-muted: #717583;
  --home-line: #e0e1e9;
  margin: 0;
  color: var(--home-ink);
  background: #fcfbfe;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.lefin-home *, .lefin-home *::before, .lefin-home *::after { box-sizing: border-box; }
.lefin-home a { color: inherit; text-decoration: none; }
.lefin-home a:focus-visible { outline: 3px solid #5379c7; outline-offset: 5px; }
.lefin-home p, .lefin-home h1, .lefin-home h2, .lefin-home figure { margin: 0; }
.home-container { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.home-brand-strip { background: var(--home-blue); color: #fff; font-size: 10px; letter-spacing: 1.6px; }
.home-brand-strip .home-container { display: flex; justify-content: space-between; padding-block: 9px; }
.home-brand-note { color: #d5dff4; }
.home-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; border-bottom: 1px solid var(--home-line); }
.home-brand { display: flex; align-items: center; gap: 22px; }
.home-brand img { width: 94px; height: auto; display: block; }
.home-brand-divider { width: 1px; height: 32px; background: var(--home-line); }
.home-brand-title { font-size: 17px; font-weight: 600; letter-spacing: 2px; }
.home-brand-title small { display: block; margin-top: 6px; font-size: 8px; font-weight: 500; letter-spacing: 1.4px; color: var(--home-muted); }
.home-nav { display: flex; align-items: center; gap: 34px; font-size: 12px; }
.home-nav-current { position: relative; color: var(--home-blue) !important; }
.home-nav-current::after { content: ""; position: absolute; bottom: -14px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: var(--home-blue); }
.home-brand-link { display: inline-flex; align-items: center; gap: 18px; padding-block: 10px; border-bottom: 1px solid #a6aebb; }
.home-brand-link span { font-size: 20px; }
.home-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 54px; padding-block: 52px 44px; }
.home-eyebrow { display: flex; align-items: center; gap: 12px; color: var(--home-blue); font-size: 9px; font-weight: 600; letter-spacing: 2px; }
.home-eyebrow > span { width: 28px; height: 1px; background: var(--home-blue); }
.home-intro h1 { margin-block: 25px 22px; font-family: "Songti SC", STSong, "Noto Serif SC", serif; font-size: clamp(38px, 4.4vw, 62px); font-weight: 500; line-height: 1.28; letter-spacing: -1.6px; }
.home-intro h1 em { color: var(--home-blue); font-style: normal; position: relative; display: inline-block; z-index: 0; }
.home-intro h1 em::after { content: ""; position: absolute; left: 0; right: 6%; height: 8px; bottom: 6px; border-radius: 50%; background: #e5dcf1; z-index: -1; }
.home-description { font-size: 14px; line-height: 1.95; color: #666b79; }
.home-entry-actions { display: flex; align-items: center; gap: 27px; margin-top: 28px; }
.home-primary-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 54px; padding: 16px 22px; background: var(--home-blue); color: #fff !important; font-size: 13px; transition: background 160ms ease, transform 160ms ease; }
.home-primary-action:hover { background: #102c6b; transform: translateY(-2px); }
.home-primary-action > span:last-child { font-size: 23px; font-weight: 300; line-height: 1; }
.home-client-action { display: inline-flex; align-items: center; gap: 18px; min-height: 46px; font-size: 12px; border-bottom: 1px solid #c6c9d4; }
.home-client-action:hover, .home-brand-link:hover { color: var(--home-blue); border-bottom-color: var(--home-blue); }
.home-client-action > span:last-child { font-size: 19px; }
.home-entry-note { display: flex; align-items: center; gap: 7px; margin-top: 17px !important; font-size: 10px; color: var(--home-muted); }
.home-entry-note svg { width: 15px; height: 15px; flex: none; stroke: currentColor; stroke-width: 1.2; }
.home-origin { position: relative; align-self: stretch; min-height: 390px; overflow: hidden; background: #e9ecf2; }
.home-origin-image { display: block; width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 60% center; }
.home-origin-heading { position: absolute; top: 33px; left: 30px; display: grid; gap: 8px; color: var(--home-blue); }
.home-origin-heading > span:first-child { font-size: 8px; letter-spacing: 3px; }
.home-origin-heading strong { font-family: Georgia, serif; font-size: 34px; font-weight: 400; letter-spacing: 1px; }
.home-origin-heading > span:last-child { font-size: 11px; letter-spacing: 2px; }
.home-origin-seal { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; position: absolute; top: 26px; right: 26px; width: 92px; height: 92px; border: 1px solid #889bbb; border-radius: 50%; outline: 1px dashed #aab8cb; outline-offset: -6px; color: var(--home-blue); transform: rotate(12deg); }
.home-origin-seal span { font-size: 6px; letter-spacing: 1.4px; }
.home-origin-seal strong { font-family: Georgia, serif; font-size: 23px; font-weight: 400; }
.home-origin-caption { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 20px 28px; color: #fff; background: var(--home-blue); font-family: "Songti SC", STSong, "Noto Serif SC", serif; font-size: 18px; letter-spacing: 1px; }
.home-origin-caption small { display: block; margin-top: 8px; font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 7px; letter-spacing: 2.5px; color: #c7d4ef; }
.home-origin-mark { font-size: 35px; font-weight: 400; color: #dcd6ed; }
.home-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.home-section-heading h2 { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; }
.home-section-heading h2 span { font-size: 8px; letter-spacing: 1.8px; color: var(--home-muted); }
.home-section-heading p { font-size: 10px; color: var(--home-muted); }
.home-section-heading p span { margin-left: 13px; font-size: 15px; }
.home-modules { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--home-line); }
.home-module { display: flex; flex-direction: column; padding: 22px 24px; transition: background 160ms ease; }
.home-module + .home-module { border-left: 1px solid var(--home-line); }
.home-module:hover { background: #f0edf7; }
.home-module-label { display: flex; gap: 12px; color: var(--home-blue); font-family: Georgia, serif; font-size: 13px; }
.home-module-label > span { font-family: -apple-system, BlinkMacSystemFont, sans-serif; color: var(--home-muted); font-size: 8px; line-height: 17px; letter-spacing: 1.5px; }
.home-module-heading { display: flex; justify-content: space-between; align-items: center; margin-block: 14px 9px; }
.home-module-heading strong { font-size: 16px; font-weight: 500; }
.home-module-heading > span { font-size: 21px; color: var(--home-blue); transition: transform 160ms ease; }
.home-module:hover .home-module-heading > span { transform: translate(2px, -2px); }
.home-module-description { color: var(--home-muted); font-size: 11px; }
.home-footer { display: flex; justify-content: space-between; gap: 16px; padding-block: 27px; font-size: 9px; color: var(--home-muted); }
.home-footer p > span { margin-left: 16px; }
.home-footer-tagline { letter-spacing: 1.8px; }
.home-skip-link { position: fixed; top: -80px; left: 20px; padding: 12px 20px; z-index: 10; color: #fff !important; background: var(--home-blue); }
.home-skip-link:focus { top: 8px; }
.home-notice { padding: 12px 24px; color: var(--home-blue); background: #e9edf8; font-size: 13px; text-align: center; }
@media (min-width: 1450px) {
  .home-hero { padding-block: 64px 54px; gap: 70px; }
  .home-origin { min-height: 425px; }
}
@media (max-width: 1000px) {
  .home-container { width: calc(100% - 64px); }
  .home-hero { gap: 30px; }
  .home-origin { min-height: 370px; }
  .home-origin-seal { width: 74px; height: 74px; right: 18px; }
  .home-origin-seal strong { font-size: 19px; }
  .home-origin-seal span { font-size: 5px; }
  .home-origin-heading { left: 22px; }
  .home-origin-heading strong { font-size: 27px; }
  .home-entry-actions { gap: 17px; flex-wrap: wrap; }
  .home-primary-action { padding-inline: 17px; gap: 18px; }
  .home-module { padding: 20px 18px; }
}
@media (max-width: 760px) {
  .home-container { width: calc(100% - 40px); }
  .home-brand-note, .home-nav-current { display: none; }
  .home-brand-strip .home-container { justify-content: center; font-size: 9px; letter-spacing: 1px; }
  .home-header { min-height: 90px; gap: 12px; }
  .home-brand { gap: 12px; }
  .home-brand img { width: 65px; }
  .home-brand-title { font-size: 13px; letter-spacing: 1px; }
  .home-brand-title small { font-size: 6px; letter-spacing: .5px; }
  .home-brand-divider { height: 27px; }
  .home-brand-link { font-size: 10px; gap: 7px; }
  .home-brand-link span { font-size: 17px; }
  .home-hero { grid-template-columns: 1fr; gap: 32px; padding-block: 36px 32px; }
  .home-eyebrow { font-size: 8px; letter-spacing: 1.5px; }
  .home-intro h1 { font-size: clamp(37px, 9vw, 56px); margin-block: 23px 19px; }
  .home-description { font-size: 13px; }
  .home-entry-actions { margin-top: 25px; gap: 24px; }
  .home-primary-action { min-height: 52px; padding-inline: 18px; }
  .home-origin { min-height: 290px; }
  .home-origin-heading { top: 24px; }
  .home-origin-seal { top: 20px; right: 22px; }
  .home-origin-caption { padding: 15px 22px; font-size: 16px; }
  .home-origin-caption small { margin-top: 5px; }
  .home-section-heading { align-items: flex-start; }
  .home-section-heading h2 { gap: 8px; }
  .home-section-heading p { font-size: 9px; }
  .home-section-heading p span { display: none; }
  .home-modules { grid-template-columns: repeat(2, 1fr); }
  .home-module { padding: 20px; }
  .home-module:nth-child(3) { border-left: 0; }
  .home-module:nth-child(n+3) { border-top: 1px solid var(--home-line); }
  .home-footer { flex-direction: column; gap: 10px; padding-block: 24px; }
}
@media (max-width: 370px) {
  .home-container { width: calc(100% - 32px); }
  .home-brand-title small { display: none; }
  .home-brand-divider { display: none; }
  .home-brand { gap: 8px; }
  .home-entry-actions { gap: 15px; }
  .home-client-action { gap: 10px; }
  .home-section-heading h2 span { display: none; }
  .home-module { padding: 18px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .lefin-home *, .lefin-home *::before, .lefin-home *::after { transition: none !important; }
}
