:root{
  --blue:#3bb1ff;
  --red:#ff5252;
  --ink:#000;
  --paper:#fff;
  --blue-soft:#e8f6ff;
  --red-soft:#ffe8e8;
  --bd:3px solid var(--ink);
  --sh:6px 6px 0 var(--ink);
  --sh-s:3px 3px 0 var(--ink);
  --r:10px;
  --wrap:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:'Noto Sans Thai',system-ui,-apple-system,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
  font-size:17px;
  line-height:1.75;
  color:var(--ink);
  background:var(--paper);
  overflow-x:hidden;
}
img{max-width:100%;height:auto}
a{color:inherit}
:focus-visible{outline:3px solid var(--red);outline-offset:3px}

/* 顶部细条 */
.ticker{
  background:var(--ink);
  color:#fff;
  border-bottom:3px solid var(--ink);
  padding:5px 16px;
  text-align:center;
  overflow:hidden;
}
.ticker-t{
  display:inline-block;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.32em;
  white-space:nowrap;
}

/* 顶栏 */
.topbar{
  background:var(--blue);
  border-bottom:var(--bd);
  padding:10px 16px 12px;
}
.brandrow{
  max-width:var(--wrap);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:2px 0;
  text-decoration:none;
  font-weight:800;
  font-size:1.15rem;
  letter-spacing:.02em;
}
.mark{
  display:inline-grid;
  place-items:center;
  width:38px;
  height:38px;
  flex:0 0 38px;
  background:var(--red);
  border:var(--bd);
  border-radius:var(--r);
  box-shadow:var(--sh-s);
  color:#fff;
  font-weight:800;
  font-size:.95rem;
  object-fit:cover;
}
.brandname{border-bottom:3px solid transparent}
.brand:hover .brandname{border-bottom-color:var(--ink)}
.menu{max-width:var(--wrap);margin:10px auto 0}
.menu ul{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0;
  padding:0;
}
.menu a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:8px 14px;
  background:#fff;
  border:var(--bd);
  border-radius:var(--r);
  box-shadow:var(--sh-s);
  text-decoration:none;
  font-weight:700;
  font-size:.94rem;
  transition:transform .12s ease,box-shadow .12s ease,background .12s ease;
}
.menu a:hover{transform:translate(-2px,-2px);box-shadow:5px 5px 0 var(--ink);background:var(--blue-soft)}
.menu a:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.ico{
  width:11px;
  height:11px;
  flex:0 0 11px;
  background:var(--red);
  border:2px solid var(--ink);
}

/* 首屏 */
.hero{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-end;
  text-align:right;
  gap:26px;
  padding:56px 20px 56px;
  border-bottom:var(--bd);
  background-color:var(--paper);
  background-image:radial-gradient(var(--ink) 1.3px,transparent 1.4px);
  background-size:24px 24px;
}
.hero-h1{
  margin:0;
  max-width:15ch;
  font-size:clamp(2.3rem,8.6vw,5.6rem);
  line-height:1.05;
  font-weight:800;
  letter-spacing:-.02em;
  text-shadow:5px 5px 0 var(--blue);
}
.lead{
  margin:0;
  max-width:44ch;
  padding:16px 18px;
  text-align:left;
  background:#fff;
  border:var(--bd);
  border-radius:var(--r);
  box-shadow:var(--sh);
  font-weight:500;
  font-size:1.02rem;
  line-height:1.7;
}

/* 正文双栏 */
.stage{display:block}
.body{
  max-width:var(--wrap);
  margin:0 auto;
  padding:36px 20px 64px;
  display:grid;
  grid-template-columns:282px minmax(0,1fr);
  gap:32px;
  align-items:start;
}

/* 左侧栏 */
.rail{
  position:sticky;
  top:18px;
  background:#fff;
  border:var(--bd);
  border-radius:var(--r);
  box-shadow:var(--sh);
  padding:18px;
}
.rail-h2{
  margin:0 0 4px;
  font-size:1.02rem;
  font-weight:800;
  letter-spacing:.08em;
  padding-bottom:8px;
  border-bottom:3px solid var(--ink);
}
.rail .subtitle{
  margin:10px 0 14px;
  font-size:.89rem;
  line-height:1.5;
  font-weight:600;
  color:#2b2b2b;
}
.rail-list{
  list-style:none;
  margin:0 0 14px;
  padding:0;
  display:grid;
  gap:8px;
}
.rail-list a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:8px 12px;
  background:var(--blue-soft);
  border:2px solid var(--ink);
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
  font-size:.93rem;
  line-height:1.4;
}
.rail-list a:hover{background:var(--red-soft)}
.rail-top{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  width:100%;
  border:var(--bd);
  border-radius:8px;
  background:var(--ink);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:.92rem;
}
.rail-top:hover{background:var(--red);color:var(--ink)}

/* 正文内容 */
.prose{min-width:0}
.prose div{
  background:#fff;
  border:var(--bd);
  border-radius:var(--r);
  box-shadow:var(--sh);
  padding:26px 24px 22px;
  margin:0 0 30px;
  scroll-margin-top:24px;
}
.prose div:nth-child(even){background:var(--blue-soft)}
.prose h2{
  margin:0 0 14px;
  font-size:clamp(1.35rem,3.4vw,2rem);
  line-height:1.22;
  font-weight:800;
  letter-spacing:-.01em;
  padding-bottom:12px;
  border-bottom:var(--bd);
}
.prose h2::before{
  content:"";
  display:inline-block;
  width:14px;
  height:14px;
  margin-right:10px;
  background:var(--red);
  border:2px solid var(--ink);
  vertical-align:.03em;
}
.prose h3{
  margin:22px 0 10px;
  font-size:1.14rem;
  font-weight:800;
  line-height:1.35;
}
.prose p{margin:0 0 14px}
.prose .subtitle{
  margin:0 0 16px;
  padding:8px 12px;
  font-size:1rem;
  font-weight:700;
  background:var(--red-soft);
  border-left:6px solid var(--red);
}
.prose ul,.prose ol{margin:0 0 16px;padding-left:22px}
.prose li{margin-bottom:8px}
.prose a{
  font-weight:700;
  color:var(--ink);
  text-decoration:underline;
  text-decoration-thickness:3px;
  text-underline-offset:3px;
  text-decoration-color:var(--red);
}
.prose a:hover{background:var(--red-soft)}
.prose blockquote{
  margin:0 0 16px;
  padding:12px 16px;
  background:var(--red-soft);
  border-left:8px solid var(--red);
  border-radius:8px;
}
.prose blockquote p:last-child{margin:0}
.prose figure{
  margin:0 0 18px;
  padding:10px;
  background:#fff;
  border:var(--bd);
  border-radius:8px;
}
.prose figure img{width:100%;display:block;border:2px solid var(--ink)}
.prose figcaption{margin-top:8px;font-size:.9rem;font-weight:600;line-height:1.5}
.prose img{border:2px solid var(--ink)}
.prose table{width:100%;border-collapse:collapse;margin:0 0 16px;font-size:.95rem}
.prose th,.prose td{border:2px solid var(--ink);padding:8px 10px;text-align:left;vertical-align:top}
.prose th{background:var(--blue)}
.prose hr{border:0;border-top:3px solid var(--ink);margin:22px 0}
.prose code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.92em;
  background:var(--blue-soft);
  border:2px solid var(--ink);
  border-radius:4px;
  padding:1px 5px;
}

/* 页脚 */
.foot{
  border-top:var(--bd);
  background:var(--blue-soft);
  padding:34px 20px 22px;
}
.foot-top{
  max-width:var(--wrap);
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  align-items:start;
}
.foot-name{
  margin:0 0 12px;
  font-size:1.28rem;
  font-weight:800;
  letter-spacing:.01em;
}
.foot-addr{
  font-style:normal;
  font-weight:600;
  padding:2px 0 2px 10px;
  border-left:6px solid var(--red);
  word-break:break-all;
}
.sub-form{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.sub-input{
  flex:1 1 160px;
  min-height:44px;
  padding:8px 12px;
  font:inherit;
  font-size:1rem;
  background:#fff;
  border:var(--bd);
  border-radius:var(--r);
}
.sub-btn{
  min-height:44px;
  padding:8px 20px;
  font:inherit;
  font-weight:800;
  color:#fff;
  background:var(--red);
  border:var(--bd);
  border-radius:var(--r);
  box-shadow:var(--sh-s);
  cursor:pointer;
}
.sub-btn:hover{transform:translate(-1px,-1px);box-shadow:4px 4px 0 var(--ink)}
.sub-btn:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.foot-links{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0;
  padding:0;
}
.foot-links a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:8px 12px;
  background:#fff;
  border:2px solid var(--ink);
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
  font-size:.92rem;
}
.foot-links a:hover{background:var(--blue)}
.copy{
  max-width:var(--wrap);
  margin:26px auto 0;
  padding-top:16px;
  border-top:var(--bd);
  text-align:center;
  font-size:.9rem;
  font-weight:700;
}

/* 动效 */
@media (prefers-reduced-motion: no-preference){
  .js .hero-h1,
  .js .lead,
  .js .rail,
  .js .prose > div{
    opacity:0;
    transform:translateY(16px);
    transition:opacity .5s ease,transform .5s ease;
  }
  .js .hero-h1.in,
  .js .lead.in,
  .js .rail.in,
  .js .prose > div.in{opacity:1;transform:none}
  .js .menu li{
    opacity:0;
    transform:translateY(-8px);
    transition:opacity .34s ease,transform .34s ease;
    transition-delay:calc(var(--i,0) * 45ms);
  }
  .js .menu li.in{opacity:1;transform:none}
}

/* 移动端 */
@media (max-width:900px){
  body{font-size:16.5px}
  .topbar{padding:8px 14px 10px}
  .menu ul{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:6px;
    scrollbar-width:thin;
  }
  .menu li{flex:0 0 auto}
  .hero{
    padding:44px 16px 44px;
    gap:22px;
  }
  .hero-h1{text-shadow:4px 4px 0 var(--blue)}
  .body{
    grid-template-columns:1fr;
    gap:26px;
    padding:26px 16px 48px;
  }
  .rail{position:static}
  .rail-list{grid-template-columns:1fr 1fr}
  .prose div{padding:20px 16px 18px}
  .foot-top{grid-template-columns:1fr;gap:22px}
}
@media (max-width:420px){
  .rail-list{grid-template-columns:1fr}
  .prose h2{font-size:1.3rem}
}

button[aria-expanded]{min-width:44px;min-height:44px}
