/* Third visual study: clear subjects, textile light, and an open editorial rhythm. */
:root {
  color-scheme: light;
  --page: #faf9fd; --surface: #fff; --ink: #242438; --muted: #606078;
  --accent: #514a96; --accent-hover: #35315e; --mint: #eeecf7; --lilac: #e9e7f7;
  --line: #d9d6e8; --font: "PingFang SC", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, sans-serif;
  --display-font: "Songti SC", "Noto Serif CJK SC", "STSong", serif;
}
body { background: var(--page); color: var(--ink); font-family: var(--font); }
h1,h2,h3 { color: var(--ink); }
.site-header { background: rgba(255,255,255,.96); border-color: #e1dfeb; backdrop-filter: none; }
.nav { min-height: 86px; }
.nav-links { gap: 4px 30px; }
.nav-links a { color: #48465e; font-weight: 500; }
.nav-links a:hover,.nav-links .product-switch { color: var(--accent); }
a,button { -webkit-tap-highlight-color: rgba(81,74,150,.12); }
a:focus-visible,button:focus-visible,summary:focus-visible { outline: 3px solid #7761b4; outline-offset: 5px; }
.primary-link,.primary-button { color: #fff; background: #29263f; border-color: #29263f; border-radius: 8px; font-weight: 550; box-shadow: none; }
.primary-link:hover,.primary-button:hover { color: #fff; background: #514a96; border-color: #514a96; }
.quiet-link { color: #353149; background: rgba(255,255,255,.82); border-color: #a9a1c3; border-radius: 8px; font-weight: 500; }
.quiet-link:hover { background: #ece8f7; }
.text-link { color: var(--accent); border-color: #b1a6d0; font-weight: 550; }
.text-link:hover { color: #29263f; border-color: currentColor; }
.section-label,.eyebrow { color: #70608e; letter-spacing: .04em; }

/* The illustration supports the two real product icons, not a separate picture frame. */
.hero { min-height: 680px; padding-top: 92px; padding-bottom: 100px; background: #f2f0fa; }
.hero-content { position: relative; z-index: 1; width: min(610px,51%); }
.hero h1 { max-width: 11em; font-family: var(--display-font); font-size: clamp(44px,4.35vw,64px); font-weight: 600; line-height: 1.37; letter-spacing: -.03em; color: #29263f; margin-bottom: 26px; }
.hero .hero-lead { max-width: 29em; color: #57516e; font-size: 17px; line-height: 1.95; text-wrap: pretty; }
.hero .hero-image { inset: 0; width: auto; height: auto; background: none; z-index: 0; border: 0; border-radius: 0; box-shadow: none; transform: none; -webkit-mask-image: none; mask-image: none; }
.hero .hero-overlay { z-index: -1; background: linear-gradient(90deg,rgba(250,249,253,.7),rgba(250,249,253,.2) 40%,transparent 57%),url('/assets/lilac-home-silk.webp') center / cover no-repeat; }
.hero .hero-image::before,.hero .hero-image::after { content: ""; position: absolute; background-size: cover; border-radius: 23%; box-shadow: 0 0 0 1px rgba(255,255,255,.7),0 -3px 15px 3px rgba(255,255,255,.82),0 0 42px 12px rgba(198,185,247,.5),0 18px 34px rgba(47,35,91,.15); outline: 1px solid rgba(255,255,255,.66); }
.hero .hero-image::before { width: clamp(170px,17vw,244px); aspect-ratio: 1; left: calc(50% + 48px); top: 40%; background-image: url('/assets/zhaoxu-app-icon.png?v=20261115'); transform: rotate(-3deg); z-index: 2; }
.hero .hero-image::after { width: clamp(155px,15.5vw,222px); aspect-ratio: 1; left: min(calc(50% + 390px),calc(100% - 252px)); top: 24%; background-image: url('/assets/multi-identity-keyboard-app-icon.png'); transform: rotate(4deg); }
.hero-actions { margin-top: 32px; gap: 14px 20px; }
.hero .primary-link,.hero .quiet-link { padding: 14px 24px; }

/* Open alternating layouts keep identity, capabilities, and explanation together. */
.products-section { display: grid; grid-template-columns: 1fr; gap: 68px; padding-top: 86px; padding-bottom: 100px; background: #fff; }
.section-intro { margin-bottom: 0; gap: 10px 32px; }
.section-intro h2,.privacy-intro h2,.company-copy h2 { font-family: var(--display-font); font-weight: 600; font-size: clamp(34px,3.3vw,46px); letter-spacing: -.015em; }
.section-intro > p:last-child { color: var(--muted); }
.product-entry,.product-entry#multi-identity-keyboard { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 0 54px; padding-top: 42px; border: 0; border-top: 1px solid #dedbe9; border-radius: 0; background: transparent; box-shadow: none; }
.product-name { position: relative; grid-column: 1; grid-row: 1; min-height: 270px; padding: 32px 36px; overflow: hidden; background: #eeebf9; border-radius: 14px 14px 70px 14px; display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.product-name::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(245,242,254,.96),rgba(245,242,254,.72)),url('/assets/lilac-editorial-hero.webp') 85% center / auto 140%; }
.product-name > * { position: relative; }
.product-name > p { font-size: 12px; color: #72628f; margin: 0; }
.product-identity { display: flex; align-items: center; gap: 24px; }
.product-icon { width: 102px; height: 102px; box-shadow: 0 15px 28px rgba(66,45,126,.13); }
.product-name h3,.product-title--long h3 { font-size: clamp(28px,2.4vw,35px); font-weight: 550; line-height: 1.35; color: #29263f; }
.product-name span { color: #655979; font-size: 12px; letter-spacing: .03em; }
.product-copy { grid-column: 2; grid-row: 1 / 3; padding: 12px 0 0; }
.product-audience { color: #353049; font-size: 21px; font-weight: 550; line-height: 1.65; margin-bottom: 22px; }
.product-copy > p:not(.product-audience) { color: var(--muted); font-size: 16px; line-height: 1.95; margin-bottom: 26px; text-wrap: pretty; }
.product-capabilities { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: start; gap: 14px 16px; margin: 0; padding: 26px 8px 0; border: 0; }
.product-capabilities li { color: #665b7b; font-size: 13px; line-height: 1.75; }
.product-capabilities li::before { content: ""; display: inline-block; width: 12px; height: 1px; background: #9787b6; margin: 0 9px 4px 0; }
.product-entry#multi-identity-keyboard { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); }
.product-entry#multi-identity-keyboard .product-name { grid-column: 2; border-radius: 14px 14px 14px 70px; background: #302e4b; }
.product-entry#multi-identity-keyboard .product-name::before { background: radial-gradient(ellipse at 90% 10%,#5c4f88,transparent 75%),#302e4b; }
.product-entry#multi-identity-keyboard .product-name h3 { color: #faf8ff; font-size: clamp(25px,2.1vw,31px); }
.product-entry#multi-identity-keyboard .product-name > p,.product-entry#multi-identity-keyboard .product-name span { color: #d7cfea; }
.product-entry#multi-identity-keyboard .product-copy { grid-column: 1; }
.product-entry#multi-identity-keyboard .product-capabilities { grid-column: 2; }
.app-store-download { background: #f5f3fa; border-color: #e0dceb; border-radius: 10px; margin-top: auto; margin-bottom: 20px; }
.app-store-download-label,.app-store-qr-link { color: var(--muted); }
.app-store-page-link { color: var(--accent); }

.privacy-section { background: #28273f; color: #fff; padding-top: 88px; padding-bottom: 94px; gap: 64px; }
.privacy-intro h2,.privacy-facts h3 { color: #faf8ff; }
.privacy-intro .section-label,.privacy-facts article > span { color: #c3b6e0; }
.privacy-intro > p:not(.section-label),.privacy-facts p { color: #d1cbe1; line-height: 1.95; }
.privacy-facts article { border-color: #5d5676; }
.privacy-links .text-link { color: #e5dcf9; border-color: #9b8fb8; }
.privacy-section a:focus-visible { outline-color: #d6c4ff; }
.company-section { background: #f4f1fa; padding-top: 86px; padding-bottom: 90px; }
.company-copy > p:last-child { color: var(--muted); }
.company-details,.company-details p { border-color: #cfc8de; }
.company-details span { color: #6c5e84; }
.site-footer { background: #faf9fd; border-color: #e1dcea; color: var(--ink); }
.site-footer a,.footer-links a,.footer-group a,.site-footer p { color: #60566f; }
.site-footer a:hover { color: var(--accent); }
.site-footer h2 { color: #353049; }
.footer-legal { border-color: #ded8e8; }
.icp-filing { color: #60566f; }
.icp-filing .police-filing-link img { width: 18px; height: 20px; }

.product-page { --product-tint: #eeebf8; --product-tint-deep: #ddd6ef; --product-line: #d6cde6; color: var(--ink); }
.product-keyboard { --product-tint: #eceaf6; --product-tint-deep: #d9d5ed; }
.product-page .product-hero { background: #f5f3fb; border-bottom: 1px solid #ddd8eb; }
.product-page .product-hero::before { background: linear-gradient(90deg,#f8f6fc 30%,rgba(248,246,252,.76)),url('/assets/lilac-editorial-hero.webp') center / cover no-repeat; }
.product-page .hero-inner { padding-top: 82px; padding-bottom: 86px; }
.product-page h1,.product-page h2,.product-page h3 { color: #2f2945; }
.product-page h1 { font-family: var(--display-font); font-weight: 600; line-height: 1.3; }
.product-page h2 { font-weight: 550; }
.product-page .eyebrow { color: #6c5686; }
.product-page .hero-lead { color: #61566f; line-height: 1.95; text-wrap: pretty; }
.product-page .hero-copy > p:not(.eyebrow):not(.hero-lead) { color: #61566f; }
.product-page .hero-card { background: #302c47; border: 1px solid #504662; border-radius: 22px 22px 54px 22px; box-shadow: 0 22px 54px rgba(48,44,71,.16); }
.product-page .hero-product strong,.product-page .hero-card dd { color: #faf8fe; }
.product-page .hero-product span,.product-page .hero-card dt { color: #d0c4e2; }
.product-page .hero-product,.product-page .hero-card dl > div { border-color: #685c7c; }
.product-page .app-store-download { background: #fff; border-color: #ded7e9; }
.product-page .app-store-download-label,.product-page .app-store-qr-link { color: #665b74; }
.product-page .app-store-page-link { color: var(--accent); text-decoration-color: #a995c8; }
.product-page .app-store-page-link:hover { color: #302c47; }
.product-page .section-heading > p:last-child { color: var(--muted); }
.product-page .content-section { background: #fff; }
.product-page .content-section.alt { background: #eeebf7; }
.product-page .feature-card { border-color: var(--line); }
.product-page .feature-card > span,.product-page .privacy-fact > span,.product-page .workflow-list > li::before,.product-page .offering-card .card-label { color: #71608d; }
.product-page .feature-card p,.product-page .workflow-list p,.product-page .privacy-fact p,.product-page .offering-card > p:not(.card-label),.product-page .offering-card li { color: var(--muted); }
.product-page .privacy-section { background: #eae5f5; }
.product-page .privacy-fact { background: #fff; border-color: #d7cce7; border-radius: 14px; }
.product-page .offering-card { background: #fff; border-color: #d7cce7; border-radius: 16px; }
.product-page .closing-section { background: #ede7f6; }
.product-page .closing-section p:not(.eyebrow) { color: #64536e; }
.product-page .closing-section .eyebrow { color: #67517b; }

.support-hero,.legal-hero { background: #eeebf8; border-color: #d9d1e9; }
.support-hero .hero-lead,.legal-hero .hero-lead { color: #61566f; }
.hero-card { background: #fff; border-color: #d9d1e9; box-shadow: 0 16px 40px rgba(48,44,71,.06); }
.hero-card dd,.hero-product-identity strong { color: var(--ink); }
.hero-card dt,.support-update,.document-meta { color: #6c587e; }
.hero-card dd a { color: var(--accent); }
.steps li { background: #fff; border-color: #d9d1e9; border-radius: 12px; }
.steps li > span { color: var(--accent); }
.steps p,.faq-grid p { color: var(--muted); }
.faq-section { background: #f0edf8; }
.faq-grid,.faq-grid article { border-color: #d3c8e3; }
.contact-card { background: #ede7f7; border-color: #d4c8e5; border-radius: 12px; }
.contact-card:hover { background: #e6dcef; border-color: #a792c2; }
.contact-card strong,.contact-section > div > p.privacy-note { color: var(--accent); }
.table-of-contents { background: #fff; border-color: #d7cce7; border-radius: 12px; }
.table-of-contents a { color: var(--muted); }
.summary-card,.notice-card { background: #efebf8; border-color: #d9cde8; border-left-color: var(--accent); }
.legal-document { color: var(--ink); }
.legal-document h2,.legal-document h3 { color: #353049; }
.contact-panel { background: #fff; border-color: var(--line); }
.data-table,.legal-document section { border-color: var(--line); }
.not-found { background: #eeebf8; }

@media(min-width:1800px) { .hero { min-height: 760px; } }
@media(max-width:1100px) {
  .hero-content { width: 55%; }
  .hero h1 { font-size: 48px; }
  .hero .hero-image::before { left: calc(55% + 4px); width: clamp(142px,15vw,165px); }
  .hero .hero-image::after { left: calc(55% + 210px); width: clamp(132px,14vw,152px); }
  .product-entry,.product-entry#multi-identity-keyboard { gap: 0 34px; }
  .product-name { padding: 26px; }
  .product-icon { width: 78px; height: 78px; }
  .product-identity { gap: 20px; }
  .product-name h3,.product-title--long h3 { font-size: 28px; }
  .privacy-section { gap: 32px; }
}
@media(max-width:800px) {
  .hero { min-height: 0; padding: 56px 28px 260px; background: #f1edfa; }
  .hero-content { width: 100%; }
  .hero h1 { font-size: clamp(38px,8vw,49px); }
  .hero .hero-lead { max-width: 32em; font-size: 16px; }
  .hero .hero-image { background: none; }
  .hero .hero-overlay { background: linear-gradient(180deg,rgba(251,249,255,.88) 0%,rgba(251,249,255,.55) 48%,transparent 72%),url('/assets/lilac-home-silk.webp') 65% center / auto 100% no-repeat; }
  .hero .hero-image::before { left: calc(50% - 165px); top: auto; bottom: 36px; width: 156px; }
  .hero .hero-image::after { left: calc(50% + 25px); top: auto; bottom: 96px; width: 140px; }
  .products-section { gap: 46px; padding-top: 56px; padding-bottom: 64px; }
  .product-entry,.product-entry#multi-identity-keyboard { grid-template-columns: 1fr; gap: 0; padding-top: 28px; }
  .product-name,.product-entry#multi-identity-keyboard .product-name { grid-column: 1; grid-row: 1; min-height: 220px; border-radius: 12px 12px 50px 12px; }
  .product-copy,.product-entry#multi-identity-keyboard .product-copy { grid-column: 1; grid-row: 2; padding: 28px 0 0; }
  .product-capabilities,.product-entry#multi-identity-keyboard .product-capabilities { grid-column: 1; grid-row: 3; padding: 22px 0 0; }
  .product-audience { font-size: 19px; }
  .product-name h3,.product-title--long h3,.product-entry#multi-identity-keyboard .product-name h3 { font-size: 28px; }
  .privacy-section,.company-section { padding-top: 58px; padding-bottom: 62px; }
  .product-page .hero-inner { padding-top: 54px; padding-bottom: 58px; }
}
@media(max-width:420px) {
  .nav { min-height: 0; }
  .hero { padding: 43px 22px 246px; }
  .hero h1 { font-size: 37px; }
  .hero .hero-image::before { left: calc(50% - 148px); width: 134px; bottom: 36px; }
  .hero .hero-image::after { left: calc(50% + 24px); width: 122px; bottom: 88px; }
  .hero-actions { margin-top: 25px; gap: 12px; }
  .hero .primary-link,.hero .quiet-link { padding: 13px 19px; }
  .product-name { padding: 24px 20px; }
  .product-identity { gap: 16px; }
  .product-icon { width: 70px; height: 70px; }
  .product-name h3,.product-title--long h3,.product-entry#multi-identity-keyboard .product-name h3 { font-size: 24px; }
  .product-capabilities { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation: none !important; transition: none !important; } }
