/* Bifrost Global Social Guide (www.birost.cn) · 2026 Brand-Unified Modern Light UI
   Aligned with www.thebifrost.cn: luminous white & cool porcelain surfaces, real Bifrost logo,
   signature rainbow-bridge accents, modern sans-serif typography, full RTL logical layout. */
:root {
  --ink: #0d1222;
  --ink-2: #3a4359;
  --muted: #5a637a;
  --line: #e4e7ef;
  --line-2: #eef0f5;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --accent: #2a5bf6;
  --accent-ink: #1d47d1;
  --accent-soft: #edf2ff;
  --dark: #0d1222;
  --rainbow: linear-gradient(90deg, #ff5a5f, #ffb347 25%, #3ccf8e 50%, #3d8bff 75%, #8b5cf6);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(13, 18, 34, .04), 0 8px 28px rgba(13, 18, 34, .06);
  --shadow-hover: 0 4px 12px rgba(13, 18, 34, .06), 0 16px 36px rgba(42, 91, 246, .09);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, sans-serif;
}
html:lang(zh-Hant) { --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Segoe UI", Roboto, sans-serif; }
html:lang(ja) { --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif; }
html:lang(ko) { --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
html:lang(th) { --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", Thonburi, "Leelawadee UI", "Noto Sans Thai", Tahoma, sans-serif; }
html:lang(ar) { --font: -apple-system, BlinkMacSystemFont, "SF Arabic", "Geeza Pro", "Segoe UI", "Noto Sans Arabic", Tahoma, sans-serif; }
html:lang(vi), html:lang(ru) { --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif; }
.lang-pop a:lang(zh-CN) { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
.lang-pop a:lang(zh-Hant) { font-family: "PingFang TC", "Microsoft JhengHei", sans-serif; }
.lang-pop a:lang(ja) { font-family: "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif; }
.lang-pop a:lang(ko) { font-family: "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
[dir="rtl"] .arr { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] body { line-height: 1.85; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.72 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3 { text-wrap: balance; margin: 0; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; color: var(--ink); }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow-wrap { width: min(780px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -48px; z-index: 60; padding: 8px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- Topbar (matching www.thebifrost.cn) */
.masthead { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line-2); }
.masthead-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.pub-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.pub-brand:hover { color: var(--ink); text-decoration: none; }
.brand-logo { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; }
.brand-word { font-weight: 750; font-size: 19px; letter-spacing: -.015em; color: var(--ink); flex-shrink: 0; }
.brand-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.pub-titles { display: flex; flex-direction: column; line-height: 1.25; }
.pub-sub { font-size: 13px; color: var(--muted); font-weight: 550; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav > a { padding: 8px 11px; border-radius: 10px; color: var(--ink-2); font-size: 14.5px; font-weight: 550; white-space: nowrap; }
.nav > a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }

/* Two-column 18-language dropdown */
.lang-menu { position: relative; flex-shrink: 0; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; user-select: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { border-color: #c7ccd9; color: var(--ink); }
.lang-menu summary::after { content: ""; width: 6px; height: 6px; margin-inline-start: 2px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang-menu[open] summary::after { transform: translateY(1px) rotate(225deg); }
.lang-pop { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); z-index: 50; display: grid; grid-template-columns: repeat(2, minmax(128px, 1fr)); gap: 2px 10px; width: max-content; max-width: calc(100vw - 24px); padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 48px rgba(13, 18, 34, .14); }
.lang-pop a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.35; }
.lang-pop a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.lang-pop a[aria-current] { background: var(--accent-soft); color: var(--accent-ink); }
.lang-hint { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 8px 16px; background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; font-weight: 600; }
.lang-hint a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.lang-hint button { border: 0; background: transparent; color: var(--accent-ink); font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 6px; }

.btn-get { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 650; white-space: nowrap; flex-shrink: 0; }
.btn-get:hover { background: #262e45; color: #fff; text-decoration: none; }
.menu-btn { display: none; width: 42px; height: 42px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; position: relative; flex-shrink: 0; }
.menu-btn i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.menu-btn i:first-of-type { top: 16px; }
.menu-btn i:last-of-type { top: 24px; }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Home Hero + SVG Rainbow Bridge Showcase */
.cover { padding: clamp(48px, 7vw, 84px) 0 clamp(44px, 6vw, 68px); text-align: center; background: radial-gradient(1200px 520px at 50% 108%, #f3f6ff 0, rgba(243, 246, 255, 0) 72%); border-bottom: 1px solid var(--line-2); }
.cover-center { display: flex; flex-direction: column; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(13, 18, 34, .04); font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.hero-kicker img { width: 20px; height: 20px; border-radius: 6px; }
.cover h1 { max-width: 22em; margin: 18px auto 0; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.22; letter-spacing: -.02em; font-weight: 750; }
.cover .lead { max-width: 40em; margin: 18px auto 0; font-size: clamp(16.5px, 1.75vw, 18.5px); line-height: 1.75; color: var(--muted); }
.cover-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.btn-primary-lg { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 650; box-shadow: var(--shadow); }
.btn-primary-lg:hover { background: #262e45; color: #fff; text-decoration: none; }
.btn-outline { display: inline-flex; align-items: center; gap: 6px; padding: 12px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 650; }
.btn-outline:hover { border-color: #c7ccd9; background: var(--bg-soft); color: var(--ink); text-decoration: none; }

.bridge-showcase { width: 100%; max-width: 980px; margin: clamp(36px, 5vw, 56px) auto 0; }
.bridge-arc-wrap { position: relative; width: 100%; aspect-ratio: 1040 / 165; max-width: 920px; margin-inline: auto; }
.bridge-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bridge-pill { position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap; }
.bridge-pill:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.bridge-pill img { width: 24px; height: 24px; border-radius: 7px; }
.island-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: -12px; position: relative; z-index: 2; text-align: start; }
.island-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); color: var(--ink); transition: border-color .16s, transform .16s; }
.island-card:hover { border-color: #c7d2fe; transform: translateY(-2px); text-decoration: none; color: var(--ink); }
.island-flag { font-size: 24px; line-height: 1; flex-shrink: 0; }
.island-card strong { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.island-card span:last-child { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }

/* ---------- Sections, Highlights, Guide Cards & Country Cards */
.sec { padding: clamp(52px, 7vw, 84px) 0; border-bottom: 1px solid var(--line-2); }
.sec-soft { background: var(--bg-soft); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.sec-head h2, .narrow-wrap > h2 { font-size: clamp(24px, 3.2vw, 34px); }
.sec-more { font-size: 15px; font-weight: 650; }

.hl-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; }
.hl-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(13, 18, 34, .03); }
.hl-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.hl-card p { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.hl-card strong { color: var(--ink); }

.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gcard { display: flex; flex-direction: column; justify-content: space-between; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(13, 18, 34, .03); color: var(--ink); transition: border-color .16s, box-shadow .16s, transform .16s; }
.gcard:hover { border-color: #b9c8ff; box-shadow: var(--shadow-hover); transform: translateY(-2px); text-decoration: none; color: var(--ink); }
.gcard-head { display: flex; align-items: center; gap: 10px; }
.gcard-ico { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.gcard-tag { font-size: 12.5px; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); }
.gcard h3 { margin-top: 14px; font-size: 20px; line-height: 1.35; }
.gcard p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.gcard-go { margin-top: 18px; font-size: 14px; font-weight: 650; color: var(--accent); }

.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ccard { display: block; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); transition: border-color .16s, box-shadow .16s, transform .16s; }
.ccard:hover { border-color: #b9c8ff; box-shadow: var(--shadow-hover); transform: translateY(-2px); text-decoration: none; color: var(--ink); }
.ccard-top { display: flex; align-items: center; gap: 9px; }
.ccard-flag { font-size: 22px; line-height: 1; flex-shrink: 0; }
.ccard strong { font-size: 16.5px; font-weight: 700; flex: 1; min-width: 0; }
.ccard-code { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); flex-shrink: 0; }
.ccard p { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ---------- Article & Country Detail Pages */
.art-hero { padding: clamp(40px, 6vw, 68px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line-2); background: radial-gradient(900px 360px at 85% 0, #f3f6ff 0, rgba(243, 246, 255, 0) 70%); }
.art-hero > .wrap::after { content: ""; display: block; width: 120px; height: 3px; margin-top: clamp(24px, 4vw, 36px); border-radius: 3px; background: var(--rainbow); opacity: .65; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.country-hero-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 5px 12px 5px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); box-shadow: 0 1px 3px rgba(13, 18, 34, .04); }
.country-hero-badge span:first-child { font-size: 18px; line-height: 1; }
.country-hero-badge span:last-child { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.art-hero h1 { margin-top: 14px; max-width: 24em; font-size: clamp(28px, 4.2vw, 44px); letter-spacing: -.02em; font-weight: 750; }
.art-hero .lead { margin-top: 16px; max-width: 42em; font-size: clamp(17px, 1.85vw, 19px); color: var(--ink-2); }
.art-meta { margin-top: 16px; font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.passport { display: grid; grid-template-columns: repeat(4, 1fr); margin: 26px 0 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.passport div { padding: 16px 20px; border-inline-start: 1px solid var(--line); }
.passport div:first-child { border-inline-start: 0; }
.passport dt { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.passport dd { margin: 4px 0 0; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.4; }

.art-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding: clamp(36px, 5vw, 56px) 0 clamp(56px, 7vw, 88px); }
.toc { position: sticky; top: 88px; align-self: start; font-size: 14px; }
.toc-title { font-size: 13px; font-weight: 650; color: var(--muted); }
.toc ol { list-style: none; margin: 10px 0 0; padding: 0; border-inline-start: 1.5px solid var(--line); }
.toc a { display: block; padding-block: 5px; padding-inline: 14px 0; color: var(--ink-2); }
.toc a:hover { color: var(--accent); text-decoration: none; }

.prose { max-width: 760px; font-size: 16.5px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 46px; font-size: clamp(22px, 2.6vw, 28px); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-inline-start: 1.35em; }
.prose li + li { margin-top: 8px; }

.answer-box { padding: 20px 22px; background: #f4f7ff; border: 1px solid #dbe4ff; border-inline-start: 4px solid var(--accent); border-radius: var(--radius-sm); color: var(--ink); }
.answer-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 6px; }
.tip-box { padding: 16px 20px; background: var(--bg-soft); border: 1px solid var(--line); border-inline-start: 4px solid #ffb347; border-radius: var(--radius-sm); font-size: 15.5px; color: var(--ink-2); }

/* App Comparison Cards */
.app-cards { display: grid; gap: 16px; margin-top: 22px; }
.app-card { position: relative; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .16s; }
.app-card:hover { box-shadow: var(--shadow); }
.app-card.is-ours { border: 0; box-shadow: var(--shadow); }
.app-card.is-ours::before { content: ""; position: absolute; inset: 0; padding: 2px; border-radius: inherit; background: var(--rainbow); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.app-head { display: flex; align-items: center; gap: 14px; }
.app-avatar-img { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; }
.app-avatar-mono { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 18px; flex-shrink: 0; }
.app-title-wrap { flex: 1; min-width: 0; }
.app-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.app-rank { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-size: 12.5px; font-weight: 700; }
.app-card.is-ours .app-rank { background: var(--ink); color: #fff; }
.app-head h3 { font-size: 19.5px; }
.app-cat { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); font-weight: 550; }
.our-badge { margin-inline-start: auto; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; font-weight: 700; }
.app-card > p { margin-top: 12px; font-size: 15.5px; line-height: 1.65; }
.app-best { margin-top: 10px !important; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13.5px !important; font-weight: 650; color: var(--accent-ink) !important; }

.table { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); -webkit-overflow-scrolling: touch; }
.table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { min-width: 6.5em; padding: 12px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--bg-soft); font-weight: 650; color: var(--ink); white-space: nowrap; }
.table tbody th { font-weight: 650; color: var(--ink); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }

/* Dark Bifrost Download Card */
.cta-card { position: relative; margin-top: 36px; padding: 30px; background: var(--dark); color: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cta-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--rainbow); }
.cta-head { display: flex; align-items: flex-start; gap: 16px; }
.cta-logo { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
.cta-card h3 { color: #fff; font-size: 21px; }
.cta-card p { margin-top: 8px; color: #b8bfd3; font-size: 15px; line-height: 1.65; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cta-btns a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 650; }
.cta-primary { background: #fff; color: var(--ink); }
.cta-primary:hover { background: #eef2ff; color: var(--ink); text-decoration: none; }
.cta-secondary { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.cta-secondary:hover { border-color: rgba(255, 255, 255, .5); color: #fff; text-decoration: none; }

/* FAQ */
.faq { margin-top: 22px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding-block: 20px; padding-inline: 0 40px; cursor: pointer; list-style: none; font-weight: 650; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; inset-inline-end: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); font-size: 15.5px; }

.sources { margin-top: 30px; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.sources ul { margin-top: 8px; }

/* ---------- Footer */
.footer { padding: 56px 0 32px; background: var(--bg); border-top: 1px solid var(--line-2); font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 44px; }
.footer-brand p { margin-top: 12px; color: var(--muted); max-width: 28em; }
.footer-mail { margin-top: 8px !important; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h2 { font-size: 13px; font-weight: 650; color: var(--ink); }
.footer-cols ul { list-style: none; margin: 12px 0 0; padding: 0; }
.footer-cols li + li { margin-top: 8px; }
.footer-cols a { color: var(--muted); }
.footer-cols a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 13px; }
.footer-bottom a { color: var(--muted); }

@media (max-width: 1020px) {
  .brand-badge { display: none; }
  .hl-grid, .island-grid { grid-template-columns: repeat(2, 1fr); }
  .art-layout, .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .toc { display: none; }
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .passport { grid-template-columns: repeat(2, 1fr); }
  .passport div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .passport div:nth-child(3) { border-inline-start: 0; }
}
@media (max-width: 780px) {
  .menu-btn { display: block; }
  .btn-get { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 64px; display: none; flex-direction: column; align-items: stretch; padding: 8px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav > a { padding: 12px 6px; border-bottom: 1px solid var(--line-2); border-radius: 0; font-size: 16px; }
  .lang-menu { margin-inline-start: auto; }
  .lang-pop { position: fixed; inset-inline: 12px; top: 72px; width: auto; max-height: calc(100dvh - 86px); overflow-y: auto; }
  .guide-grid { grid-template-columns: 1fr; }
  .bridge-arc-wrap { aspect-ratio: 1040 / 230; }
  .island-grid { margin-top: 6px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .hl-grid, .island-grid, .country-grid, .passport, .footer-cols { grid-template-columns: 1fr; }
  .passport div { border-inline-start: 0; border-top: 1px solid var(--line); }
  .passport div:first-child { border-top: 0; }
  .cta-head { flex-direction: column; gap: 12px; }
  .our-badge { margin-inline-start: 0; }
}
