/* History Globe uses its own stylesheet; existing app pages stay independent. */
:root { color-scheme: dark; --bg:#081419; --surface:#0e2026; --text:#f2f0e9; --muted:#b3c5c7; --gold:#dfbc78; --line:#2b4247; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--bg); color:var(--text); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Sans","PingFang SC",sans-serif; line-height:1.8; }
a { color:var(--gold); text-underline-offset:.22em; }
a:hover { color:#fff1d3; }
a:focus-visible,summary:focus-visible,.hg-gallery:focus-visible { outline:3px solid var(--gold); outline-offset:5px; }
img { max-width:100%; }
p,h1,h2,h3 { margin-block-start:0; }
figure { margin:0; }
.hg-wrap { width:min(1160px,calc(100% - 64px)); margin-inline:auto; }
.hg-skip { position:absolute; inset-block-start:12px; inset-inline-start:18px; padding:10px 20px; background:var(--bg); transform:translateY(-160%); z-index:5; }
.hg-skip:focus { transform:none; }
.hg-hero { overflow:hidden; padding-block:24px 76px; background:radial-gradient(ellipse at 80% 50%,#24565b55,transparent 62%),var(--bg); border-block-end:1px solid var(--line); }
.hg-nav { display:flex; justify-content:space-between; align-items:center; gap:26px; margin-block-end:60px; }
.hg-back { color:var(--muted); font-size:.86rem; text-decoration:none; flex-shrink:0; }
.hg-back span { display:inline-block; margin-inline-end:9px; }
.hg-languages { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:4px; }
.hg-languages a { padding:9px 11px; min-height:44px; color:var(--muted); font-size:.8rem; text-decoration:none; border-radius:6px; }
.hg-languages a:hover { background:#1d3c42; color:#fff; }
.hg-languages a[aria-current] { background:var(--gold); color:#172a2c; font-weight:700; }
.hg-hero-grid { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr); gap:76px; align-items:center; }
.hg-brand { display:flex; align-items:center; gap:18px; }
.hg-brand img { width:76px; height:76px; border-radius:18px; border:1px solid #607679; }
.hg-brand h1 { font-family:Georgia,"Times New Roman",serif; font-size:2.5rem; line-height:1.2; font-weight:400; letter-spacing:-.04em; margin:0; }
.hg-eyebrow { font-size:.72rem; letter-spacing:.14em; font-weight:650; color:var(--gold); margin-block-end:12px; }
.hg-brand .hg-eyebrow { font-size:.65rem; margin-block-end:6px; color:var(--muted); }
.hg-headline { font-size:clamp(2.6rem,5.2vw,4.4rem); line-height:1.25; letter-spacing:-.045em; font-weight:600; text-wrap:balance; margin-block:36px 24px; }
.hg-lead { font-size:1.05rem; color:var(--muted); max-width:590px; margin-block-end:26px; }
.hg-pills { display:flex; flex-wrap:wrap; gap:9px; list-style:none; padding:0; margin:0 0 28px; }
.hg-pills li { font-size:.76rem; border:1px solid #456067; color:#d0dfdc; padding:5px 12px; border-radius:30px; }
.hg-actions { display:flex; flex-wrap:wrap; gap:18px; align-items:center; }
.hg-primary { display:inline-flex; flex-direction:column; padding:14px 22px; min-height:48px; border-radius:8px; background:var(--gold); color:#162b2d; font-size:.92rem; font-weight:700; text-decoration:none; }
.hg-primary:hover { background:#f3d8a4; color:#162b2d; }
.hg-primary small { font-size:.72rem; font-weight:500; direction:ltr; }
.hg-release { font-size:.77rem; color:var(--muted); }
.hg-section-links { display:flex; flex-wrap:wrap; gap:10px 22px; margin-block-start:26px; font-size:.8rem; }
.hg-phone { width:min(100%,290px); justify-self:center; position:relative; }
.hg-phone::before { content:""; width:470px; height:470px; border:1px solid #dcbc7740; border-radius:50%; position:absolute; top:13%; left:50%; transform:translateX(-50%); pointer-events:none; }
.hg-phone img { display:block; width:100%; height:auto; border-radius:36px; border:4px solid #647575; position:relative; background:#081419; box-shadow:0 30px 70px #0006; }
.hg-phone figcaption { position:relative; text-align:center; color:var(--muted); font-size:.73rem; margin-block-start:16px; }
.hg-main { padding-block:72px 36px; }
.hg-section { margin-block-end:84px; scroll-margin-block-start:24px; }
.hg-section h2 { font-size:clamp(1.8rem,3.2vw,2.7rem); line-height:1.4; font-weight:600; letter-spacing:-.035em; text-wrap:balance; margin-block-end:18px; }
.hg-muted { color:var(--muted); font-size:.93rem; }
.hg-gallery { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:20px; margin-block-start:32px; }
.hg-gallery figure { min-width:0; }
.hg-gallery a { display:block; border-radius:16px; }
.hg-gallery img { display:block; width:100%; height:auto; border:1px solid #456067; border-radius:16px; }
.hg-gallery figcaption { padding-block-start:14px; font-size:.83rem; color:var(--muted); }
.hg-gallery figcaption span { display:block; color:var(--gold); font-size:.7rem; margin-block-end:4px; }
.hg-features { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; list-style:none; padding:0; margin:32px 0 0; }
.hg-features li { padding:26px; border-block-start:1px solid #968666; background:var(--surface); border-radius:0 0 12px 12px; }
.hg-number { display:block; font-size:.72rem; color:var(--gold); margin-block-end:18px; letter-spacing:.1em; }
.hg-features h3 { font-size:1.15rem; line-height:1.5; margin-block-end:12px; }
.hg-features p { font-size:.91rem; color:var(--muted); margin:0; }
.hg-collection { padding-block:36px; border-block:1px solid var(--line); }
.hg-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; padding:0; margin:28px 0; list-style:none; }
.hg-stats strong { display:block; font-family:Georgia,serif; font-weight:400; font-size:3rem; line-height:1.2; color:var(--gold); }
.hg-stats span { display:block; margin-block-start:8px; font-size:.83rem; color:var(--muted); }
.hg-collection p { max-width:950px; color:var(--muted); font-size:.9rem; margin-block-end:12px; }
.hg-contact { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:36px; border-block-end:1px solid var(--line); padding-block:12px 34px; margin-block-end:34px; }
.hg-contact p { max-width:700px; color:var(--muted); margin:0; }
.hg-contact a { justify-self:start; }
.hg-faq-title { font-size:1.2rem; }
details { border-block-end:1px solid var(--line); }
summary { font-size:1rem; padding-block:20px; cursor:pointer; }
.hg-answer { padding-block:0 24px; color:var(--muted); font-size:.92rem; max-width:920px; }
.hg-privacy { padding:40px; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
.hg-privacy h2 { font-size:1.8rem; }
.hg-privacy h3 { font-size:1rem; margin-block:26px 8px; }
.hg-privacy p { color:var(--muted); font-size:.89rem; max-width:960px; }
.hg-source-links { display:flex; flex-wrap:wrap; gap:10px 22px; font-size:.8rem; margin-block-start:24px; }
.hg-footer { border-block-start:1px solid var(--line); padding-block:28px; font-size:.83rem; }
.hg-footer .hg-wrap { display:flex; gap:20px; flex-wrap:wrap; justify-content:space-between; }
.hg-footer p { margin:0; color:var(--muted); }
html[dir="rtl"] body { font-family:-apple-system,BlinkMacSystemFont,"Geeza Pro",Arial,sans-serif; }
html[dir="rtl"] .hg-back span { transform:scaleX(-1); }
html[dir="rtl"] .hg-headline,html[dir="rtl"] .hg-eyebrow,html[dir="rtl"] h2 { letter-spacing:0; }
html[lang="zh-Hant"] body { font-family:-apple-system,BlinkMacSystemFont,"PingFang TC",sans-serif; }
@media(max-width:1000px) {
  .hg-nav { flex-direction:column; align-items:flex-start; gap:16px; margin-block-end:40px; }
  .hg-languages { justify-content:flex-start; }
  .hg-hero-grid { grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); gap:40px; }
  .hg-headline { font-size:3rem; }
  .hg-features { gap:16px; }
  .hg-features li { padding:22px; }
  .hg-gallery { display:flex; overflow-x:auto; padding:6px 6px 22px; scroll-snap-type:x proximity; }
  .hg-gallery figure { flex:0 0 min(70vw,250px); scroll-snap-align:start; }
  .hg-contact { grid-template-columns:1fr; gap:24px; }
}
@media(max-width:680px) {
  .hg-wrap { width:calc(100% - 40px); }
  .hg-hero { padding-block:20px 48px; }
  .hg-nav { margin-block-end:30px; }
  .hg-languages a { padding:9px 10px; font-size:.76rem; }
  .hg-hero-grid { grid-template-columns:1fr; gap:40px; }
  .hg-brand img { width:64px; height:64px; border-radius:16px; }
  .hg-brand h1 { font-size:2.15rem; }
  .hg-headline { font-size:clamp(2.2rem,9.5vw,3.2rem); margin-block:28px 22px; }
  .hg-lead { font-size:.98rem; }
  .hg-phone { width:min(255px,100%); }
  .hg-main { padding-block:44px 12px; }
  .hg-section { margin-block-end:56px; }
  .hg-features { grid-template-columns:1fr; gap:20px; }
  .hg-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
  .hg-privacy { padding:26px 22px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
