/* 首页独立布局，不参与论坛的宽屏网格计算。 */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
body:before { content: ''; position: fixed; z-index: 100; inset: 0 auto auto 0; width: 100%; height: 2px; background: linear-gradient(90deg, #6bd1dc, #4388f5); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left; pointer-events: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { cursor: pointer; }
.site-home .wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-home .brand { display: inline-flex; align-items: center; gap: 10px; color: #f3f7fc; font-size: 21px; font-weight: 700; letter-spacing: -.4px; white-space: nowrap; }
.home-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 88px; border-bottom: 1px solid #ffffff0c; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 13px; color: var(--muted); }
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="location"] { color: #e9f3ff; }
.site-nav .chart-app-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid #47738880; border-radius: 999px; color: #9bdce6; background: #63cddd0d; transition: border-color .2s, background .2s, transform .2s; }
.site-nav .chart-app-link:hover { border-color: #63cddd99; background: #63cddd19; transform: translateY(-1px); }
.home-actions { display: flex; align-items: center; gap: 12px; }
.language-form label, .view-number { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.site-home .language-form select { height: 38px; max-width: 140px; padding: 0 10px; font-size: 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 9px; cursor: pointer; }
.site-home .button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 14px 22px; border-radius: 10px; font-size: 14px; font-weight: 600; background: #4285f4; color: #fff; box-shadow: 0 8px 22px #4285f426; transition: background .2s, box-shadow .2s, transform .2s; }
.site-home .button.small { padding: 11px 16px; font-size: 12px; }
.site-home .button:hover { background: #3476df; box-shadow: 0 12px 28px #4285f44a; transform: translateY(-2px); }
.site-home a:focus-visible, .site-home button:focus-visible, .site-home select:focus-visible, .site-home summary:focus-visible { outline: 2px solid #75cfdc; outline-offset: 4px; }
.text-button { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; color: #bbd0e7; padding: 12px 0; }
.text-button:hover { color: #fff; }
.home-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding: 54px 0 42px; }
.hero-copy { min-width: 0; }
.site-home .eyebrow { color: #77cddb; font-size: 10px; font-weight: 600; letter-spacing: 1.8px; line-height: 1.7; }
.signal { display: inline-block; width: 6px; height: 6px; background: #63cddd; border-radius: 50%; margin-inline-end: 8px; }
.site-home h1 { margin: 22px 0; font-size: clamp(40px, 4.5vw, 60px); font-weight: 700; line-height: 1.18; letter-spacing: -1.6px; overflow-wrap: anywhere; }
.site-home h1 em { display: inline-block; font-style: normal; color: #75cfdc; }
.hero-description { max-width: 460px; font-size: 15px; line-height: 1.85; color: #a8bdd4; margin: 0 0 20px; }
.site-home .pricing-note { display: flex; flex-direction: column; margin: 20px 0 24px; gap: 7px; line-height: 1.7; font-size: 12px; max-width: 460px; color: var(--muted); }
.site-home .pricing-note strong { color: #9de2c0; font-size: 14px; }
.site-home .pricing-note strong:before { content: '✓'; margin-inline-end: 7px; }
.site-home .pricing-note small { font-size: 11px; color: #8fa5bf; }
.site-home .pricing-fineprint { font-size: 11px; color: #8fa5bf; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.micro { font-size: 11px; line-height: 1.7; color: #8fa5bf; margin: 16px 0 0; }
.product-art { --pointer-x: 50%; --pointer-y: 50%; min-width: 0; padding: 20px; border: 1px solid #2b3e57; border-radius: 24px; background: radial-gradient(ellipse at var(--pointer-x) var(--pointer-y), #4388f51c, transparent 45%), linear-gradient(150deg, #1a2a43, #142437); overflow: hidden; box-shadow: 0 26px 70px #02091438; transition: border-color .3s, box-shadow .3s, transform .18s ease-out; transform: perspective(1100px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); }
.product-art:hover { border-color: #5684ba70; box-shadow: 0 30px 80px #02091455; }
.art-heading { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; }
.art-tag { margin-inline-start: auto; font-size: 10px; font-weight: 400; color: #9ab0c9; border: 1px solid #31455e; border-radius: 20px; padding: 5px 10px; }
.device-stage { position: relative; height: 416px; margin-top: 16px; background: radial-gradient(ellipse at center, #4285f41e, transparent 70%); }
.device-stage:before { content: ''; position: absolute; inset: 70px 0 40px; border: 1px solid #63cddd12; border-radius: 50%; box-shadow: 0 0 0 28px #63cddd04; }
.app-preview { position: absolute; padding: 5px; border: 1px solid #4b6080; border-radius: 22px; background: #0c1624; box-shadow: 0 20px 40px #0005; overflow: hidden; }
.app-preview img { border-radius: 16px; width: 100%; }
.preview-primary { width: 170px; inset-inline-start: calc(50% - 150px); top: 18px; transform: rotate(-6deg); z-index: 2; }
.preview-secondary { width: 144px; inset-inline-end: calc(50% - 150px); top: 60px; transform: rotate(7deg); opacity: .85; }
.preview-label { position: absolute; bottom: 2px; inset-inline-start: 50%; transform: translateX(-50%); padding: 8px 14px; border: 1px solid #3b506b; border-radius: 30px; background: #152233; color: #b4c7dd; font-size: 11px; white-space: nowrap; z-index: 3; }
.preview-label span { color: #63cddd; margin-inline: 5px; }
.feature-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.feature-rail a { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 17px; border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(145deg, #192a3e, #142233); font-size: 13px; transition: transform .22s, border-color .22s, background .22s, box-shadow .22s; }
.feature-rail a:hover { transform: translateY(-4px); border-color: #4285f477; background: #1b2d45; box-shadow: 0 14px 32px #02091438; }
.rail-icon { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; font-size: 24px; color: #77cddb; }
.rail-arrow { margin-inline-start: auto; color: #738fae; }
.home-section { padding: 70px 0; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 44px; margin-bottom: 28px; }
.home-section-heading > div { min-width: 0; }
.site-home h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 650; line-height: 1.4; letter-spacing: -.6px; margin: 8px 0 0; overflow-wrap: anywhere; }
.home-section-heading > p { color: var(--muted); max-width: 340px; margin: 0; font-size: 13px; line-height: 1.85; }
.chart-showcase { display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; border: 1px solid var(--border); border-radius: 20px; background: linear-gradient(135deg, #17273b, #132235 60%); overflow: hidden; box-shadow: 0 24px 60px #02091424; }
.showcase-copy { padding: 36px; display: flex; flex-direction: column; align-items: start; min-width: 0; }
.showcase-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 36px; }
.showcase-tabs button { border: 1px solid transparent; color: var(--muted); background: transparent; padding: 9px 12px; border-radius: 8px; font-size: 12px; transition: color .18s, background .18s, border-color .18s, transform .18s; }
.showcase-tabs button:hover { color: #e8f2ff; background: #ffffff09; transform: translateY(-1px); }
.showcase-tabs button[aria-selected=true] { background: #4285f424; border-color: #4285f455; color: #a6ceff; }
#view-panel { flex: 1; }
#view-title { font-size: 25px; line-height: 1.4; margin: 0 0 14px; }
#view-copy { color: var(--muted); max-width: 350px; font-size: 15px; line-height: 1.85; margin: 0; }
.caption { color: #7892af; font-size: 10px; margin-top: 24px; }
.chart-preview { height: 380px; display: flex; justify-content: center; padding-top: 25px; background: radial-gradient(ellipse at 50% 25%, #3c79aa50, transparent 65%), linear-gradient(140deg, #1a304d, #14283e); overflow: hidden; }
.chart-preview img { width: 182px; align-self: start; border: 5px solid #405774; border-radius: 22px; box-shadow: 0 18px 40px #0003; transition: transform .45s cubic-bezier(.2,.75,.25,1), box-shadow .3s, opacity .2s; }
.chart-preview img.is-changing { opacity: .35; transform: translateY(8px) scale(.98); }
.chart-showcase:hover .chart-preview img { transform: translateY(-6px) rotate(1deg); box-shadow: 0 28px 55px #0005; }
.home-offline { background: #152233; border-block: 1px solid var(--border); }
.offline-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; padding: 52px 0; }
.offline-preview { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 22px; background: radial-gradient(ellipse at center, #4285f417, transparent 70%); }
.offline-preview img { width: 164px; border: 5px solid #405774; border-radius: 22px; transform: rotate(-4deg); box-shadow: 0 18px 40px #0003; transition: transform .4s, box-shadow .4s; }
.offline-preview:hover img { transform: rotate(-1deg) translateY(-5px); box-shadow: 0 26px 52px #0005; }
.section-description { color: var(--muted); font-size: 14px; line-height: 1.85; }
.offline-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.offline-steps li { display: flex; align-items: baseline; gap: 14px; }
.offline-steps li > span { color: #75cfdc; font-size: 11px; }
.offline-steps h3 { font-size: 14px; margin: 0 0 4px; }
.offline-steps p { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 0; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tool-card { display: grid; grid-template-columns: minmax(0, 1fr) 108px; grid-template-rows: auto 1fr; gap: 12px 18px; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(145deg, #18283c, #142234); min-width: 0; transition: transform .25s, border-color .25s, box-shadow .25s; }
.tool-card:hover { transform: translateY(-4px); border-color: #52779d; box-shadow: 0 18px 42px #02091438; }
.tool-card h3 { font-size: 17px; line-height: 1.4; margin: 8px 0 0; overflow-wrap: anywhere; }
.tool-card > p { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0; }
.tool-preview { grid-column: 2; grid-row: 1 / span 2; position: relative; height: 194px; padding: 14px 9px 0; border: 0; background: #1c3049; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.tool-preview img { width: 90px; border: 2px solid #405774; border-radius: 11px; transition: transform .35s; }
.tool-preview:hover img { transform: translateY(-5px) scale(1.025); }
.preview-expand { position: absolute; inset-inline-end: 5px; bottom: 5px; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #405774; border-radius: 50%; background: var(--surface); color: #b4c7dd; font-size: 12px; }
.home-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; padding-top: 0; }
.faq details { padding: 20px 0; border-bottom: 1px solid var(--border); }
.faq details:first-child { padding-top: 0; }
.faq summary { cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1.6; }
.faq summary::marker { color: #75cfdc; }
.faq details[open] summary { color: #cfe4f9; }
.faq details p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.supported-languages { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 12px; color: #a6ceff; }
.download-banner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 30px; border: 1px solid #314a69; border-radius: 18px; background: linear-gradient(100deg, #1a2744, #162f46); margin-bottom: 80px !important; }
.download-banner-copy { flex: 1 1 300px; min-width: 0; }
.download-banner h2 { font-size: 25px; margin: 0 0 12px; max-width: 530px; line-height: 1.4; }
.download-banner .pricing-note { margin: 0; font-size: 11px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 18px; max-width: none; }
.download-banner .pricing-note strong { font-size: 12px; }
footer { padding: 0 0 24px; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top > span { display: none; }
.footer-top > a:last-child { font-size: 12px; color: var(--muted); }
footer > p { max-width: 840px; font-size: 11px; line-height: 1.85; color: #8fa5bf; margin: 24px 0; }
.footer-bottom { padding-top: 18px; border-top: 1px solid var(--border); font-size: 11px; color: var(--muted); }
.footer-bottom span:last-child { max-width: 60%; text-align: end; }
.skip { position: absolute; top: -60px; inset-inline-start: 16px; padding: 12px; background: var(--blue); color: #fff; z-index: 10; }
.skip:focus { top: 10px; }
html.has-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.25,1); transition-delay: var(--reveal-delay, 0ms); }
html.has-motion .reveal.is-visible { opacity: 1; transform: translateY(0); }
dialog { background: var(--surface); color: var(--ink); border: 1px solid var(--border); padding: 48px 18px 18px; border-radius: 16px; max-height: 94dvh; max-width: 95vw; }
dialog::backdrop { background: #06101be6; }
dialog img { max-height: 78dvh; width: auto; margin-inline: auto; border-radius: 8px; }
.site-home .dialog-close { position: absolute; top: 10px; inset-inline-end: 18px; padding: 6px; border: 0; background: var(--surface); color: var(--ink); }
body.modal-open { overflow: hidden; }
html[dir=rtl] .preview-label { transform: translateX(50%); }
:lang(ar) h1, :lang(ar) h2, :lang(th) h1, :lang(my) h1, :lang(si) h1 { letter-spacing: 0; line-height: 1.45; }
@media (max-width: 1050px) {
    .site-nav { gap: 16px; }
    .home-actions .small { display: none; }
    .home-hero { gap: 36px; }
    .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .site-home .wrap { width: calc(100% - 36px); }
    .product-art { transform: none; }
    .home-header { flex-wrap: wrap; gap: 16px; min-height: 0; padding: 18px 0; }
    .site-home .brand { font-size: 19px; }
    .site-home .brand img { width: 28px; height: 28px; }
    .home-actions { margin-inline-start: auto; }
    .site-home .language-form select { height: 34px; max-width: 112px; }
    .site-nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; overflow-x: auto; font-size: 12px; }
    .site-nav a { white-space: nowrap; }
    .home-hero { grid-template-columns: 1fr; gap: 28px; padding: 30px 0; }
    .site-home h1 { font-size: clamp(36px, 10vw, 48px); margin: 16px 0; letter-spacing: -1px; }
    .hero-description { font-size: 14px; }
    .site-home .pricing-note { margin: 18px 0; }
    .product-art { padding: 16px; border-radius: 18px; }
    .device-stage { height: 358px; }
    .preview-primary { width: 140px; inset-inline-start: calc(50% - 115px); top: 12px; }
    .preview-secondary { width: 116px; inset-inline-end: calc(50% - 115px); top: 50px; }
    .feature-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .feature-rail a { padding: 13px; gap: 9px; font-size: 12px; }
    .home-section { padding: 42px 0; }
    .home-section-heading { flex-direction: column; align-items: start; gap: 12px; margin-bottom: 22px; }
    .site-home h2 { font-size: 27px; }
    .home-section-heading > p { max-width: none; }
    .chart-showcase { grid-template-columns: 1fr; }
    .showcase-copy { padding: 22px; }
    .showcase-tabs { margin-bottom: 24px; gap: 4px; }
    .showcase-tabs button { padding: 8px 9px; font-size: 11px; }
    #view-title { font-size: 22px; }
    #view-copy { font-size: 14px; }
    .chart-preview { height: 300px; }
    .chart-preview img { width: 160px; }
    .offline-layout { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
    .offline-preview { order: 2; padding: 0; }
    .offline-preview img { width: 142px; }
    .tool-grid { grid-template-columns: 1fr; gap: 14px; }
    .tool-card { grid-template-columns: minmax(0, 1fr) 108px; padding: 20px; }
    .home-faq { grid-template-columns: 1fr; gap: 24px; }
    .download-banner { padding: 24px; flex-direction: column; align-items: start; gap: 16px; }
    .download-banner-copy { flex: 0 1 auto; }
    .download-banner h2 { font-size: 24px; }
    .download-banner .pricing-note { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .site-home *, .site-home *::before, .site-home *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    html.has-motion .reveal { opacity: 1; transform: none; }
}

/* Primary entry to the online chart preview. */
.site-home .hero-chart-entry { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 420px; box-sizing: border-box; margin: 24px 0; padding: 18px 22px; border: 1px solid #79dce8; border-radius: 14px; background: #63cddd; color: #0d1b2a; text-decoration: none; box-shadow: 0 8px 28px #63cddd20; transition: background .2s, box-shadow .2s; }
.site-home .hero-chart-entry:hover { background: #89e0eb; box-shadow: 0 10px 32px #63cddd38; }
.hero-chart-icon { width: 32px; height: 32px; flex-shrink: 0; }
.hero-chart-entry > span:first-of-type { min-width: 0; }
.hero-chart-entry strong { display: block; font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; }
.hero-chart-entry small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.5; }
.hero-chart-arrow { margin-inline-start: auto; font-size: 26px; flex-shrink: 0; }
.site-home .hero-chart-entry:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
