/* ==========================================================================
   VPNCW · base.css
   设计令牌 / reset / 排版 / 头部 / 页脚 / 版心 / 可访问性
   所有颜色、字体、圆角、阴影只允许出现在本节 :root 里。
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root{
  /* 表面 */
  --bg:#F7F2E6;
  --bg-top:#FBF7EE;
  --bg-bottom:#F2EADB;
  --bg-panel:#FFFCF5;
  --bg-panel-hi:#FFFDF8;
  --bg-panel-2:#EFE6D4;
  --border:#E0D4BE;

  /* 品牌 */
  --accent:#1E5B41;
  --accent-dark:#123A28;
  --accent-soft:#3C8A62;

  /* 文字 */
  --text:#241D15;
  --text-muted:#6C5F4E;

  /* 语义 */
  --success:#2F8F5B;
  --warn:#B07A16;
  --error:#B4362A;

  /* 墨黑 / 暖沙 */
  --ink:#171009;
  --on-ink:#FFFCF5;
  --sand:#C9A96B;
  --sand-deep:#8A6B38;

  /* 旗帜填充 */
  --flag-red:#C8352B;
  --flag-blue:#2B4C8C;
  --flag-white:#FFFDF8;

  /* 透明度阶梯（全部由调色板派生） */
  --accent-a06:rgba(30,91,65,.06);
  --accent-a10:rgba(30,91,65,.10);
  --accent-a14:rgba(30,91,65,.14);
  --accent-a22:rgba(30,91,65,.22);
  --accent-a40:rgba(30,91,65,.40);
  --success-a10:rgba(47,143,91,.10);
  --success-a16:rgba(47,143,91,.16);
  --success-a22:rgba(47,143,91,.22);
  --warn-a12:rgba(176,122,22,.12);
  --warn-a22:rgba(176,122,22,.22);
  --error-a10:rgba(180,54,42,.10);
  --error-a20:rgba(180,54,42,.20);
  --ink-a80:rgba(23,16,9,.80);
  --ink-a45:rgba(23,16,9,.45);
  --white-a90:rgba(255,255,255,.90);
  --white-a16:rgba(255,255,255,.16);
  --grid-line:rgba(224,212,190,.62);
  --grain-dot:rgba(36,29,21,.55);

  /* 页脚深云杉横带 */
  --footer-bg:var(--accent-dark);
  --footer-text:var(--on-ink);
  --footer-muted:rgba(255,252,245,.74);
  --footer-line:rgba(255,252,245,.16);

  /* 字体 */
  --font-display:Inter, 'Noto Sans SC', 'Noto Sans JP', 'Noto Sans KR', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:Inter, 'Noto Sans SC', 'Noto Sans JP', 'Noto Sans KR', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:'JetBrains Mono', 'Noto Sans SC', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 圆角 */
  --r-xs:3px;
  --r-sm:4px;
  --r-md:6px;
  --r-lg:8px;
  --r-win:10px;
  --r-pill:999px;

  /* 海拔 */
  --shadow-window:inset 0 1px 0 var(--white-a90), 0 1px 2px rgba(36,29,21,.04), 0 28px 56px -30px var(--accent-a40);
  --shadow-float:0 16px 32px -20px var(--accent-a40), inset 0 1px 0 var(--white-a90);
  --shadow-pill:0 12px 24px -14px var(--ink-a80);
  --shadow-block:0 24px 48px -26px rgba(18,58,40,.75);
  --shadow-card:0 10px 26px -18px var(--accent-a40), inset 0 1px 0 var(--white-a90);

  /* 版式尺度 */
  --maxw:1240px;
  --gutter:40px;
  --header-h:64px;
  --announce-h:40px;
  --sec-y:72px;
}

/* ---------- 2. reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-h) + 16px);
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:60;
  pointer-events:none;
  background-image:radial-gradient(var(--grain-dot) 0.5px, transparent 0.6px);
  background-size:3px 3px;
  opacity:.045;
}

img{ max-width:100%; height:auto; display:block; }
svg{ display:block; }
a{ color:inherit; text-decoration:none; }
p{ margin:0; }
ul,ol{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; }
figure,blockquote{ margin:0; }

hr{
  border:0;
  border-top:1px solid var(--border);
  margin-top:32px;
  margin-bottom:32px;
}

::selection{ background:var(--accent-a22); color:var(--text); }

/* 键盘焦点可见（全站统一） */
:where(a,button,summary,[role="tab"],input,select,textarea,[tabindex]):focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
  border-radius:var(--r-xs);
}
.site-footer :where(a,button,summary):focus-visible{
  outline-color:var(--on-ink);
}

/* 跳过导航 */
.skip-link{
  position:absolute;
  left:12px;
  top:-64px;
  z-index:120;
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding-inline:16px;
  border-radius:var(--r-sm);
  background:var(--ink);
  color:var(--on-ink);
  font-size:13px;
  transition:top .18s ease;
}
.skip-link:focus{ top:12px; }

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}

/* ---------- 3. 排版 ---------- */
h1,h2,h3,h4{
  margin:0;
  font-family:var(--font-display);
  font-weight:500;
  color:var(--text);
  text-wrap:balance;
}

h1{
  font-size:clamp(52px,5.4vw,68px);
  line-height:1.07;
  letter-spacing:-.03em;
}
h2{
  font-size:clamp(28px,3.2vw,40px);
  line-height:1.14;
  letter-spacing:-.022em;
}
h3{
  font-size:clamp(19px,2.1vw,23px);
  line-height:1.28;
  letter-spacing:-.012em;
}
h4{
  font-size:16px;
  line-height:1.35;
  letter-spacing:-.005em;
}

/* 大标题里只包 2~4 个汉字的关键词，窄屏放行 */
.no-break{ white-space:nowrap; }

.mono{
  font-family:var(--font-mono);
  font-variant-numeric:tabular-nums;
  letter-spacing:.02em;
}
.muted{ color:var(--text-muted); }
.lede{
  font-size:18px;
  line-height:1.62;
  color:var(--text-muted);
  max-width:34em;
}
.small{ font-size:13px; }
.tiny{ font-size:11.5px; }

/* 正文长串（订阅链接、安装包文件名）必须能断 */
code,kbd,samp{
  font-family:var(--font-mono);
  font-size:.92em;
  overflow-wrap:anywhere;
  word-break:break-word;
}
pre{
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  padding:14px 16px;
  border:1px solid var(--border);
  border-radius:var(--r-md);
  background:var(--bg-panel-2);
  font-family:var(--font-mono);
  font-size:12.5px;
  line-height:1.7;
  color:var(--text);
}
pre code{ overflow-wrap:normal; word-break:normal; }

/* 装饰性微倾斜：只许作用在短元素上，窄屏一律归零 */
.tilt-l{ transform:rotate(-0.45deg); }
.tilt-r{ transform:rotate(0.45deg); }

/* 装饰层裁切容器（防横向溢出） */
.clip-x{ overflow-x:clip; max-width:100%; }
.decor{ pointer-events:none; max-width:100%; }

/* ---------- 4. 版心与区块节奏 ---------- */
.wrap{
  width:100%;
  max-width:var(--maxw);
  margin-inline:auto;
  padding-inline:var(--gutter);
}

/* 区块只声明纵向间距，禁止 padding 横向简写 */
.sec{
  padding-top:var(--sec-y);
  padding-bottom:var(--sec-y);
}
.sec--tight{
  padding-top:44px;
  padding-bottom:44px;
}
.sec--line{ border-top:1px solid var(--border); }

.stack{ display:flex; flex-direction:column; gap:16px; }
.row{ display:flex; flex-wrap:wrap; align-items:center; gap:12px; }

/* 线路状态容器：占文档流、夹住内部网格 */
#server-status{
  display:block;
  overflow:hidden;
  max-width:100%;
  margin-top:28px;
  margin-bottom:28px;
}

/* ---------- 5. 公告条 ---------- */
.announce{
  position:relative;
  z-index:21;
  background:linear-gradient(90deg, var(--accent-dark) 0%, var(--accent) 44%, var(--sand-deep) 100%);
  color:var(--on-ink);
}
.announce-inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding-inline:var(--gutter);
  padding-top:6px;
  padding-bottom:6px;
  min-height:var(--announce-h);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:8px 18px;
}
.announce-text{
  font-size:12.5px;
  letter-spacing:.01em;
  color:rgba(255,252,245,.94);
  text-align:center;
}
.announce-btn{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:24px;
  padding-inline:11px;
  border-radius:var(--r-xs);
  background:var(--ink);
  color:var(--on-ink);
  font-size:11.5px;
  font-weight:500;
  white-space:nowrap;
  transition:background-color .16s ease;
}
.announce-btn:hover{ background:#000; }

/* ---------- 6. 头部 ---------- */
.site-header{
  position:relative;
  z-index:20;
}
.header-bar{
  background:var(--bg-top);
  border-bottom:1px solid var(--border);
}
.header-inner{
  position:relative;
  max-width:var(--maxw);
  margin:0 auto;
  padding-inline:var(--gutter);
  height:var(--header-h);
  display:flex;
  align-items:center;
  gap:30px;
}

/* 品牌位 */
.brand{
  display:inline-flex;
  align-items:center;
  gap:9px;
  flex:0 0 auto;
  min-height:32px;
}
.brand-logo{
  width:26px;
  height:26px;
  flex:0 0 auto;
  display:block;
}
.brand-en{
  font-family:var(--font-display);
  font-size:16.5px;
  font-weight:600;
  letter-spacing:-.012em;
  color:var(--text);
  white-space:nowrap;
}
.brand-zh{
  font-size:11.5px;
  font-weight:400;
  letter-spacing:.08em;
  color:var(--text-muted);
  white-space:nowrap;
}

/* 桌面导航：ul 自身必须是 flex，否则 li 会竖着堆 */
.main-nav{
  display:flex;
  align-items:center;
  height:var(--header-h);
  min-width:0;
}
.nav-list{
  display:flex;
  align-items:center;
  gap:26px;
  height:100%;
  margin:0;
  padding:0;
  list-style:none;
}
.nav-list li{ display:flex; align-items:center; height:100%; }
.nav-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  height:100%;
  font-size:14px;
  color:var(--text-muted);
  white-space:nowrap;
  transition:color .16s ease;
}
.nav-link::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:2px;
  border-radius:2px;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .22s ease;
}
.nav-link:hover{ color:var(--text); }
.nav-link:hover::after{ transform:scaleX(.45); }
.nav-link.is-active{ color:var(--text); font-weight:500; }
.nav-link.is-active::after{ transform:scaleX(1); }

/* 工具区 */
.header-tools{
  display:flex;
  align-items:center;
  gap:12px;
  margin-left:auto;
  flex:0 0 auto;
}

.lang-switch-wrap{ position:relative; }
.lang-switch{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:32px;
  padding-inline:9px;
  border:0;
  border-radius:var(--r-sm);
  background:transparent;
  font-family:var(--font-body);
  font-size:12.5px;
  color:var(--text-muted);
  cursor:pointer;
  transition:color .16s ease, background-color .16s ease;
}
.lang-switch:hover{ color:var(--text); background:var(--bg-panel-2); }
.lang-switch svg{ width:11px; height:11px; flex:0 0 auto; }

.lang-menu{
  display:none;
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  z-index:30;
  min-width:168px;
  padding:6px;
  border:1px solid var(--border);
  border-radius:var(--r-md);
  background:var(--bg-panel);
  box-shadow:var(--shadow-float);
}
.lang-menu.is-open{ display:block; }
.lang-menu a{
  display:flex;
  align-items:center;
  min-height:36px;
  padding-inline:10px;
  border-radius:var(--r-xs);
  font-size:13px;
  color:var(--text-muted);
}
.lang-menu a:hover{ background:var(--bg-panel-2); color:var(--text); }
.lang-menu a[aria-current="true"]{ color:var(--accent-dark); font-weight:500; }

.login-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding-inline:16px;
  border:1px solid var(--border);
  border-radius:var(--r-sm);
  background:var(--bg-panel);
  font-size:13px;
  font-weight:500;
  color:var(--text);
  white-space:nowrap;
  box-shadow:inset 0 1px 0 var(--white-a90);
  transition:border-color .16s ease, color .16s ease, background-color .16s ease;
}
.login-btn:hover{
  border-color:var(--accent);
  color:var(--accent-dark);
  background:var(--bg-panel-hi);
}

/* 汉堡 */
.nav-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  padding:0;
  border:1px solid var(--border);
  border-radius:var(--r-sm);
  background:var(--bg-panel);
  color:var(--text);
  cursor:pointer;
}
.nav-toggle svg{ width:20px; height:20px; }

/* 抽屉（必须是 nav 元素，实色底，整行可点） */
.nav-drawer{
  display:none;
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  width:min(340px, 88vw);
  z-index:70;
  padding:18px 16px 32px;
  background:var(--bg-panel);
  border-left:1px solid var(--border);
  box-shadow:-24px 0 48px -30px var(--ink-a80);
  overflow-y:auto;
  overscroll-behavior:contain;
  transform:translateX(100%);
  transition:transform .24s ease;
}
.nav-drawer.is-open{ transform:translateX(0); }
.nav-drawer a{
  display:flex;
  align-items:center;
  width:100%;
  min-height:44px;
  padding-inline:10px;
  border-radius:var(--r-sm);
  font-size:15px;
  color:var(--text);
}
.nav-drawer a:hover{ background:var(--bg-panel-2); }
.nav-drawer a.is-active{ color:var(--accent-dark); font-weight:500; background:var(--accent-a10); }
.drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom:12px;
  margin-bottom:8px;
  border-bottom:1px solid var(--border);
  font-family:var(--font-mono);
  font-size:10.5px;
  letter-spacing:.14em;
  color:var(--text-muted);
}
.drawer-head-title{ letter-spacing:.14em; }
.drawer-close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  padding:0;
  border:1px solid var(--border);
  border-radius:var(--r-sm);
  background:var(--bg-panel);
  color:var(--text);
  cursor:pointer;
  transition:background-color .16s ease, color .16s ease, border-color .16s ease;
}
.drawer-close:hover{ background:var(--bg-panel-2); color:var(--accent-dark); border-color:var(--accent); }
.drawer-close svg{ width:14px; height:14px; }
.drawer-group{ padding-top:12px; margin-top:8px; border-top:1px solid var(--border); }
.drawer-label{
  display:block;
  padding:0 10px 6px;
  font-family:var(--font-mono);
  font-size:10px;
  letter-spacing:.14em;
  color:var(--text-muted);
}
.drawer-veil{
  display:none;
  position:fixed;
  inset:0;
  z-index:65;
  background:rgba(23,16,9,.44);
  border:0;
  padding:0;
}
.drawer-veil.is-open{ display:block; }

/* 抽屉展开时锁背景滚动 */
html.nav-open{ overflow:hidden; }

/* ---------- 7. 页脚 ---------- */
.site-footer{
  background:var(--footer-bg);
  color:var(--footer-text);
  border-top:1px solid var(--accent-dark);
}
.footer-inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding-inline:var(--gutter);
  padding-top:52px;
  padding-bottom:26px;
}
.footer-top{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1.95fr);
  gap:48px;
  padding-bottom:36px;
  border-bottom:1px solid var(--footer-line);
}
.footer-brand{ min-width:0; }
.footer-brand .brand{ margin-bottom:14px; }
.footer-brand .brand-logo{ width:28px; height:28px; }
.footer-brand .brand-en{ color:var(--footer-text); }
.footer-brand .brand-zh{ color:var(--footer-muted); }
.footer-desc{
  font-size:13.5px;
  line-height:1.7;
  color:var(--footer-muted);
  max-width:34em;
}
.footer-fact{
  margin-top:14px;
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.06em;
  color:var(--footer-muted);
}

.footer-cols{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:32px;
}
.footer-col{ min-width:0; }
.footer-head{
  margin:0 0 12px;
  font-family:var(--font-mono);
  font-size:10px;
  font-weight:400;
  letter-spacing:.16em;
  color:var(--footer-muted);
  text-transform:uppercase;
}
.footer-col ul{ display:flex; flex-direction:column; gap:2px; }
.footer-col a{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  font-size:13.5px;
  color:var(--footer-text);
  opacity:.86;
  transition:opacity .16s ease;
}
.footer-col a:hover{ opacity:1; text-decoration:underline; text-underline-offset:3px; }

.footer-keywords{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  max-width:100%;
}
.footer-keywords a{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  max-width:100%;
  padding:2px 10px;
  border:1px solid var(--footer-line);
  border-radius:var(--r-pill);
  font-size:11.5px;
  color:var(--footer-muted);
  white-space:normal;
  overflow-wrap:anywhere;
  opacity:1;
}
.footer-keywords a:hover{ color:var(--footer-text); border-color:var(--footer-muted); text-decoration:none; }

.footer-bottom{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px 24px;
  padding-top:20px;
}
.footer-copy{
  font-family:var(--font-mono);
  font-size:11.5px;
  letter-spacing:.04em;
  color:var(--footer-muted);
}
.footer-legal{
  display:flex;
  flex-wrap:wrap;
  gap:6px 18px;
}
.footer-legal a{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  font-size:12px;
  color:var(--footer-muted);
}
.footer-legal a:hover{ color:var(--footer-text); }

/* ---------- 8. 按钮 ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:50px;
  padding-inline:24px;
  border:1px solid transparent;
  border-radius:var(--r-sm);
  font-family:var(--font-body);
  font-size:14.5px;
  font-weight:500;
  letter-spacing:.01em;
  white-space:nowrap;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn svg{ width:14px; height:14px; flex:0 0 auto; transition:transform .18s ease; }

.btn-solid{
  background:var(--ink);
  color:var(--on-ink);
  box-shadow:0 10px 24px -14px var(--ink-a80);
}
.btn-solid:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 30px -16px rgba(23,16,9,.85);
}
.btn-solid:hover svg{ transform:translateX(2px); }

.btn-outline{
  background:var(--bg-panel);
  color:var(--text);
  border-color:var(--border);
  box-shadow:inset 0 1px 0 var(--white-a90);
}
.btn-outline:hover{
  border-color:var(--accent);
  color:var(--accent-dark);
}

.btn-accent{
  background:var(--accent);
  color:var(--on-ink);
  box-shadow:0 12px 26px -16px var(--accent-a40);
}
.btn-accent:hover{
  transform:translateY(-1px);
  background:var(--accent-dark);
}

.btn-sm{
  min-height:38px;
  padding-inline:16px;
  font-size:13px;
}
.btn-block{ width:100%; }

/* ---------- 9. 通用面板 / 卡片 ---------- */
.panel{
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow-card);
  overflow:hidden;
  min-width:0;
}
.panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 16px;
  border-bottom:1px solid var(--border);
  background:var(--bg-panel-hi);
  font-family:var(--font-mono);
  font-size:10.5px;
  letter-spacing:.14em;
  color:var(--text-muted);
}
.panel-body{ padding:16px; min-width:0; }

.card{
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow-card);
  padding:22px;
  min-width:0;
}

/* ---------- 10. reveal（默认可见，隐藏态单独一个 class） ---------- */
.reveal{
  transition:opacity .5s ease, transform .5s ease;
}
.reveal.pending{
  opacity:0;
  transform:translateY(16px);
}

/* ---------- 11. 响应式 ---------- */
@media (max-width:1180px){
  :root{ --gutter:32px; }
  .nav-list{ gap:18px; }
  .nav-link{ font-size:13px; }
  .header-inner{ gap:22px; }
}

@media (max-width:1040px){
  .footer-top{ grid-template-columns:minmax(0,1fr); gap:32px; }
}

@media (max-width:960px){
  :root{ --gutter:24px; }

  .header-inner{
    height:auto;
    min-height:60px;
    padding-top:8px;
    padding-bottom:8px;
    gap:14px;
  }
  .header-inner .main-nav{ display:none; }
  .header-inner .brand-zh{ display:none; }
  .header-inner .lang-switch{ display:none; }
  .header-inner .login-btn{
    min-height:32px;
    padding-inline:12px;
    font-size:12.5px;
  }

  /* 工具区自己贴右，桌面那条 margin-left:auto 在导航收起后已失效 */
  .header-tools{ margin-left:auto; gap:8px; }
  .nav-toggle{ display:inline-flex; }
  .nav-drawer{ display:block; }

  .footer-cols{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:26px; }
}

@media (max-width:768px){
  h1{ font-size:clamp(28px,8.4vw,38px); letter-spacing:-.02em; }
  h2{ font-size:clamp(24px,6.4vw,30px); }
  h3{ font-size:19px; }
  body{ font-size:16px; }
  .lede{ font-size:16.5px; }
  .sec{ padding-top:52px; padding-bottom:52px; }
  .btn{ min-height:46px; padding-inline:18px; font-size:14px; }
}

@media (max-width:640px){
  :root{ --gutter:18px; }

  /* 窄屏允许折行，桌面仍防断词 */
  .no-break{ white-space:normal; }

  /* 装饰性倾斜不许在窄屏作用到长内容上 */
  .tilt-l,.tilt-r{ transform:none; }

  .brand-en{ font-size:15.5px; }
  .footer-cols{ grid-template-columns:minmax(0,1fr); }
  .footer-inner{ padding-top:40px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
  .announce-text{ font-size:11.5px; }
}

@media (max-width:400px){
  :root{ --gutter:16px; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .reveal,
  .reveal.pending{
    opacity:1;
    transform:none;
    transition:none;
  }
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
}

/* lh:local-harden:start */
:is(h1,h2,h3,h4){text-wrap:balance}
:is(p,li,dd,dt,figcaption,blockquote,td,th){text-wrap:pretty}
html[lang|="ko"] body{word-break:keep-all;overflow-wrap:break-word}
html[lang|="ja"] :is(h1,h2,h3,h4){word-break:auto-phrase}
.lh-tscroll{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
@media (max-width:640px){.lh-tscroll :is(th,td){min-width:5.5em}}
@supports (animation-timeline:scroll()){
  .float-cta{animation:lh-fab-in linear both;animation-timeline:scroll(root);animation-range:0 70vh}
}
@keyframes lh-fab-in{0%,45%{opacity:0;visibility:hidden}100%{opacity:1;visibility:visible}}
/* lh:local-harden:end */