/* realtimesub.com — 简洁大气：大字号、大留白、墨色 + 一个品牌青。无框架、无构建。 */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

:root {
    --ink: #0a0d12;
    --text: #111620;
    --muted: #5d6676;
    --line: #e6e9ef;
    --bg: #ffffff;
    --bg-alt: #f6f8fb;
    --card: #ffffff;
    --brand: #00a6c0;
    --brand-2: #6d5dfc;
    --brand-soft: #e3f8fb;
    --radius: 20px;
    --radius-lg: 28px;
    --shadow: 0 1px 2px rgba(10, 13, 18, .04), 0 12px 40px rgba(10, 13, 18, .08);
    --max: 1180px;
    color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
    :root {
        --text: #eef1f6;
        --muted: #9aa4b4;
        --line: #232a35;
        --bg: #0a0d12;
        --bg-alt: #10141b;
        --card: #131820;
        --brand: #2fd3ea;
        --brand-soft: #0d2a31;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 48px rgba(0, 0, 0, .45);
    }
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    color: var(--text); background: var(--bg);
    font-size: 17px; line-height: 1.65; overflow-wrap: anywhere;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 15px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--bg); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--bg);
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    border-color: color-mix(in srgb, var(--line) 70%, transparent);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 10px; }
.site-nav { display: flex; gap: 2px; flex: 1; justify-content: center; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; white-space: nowrap; transition: color .15s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"] { background: var(--bg-alt); }
.header-actions { display: flex; align-items: center; gap: 8px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px;
    padding: 15px 28px; border-radius: 999px; border: 0;
    transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(10, 13, 18, .18); }
.btn-small { padding: 9px 18px; font-size: 14px; white-space: nowrap; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
@media (prefers-color-scheme: dark) {
    .btn { background: #fff; color: var(--ink); }
    .btn:hover { color: var(--ink); box-shadow: 0 10px 30px rgba(255, 255, 255, .12); }
    .btn-ghost { background: transparent; color: var(--text); }
    .btn-ghost:hover { color: var(--text); }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; position: relative; overflow: hidden; }
.hero-home { padding: 96px 0 88px; }
.hero::before {
    content: ""; position: absolute; inset: -40% -10% auto auto; width: 900px; height: 900px; pointer-events: none;
    background: radial-gradient(closest-side, rgba(0, 166, 192, .13), transparent 70%);
}
.hero::after {
    content: ""; position: absolute; inset: auto auto -50% -15%; width: 800px; height: 800px; pointer-events: none;
    background: radial-gradient(closest-side, rgba(109, 93, 252, .10), transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.eyebrow, .kicker {
    display: inline-block; color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; margin-bottom: 24px; }
.hero-home h1 { font-size: clamp(40px, 5.8vw, 68px); }
.grad { background: linear-gradient(100deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 20px; line-height: 1.6; color: var(--muted); max-width: 600px; }
.lead p + p { margin-top: 12px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero-media { display: flex; justify-content: center; }
.shot { border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-shot { width: 100%; max-width: 300px; }

.strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 44px; color: var(--muted); font-size: 14px; }
.strip-label { font-weight: 600; color: var(--text); margin-right: 4px; }
.strip-item { font-weight: 600; opacity: .72; }

/* ---------- Mockups ---------- */
.mock { width: 100%; }
.mock-live { display: flex; justify-content: center; }
.phone {
    width: 300px; aspect-ratio: 9 / 19; border-radius: 46px; padding: 11px; position: relative;
    background: linear-gradient(160deg, #2a313c, #0b0e13); box-shadow: 0 40px 80px rgba(10, 13, 18, .28), inset 0 0 0 1.5px rgba(255, 255, 255, .08);
}
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; background: #050608; border-radius: 999px; z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; }
.scene { position: relative; height: 43%; overflow: hidden; }
.scene-sky { position: absolute; inset: 0; background: linear-gradient(180deg, #ffb37a 0%, #ff7e8a 45%, #6b5bd6 100%); }
.scene-sun { position: absolute; width: 64px; height: 64px; border-radius: 50%; background: #fff2c4; left: 58%; top: 34%; box-shadow: 0 0 40px #ffe08a; }
.scene-hill { position: absolute; border-radius: 50% 50% 0 0; }
.scene-hill.h1 { width: 140%; height: 46%; left: -30%; bottom: -12%; background: #3b2f78; }
.scene-hill.h2 { width: 120%; height: 38%; left: 20%; bottom: -16%; background: #24204f; }
.live-pill { position: absolute; left: 12px; top: 40px; background: rgba(0, 0, 0, .45); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; display: flex; align-items: center; gap: 5px; }
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: #ff3b4e; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.player-bar { height: 3px; background: #e5e7eb; }
.player-bar span { display: block; height: 100%; width: 38%; background: #ff2d46; }
.feed { padding: 64px 14px 16px; display: grid; gap: 10px; }
.feed div { height: 10px; border-radius: 6px; background: #eceef2; }
.feed .feed-title { height: 13px; width: 86%; background: #dfe2e8; }
.feed .feed-meta { width: 52%; }
.feed .short { width: 64%; }
.float-sub {
    position: absolute; left: 10px; right: 10px; top: 27%;
    background: rgba(10, 13, 18, .86); color: #fff; border-radius: 16px; padding: 12px 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .3); backdrop-filter: blur(8px);
    animation: rise .9s ease-out both .3s;
}
.sub-src { font-size: 12px; opacity: .7; line-height: 1.45; }
.sub-dst { font-size: 15px; font-weight: 600; line-height: 1.4; margin-top: 4px; color: #7ff0ff; }
.float-ball { position: absolute; right: 14px; bottom: 22%; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #00c2dd, #6d5dfc); display: flex; align-items: center; justify-content: center; gap: 3px; box-shadow: 0 10px 24px rgba(0, 166, 192, .45); }
.float-ball span { width: 3px; border-radius: 2px; background: #fff; animation: eq 1.1s ease-in-out infinite; }
.float-ball span:nth-child(1) { height: 12px; }
.float-ball span:nth-child(2) { height: 20px; animation-delay: .2s; }
.float-ball span:nth-child(3) { height: 14px; animation-delay: .4s; }
@keyframes eq { 50% { transform: scaleY(.45); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; max-width: 460px; margin: 0 auto; }
.panel-head { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.panel-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.panel-head b { margin-left: 8px; font-weight: 600; }
.sub-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.sub-list li { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: 14px; }
.sub-list li.on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.sub-list .tc { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sub-list .dst { color: var(--brand-2); }
@media (prefers-color-scheme: dark) { .sub-list .dst { color: #a99dff; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips span { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); }

.dub-track { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; margin-bottom: 14px; }
.dub-track .lbl { font-size: 12px; font-weight: 600; color: var(--muted); }
.dub-track .lbl.brand { color: var(--brand); }
.wave { height: 48px; display: flex; align-items: center; gap: 3px; }
.wave i { flex: 1; border-radius: 2px; background: linear-gradient(180deg, var(--brand), var(--brand-2)); }
.muted-wave i { background: var(--line); }
.dub-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 6px; font-size: 13px; font-weight: 600; }
.voice-chip { padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.toggle { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.toggle::before { content: ""; width: 30px; height: 18px; border-radius: 999px; background: var(--brand); box-shadow: inset -12px 0 0 2px var(--brand), inset 0 0 0 2px var(--brand), inset 12px 0 0 0 #fff; }

.offline-badge { display: inline-block; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; margin-bottom: 16px; }
@media (prefers-color-scheme: dark) { .offline-badge { background: #fff; color: var(--ink); } }
.models { list-style: none; padding: 0; display: grid; gap: 8px; }
.models li { display: flex; justify-content: space-between; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: 14px; }
.models b { font-weight: 600; color: var(--muted); }
.models b.ok { color: #10a37f; }
.free-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; margin-bottom: 18px; max-width: 820px; }
.section.centered > .container > h2, .section.centered > .container > .section-intro, .section.centered > .container > .kicker { margin-left: auto; margin-right: auto; text-align: center; }
.section.centered > .container > .kicker { display: block; }
.section-intro { color: var(--muted); font-size: 19px; margin-bottom: 48px; max-width: 680px; }
.section > .container > p { max-width: 760px; }
.section h2 + .cards, .section h2 + .steps, .section h2 + .facts, .section h2 + .gallery, .section h2 + .plans, .section h2 + .table-wrap, .section h2 + .features { margin-top: 48px; }

.features { display: grid; gap: 120px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature-row.reverse .feature-text { order: 2; }
.feature-text h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.025em; font-weight: 800; margin-bottom: 16px; }
.feature-text > p { color: var(--muted); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.more { display: inline-block; margin-top: 22px; font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stats div { background: var(--card); padding: 36px 28px; display: flex; flex-direction: column; gap: 6px; }
.stats b { font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stats span { color: var(--muted); font-size: 15px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, transform .15s; }
.card:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.card h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.card h3 a { color: var(--text); text-decoration: none; }
.card p { color: var(--muted); font-size: 16px; flex: 1; }
.card .more { margin-top: 4px; font-size: 15px; }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.step-n { display: block; font-size: 15px; font-weight: 800; color: var(--brand); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.step-n::before { content: "0"; }
.steps h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -.01em; }
.steps p { color: var(--muted); font-size: 16px; }

.facts { list-style: none; padding: 0; display: grid; gap: 14px; max-width: 820px; }
.facts li { padding-left: 28px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gallery figure { display: flex; flex-direction: column; gap: 10px; }
.gallery figcaption { text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan-featured { border: 2px solid var(--text); position: relative; }
.plan h3 { font-size: 16px; font-weight: 700; color: var(--muted); }
.price { margin: 10px 0 22px; color: var(--muted); font-size: 15px; }
.price span { font-size: 38px; font-weight: 800; color: var(--text); letter-spacing: -.03em; }
.plan ul { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.pack { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pack h3 { font-size: 18px; margin-bottom: 4px; }
.pack .muted { margin-bottom: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.pack td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.pack th { font-weight: 500; }
.table-wrap { overflow-x: auto; margin-bottom: 12px; }
.compare { min-width: 520px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.compare th, .compare td { padding: 14px 18px; }
.compare thead th { font-weight: 700; background: var(--bg-alt); }

/* ---------- FAQ ---------- */
.faq h2 { margin-bottom: 32px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 300; color: var(--muted); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary h3 { font-size: 18px; font-weight: 600; display: inline; letter-spacing: -.01em; }
.faq-answer { padding: 0 0 24px; color: var(--muted); max-width: 720px; }

/* ---------- CTA + footer ---------- */
.cta-band.dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-band.dark::before { content: ""; position: absolute; inset: -60% 20% auto; height: 600px; background: radial-gradient(closest-side, rgba(0, 166, 192, .35), transparent 70%); pointer-events: none; }
.cta-band .container { position: relative; }
.cta-band h2 { margin: 0 auto 16px; color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .7); margin: 0 auto 32px; font-size: 18px; }
.cta-band .btn { background: #fff; color: var(--ink); }
.cta-band .btn:hover { color: var(--ink); }
@media (prefers-color-scheme: dark) { .cta-band.dark { background: #05070a; border-top: 1px solid var(--line); } }

.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 15px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand { font-weight: 700; color: var(--text); margin-bottom: 8px; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }
.footer-bottom { margin-top: 48px; font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
    .site-nav { order: 3; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; margin: 0 -8px; }
    .site-nav::-webkit-scrollbar { display: none; }
    .header-row { flex-wrap: wrap; padding-top: 12px; gap: 6px 16px; }
    .brand { flex: 1; }
    .plans { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(5, 200px); overflow-x: auto; padding-bottom: 8px; }
}
@media (max-width: 820px) {
    body { font-size: 16px; }
    .container { padding: 0 16px; }
    .hero, .hero-home { padding: 48px 0 56px; }
    .hero-grid, .feature-row { grid-template-columns: 1fr; gap: 40px; }
    .feature-row.reverse .feature-text { order: 0; }
    .features { gap: 80px; }
    .lead { font-size: 18px; }
    .section { padding: 72px 0; }
    .section-intro { font-size: 17px; margin-bottom: 32px; }
    .steps { grid-template-columns: 1fr; }
    .plans { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .phone { width: 260px; }
    .strip { margin-top: 32px; }
}
@media (max-width: 420px) {
    .brand span { display: none; }
    .stats div { padding: 24px 18px; }
    .dub-track { grid-template-columns: 70px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Language menu（纯 details，无 JS） ---------- */
.lang-menu { position: relative; }
.lang-menu summary {
    list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--muted);
    padding: 7px 12px; border-radius: 999px; white-space: nowrap; display: flex; align-items: center; gap: 6px;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::before { content: "🌐"; font-size: 13px; filter: grayscale(1); }
.lang-menu summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.lang-menu summary:hover, .lang-menu[open] summary { color: var(--text); background: var(--bg-alt); }
.lang-list {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px; z-index: 60;
    background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
    padding: 6px; display: grid;
}
.lang-list a { color: var(--text); text-decoration: none; font-size: 15px; padding: 9px 12px; border-radius: 10px; }
.lang-list a:hover { background: var(--bg-alt); }
.lang-list a[aria-current="true"] { color: var(--brand); font-weight: 600; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-langs a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-langs a:hover { color: var(--text); }

/* ---------- CJK 断行：日文按词组（Chrome 119+）、韩文按词，标题行长平衡 ---------- */
h1, h2, h3, .lead, .section-intro { text-wrap: balance; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) .lead, :lang(ja) .section-intro { word-break: auto-phrase; }
:lang(ko) { word-break: keep-all; }
:lang(ja) .hero-home h1, :lang(ko) .hero-home h1, :lang(zh) .hero-home h1 { font-size: clamp(34px, 4.8vw, 58px); }
