/* 开源守护计划 · Open Source Guardian Program
   Page-scoped styles. Shared chrome lives in ../shared/site.css (read-only). */
:root {
  --bg: #000;
  --bg2: #020204;
  --panel: rgba(6, 7, 11, .68);
  --foot: #08080b;
  --tx: #f3f1ef;
  --tx2: rgba(243, 241, 239, .64);
  --tx3: rgba(243, 241, 239, .42);
  --line: rgba(243, 241, 239, .14);
  --line2: rgba(243, 241, 239, .07);
  --red: #ff3a3f;
  --red2: #D61534;
  --latin: 'CR Header Jost', system-ui, sans-serif;
  --cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --btn: 'CR Header Jost', "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  /* Figures: modern proportional sans with tabular digits; CJK always falls to --cjk faces. */
  --fig: "Helvetica Neue", "SF Pro Display", "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --rail-space: 0px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (min-width: 900px) { :root { --rail-space: 92px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--tx);
  font: 400 16px/1.8 var(--cjk); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
h1, h2, h3, p, ol, ul, blockquote, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
em { font-style: normal; }
h1 em, h2 em, h3 em, blockquote em { font-style: normal; color: var(--red); }
.num, code { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
time { font-family: var(--cjk); font-variant-numeric: tabular-nums; }
:is(time, .hl, strong, .fig) .num { font-family: var(--fig); font-weight: inherit; }
.fig { font-family: var(--cjk); font-variant-numeric: tabular-nums; }
.fig b { font-family: var(--fig); font-weight: 300; }
.fig small { font-size: .46em; font-weight: 400; letter-spacing: .08em; margin-left: .32em; }
.red { color: var(--red); }

/* ---------- 3D stage ---------- */
.gd-stage {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 72% 38%, rgba(214, 21, 52, .16), transparent 70%),
    radial-gradient(40% 32% at 22% 85%, rgba(255, 58, 63, .06), transparent 70%),
    radial-gradient(120% 90% at 50% 50%, #050407 0%, #020204 55%, #000 100%);
}
.gd-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease); }
.gd-webgl .gd-stage canvas { opacity: 1; }
.gd-stage-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 46%, transparent 70%); }
@media (max-width: 899px) { .gd-stage-veil { background: rgba(0,0,0,.38); } }

/* ---------- Header backing on scroll (site.js header is transparent) ---------- */
#cr-header { transition: background-color .35s, border-color .35s, -webkit-backdrop-filter .35s, backdrop-filter .35s; border-bottom: 1px solid transparent !important; }
html.gd-scrolled #cr-header {
  background: rgba(4, 4, 6, .74);
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--line2) !important;
}
.fallback-nav {
  position: fixed; inset: 0 0 auto; z-index: 70; height: 64px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--cr-gutter); background: rgba(4,4,6,.74); backdrop-filter: blur(12px);
  font: 300 12px/1 var(--latin); letter-spacing: .2em; text-transform: uppercase;
}
.fallback-nav a { text-decoration: none; color: var(--tx2); margin-left: 22px; }
.fallback-nav .fb-brand { margin: 0; color: var(--tx); letter-spacing: .34em; }
.fallback-nav em { color: var(--red); }
.cr-site-ready .fallback-nav { display: none; }

/* ---------- Layout ---------- */
main, .site-foot { position: relative; z-index: 1; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 calc(var(--cr-gutter) + var(--rail-space)) 0 var(--cr-gutter); }
.gd-sec { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: clamp(110px, 16vh, 180px) 0; }
.gd-origin, .gd-plan { min-height: 135vh; }
.gd-risk { min-height: 100svh; }
.col { max-width: 640px; }

.eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0 12px; margin-bottom: 26px;
  font: 500 11.5px/1.6 var(--latin); letter-spacing: .26em; text-transform: uppercase; color: var(--tx2);
}
.eyebrow .cjk { font-family: var(--cjk); font-weight: 400; letter-spacing: .2em; }
.eyebrow .no { font: 500 11.5px/1 var(--mono); color: var(--red); letter-spacing: .08em; padding-right: 12px; border-right: 1px solid var(--line); }
.dot, .pr a::before, .pr button::before {
  display: inline-block; flex: none; width: 5px; height: 5px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 6px var(--red), 0 0 14px rgba(255, 58, 63, .55);
}
h2 { font: 300 clamp(30px, 4.1vw, 56px)/1.22 var(--cjk); letter-spacing: .02em; margin-bottom: 26px; }
h2 em { font-weight: 400; }
.lead { color: var(--tx2); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.95; max-width: 640px; }
.body { color: var(--tx2); line-height: 2; }

/* glass panel */
.panel, .card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 3px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.panel { padding: clamp(26px, 3.2vw, 46px); }

/* ---------- Buttons (official .pr a grammar) ---------- */
.pr { display: flex; flex-wrap: wrap; gap: 12px; }
.pr a, .pr button {
  position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 18px 0 16px;
  border: 1px solid var(--line); border-radius: 2px; background: rgba(4, 4, 7, .42);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--tx); text-decoration: none; cursor: pointer;
  font: 500 13px/1 var(--btn); letter-spacing: .14em; white-space: nowrap;
  transition: border-color .25s, background-color .25s, color .25s;
}
.pr a .ar, .pr button .ar { margin-left: 6px; font-family: var(--latin); color: var(--tx3); transition: transform .25s var(--ease), color .25s; }
.pr a:hover, .pr button:hover { border-color: rgba(243, 241, 239, .38); background: rgba(243, 241, 239, .05); }
.pr a:hover .ar, .pr button:hover .ar { color: var(--red); transform: translate(2px, -1px); }
.pr .primary { border-color: rgba(255, 58, 63, .62); background: linear-gradient(90deg, rgba(214, 21, 52, .26), rgba(214, 21, 52, .08)); }
.pr .primary:hover { border-color: var(--red); background: linear-gradient(90deg, rgba(214, 21, 52, .4), rgba(214, 21, 52, .14)); }
.pr .primary .ar { color: var(--tx); }

/* ---------- HERO ---------- */
.gd-hero .wrap { display: flex; flex-direction: column; justify-content: center; gap: clamp(46px, 8vh, 90px); }
.gd-hero { padding-bottom: 104px; }
.hero-copy { max-width: 760px; }
.hero-title {
  font: 300 clamp(46px, 6.6vw, 104px)/1.08 var(--cjk); letter-spacing: .05em; white-space: nowrap; margin: 0 0 24px -.04em;
  text-shadow: 0 0 60px rgba(0, 0, 0, .6);
}
.hero-title em { font-weight: 400; }
.hero-sub { font: 300 clamp(17px, 1.7vw, 23px)/1.6 var(--cjk); letter-spacing: .04em; margin-bottom: 22px; color: var(--tx); }
.hero-sub em { color: var(--red); }
.hero-copy .lead { margin-bottom: 36px; max-width: 600px; }
.perks {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1040px;
  border: 1px solid var(--line); border-radius: 3px; background: var(--panel);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.perks li { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 20px 22px 22px; border-left: 1px solid var(--line); min-width: 0; }
.perks li:first-child { border-left: 0; }
.perks .k { font: 400 12px/1 var(--cjk); letter-spacing: .24em; color: var(--tx3); }
.perks strong { display: flex; align-items: baseline; min-height: 44px; font: 300 clamp(19px, 1.65vw, 23px)/1.2 var(--cjk); letter-spacing: .04em; color: var(--tx); }
.perks strong.fig { color: var(--tx); letter-spacing: 0; }
.perks .fig b { font-size: clamp(34px, 3vw, 44px); line-height: 1; color: var(--red); letter-spacing: -.02em; }
.perks .fig small { font-size: clamp(14px, 1.1vw, 16px); color: rgba(243, 241, 239, .82); margin-left: .5em; }
.perks .c { font-size: 13px; color: var(--tx2); line-height: 1.5; }

/* ---------- RISK ---------- */
.gd-risk .wrap { display: flex; flex-direction: column; gap: clamp(40px, 6vh, 64px); }
.sec-head { max-width: 940px; }
.incidents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; padding: 26px 26px 28px; overflow: hidden; }
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 38%; background: linear-gradient(90deg, var(--red), transparent); opacity: .75; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 26px; font-size: 12.5px; color: var(--tx3); }
.card-top time { letter-spacing: .06em; }
.card-top time .num { color: var(--tx2); margin: 0 .12em; }
.card-top .tag { font: 500 11px/1 var(--cjk); letter-spacing: .2em; color: var(--tx2); }
.card-top .tag b { color: var(--red); font-weight: 500; margin-left: 4px; }
.card h3 { font: 300 clamp(24px, 2.1vw, 30px)/1.2 var(--latin); letter-spacing: .04em; margin-bottom: 6px; }
.card .kind { font-size: 13px; letter-spacing: .14em; color: var(--red); margin-bottom: 18px; }
.card p { color: var(--tx2); font-size: 14.5px; line-height: 1.9; }
.hl { color: var(--tx); font-weight: 500; }
.manifesto, .belief, .pledge { position: relative; padding-left: 26px; border-left: 1px solid var(--red); }
.manifesto p { font: 300 clamp(22px, 2.6vw, 36px)/1.55 var(--cjk); letter-spacing: .03em; max-width: 920px; }

/* ---------- ORIGIN ---------- */
.gd-origin .panel { max-width: 620px; }
.gd-origin h2 { margin-bottom: 22px; }
.timeline { margin: 34px 0 34px; border-left: 1px solid var(--line); }
.timeline > li { position: relative; padding: 0 0 26px 26px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before { content: ""; position: absolute; left: -3px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--tx); box-shadow: 0 0 10px rgba(243,241,239,.6); }
.timeline > li:first-child::before { background: var(--red); box-shadow: 0 0 10px var(--red); }
.timeline time { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-size: 14px; color: var(--tx); margin-bottom: 6px; letter-spacing: .06em; }
.timeline time .num { font-size: 15px; letter-spacing: .02em; }
.timeline time .note { font: 400 11px/1 var(--cjk); letter-spacing: .14em; color: var(--tx2); padding: 5px 8px; border: 1px solid var(--line); border-radius: 2px; }
.timeline p { color: var(--tx2); font-size: 15px; }
.timeline strong { color: var(--tx); font-weight: 500; }
.timeline strong.red { color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips li { font: 300 12px/1 var(--latin); letter-spacing: .16em; text-transform: uppercase; padding: 8px 11px; border: 1px solid var(--line); border-radius: 2px; color: var(--tx); }
.belief p, .pledge p { font: 300 clamp(17px, 1.45vw, 20px)/1.85 var(--cjk); letter-spacing: .02em; }
.belief em, .pledge em { color: var(--red); }

/* ---------- PLAN ---------- */
.gd-plan .wrap { display: flex; flex-direction: column; gap: clamp(36px, 5vh, 56px); }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 760px; }
.offers .card { padding: 24px 24px 26px; min-height: 172px; }
.offers .n { display: block; font-size: 12px; color: var(--red); margin-bottom: 18px; }
.offers h3 { font: 400 13px/1 var(--cjk); letter-spacing: .3em; color: var(--tx2); margin-bottom: 14px; }
.offers p { color: var(--tx); font-size: 16px; line-height: 1.75; }
.offers strong { font-weight: 500; }
.offers .big { display: inline-flex; align-items: baseline; font-size: clamp(34px, 3vw, 44px); line-height: 1; }
.offers .big small { color: var(--tx); }
.offers .red .num { font-size: 1.15em; }
.pledge { max-width: 760px; }

/* ---------- APPLY ---------- */
.gd-apply { align-items: flex-start; }
.gd-apply .wrap { display: flex; flex-direction: column; gap: 34px; }
.gd-apply h2 { margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 980px; border-top: 1px solid var(--line); }
.steps li { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 18px 0 0; font-size: 15px; color: var(--tx); }
.steps li::before { content: ""; position: absolute; top: -3px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.steps li:not(:last-child)::after { content: "→"; margin-left: auto; padding-right: 18px; color: var(--tx3); font-family: var(--latin); }
.steps .num { font-size: 12px; color: var(--red); }
.channels { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 16px; align-items: stretch; }
.ch-k { font: 500 11px/1 var(--cjk); letter-spacing: .3em; color: var(--red); margin-bottom: 10px; }
.ch h3 { font: 300 clamp(20px, 1.8vw, 26px)/1.35 var(--cjk); letter-spacing: .03em; margin-bottom: 24px; }
.ch-qr { display: flex; flex-direction: column; }
.qr { position: relative; width: min(100%, 248px); aspect-ratio: 1; margin: 6px auto 20px; padding: 18px; }
.qr .cn { position: absolute; width: 22px; height: 22px; border: 0 solid var(--red); }
.qr .tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.qr .tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.qr .bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.qr .br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.qr::before, .qr::after { content: ""; position: absolute; background: rgba(255, 58, 63, .45); }
.qr::before { left: 50%; top: 4px; width: 1px; height: 8px; }
.qr::after { top: 50%; left: 4px; height: 1px; width: 8px; }
.qr img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 2px; background: #fff; padding: 8px; }
.qr-ph { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border: 1px dashed var(--line); border-radius: 2px; background: rgba(2, 2, 4, .72); overflow: hidden; }
.qr-grid { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(var(--line2) 1px, transparent 1px), linear-gradient(90deg, var(--line2) 1px, transparent 1px); background-size: 14px 14px; }
.qr-msg { position: relative; text-align: center; font-size: 12.5px; line-height: 1.9; color: var(--tx2); letter-spacing: .1em; }
.qr-msg code { color: var(--tx); font-size: 12px; }
.qr.has-img .qr-ph { display: none; }
.ch-note { margin-top: auto; font-size: 13px; color: var(--tx3); text-align: center; }
.mailrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 18px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 2px; background: rgba(2, 2, 4, .5); }
.mail { font-size: clamp(14px, 1.35vw, 18px); color: var(--tx); text-decoration: none; border-bottom: 1px solid rgba(255,58,63,.5); word-break: break-all; }
.mail:hover { color: var(--red); }
.mini { margin-left: auto; min-height: 34px; padding: 0 12px; font: 500 12px/1 var(--btn); letter-spacing: .14em; color: var(--tx); background: transparent; border: 1px solid var(--line); border-radius: 2px; cursor: pointer; }
.mini:hover { border-color: var(--red); color: var(--red); }
.apply-form { display: grid; gap: 14px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.apply-form label { display: grid; gap: 7px; }
.apply-form label span { font-size: 12px; letter-spacing: .16em; color: var(--tx2); }
.apply-form input, .apply-form textarea {
  width: 100%; padding: 11px 13px; color: var(--tx); background: rgba(2, 2, 4, .66);
  border: 1px solid var(--line); border-radius: 2px; font: 400 14.5px/1.6 var(--cjk); resize: vertical; transition: border-color .2s;
}
.apply-form input::placeholder, .apply-form textarea::placeholder { color: rgba(243, 241, 239, .28); }
.apply-form input:focus, .apply-form textarea:focus { outline: none; border-color: rgba(255, 58, 63, .7); }
.apply-form input:focus-visible, .apply-form textarea:focus-visible { outline: none; }
.form-actions { margin-top: 6px; }
.privacy { font-size: 12.5px; color: var(--tx3); }
.toast { min-height: 1.6em; margin-top: 10px; font-size: 13px; color: var(--red); letter-spacing: .06em; }

/* ---------- Footer ---------- */
.site-foot { background: var(--foot); border-top: 1px solid var(--line2); padding: 72px 0 calc(84px + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.fcol { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.fcol a { color: var(--tx2); text-decoration: none; font-size: 14px; transition: color .2s; }
.fcol a.num { font-size: 13px; }
.fcol a:hover { color: var(--tx); }
.fbrand { font: 300 15px/1 var(--latin); letter-spacing: .34em; margin-bottom: 6px; }
.fbrand em { color: var(--red); font-weight: 500; }
.fh { font: 500 11px/1 var(--cjk); letter-spacing: .32em; color: var(--tx3); margin-bottom: 6px; }
.fdesc { color: var(--tx2); font-size: 14px; line-height: 1.85; max-width: 320px; }
.fcol a.flink { font: 500 12px/1 var(--btn); letter-spacing: .2em; color: var(--tx); padding-bottom: 4px; border-bottom: 1px solid rgba(255, 58, 63, .5); }
.foot-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 22px; border-top: 1px solid var(--line2); font-size: 12.5px; color: var(--tx3); }
.foot-bar a { color: var(--tx3); text-decoration: none; }
.foot-bar a:hover { color: var(--tx); }
.foot-bar .totop { margin-left: auto; }

/* ---------- Right rail ---------- */
.gd-rail { position: fixed; z-index: 30; right: 26px; top: 50%; transform: translateY(-50%); display: none; }
.gd-rail ol { position: relative; display: flex; flex-direction: column; gap: 6px; }
.gd-rail ol::before { content: ""; position: absolute; right: 2px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.gd-rail a { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 36px; text-decoration: none; color: var(--tx3); font: 500 10.5px/1 var(--mono); }
.gd-rail a i { order: 3; width: 5px; height: 5px; border: 1px solid var(--tx3); border-radius: 50%; background: var(--bg); transition: all .3s; }
.gd-rail a b { order: 2; font-weight: 500; transition: color .3s; }
.gd-rail a span { order: 1; font: 400 11.5px/1 var(--cjk); letter-spacing: .2em; opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; white-space: nowrap; }
.gd-rail a:hover span, .gd-rail a[aria-current="true"] span, .gd-rail a:focus-visible span { opacity: 1; transform: none; }
.gd-rail a:hover, .gd-rail a[aria-current="true"] { color: var(--tx); }
.gd-rail a[aria-current="true"] i { border-color: var(--red); background: var(--red); box-shadow: 0 0 10px var(--red); }
@media (min-width: 900px) { .gd-rail { display: block; } }

/* ---------- Bottom HUD + motion toggle ---------- */
.gd-motion {
  position: fixed; z-index: 36; left: var(--cr-gutter); bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 2px; background: rgba(6, 7, 11, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--tx2); font: 400 12px/1 var(--cjk); letter-spacing: .12em; cursor: pointer; transition: color .2s, border-color .2s;
}
.gd-motion:hover { color: var(--tx); border-color: rgba(243,241,239,.36); }
.gd-motion i { width: 8px; height: 9px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.gd-motion[aria-pressed="true"] i { width: 0; height: 0; border: 0; border-left: 8px solid var(--red); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.gd-no-webgl .gd-motion { display: none; }
.gd-hud {
  position: fixed; z-index: 35; left: calc(var(--cr-gutter) + 150px); bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: none; align-items: center; gap: 14px; height: 34px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 2px; background: rgba(6, 7, 11, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 10.5px/1 var(--latin); letter-spacing: .22em; color: var(--tx2); transition: opacity .35s, transform .35s;
}
.gd-hud-idx { font-family: var(--mono); letter-spacing: .04em; color: var(--tx3); }
.gd-hud-idx b { color: var(--red); font-weight: 500; }
.gd-hud-name { min-width: 150px; }
.gd-hud-bar { position: relative; width: 96px; height: 1px; background: var(--line); }
.gd-hud-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--red); box-shadow: 0 0 6px var(--red); }
.gd-hud.off { opacity: 0; transform: translateY(8px); pointer-events: none; }
.gd-motion { transition: color .2s, border-color .2s, opacity .3s, transform .3s; }
.gd-dock-dim .gd-hud { opacity: 0; transform: translateY(8px); }
.gd-dock-dim .gd-motion:not(:focus-visible) { opacity: 0; transform: translateY(8px); pointer-events: none; }
@media (min-width: 1100px) { .gd-hud { display: flex; } }

/* ---------- Reveal ---------- */
.gd-js .rv { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.gd-js .rv.in { opacity: 1; transform: none; }
.gd-js .hero-copy .rv:nth-child(2) { transition-delay: .08s; }
.gd-js .hero-copy .rv:nth-child(3) { transition-delay: .16s; }
.gd-js .hero-copy .rv:nth-child(4) { transition-delay: .24s; }
.gd-js .hero-copy .rv:nth-child(5) { transition-delay: .32s; }
.gd-js .incidents .rv:nth-child(2), .gd-js .offers .rv:nth-child(2) { transition-delay: .1s; }
.gd-js .incidents .rv:nth-child(3), .gd-js .offers .rv:nth-child(3) { transition-delay: .2s; }
.gd-js .offers .rv:nth-child(4) { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
  .incidents { grid-template-columns: 1fr; max-width: 720px; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks li:nth-child(3) { border-left: 0; }
  .perks li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .channels { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .gd-risk, .gd-origin, .gd-plan { min-height: 0; }
  .gd-sec { padding: 104px 0 120px; }
  .gd-hero { padding-top: calc(var(--cr-header-height) + 40px); }
  .hero-title { letter-spacing: .03em; }
  .pr a, .pr button { padding: 0 14px 0 12px; font-size: 12.5px; letter-spacing: .1em; }
  .perks li { padding: 16px 14px 18px; }
  .offers { grid-template-columns: 1fr; }
  .offers .card { min-height: 0; }
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); }
  .steps li { padding: 0 0 18px 20px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { left: -3px; top: 11px; }
  .steps li:not(:last-child)::after { display: none; }
  .f2 { grid-template-columns: 1fr; }
  .mini { margin-left: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-bar .totop { margin-left: 0; }
  .site-foot { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .gd-motion { left: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; padding: 0; justify-content: center; }
  .gd-motion span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .perks .fig b { font-size: 32px; }
  .perks strong { min-height: 38px; font-size: 18px; }
  .manifesto, .belief, .pledge { padding-left: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gd-js .rv { opacity: 1; transform: none; transition: none; }
  .gd-stage canvas { transition: none; }
}
.gd-still .gd-js .rv, .gd-still .rv { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- English (html[data-lang="en"]) ----------
   Latin system stack (CJK faces kept as tail fallbacks, e.g. for the ICP number), no CJK-style
   wide tracking, natural wrapping for headlines. */
html[data-lang="en"] {
  --en: "Helvetica Neue", "SF Pro Text", "Segoe UI", Roboto, Arial, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --cjk: var(--en);
  --btn: var(--en);
}
html[data-lang="en"] body { letter-spacing: 0; line-height: 1.7; }
html[data-lang="en"] .hero-title {
  white-space: normal; max-width: 11.5em; text-wrap: balance;
  font-size: clamp(40px, 5.6vw, 86px); line-height: 1.02; letter-spacing: -.022em; margin-left: -.03em;
}
html[data-lang="en"] .hero-copy { max-width: 820px; }
html[data-lang="en"] .hero-sub { font-size: clamp(17px, 1.55vw, 21px); letter-spacing: 0; line-height: 1.5; }
html[data-lang="en"] h2 { font-size: clamp(28px, 3.5vw, 50px); line-height: 1.14; letter-spacing: -.014em; text-wrap: balance; }
html[data-lang="en"] .lead, html[data-lang="en"] .body { line-height: 1.75; letter-spacing: 0; }
html[data-lang="en"] .manifesto p { font-size: clamp(22px, 2.4vw, 34px); line-height: 1.38; letter-spacing: -.01em; }
html[data-lang="en"] :is(.belief, .pledge) p { line-height: 1.65; letter-spacing: 0; }
html[data-lang="en"] .card p, html[data-lang="en"] .timeline p { line-height: 1.7; }
html[data-lang="en"] .eyebrow { letter-spacing: .22em; }
/* Small uppercase labels replace the spaced-out CJK labels */
html[data-lang="en"] :is(.perks .k, .offers h3, .ch-k, .fh, .card-top .tag, .apply-form label span, .timeline time .note) {
  font-family: var(--latin); font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
html[data-lang="en"] .card-top .tag b { font-family: var(--mono); }
html[data-lang="en"] .card .kind { letter-spacing: .02em; }
html[data-lang="en"] .card-top time, html[data-lang="en"] .timeline time { letter-spacing: .02em; }
html[data-lang="en"] .gd-rail a span { font-family: var(--latin); font-weight: 500; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }
html[data-lang="en"] .gd-motion { letter-spacing: .04em; }
html[data-lang="en"] .pr a, html[data-lang="en"] .pr button { letter-spacing: .06em; font-size: 13.5px; }
html[data-lang="en"] .mini { letter-spacing: .06em; }
/* Perks: keep the four baselines aligned with the longer English figures */
html[data-lang="en"] .perks strong { flex-wrap: wrap; letter-spacing: -.005em; font-size: clamp(18px, 1.5vw, 21px); }
html[data-lang="en"] .perks .fig b { font-size: clamp(30px, 2.6vw, 40px); letter-spacing: -.025em; }
html[data-lang="en"] .perks .fig small { letter-spacing: .02em; margin-left: .4em; }
html[data-lang="en"] .perks .c { line-height: 1.45; }
html[data-lang="en"] .offers .big small, html[data-lang="en"] .fig small { letter-spacing: .02em; }
html[data-lang="en"] .steps li { font-size: 14.5px; line-height: 1.4; }
html[data-lang="en"] .fdesc { line-height: 1.7; }
@media (max-width: 760px) {
  html[data-lang="en"] .hero-title { font-size: clamp(36px, 10.5vw, 48px); }
  html[data-lang="en"] .perks .fig b { font-size: 24px; letter-spacing: -.03em; }
  html[data-lang="en"] .perks .fig small { font-size: 12px; margin-left: .3em; }
  html[data-lang="en"] .perks strong.fig { flex-wrap: nowrap; white-space: nowrap; }
  html[data-lang="en"] .perks strong { font-size: 16.5px; min-height: 34px; }
}
/* Avoid a flash of Chinese copy while the bundle swaps in English */
.gd-l10n-wait :is(main, .site-foot, .gd-rail, .gd-motion) { visibility: hidden; }
