/* ==========================================================================
   VPNFL — base.css
   设计令牌 / reset / 排版 / 按钮 / 头部导航 / 页脚 / Hero 家具 / 响应式
   风格体系:「光纤专线控制窗」— 长春花蓝纸面 + 石油青单一强调色
   ========================================================================== */

:root{
  /* --- 面层 --- */
  --bg:#EAEDF9;
  --bg-top:#F1F3FC;
  --bg-bottom:#E1E6F4;
  --bg-panel:#F7F8FD;
  --bg-panel2:#DDE3F3;
  --white:#FFFFFF;

  /* --- 线 --- */
  --border:#CBD3E6;
  --border-soft:#DEE4F2;

  /* --- 强调 --- */
  --accent:#0F6570;
  --accent-dark:#0A4750;
  --accent-2:#2CC1B0;

  /* --- 文字 --- */
  --text:#14192B;
  --muted:#5A6278;

  /* --- 语义 --- */
  --success:#1D9A6C;
  --warn:#D48A0B;
  --error:#D33A3A;

  /* --- 透明档(所有带色柔影/光斑只引用这些) --- */
  --accent-06:rgba(15,101,112,.06);
  --accent-08:rgba(15,101,112,.08);
  --accent-10:rgba(15,101,112,.10);
  --accent-14:rgba(15,101,112,.14);
  --accent-22:rgba(15,101,112,.22);
  --aqua-06:rgba(44,193,176,.06);
  --aqua-18:rgba(44,193,176,.18);
  --aqua-40:rgba(44,193,176,.40);
  --peri-05:rgba(112,128,214,.05);
  --peri-10:rgba(112,128,214,.10);
  --white-70:rgba(255,255,255,.70);
  --white-90:rgba(255,255,255,.90);
  --veil:rgba(20,25,43,.34);

  /* --- 阴影 --- */
  --shadow-win:0 24px 48px var(--accent-10), 0 2px 6px var(--accent-06);
  --shadow-float:0 14px 32px var(--accent-14), 0 1px 2px var(--accent-08);
  --shadow-btn:0 10px 24px var(--accent-22);
  --shadow-soft:0 6px 18px var(--accent-08);
  --shadow-card:0 2px 10px var(--accent-06);

  /* --- 旗帜色(仅用于内联 SVG 小旗) --- */
  --flag-white:#FFFFFF;
  --flag-red:#D4323C;
  --flag-blue:#2F4B9E;
  --flag-navy:#1D2E6B;
  --flag-green:#2E9A55;

  /* --- 圆角 --- */
  --r-sm:8px;
  --r-md:12px;
  --r-lg:14px;
  --r-pill:999px;

  /* --- 字体 --- */
  --font-display:'Inter','Noto Sans SC','PingFang SC','Hiragino Sans GB','Microsoft YaHei','Hiragino Kaku Gothic ProN','Apple SD Gothic Neo','Malgun Gothic',system-ui,sans-serif;
  --font-body:'Inter','Noto Sans SC','PingFang SC','Hiragino Sans GB','Microsoft YaHei','Hiragino Kaku Gothic ProN','Apple SD Gothic Neo','Malgun Gothic',system-ui,sans-serif;
  --font-mono:'JetBrains Mono',ui-monospace,'SFMono-Regular',Menlo,Consolas,'Liberation Mono',monospace;

  /* --- 尺寸节奏 --- */
  --nav-h:72px;
  --peek:40px;
  --gutter:40px;
  --sec-y:96px;
  --toc-h:56px;
}

/* ==========================================================================
   reset
   ========================================================================== */

*{box-sizing:border-box;margin:0;padding:0}
html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:calc(20px + var(--toc-h) * 0);
}
html.nav-open{overflow:hidden}
body{
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  overflow-x:clip;
}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
img,svg{display:block;max-width:100%}
button,input,select,textarea{font:inherit;color:inherit}
button{background:none;border:0;cursor:pointer}
code{font-family:var(--font-mono);overflow-wrap:anywhere}
pre{max-width:100%;overflow-x:auto}

.sprite{position:absolute;width:0;height:0;overflow:hidden}
.sr{
  position:absolute;width:1px;height:1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0;margin:-1px;
}
.no-break{white-space:nowrap}
.mono{font-family:var(--font-mono)}
.muted{color:var(--muted)}

/* 键盘焦点环(全站统一) */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[role="tab"]:focus-visible,
input:focus-visible,
select:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
  border-radius:4px;
}

/* ==========================================================================
   布局
   ========================================================================== */

.wrap{
  width:100%;
  max-width:1280px;
  margin:0 auto;
  padding-inline:var(--gutter);
}
.sec{
  position:relative;
  padding-top:var(--sec-y);
  padding-bottom:var(--sec-y);
}
.sec-tight{padding-top:calc(var(--sec-y) * .6);padding-bottom:calc(var(--sec-y) * .6)}
.sec-alt{background:var(--bg-panel);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.clip-x{overflow-x:clip;max-width:100%}

.sec-head{max-width:760px;margin-bottom:44px}
.sec-head-center{margin-inline:auto;text-align:center}
.sec-kicker{
  display:inline-flex;align-items:center;gap:8px;
  font-size:12.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--accent-dark);margin-bottom:14px;
}
.sec-kicker i{width:16px;height:2px;border-radius:2px;background:var(--accent);flex:none}
.sec-title{
  font-family:var(--font-display);
  font-size:clamp(26px,3.1vw,38px);
  font-weight:800;
  line-height:1.18;
  letter-spacing:-.025em;
  color:var(--text);
}
.sec-lede{margin-top:14px;font-size:17px;color:var(--muted);max-width:66ch}
.sec-lede strong{color:var(--text);font-weight:600}

/* ==========================================================================
   排版
   ========================================================================== */

h1,h2,h3,h4{font-family:var(--font-display);color:var(--text);line-height:1.2}
h1{font-weight:900;letter-spacing:-.03em}
h2{font-weight:800;letter-spacing:-.025em}
h3{font-weight:700;font-size:20px;letter-spacing:-.015em}
h4{font-weight:700;font-size:16px}

.h1{
  font-family:var(--font-display);
  font-weight:900;
  font-size:clamp(38px,4.6vw,60px);
  line-height:1.1;
  letter-spacing:-.035em;
  color:var(--text);
  text-wrap:balance;
}
.grad{
  background:linear-gradient(92deg,var(--accent) 0%,var(--accent-2) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lede{font-size:17px;line-height:1.65;color:var(--muted);max-width:34em}
.lede strong{color:var(--text);font-weight:600}

/* ==========================================================================
   按钮
   ========================================================================== */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  height:54px;
  padding:0 26px;
  border-radius:var(--r-pill);
  font-family:var(--font-display);
  font-weight:700;
  font-size:16px;
  letter-spacing:-.01em;
  white-space:nowrap;
  flex-shrink:0;
  transition:transform .15s, box-shadow .15s, border-color .15s, background .15s;
}
.btn svg{width:20px;height:20px;flex:none}
.btn-main{
  color:var(--white);
  background:linear-gradient(180deg,var(--accent) 0%,var(--accent) 55%,var(--accent-2) 100%);
  background-size:100% 220%;
  background-position:0 0;
  box-shadow:var(--shadow-btn), inset 0 1px 0 var(--white-70);
}
.btn-main:hover{transform:translateY(-1px);box-shadow:0 14px 30px var(--accent-22)}
.btn-ghost,.btn-secondary{
  color:var(--text);
  background:var(--bg-panel);
  border:1px solid var(--border);
  box-shadow:inset 0 1px 0 var(--white);
}
.btn-ghost:hover,.btn-secondary:hover{border-color:var(--accent)}
.btn-sm{height:44px;padding:0 20px;font-size:14.5px}
.btn-sm svg{width:17px;height:17px}
.btn-block{width:100%}
.btn[disabled],.btn[aria-disabled="true"]{opacity:.5;cursor:not-allowed;box-shadow:none;transform:none}

/* ==========================================================================
   头部导航(由 header.js 注入)
   ========================================================================== */

#site-header{position:relative;z-index:40}
.topbar{position:relative;z-index:40;height:var(--nav-h)}
.nav{
  height:var(--nav-h);
  display:flex;
  align-items:center;
  gap:36px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-display);
  font-weight:800;
  font-size:21px;
  letter-spacing:-.02em;
  color:var(--text);
  flex:none;
}
.brand img{width:28px;height:28px;flex:none}
.brand-word{white-space:nowrap}

.nav-links{
  display:flex;
  align-items:center;
  gap:26px;
  font-size:15px;
  font-weight:500;
  color:var(--muted);
}
.nav-links a{padding:6px 0;transition:color .15s}
.nav-links a:hover{color:var(--text)}
.nav-links a[aria-current="page"]{color:var(--text);font-weight:600}

.nav-right{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:14px;
}
.btn-login{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:40px;
  padding:0 20px;
  border-radius:var(--r-pill);
  border:1px solid var(--border);
  background:var(--bg-panel);
  color:var(--accent-dark);
  font-weight:600;
  font-size:14px;
  white-space:nowrap;
  box-shadow:inset 0 1px 0 var(--white);
  transition:border-color .15s, box-shadow .15s;
}
.btn-login:hover{border-color:var(--accent);box-shadow:var(--shadow-soft)}

/* 语言切换 */
.lang-wrap{position:relative}
.lang-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-width:44px;
  min-height:40px;
  padding:8px 12px;
  border-radius:var(--r-pill);
  border:1px solid transparent;
  font-size:14px;
  font-weight:500;
  color:var(--muted);
  white-space:nowrap;
  transition:color .15s, border-color .15s;
}
.lang-btn:hover{color:var(--text);border-color:var(--border)}
.lang-btn svg{width:14px;height:14px;flex:none}
.lang-menu{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  min-width:168px;
  padding:6px;
  border-radius:var(--r-md);
  background:var(--white);
  border:1px solid var(--border);
  box-shadow:var(--shadow-float);
  display:none;
  z-index:60;
}
.lang-menu.open{display:block}
.lang-menu a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:8px 12px;
  border-radius:var(--r-sm);
  font-size:14px;
  color:var(--text);
}
.lang-menu a:hover{background:var(--bg-panel2)}
.lang-menu a[aria-current="true"]{color:var(--accent-dark);font-weight:700;background:var(--bg-panel)}

/* 汉堡 */
.burger{
  display:none;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  border-radius:var(--r-sm);
  border:1px solid var(--border);
  background:var(--bg-panel);
  color:var(--text);
  flex:none;
}
.burger svg{width:20px;height:20px}
.burger .ic-close{display:none}
.burger[aria-expanded="true"] .ic-close{display:block}
.burger[aria-expanded="true"] .ic-open{display:none}

/* 移动抽屉 */
.nav-drawer{
  position:absolute;
  top:var(--nav-h);
  left:0;
  right:0;
  display:none;
  flex-direction:column;
  padding:10px var(--gutter) 24px;
  background:var(--bg-panel);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  box-shadow:var(--shadow-win);
  max-height:calc(100dvh - var(--nav-h));
  overflow-y:auto;
  overscroll-behavior:contain;
  z-index:50;
}
.nav-drawer.open{display:flex}
.nav-drawer a{
  display:flex;
  align-items:center;
  width:100%;
  min-height:48px;
  padding:12px 4px;
  font-size:16px;
  font-weight:500;
  color:var(--text);
  border-bottom:1px solid var(--border-soft);
}
.nav-drawer a[aria-current="page"]{color:var(--accent-dark);font-weight:700}
.nav-drawer .drawer-label{
  padding:16px 4px 6px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}
.nav-veil{
  position:fixed;
  inset:var(--nav-h) 0 0;
  background:var(--veil);
  display:none;
  z-index:30;
}
.nav-veil.open{display:block}

/* ==========================================================================
   页脚(由 footer.js 注入)
   ========================================================================== */

.site-footer{
  position:relative;
  background:var(--bg-panel);
  border-top:1px solid var(--border);
  padding-top:64px;
  padding-bottom:32px;
  overflow-x:clip;
}
.foot-grid{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr));
  gap:40px 32px;
}
.foot-brand{display:flex;flex-direction:column;gap:14px;min-width:0}
.foot-brand .brand{font-size:20px}
.foot-brand p{font-size:14px;color:var(--muted);max-width:34ch}
.foot-col{min-width:0}
.foot-col h3{
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:14px;
}
.foot-col ul{display:flex;flex-direction:column;gap:9px}
.foot-col a{font-size:14px;color:var(--text);transition:color .15s}
.foot-col a:hover{color:var(--accent)}
.foot-col .kw{font-size:13.5px;color:var(--muted)}
.foot-col .kw:hover{color:var(--accent)}
.foot-langs{display:flex;flex-wrap:wrap;gap:8px}
.foot-langs a{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:4px 12px;
  border-radius:var(--r-pill);
  border:1px solid var(--border);
  background:var(--white);
  font-size:13px;
  color:var(--muted);
}
.foot-langs a:hover{border-color:var(--accent);color:var(--accent-dark)}
.foot-langs a[aria-current="true"]{color:var(--accent-dark);font-weight:700;border-color:var(--accent)}
.foot-bottom{
  margin-top:44px;
  padding-top:22px;
  border-top:1px solid var(--border);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px 24px;
  font-size:13px;
  color:var(--muted);
}
.foot-legal{display:flex;flex-wrap:wrap;gap:8px 20px}
.foot-legal a{color:var(--muted)}
.foot-legal a:hover{color:var(--accent)}

/* ==========================================================================
   通用卡片 / 面板 / 徽章 / 胶囊
   ========================================================================== */

.card{
  position:relative;
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--r-md);
  box-shadow:var(--shadow-card), inset 0 1px 0 var(--white);
  padding:24px;
  min-width:0;
}
.card-white{background:var(--white)}
.card-groove{
  background:var(--bg-panel2);
  border:1px solid var(--border);
  border-radius:var(--r-md);
  box-shadow:inset 0 1px 0 var(--white-70);
  padding:24px;
  min-width:0;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:26px;
  max-width:100%;
  padding:3px 11px;
  border-radius:var(--r-pill);
  border:1px solid var(--border);
  background:var(--white);
  font-size:12px;
  font-weight:600;
  color:var(--accent-dark);
  overflow:hidden;
  text-overflow:ellipsis;
}
.badge-plain{border-color:var(--border);background:var(--bg-panel);color:var(--muted)}
.badge-accent{border-color:transparent;background:var(--accent-10);color:var(--accent-dark)}
.badge-best{border-color:transparent;background:linear-gradient(92deg,var(--accent) 0%,var(--accent-2) 100%);color:var(--white)}
.badge svg{width:14px;height:14px;flex:none}

.chip-row{display:flex;flex-wrap:wrap;gap:8px}
.chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:26px;
  max-width:100%;
  padding:3px 10px;
  border-radius:6px;
  background:var(--bg-panel2);
  font-family:var(--font-mono);
  font-size:11.5px;
  font-weight:600;
  color:var(--accent-dark);
  overflow:hidden;
  text-overflow:ellipsis;
}
.chip svg{width:14px;height:14px;flex:none}

.fact-strip{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center}
.fact-strip li{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:30px;
  max-width:100%;
  padding:4px 12px;
  border-radius:var(--r-pill);
  border:1px solid var(--border);
  background:var(--white);
  font-size:12.5px;
  font-weight:600;
  color:var(--text);
  overflow:hidden;
  text-overflow:ellipsis;
}
.fact-strip li svg{width:15px;height:15px;color:var(--accent);flex:none}
.fact-strip .k{color:var(--muted);font-weight:500}

.icon-tile{
  width:44px;height:44px;
  flex:none;
  border-radius:var(--r-sm);
  background:var(--bg-panel2);
  box-shadow:inset 0 1px 0 var(--white-70);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--accent-dark);
}
.icon-tile svg{width:22px;height:22px}

/* 状态点 */
.dot{width:8px;height:8px;border-radius:50%;flex:none;background:var(--success)}
.dot-accent{background:linear-gradient(135deg,var(--accent),var(--accent-2))}
.dot-warn{background:var(--warn)}

/* 旗帜 */
.flag{
  display:inline-block;
  width:22px;
  height:15px;
  border-radius:3px;
  overflow:hidden;
  box-shadow:inset 0 0 0 1px var(--border);
  flex:none;
  line-height:0;
}
.flag svg{width:22px;height:15px;display:block}
.fw{fill:var(--flag-white)}
.fr{fill:var(--flag-red)}
.fb{fill:var(--flag-blue)}
.fn{fill:var(--flag-navy)}
.fg{fill:var(--flag-green)}
.fw-s{fill:none;stroke:var(--flag-white)}
.fr-s{fill:none;stroke:var(--flag-red)}

/* 带旗帜/图标的事实行 */
.flag-line{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center}
.flag-line li{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:500}
.flag-line .row-label{color:var(--muted);font-weight:500}

/* 平台图标行 */
.platform-row{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;font-size:14px}
.platform-row .row-label{color:var(--muted);font-weight:500}
.platform-row li{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-weight:500}
.platform-row svg{width:18px;height:18px;color:var(--muted);opacity:.85;flex:none}

/* 勾选信任点 */
.trust{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:14px;font-weight:500;color:var(--text)}
.trust li{display:inline-flex;align-items:center;gap:6px}
.trust svg{width:16px;height:16px;color:var(--accent);flex:none}

/* 数据条 */
.databar{
  position:relative;
  z-index:1;
  border-top:1px solid var(--border);
  background:var(--bg-panel);
}
.databar .wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px 36px;
  min-height:64px;
  padding-top:12px;
  padding-bottom:12px;
  font-size:13px;
  color:var(--muted);
}
.databar b{font-family:var(--font-mono);font-weight:700;color:var(--accent-dark);margin-right:4px}

/* 引用块 */
.callout{
  position:relative;
  padding:18px 20px 18px 22px;
  border-radius:var(--r-md);
  background:var(--bg-panel);
  border:1px solid var(--border);
  box-shadow:inset 3px 0 0 var(--accent);
  font-size:15px;
  color:var(--text);
}
.callout p + p{margin-top:10px}
.callout .callout-title{font-weight:700;margin-bottom:6px}

/* 提示条 */
.notice-strip{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  padding:12px 16px;
  border-radius:var(--r-pill);
  background:var(--bg-panel);
  border:1px solid var(--border);
  box-shadow:inset 0 1px 0 var(--white);
  font-size:14px;
  color:var(--text);
}
.notice-strip svg{width:16px;height:16px;color:var(--accent);flex:none}

/* ==========================================================================
   正文排版(教程 / 文章 / 长文档)
   ========================================================================== */

.prose{font-size:16.5px;line-height:1.8;color:var(--text);min-width:0}
.prose > * + *{margin-top:18px}
.prose h2{
  font-size:clamp(22px,2.4vw,28px);
  font-weight:800;
  letter-spacing:-.02em;
  margin-top:52px;
  scroll-margin-top:calc(var(--toc-h) + 24px);
}
.prose h3{font-size:19px;font-weight:700;margin-top:34px}
.prose h2 + h3{margin-top:18px}
.prose p{color:var(--muted)}
.prose strong{color:var(--text);font-weight:600}
.prose a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.prose a:hover{color:var(--accent-dark)}
.prose ul,.prose ol{padding-left:4px;display:flex;flex-direction:column;gap:10px}
.prose ul li{position:relative;padding-left:20px;color:var(--muted)}
.prose ul li::before{
  content:"";
  position:absolute;
  left:4px;top:.72em;
  width:6px;height:6px;
  border-radius:50%;
  background:var(--accent);
  opacity:.5;
}
.prose ol{counter-reset:prose-ol}
.prose ol li{position:relative;padding-left:34px;counter-increment:prose-ol;color:var(--muted)}
.prose ol li::before{
  content:counter(prose-ol);
  position:absolute;
  left:0;top:.15em;
  width:22px;height:22px;
  border-radius:50%;
  background:var(--accent-10);
  color:var(--accent-dark);
  font-family:var(--font-mono);
  font-size:12px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
}
.prose code{
  font-family:var(--font-mono);
  font-size:.9em;
  padding:2px 6px;
  border-radius:5px;
  background:var(--bg-panel2);
  color:var(--accent-dark);
  overflow-wrap:anywhere;
}
.prose pre{
  padding:18px;
  border-radius:var(--r-md);
  background:var(--bg-panel2);
  border:1px solid var(--border);
  box-shadow:inset 0 1px 0 var(--white-70);
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  max-width:100%;
}
.prose pre code{padding:0;background:none;font-size:13px;line-height:1.7;white-space:pre}
.prose blockquote{
  padding:16px 20px;
  border-radius:var(--r-md);
  background:var(--bg-panel);
  border:1px solid var(--border);
  box-shadow:inset 3px 0 0 var(--accent-2);
  color:var(--muted);
}
.prose hr{border:0;border-top:1px solid var(--border);margin-top:40px}
.prose img{border-radius:var(--r-md);border:1px solid var(--border)}

/* 裸表格防御(文章可能输出不带容器的 table) */
.prose > .data-table,
.prose > table{
  display:block;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  max-width:100%;
  min-width:0;
}

/* ==========================================================================
   文章卡 / 博客
   ========================================================================== */

.post-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));
  gap:22px;
}
.post-card{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:22px;
  border-radius:var(--r-md);
  background:var(--bg-panel);
  border:1px solid var(--border);
  box-shadow:var(--shadow-card), inset 0 1px 0 var(--white);
  min-width:0;
  transition:transform .18s, box-shadow .18s, border-color .18s;
}
.post-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-float);border-color:var(--accent)}
.post-card h3{font-size:18px;line-height:1.35}
.post-card p{font-size:14px;color:var(--muted);flex:1}
.post-meta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  font-size:12.5px;
  color:var(--muted);
}
.post-meta time{font-family:var(--font-mono)}
.post-more{font-size:13.5px;font-weight:700;color:var(--accent-dark);display:inline-flex;align-items:center;gap:6px}
.post-more svg{width:14px;height:14px;transition:transform .18s}
.post-card:hover .post-more svg{transform:translateX(3px)}

/* 标签筛选 */
.tag-row{display:flex;flex-wrap:wrap;gap:8px}
.tag-row a,.tag-row button{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  max-width:100%;
  padding:5px 14px;
  border-radius:var(--r-pill);
  border:1px solid var(--border);
  background:var(--white);
  font-size:13px;
  font-weight:600;
  color:var(--muted);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.tag-row a:hover{border-color:var(--accent);color:var(--accent-dark)}
.tag-row a[aria-current="true"]{background:var(--accent);border-color:var(--accent);color:var(--white)}

/* ==========================================================================
   动画 / 滚动淡入(可见性由 reveal.js 掌控,默认可见)
   ========================================================================== */

.reveal{transition:opacity .55s ease, transform .55s ease}
.reveal.pending{opacity:0;transform:translateY(16px)}
.reveal.shown{opacity:1;transform:none}

@keyframes breathe{0%,100%{opacity:.62}50%{opacity:1}}
@keyframes halo{0%,100%{transform:scale(1);opacity:.55}50%{transform:scale(1.16);opacity:.22}}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal,.reveal.pending{opacity:1;transform:none;transition:none}
  .btn,.btn-login,.post-card{transition:none}
}

/* ==========================================================================
   横幅 / 收尾 CTA 带
   ========================================================================== */

.cta-band{
  position:relative;
  overflow-x:clip;
  background:linear-gradient(150deg,var(--bg-panel) 0%,var(--bg-panel2) 100%);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.cta-band::before{
  content:"";
  position:absolute;
  inset:-30% -10% auto 40%;
  height:120%;
  background:radial-gradient(closest-side,var(--aqua-06) 0%,var(--accent-06) 50%,transparent 100%);
  pointer-events:none;
}
.cta-band .wrap{position:relative;z-index:1}
.cta-band-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  flex-wrap:wrap;
  padding-top:56px;
  padding-bottom:56px;
}
.cta-band h2{font-size:clamp(22px,2.6vw,30px);font-weight:800}
.cta-band p{margin-top:8px;font-size:15.5px;color:var(--muted);max-width:52ch}
.cta-band .ctas{display:flex;gap:12px;flex-wrap:wrap;align-items:center}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width:1180px){
  :root{--gutter:32px}
  .h1{font-size:clamp(38px,4.8vw,54px)}
  .foot-grid{grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(0,1fr));gap:34px 26px}
}

@media (max-width:1024px){
  :root{--sec-y:76px}
  .nav-links{display:none}
  .burger{display:inline-flex}
  .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:768px){
  :root{--gutter:20px;--sec-y:64px;--nav-h:64px}
  .h1{font-size:clamp(30px,8vw,40px);letter-spacing:-.03em}
  .sec-title{font-size:clamp(24px,6.4vw,30px)}
  .lede{font-size:16px}
  .cta-band-inner{padding-top:44px;padding-bottom:44px}
}

@media (max-width:640px){
  :root{--gutter:18px}
  .no-break{white-space:normal}
  .btn{height:50px;padding:0 20px;font-size:15px}
  .btn-sm{height:44px;padding:0 18px;font-size:14px}
  .foot-grid{grid-template-columns:minmax(0,1fr);gap:30px}
  .databar .wrap{min-height:auto;padding-top:14px;padding-bottom:14px;gap:8px 20px}
  .tilt,.tilt-l,.tilt-r{transform:none}
  .card{padding:20px}
  /* 窄屏头部收纳:顶栏语言切换隐藏(抽屉内已有),登录按钮收窄,导航间距压缩 */
  .nav{gap:16px}
  .lang-wrap{display:none}
  .btn-login{height:38px;padding:0 14px;font-size:13.5px}
}

/* 装饰性微倾斜:≤640px 一律归零(防包围盒撑宽) */
@media (max-width:640px){
  [class*="tilt"]{transform:none}
}