/* ==========================================================
   临汾123 · linfen123.cn
   城市介绍 + 站点内测预告页（样式独立于 HTML / JS）
   目录：
   01 变量与主题  02 基础重置  03 通用组件  04 顶部条/导航
   05 首屏 Hero    06 认识临汾  07 历史脉络  08 名胜古迹
   09 风物美食     10 内测计划  11 页脚/悬浮  12 动效与响应式
   ========================================================== */

/* ---------- 01 变量与主题 ---------- */
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #f0f3f8;
  --surface-3: #e8edf5;
  --text: #172233;
  --text-2: #44536a;
  --muted: #7b879b;
  --border: #e3e9f1;
  --primary: #1668dc;
  --primary-deep: #0e4fb0;
  --primary-soft: #e8f1ff;
  --accent: #ff7a45;
  --ok: #18a058;
  --shadow: 0 8px 28px rgba(22, 46, 88, .07);
  --shadow-hover: 0 14px 36px rgba(22, 46, 88, .14);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
}

html[data-theme="dark"] {
  --bg: #0d1117;
  --surface: #161b22;
  --surface-2: #1c2430;
  --surface-3: #232d3b;
  --text: #e6edf3;
  --text-2: #b6c2d1;
  --muted: #8b98a9;
  --border: #2b3542;
  --primary: #4d9dff;
  --primary-deep: #2f7ae5;
  --primary-soft: #162b47;
  --accent: #ff9b6c;
  --ok: #3fb950;
  --shadow: 0 8px 28px rgba(0, 0, 0, .32);
  --shadow-hover: 0 14px 36px rgba(0, 0, 0, .48);
}

/* ---------- 02 基础重置 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h2 { font-size: 28px; line-height: 1.3; letter-spacing: -.5px; }
h3 { font-size: 17px; line-height: 1.45; }
svg { display: block; }
img { display: block; max-width: 100%; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
::selection { background: var(--primary); color: #fff; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 66px 0; }
.section-alt { background: var(--surface-2); border-block: 1px solid var(--border); }
[hidden] { display: none !important; }

/* ---------- 03 通用组件 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn .icon { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(22, 104, 220, .24); }
.btn-primary:hover { background: var(--primary-deep); box-shadow: 0 10px 22px rgba(22, 104, 220, .32); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-ghost { background: var(--surface); color: var(--text-2); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--primary); border-color: var(--primary); }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text-2);
  transition: color .18s ease, border-color .18s ease;
}
.icon-btn:hover { color: var(--primary); border-color: var(--primary); }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head .eyebrow { display: block; color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: 2px; margin-bottom: 6px; }
.section-head p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.more-link { display: inline-flex; align-items: center; gap: 4px; color: var(--text-2); font-size: 13px; padding-bottom: 4px; white-space: nowrap; }
.more-link .icon { width: 14px; height: 14px; transition: transform .18s ease; }
.more-link:hover { color: var(--primary); }
.more-link:hover .icon { transform: translateX(3px); }
.fine-print { color: var(--muted); font-size: 12px; line-height: 1.7; }
.section-footnote { display: flex; align-items: center; gap: 6px; margin-top: 20px; color: var(--muted); font-size: 12px; }
.section-footnote .icon { width: 14px; height: 14px; }

.tone-blue   { color: #1668dc; background: #e8f1ff; }
.tone-cyan   { color: #0891b2; background: #e0f6fb; }
.tone-amber  { color: #c78a08; background: #fff6da; }
.tone-green  { color: #159a63; background: #e3f7ed; }
html[data-theme="dark"] .tone-blue,
html[data-theme="dark"] .tone-cyan,
html[data-theme="dark"] .tone-amber,
html[data-theme="dark"] .tone-green { background: var(--surface-3); }

.pulse-dot { position: relative; display: inline-block; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--ok); }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ok); opacity: .55; animation: pulse 2.2s ease-out infinite; }
.pulse-lg { width: 10px; height: 10px; }
@keyframes pulse { 0% { transform: scale(.7); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- 04 顶部条 / 导航 ---------- */
.topbar { background: var(--surface); border-bottom: 1px solid var(--border); font-size: 12.5px; color: var(--muted); }
.topbar-inner { height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar a, .inline-ico { display: inline-flex; align-items: center; gap: 5px; }
.topbar a:hover { color: var(--primary); }
.inline-ico .icon { width: 13px; height: 13px; }
.sep { width: 1px; height: 12px; background: var(--border); }
.status-mini { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); }

.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) { .site-header { background: var(--surface); } }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, #2b7cf0, #0d4fae); color: #fff;
  font-size: 21px; font-weight: 800; box-shadow: 0 5px 14px rgba(22, 104, 220, .3);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 19px; letter-spacing: -.5px; }
.logo-text small { font-size: 10.5px; color: var(--muted); letter-spacing: .4px; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav a { position: relative; padding: 8px 13px; border-radius: 8px; font-size: 14px; color: var(--text-2); transition: color .18s ease, background-color .18s ease; }
.nav a:hover { color: var(--primary); background: var(--primary-soft); }
.nav a.active { color: var(--primary); font-weight: 600; }
.nav a.active::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 16px; height: 3px; border-radius: 3px; background: var(--primary); transform: translateX(-50%); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
#themeToggle .ico-moon { display: none; }
html[data-theme="dark"] #themeToggle .ico-sun { display: none; }
html[data-theme="dark"] #themeToggle .ico-moon { display: block; }
.menu-btn { display: none; }

/* ---------- 05 首屏 Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 72px 0 60px;
  background: linear-gradient(118deg, #0d3f8f 0%, #1668dc 48%, #2a8fd8 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 12%, rgba(255,255,255,.16), transparent 42%), radial-gradient(circle at 12% 88%, rgba(255,160,90,.18), transparent 40%); }
.hero-glow { position: absolute; width: 520px; height: 520px; right: -140px; top: -210px; border-radius: 50%; background: rgba(255,255,255,.07); }
.hero-skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 150px; color: #fff; }
.hero-inner { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 100px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); font-size: 12.5px; letter-spacing: .5px; }
.hero-badge .icon { width: 14px; height: 14px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.28; letter-spacing: -1.5px; margin: 22px 0 14px; font-weight: 800; }
.hero h1 span { color: #ffe0a3; }
.hero-desc { font-size: 15px; color: rgba(255,255,255,.86); }

.status-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: 760px; margin-top: 32px; padding: 15px 16px 15px 20px;
  background: #fff; border-radius: 14px; box-shadow: 0 16px 38px rgba(4, 30, 76, .22);
}
.status-main { display: flex; align-items: center; gap: 16px; min-width: 0; }
.status-main > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.status-main strong { color: #172233; font-size: 15px; }
.status-main span:last-child { color: #6b7688; font-size: 12.5px; }
.status-card .btn { flex: none; }

.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 16px; font-size: 12.5px; }
.hot-label { color: rgba(255,255,255,.7); margin-right: 2px; }
.hot { padding: 4px 12px; border-radius: 100px; color: rgba(255,255,255,.92); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); font-size: 12.5px; transition: background-color .18s ease, transform .18s ease; }
.hot:hover { background: rgba(255,255,255,.3); transform: translateY(-1px); }
.hero-stats { display: flex; gap: 46px; margin-top: 38px; }
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { font-size: 30px; font-weight: 800; line-height: 1.15; }
.hero-stats .unit { font-size: 16px; font-weight: 700; margin-left: 2px; }
.hero-stats span:last-child { font-size: 12.5px; color: rgba(255,255,255,.78); }

/* ---------- 06 认识临汾 ---------- */
.city-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.city-intro { position: relative; padding: 30px 32px 26px; overflow: hidden; }
.quote-mark { position: absolute; top: 4px; right: 24px; font-size: 90px; line-height: 1; color: var(--primary-soft); font-family: Georgia, serif; pointer-events: none; }
.city-intro h3 { position: relative; font-size: 20px; line-height: 1.5; margin-bottom: 16px; padding-right: 30px; }
.city-intro p { color: var(--text-2); font-size: 14px; line-height: 1.9; margin-bottom: 12px; }
.city-note { display: flex; align-items: flex-start; gap: 6px; margin-top: 18px; padding: 10px 12px; border-radius: 8px; background: var(--surface-2); color: var(--muted); font-size: 12px; line-height: 1.6; }
.city-note .icon { width: 14px; height: 14px; margin-top: 2px; }
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fact-card { padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.fact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.fact-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; }
.fact-ico .icon { width: 21px; height: 21px; }
.fact-card h4 { font-size: 15px; margin-bottom: 5px; }
.fact-card p { color: var(--muted); font-size: 12.5px; line-height: 1.75; }

/* ---------- 07 历史脉络 ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 54px; }
.timeline::before { content: ""; position: absolute; top: 23px; left: 0; right: 0; height: 2px; background: var(--border); }
.timeline li { position: relative; }
.tl-node {
  position: absolute; top: -54px; left: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border);
  color: var(--primary); box-shadow: var(--shadow);
}
.tl-node .icon { width: 21px; height: 21px; }
.tl-era { display: inline-block; padding: 3px 10px; border-radius: 100px; background: var(--primary-soft); color: var(--primary); font-size: 11.5px; font-weight: 600; }
.timeline h3 { font-size: 17px; margin: 12px 0 7px; }
.timeline p { color: var(--muted); font-size: 13px; line-height: 1.8; }

/* ---------- 08 名胜古迹 ---------- */
.spot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spot { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.spot:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.spot-art { height: 156px; position: relative; overflow: hidden; color: rgba(255,255,255,.9); }
.spot-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.spot:hover .spot-art img { transform: scale(1.06); }
.spot-art span { position: absolute; z-index: 2; bottom: 10px; right: 12px; padding: 3px 10px; border-radius: 100px; background: rgba(10, 22, 40, .5); backdrop-filter: blur(4px); font-size: 11.5px; letter-spacing: 3px; }
.sa-1 { background: linear-gradient(120deg, #d98a3a, #a95a2c); }
.sa-2 { background: linear-gradient(120deg, #4e9a72, #2c6d5c); }
.sa-3 { background: linear-gradient(120deg, #4a72c4, #2c4a94); }
.sa-4 { background: linear-gradient(120deg, #5b8f9e, #31616e); }
.sa-5 { background: linear-gradient(120deg, #9a6bb0, #6c4a92); }
.sa-6 { background: linear-gradient(120deg, #b4774e, #7d5037); }
.spot-body { padding: 18px 20px 22px; }
.spot-body h3 { font-size: 17px; }
.spot-loc { display: flex; align-items: center; gap: 3px; color: var(--primary); font-size: 12px; margin: 5px 0 9px; }
.spot-loc .icon { width: 13px; height: 13px; }
.spot-body > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.7; }

/* ---------- 09 风物美食 ---------- */
.flavor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flavor-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.flavor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.flavor-art { height: 132px; position: relative; overflow: hidden; color: #fff; }
.flavor-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.flavor-card:hover .flavor-art img { transform: scale(1.06); }
.fa-1 { background: linear-gradient(130deg, #e07a3c, #b74b2c); }
.fa-2 { background: linear-gradient(130deg, #d9a63f, #a67a1e); }
.fa-3 { background: linear-gradient(130deg, #3f9e8c, #226b6b); }
.fa-4 { background: linear-gradient(130deg, #a470b8, #6f4a8f); }
.flavor-body { padding: 16px 18px 20px; }
.flavor-body h3 { font-size: 16px; margin-bottom: 6px; }
.flavor-body p { color: var(--muted); font-size: 12.5px; line-height: 1.75; }

/* ---------- 10 内测计划 ---------- */
.beta-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.beta-main, .roadmap { padding: 28px 30px; }
.beta-badge { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border-radius: 100px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.beta-main h3 { font-size: 23px; margin: 18px 0 12px; }
.beta-main > p { color: var(--text-2); font-size: 14px; line-height: 1.9; margin-bottom: 10px; }
.beta-main > p strong { color: var(--accent); }
.beta-plans { margin: 22px 0 24px; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--surface-2); }
.beta-plans h4 { display: flex; align-items: center; gap: 7px; font-size: 14px; margin-bottom: 14px; }
.beta-plans h4 .icon { width: 16px; height: 16px; color: var(--primary); }
.beta-plans li { display: flex; align-items: flex-start; gap: 9px; color: var(--text-2); font-size: 13px; padding: 6px 0; }
.beta-plans li .icon { width: 15px; height: 15px; margin-top: 4px; color: var(--ok); }
.roadmap-title { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 22px; }
.roadmap-title .icon { width: 17px; height: 17px; color: var(--primary); }
.roadmap-list li { position: relative; display: flex; align-items: flex-start; gap: 14px; padding-bottom: 22px; }
.roadmap-list li:last-child { padding-bottom: 8px; }
.roadmap-list li:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: var(--border); }
.rm-dot { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--border); background: var(--surface); }
.rm-dot .icon { width: 13px; height: 13px; stroke-width: 2.4; }
.roadmap-list li.done .rm-dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.roadmap-list li.current .rm-dot { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 122, 69, .16); }
.roadmap-list li.current .rm-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.roadmap-list strong { display: block; font-size: 14px; line-height: 1.5; }
.roadmap-list small { color: var(--muted); font-size: 12px; }
.roadmap .fine-print { margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--border); }

/* ---------- 11 页脚 / 悬浮 ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding-top: 54px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-top: 16px; max-width: 340px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col h4 { font-size: 14px; margin-bottom: 6px; }
.footer-col a, .footer-col p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 0 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.to-top { position: fixed; right: 24px; bottom: 26px; z-index: 40; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(22,104,220,.35); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .22s ease, transform .22s ease, visibility .22s ease; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--primary-deep); }
.toast { position: fixed; left: 50%; bottom: 40px; z-index: 90; transform: translate(-50%, 14px); padding: 11px 22px; border-radius: 100px; background: #172233; color: #fff; font-size: 13px; box-shadow: 0 12px 30px rgba(0,0,0,.22); opacity: 0; visibility: hidden; transition: opacity .22s ease, transform .22s ease, visibility .22s ease; pointer-events: none; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 12 动效与响应式 ---------- */
/* 用独立的 translate 属性做入场位移，不占用 transform，避免覆盖卡片 hover 上浮 */
.js .reveal { opacity: 0; translate: 0 16px; transition: opacity .55s ease, translate .55s ease; }
.js .reveal.in-view { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; translate: 0 0; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 1080px) {
  .header-inner { gap: 18px; }
  .nav a { padding: 8px 9px; font-size: 13px; }
  .flavor-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .section { padding: 52px 0; }
  .city-grid, .beta-grid { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .spot-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 20px 18px; background: var(--surface);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 14px; border-radius: 8px; }
  .nav a.active::after { display: none; }
  .nav a.active { background: var(--primary-soft); }
  .menu-btn { display: grid; }
  .header-inner { justify-content: space-between; }
}

@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; padding: 0 0 0 60px; }
  .timeline::before { top: 0; bottom: 0; left: 22px; right: auto; width: 2px; height: auto; }
  .tl-node { top: 0; left: -60px; }
}

@media (max-width: 640px) {
  h2 { font-size: 23px; }
  .container { width: min(100% - 28px, 1180px); }
  .topbar-right .status-mini { display: none; }
  .hero { padding: 52px 0 46px; }
  .hero h1 { font-size: 30px; letter-spacing: -.8px; }
  .hero-desc { font-size: 13.5px; }
  .status-card { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; margin-top: 26px; }
  .status-card .btn { width: 100%; }
  .status-main strong { font-size: 14px; }
  .status-main span:last-child { line-height: 1.6; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
  .hero-stats div { min-width: 0; }
  .hero-stats strong { font-size: 22px; }
  .hero-stats .unit { font-size: 12px; }
  .hero-stats span:last-child { font-size: 10.5px; line-height: 1.5; white-space: normal; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 22px; }
  .city-intro, .beta-main, .roadmap { padding: 22px 18px; }
  .city-intro h3 { font-size: 18px; padding-right: 0; }
  .fact-grid { gap: 10px; }
  .fact-card { padding: 15px 13px; }
  .spot-grid { grid-template-columns: 1fr; }
  .spot-art { height: 136px; }
  .flavor-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .flavor-art { height: 108px; }
  .flavor-body { padding: 13px 12px 16px; }
  .flavor-body h3 { font-size: 14px; }
  .flavor-body p { font-size: 11.5px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 380px) {
  .flavor-grid { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr; }
  .logo-text small { display: none; }
  .header-actions .btn-sm { padding: 8px 10px; font-size: 12px; }
}
