:root {
    --by-bg: #faf9f5;
    --by-panel: #fffefa;
    --by-ink: #182a36;
    --by-muted: #50616a;
    --by-blue: #195ac6;
    --by-rule: #d9ded9;
    --by-chip: #e8effb;
    --by-header: rgba(250,249,245,.95);
    --by-width: 1240px;
    --by-gutter: clamp(22px, 5vw, 84px);
    --by-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
:root[data-baiyan-theme="dark"] {
    --by-bg: #101b24;
    --by-panel: #192733;
    --by-ink: #f1f4ef;
    --by-muted: #b4c4cf;
    --by-blue: #96baff;
    --by-rule: #354752;
    --by-chip: #203651;
    --by-header: rgba(16,27,36,.95);
}
.by-wrap {
    width: min(calc(100% - var(--by-gutter) * 2), var(--by-width));
    margin-inline: auto;
}
.by-icon {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    flex: none;
    vertical-align: middle;
}
.app-icon { display: block; border-radius: 24%; }
.site-header, .baiyan-home, .site-footer {
    font-family: var(--by-font);
    color: var(--by-ink);
    background: var(--by-bg);
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    border-bottom: 1px solid var(--by-rule);
    background: var(--by-header);
    backdrop-filter: blur(14px);
}
.header-inner, .brand-link, .brand-group, .header-actions, .desktop-nav {
    display: flex;
    align-items: center;
}
.header-inner { min-height: 72px; justify-content: space-between; gap: 24px; }
.brand-link { color: var(--by-ink); font-size: 23px; font-weight: 760; letter-spacing: -.055em; gap: 9px; }
.brand-zh { border-left: 1px solid var(--by-rule); padding-left: 9px; font-size: 16px; letter-spacing: .02em; }
.desktop-nav { gap: clamp(18px, 2.7vw, 44px); }
.desktop-nav a { font-size: 14px; font-weight: 560; color: var(--by-muted); padding: 12px 0; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--by-blue); }
.header-actions { gap: 10px; }
.site-header .header-actions > button,
.site-header .header-actions button[aria-haspopup] {
    background: transparent;
    color: var(--by-ink);
    border: 0;
    padding: 0 5px;
    border-radius: 8px;
    min-height: 42px;
    font: 600 13px var(--by-font);
}
.site-header .header-actions > button { width: 36px; display: grid; place-items: center; }
.site-header .header-actions > button svg { width: 18px; height: 18px; color: var(--by-ink); }
.site-header .header-actions button:hover { background: var(--by-chip); }
.header-download, .apk-link, .store-link, .contact-links a, .text-link {
    transition: transform .17s ease, background-color .17s ease, box-shadow .17s ease;
}
.header-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #185bc9;
    color: #fff;
    padding: 11px 17px;
    border-radius: 11px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 650;
}
.header-download:hover { background: #0e48ad; }
.menu-trigger { display: none; }
.baiyan-home { width: 100%; flex-grow: 1; }
.baiyan-home *, .site-header *, .site-footer * { box-sizing: border-box; }
.by-section { scroll-margin-top: 78px; }
.baiyan-home h1, .baiyan-home h2, .baiyan-home h3, .baiyan-home p { margin: 0; }
.baiyan-home h1, .baiyan-home h2, .baiyan-home h3 {
    color: var(--by-ink);
    font-family: var(--by-font);
    overflow-wrap: break-word;
    text-wrap: balance;
}
.baiyan-home p { font-size: 16px; line-height: 1.7; color: var(--by-muted); }
.baiyan-home h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.16; letter-spacing: -.055em; font-weight: 720; }
.baiyan-home h3 { font-size: clamp(21px, 2vw, 28px); line-height: 1.22; letter-spacing: -.035em; font-weight: 680; }

#intro { padding: clamp(32px, 4vw, 60px) 0 clamp(38px, 4.7vw, 70px); }
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
    gap: clamp(30px, 4vw, 68px);
    align-items: center;
}
.hero-copy { padding: 8px 0; }
.hero-kicker, .section-kicker, .flight-mode, .ferry-label {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
}
.hero-kicker, .section-kicker, .ferry-label {
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: .115em;
    text-transform: uppercase;
}
.hero-kicker { color: var(--by-blue); gap: 9px; margin-bottom: 22px; }
.hero-kicker .by-icon { width: 23px; height: 20px; stroke-width: 2.25px; }
.baiyan-home h1 { font-size: clamp(58px, 6.1vw, 91px); line-height: .99; letter-spacing: -.071em; font-weight: 740; }
.baiyan-home h1 span { display: block; }
.baiyan-home h1 .accent-line {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 1.06em;
    font-weight: 500;
    color: var(--by-blue);
    letter-spacing: -.065em;
    line-height: 1.09;
}
html:is(:lang(zh), :lang(ja), :lang(ko)) .baiyan-home h1 {
    line-height: 1.13;
    letter-spacing: -.055em;
}
html:is(:lang(zh), :lang(ja), :lang(ko)) .baiyan-home h1 .accent-line {
    font: inherit;
    color: var(--by-blue);
}
.baiyan-home .hero-lead { margin: 22px 0 26px; max-width: 33em; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.72; }
.download-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.store-link, .apk-link { display: inline-flex; height: 44px; border-radius: 7px; }
.store-link { align-items: center; background: #000; overflow: hidden; }
.store-link img { width: 132px; height: 44px; max-width: none; display: block; }
.apk-link {
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid var(--by-rule);
    background: var(--by-panel);
    color: var(--by-ink);
}
.apk-link span { display: grid; gap: 3px; }
.apk-link small { font-size: 9px; line-height: 1; letter-spacing: .018em; }
.apk-link .apk-title { font-weight: 650; font-size: 13px; line-height: 1; white-space: nowrap; }
.apk-link .by-icon { width: 19px; height: 19px; }
.download-links a:hover { transform: translateY(-2px); box-shadow: 0 4px 9px #102d411a; }
.hero-proof { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 20px; }
.hero-proof span { display: inline-flex; gap: 6px; align-items: center; color: var(--by-muted); font-size: 12px; font-weight: 550; }
.hero-proof .by-icon { color: #337760; width: 15px; height: 15px; }
[data-baiyan-theme="dark"] .hero-proof .by-icon { color: #91d5b9; }
.journey {
    position: relative;
    min-width: 0;
    overflow: hidden;
    isolation: isolate;
    aspect-ratio: 1.38;
    border-radius: 22px;
    background: #7797a1;
    box-shadow: 0 8px 26px -16px #25382d66;
}
.journey > img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; display: block; }
.flight-mode {
    position: absolute;
    top: 19px;
    left: 19px;
    gap: 7px;
    border: 1px solid #fff9;
    border-radius: 100px;
    background: #fffcf2ef;
    color: #244938;
    padding: 6px 12px;
    font-size: 12px;
}
.flight-mode .by-icon { width: 15px; height: 15px; }
.ferry-card {
    position: absolute;
    bottom: 21px;
    left: 21px;
    max-width: calc(100% - 42px);
    padding: 13px 20px 15px;
    border-radius: 12px;
    background: #fffef8f7;
    box-shadow: 0 4px 20px #152c4530;
    color: #17354a;
}
.ferry-label { color: #236253; gap: 7px; font-size: 9px; }
.ferry-label .by-icon { width: 18px; height: 15px; }
.ferry-card p { margin-top: 4px; color: #1c3442; font-weight: 630; font-size: 15px; line-height: 1.35; }
.ferry-card .ferry-translation { font-size: 13px; color: #465c67; font-weight: 460; }
#feature { padding: clamp(38px, 4vw, 60px) 0; border-top: 1px solid var(--by-rule); }
.section-kicker { color: var(--by-blue); gap: 9px; margin-bottom: 12px; }
.section-kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(14px, 1.6vw, 24px); margin-top: 26px; }
.mode-card { overflow: hidden; border-radius: 16px; border: 1px solid var(--by-rule); background: var(--by-panel); }
.mode-card > img { width: 100%; height: auto; aspect-ratio: 2.65; object-fit: cover; display: block; }
.mode-copy { padding: clamp(18px, 1.9vw, 28px); }
.mode-copy p { font-size: 15px; margin-top: 10px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: var(--by-blue); font-weight: 650; font-size: 14px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
#privacy { padding: 16px 0 clamp(48px, 6vw, 88px); }
.privacy-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #e4efe7;
    border: 1px solid #bfd5c8;
    border-radius: 20px;
    padding: clamp(26px, 4.4vw, 64px);
    color: #173c35;
}
.privacy-copy { max-width: 70%; position: relative; z-index: 1; }
.privacy-band .section-kicker, .privacy-band .text-link { color: #206149; }
.privacy-band h2 { color: #173c35; }
.privacy-band p { color: #38594c; margin-top: 16px; }
.privacy-seal {
    position: absolute;
    right: 5%;
    top: 50%;
    width: clamp(110px,15vw,195px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 2px dashed #72a48b;
    border-radius: 50%;
    transform: translateY(-50%) rotate(-12deg);
    color: #377e61;
    outline: 6px double #9cbdad;
    outline-offset: 8px;
}
.privacy-seal .by-icon { width: 48%; height: 48%; stroke-width: 1.15; }
[data-baiyan-theme="dark"] .privacy-band { background: #17342d; border-color: #345448; }
[data-baiyan-theme="dark"] .privacy-band h2 { color: #edf6ec; }
[data-baiyan-theme="dark"] .privacy-band p { color: #c0d5c9; }
[data-baiyan-theme="dark"] .privacy-band :is(.section-kicker,.text-link,.privacy-seal) { color: #9fd7b9; }
.info-grid { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(32px,6vw,92px); }
#issues { padding: 0 0 clamp(52px,6vw,84px); }
.faq-item, .contact-links a { border-top: 1px solid var(--by-rule); }
.faq-item:last-child, .contact-links a:last-child { border-bottom: 1px solid var(--by-rule); }
.faq-item button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 19px 0;
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--by-ink);
    cursor: pointer;
    text-align: start;
    font: 620 17px/1.4 var(--by-font);
}
.faq-item button span { flex: none; color: var(--by-blue); font-size: 22px; }
.faq-answer { padding: 0 30px 20px 0; }
.download-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: clamp(26px,4vw,58px);
    background: #173e6c;
    border-radius: 18px;
}
.download-band h2 { font-size: clamp(29px,3.4vw,46px); color: #fff; }
.download-band p { color: #d1e2f3; margin-top: 10px; }
.download-band .apk-link { background: #fff; color: #1b3652; }
#contact { padding: clamp(52px, 6vw, 88px) 0; }
#contact p { margin-top: 16px; max-width: 32em; }
.contact-links a, .contact-links a > span { display: flex; align-items: center; gap: 12px; }
.contact-links a { color: var(--by-ink); justify-content: space-between; padding: 16px 4px; font-size: 16px; font-weight: 600; }
.contact-links a .by-icon { color: var(--by-blue); }
.contact-links a:hover { color: var(--by-blue); background: var(--by-chip); }
.site-footer { border-top: 1px solid var(--by-rule); }
.site-footer img { width: 27px; height: 27px; }
@media (max-width: 1050px) {
    .hero-grid { gap: 30px; grid-template-columns: 1fr 1.03fr; }
    .baiyan-home h1 { font-size: clamp(52px, 6.4vw, 69px); }
    .store-link, .store-link img, .apk-link { height: 40px; }
    .store-link img { width: 120px; }
    .apk-link { gap: 5px; padding-inline: 9px; }
    .hero-proof { gap: 8px 10px; }
    .hero-proof span { font-size: 11px; }
    .journey { aspect-ratio: 1.12; }
}
@media (max-width: 820px) {
    .desktop-nav { display: none; }
    .menu-trigger {
        display: grid;
        place-items: center;
        width: 34px;
        height: 42px;
        padding: 0;
        margin-left: -6px;
        margin-right: 6px;
        background: transparent;
        color: var(--by-ink);
        border: 0;
        cursor: pointer;
        font-size: 18px;
    }
    .download-band { align-items: flex-start; flex-direction: column; }
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero-copy { max-width: 620px; }
    .hero-kicker { margin-bottom: 14px; }
    .baiyan-home h1 { font-size: clamp(54px, 8vw, 68px); }
    .baiyan-home .hero-lead { margin: 16px 0 20px; }
    .journey { aspect-ratio: 1.9; }
    .mode-grid { grid-template-columns: 1fr; }
    .mode-card { display: grid; grid-template-columns: minmax(145px,.7fr) minmax(0,1.3fr); }
    .mode-card > img { height: 100%; }
    .info-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 520px) {
    .header-inner { min-height: 60px; gap: 8px; }
    .header-actions { gap: 3px; }
    .brand-link { font-size: 20px; gap: 6px; }
    .brand-zh { font-size: 12px; padding-left: 6px; }
    .brand-link .app-icon { width: 28px; height: 28px; }
    .header-download { padding: 8px 10px; font-size: 12px; }
    .header-download .by-icon { display: none; }
    .site-header .header-actions > button { width: 28px; }
    .by-section { scroll-margin-top: 65px; }
    .hero-grid { gap: 24px; }
    .hero-copy { padding: 0; }
    .hero-proof { margin-top: 14px; }
    .journey { aspect-ratio: 1.24; border-radius: 16px; }
    .flight-mode { top: 12px; left: 12px; font-size: 10px; }
    .ferry-card { padding: 8px 13px 10px; bottom: 12px; left: 12px; max-width: calc(100% - 24px); }
    .ferry-card p { font-size: 13px; }
    .ferry-card .ferry-translation { font-size: 11px; }
    .download-links { gap: 6px; }
    .store-link, .store-link img, .apk-link { height: 37px; }
    .store-link img { width: 111px; }
    .apk-link small { font-size: 8px; }
    .apk-link .apk-title { font-weight: 650; font-size: 12px; }
    .apk-link .by-icon { width: 15px; }
    .mode-card { display: block; }
    .mode-card > img { height: auto; aspect-ratio: 2.65; }
    .privacy-copy { max-width: 100%; }
    .privacy-seal { display: none; }
    .hero-proof span { font-size: 11px; }
}
@media (max-width: 370px) {
    .brand-zh { display: none; }
    .header-download { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .baiyan-home a, .site-header a { transition: none; }
    .download-links a:hover { transform: none; }
}
.site-header .header-actions button[aria-haspopup] { display: inline-flex; align-items: center; gap: 5px; }
.contact-links .group-invite { justify-content: flex-start; gap: 16px; }
.group-invite img { width: 88px; height: 88px; border: 1px solid var(--by-rule); border-radius: 9px; }
.contact-links .group-details { display: grid; gap: 3px; }
.group-details small { color: var(--by-muted); font-size: 12px; font-weight: 450; }
.group-invite > .by-icon { margin-left: auto; }
