/* ==========================================================================
   FASTRYKE web v2: Navy (#0B1F36) + Midnight (#050C14) + Teal (#10B981/#0D9488)
   + Ice (#F4F7F9) + Champagne (#D4B483) + Cargo Orange (#FF7A3D/#E8590C)
   Two themes (data-theme="dark" | "light") driven by root tokens.
   ========================================================================== */

@font-face {
  font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('../assets/fonts/manrope-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('../assets/fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('../assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('../assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --cjk: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Source Han Sans SC', 'WenQuanYi Micro Hei';
  --h: 'Manrope', var(--cjk), system-ui, -apple-system, 'Segoe UI', sans-serif;
  --b: 'Inter', var(--cjk), system-ui, -apple-system, 'Segoe UI', sans-serif;
  --navy: #0B1F36;
  --midnight: #050C14;
  --ice: #F4F7F9;
  --teal: #0D9488;
  --signal: #10B981;
  --champagne: #D4B483;
  --hot: #FF7A3D;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050C14;
  --bg2: #08121E;
  --card: rgba(11, 31, 54, .58);
  --card-solid: #0B1F36;
  --ink: #F4F7F9;
  --ink2: #C6D3E1;
  --mut: #8DA2B8;
  --accent: #10B981;
  --accent-text: #34D399;
  --btn-bg: #10B981;
  --btn-ink: #03241A;
  --btn-hover: #34D399;
  --gold: #D4B483;
  --gold-text: #D4B483;
  --hot: #FF7A3D;
  --hot-text: #FF9A66;
  --line: rgba(244, 247, 249, .09);
  --line-strong: rgba(244, 247, 249, .22);
  --field: rgba(244, 247, 249, .04);
  --shadow: 0 30px 80px -40px rgba(0, 0, 0, .9);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #F4F7F9;
  --bg2: #E9EFF4;
  --card: #FFFFFF;
  --card-solid: #FFFFFF;
  --ink: #0B1F36;
  --ink2: #2B4258;
  --mut: #52687E;
  --accent: #0D9488;
  --accent-text: #0F766E;
  --btn-bg: #0B1F36;
  --btn-ink: #F4F7F9;
  --btn-hover: #0D9488;
  --gold: #D4B483;
  --gold-text: #8C6626;
  --hot: #E8590C;
  --hot-text: #C2410C;
  --line: rgba(11, 31, 54, .11);
  --line-strong: rgba(11, 31, 54, .24);
  --field: #FFFFFF;
  --shadow: 0 30px 70px -40px rgba(11, 31, 54, .32);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--b); font-size: 16px; line-height: 1.65;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  transition: background .35s var(--ease), color .35s var(--ease);
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--h); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; }
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3 { letter-spacing: 0; font-weight: 700; line-height: 1.25; }
html[lang^="zh"] .kicker, html[lang^="zh"] .eyebrow { letter-spacing: .12em; }
::selection { background: var(--signal); color: #03241A; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--btn-bg); color: var(--btn-ink);
  font-weight: 700; padding: 10px 16px; border-radius: 10px; transition: top .2s;
}
.skip:focus { top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kicker { font-family: var(--h); font-weight: 700; font-size: 12px; letter-spacing: .26em; color: var(--accent-text); text-transform: uppercase; }
.sec-sub { color: var(--mut); font-size: clamp(15px, 1.3vw, 18px); max-width: 60ch; margin-top: 16px; }
.section { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 9vw, 120px) 28px; }
.sec-head { margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head h2, .route-copy h2, .contact-info h2 {
  font-size: clamp(30px, 4vw, 52px); margin-top: 14px; letter-spacing: -.03em; max-width: 22ch; text-wrap: balance;
}
.route-copy h2 span { color: var(--accent-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--h); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s, border-color .2s, background .2s, color .2s;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover:not(:disabled) { background: var(--btn-hover); transform: translateY(-1px); box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .55); }
html[data-theme="light"] .btn-primary:hover:not(:disabled) { color: #fff; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--hot); color: var(--hot-text); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 150; display: grid; place-content: center;
  background: #050C14;
  transition: opacity .6s var(--ease), visibility 0s .6s;
}
#preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.pl-inner { display: grid; justify-items: center; gap: 24px; }
.pl-inner img { width: clamp(148px, 24vw, 188px); height: auto; }
.pl-bar { width: 180px; height: 2px; background: rgba(244, 247, 249, .14); border-radius: 99px; overflow: hidden; }
.pl-bar i {
  display: block; height: 100%; width: 100%;
  background: var(--signal);
  transform: scaleX(var(--pl, .18)); transform-origin: left;
  transition: transform .35s var(--ease);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  background: linear-gradient(rgba(5, 12, 20, .82), rgba(5, 12, 20, 0));
  backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s;
  --nv-ink: #F4F7F9; --nv-ink2: #D2DEEA; --nv-line: rgba(244, 247, 249, .22); --nv-accent: #34D399;
}
.nav.small {
  background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom-color: var(--line);
  --nv-ink: var(--ink); --nv-ink2: var(--ink2); --nv-line: var(--line-strong); --nv-accent: var(--accent-text);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 14px 28px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; transition: padding .3s;
}
.nav.small .nav-inner { padding: 9px 28px; }
.brand { display: inline-flex; align-items: center; justify-self: start; }
.brand img { width: 140px; height: auto; }
.logo-l { display: none; }
html[data-theme="light"] .nav.small .logo-l, html[data-theme="light"] .foot .logo-l { display: block; }
html[data-theme="light"] .nav.small .logo-d, html[data-theme="light"] .foot .logo-d { display: none; }
.nav-links { display: flex; justify-content: center; gap: 26px; font-size: 14.5px; font-weight: 500; color: var(--nv-ink2); }
.nav-links a { position: relative; padding: 4px 0; white-space: nowrap; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px; background: var(--hot); border-radius: 2px; transition: right .3s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--nv-ink); }
.nav-links a.active::after { right: 0; }
.nav-right { display: flex; align-items: center; gap: 12px; justify-self: end; }
.nav:not(.small) .btn-primary { --btn-bg: #10B981; --btn-ink: #03241A; --btn-hover: #34D399; }

.theme-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--nv-line); color: var(--nv-ink); transition: border-color .2s, color .2s, transform .2s;
}
.theme-btn:hover { border-color: var(--hot); color: var(--hot); transform: rotate(18deg); }
.theme-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
html[data-theme="dark"] .ic-moon, html[data-theme="light"] .ic-sun { display: none; }

.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; background: transparent; cursor: pointer;
  border: 1px solid var(--nv-line); border-radius: 999px; font-family: var(--h); font-weight: 700; font-size: 13px; letter-spacing: .06em; color: var(--nv-ink);
  transition: border-color .2s;
}
.lang-btn:hover, .lang.open .lang-btn { border-color: var(--hot); }
.lang-caret { width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.lang.open .lang-caret { transform: rotate(-135deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px; padding: 6px;
  background: var(--card-solid); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease);
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: block; padding: 10px 12px; font-size: 14px; color: var(--ink2); border-radius: 9px; }
.lang-menu a:hover { background: var(--line); color: var(--ink); }
.lang-menu a[aria-current] { color: var(--accent-text); font-weight: 700; }

.burger { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--nv-line); border-radius: 12px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--nv-ink); border-radius: 2px; transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger.x span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.x span:nth-child(2) { opacity: 0; }
.burger.x span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mmenu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95; width: min(86vw, 350px);
  background: var(--bg2); border-left: 1px solid var(--line); padding: 96px 28px 34px;
  display: flex; flex-direction: column; gap: 10px; transform: translateX(100%); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s .35s; box-shadow: none;
}
.mmenu.open { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; box-shadow: -30px 0 80px -30px #000; }
.mmenu-x { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; display: grid; place-items: center; }
.mmenu-x span { position: absolute; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; }
.mmenu-x span:first-child { transform: rotate(45deg); } .mmenu-x span:last-child { transform: rotate(-45deg); }
.mmenu-links { display: flex; flex-direction: column; }
.mmenu-links a { font-family: var(--h); font-weight: 700; font-size: 22px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink2); }
.mmenu-links a:hover { color: var(--hot-text); }
.mmenu-lang { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.mmenu-lang a { flex: 1 1 52px; text-align: center; padding: 10px 0; border-radius: 10px; border: 1px solid var(--line-strong); font-family: var(--h); font-weight: 700; font-size: 13px; color: var(--ink2); }
.mmenu-lang a[aria-current] { color: var(--accent-text); border-color: var(--accent-text); }
.mmenu-cta { margin-top: auto; }
.mmenu-scrim { position: fixed; inset: 0; z-index: 92; background: rgba(5, 6, 8, .62); opacity: 0; visibility: hidden; transition: .3s; }
.mmenu-scrim.on { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

/* ---------- Hero (silent 5-bar video progress indicator, zero clutter) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate;
  background: var(--midnight); color: #F4F7F9;
  --ink: #F4F7F9; --ink2: #D2DEEA; --mut: #A9BBCD; --accent-text: #34D399; --btn-bg: #10B981; --btn-ink: #03241A; --btn-hover: #34D399; --line-strong: rgba(244, 247, 249, .3);
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--midnight) center / cover no-repeat url('../assets/media/hero-poster.webp'); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; opacity: 0; transition: opacity .8s var(--ease); }
.hero-video.playing { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 12, 20, .9) 0%, rgba(5, 12, 20, .62) 34%, rgba(5, 12, 20, .12) 66%, rgba(5, 12, 20, .24) 100%),
    linear-gradient(180deg, rgba(5, 12, 20, .52) 0%, rgba(5, 12, 20, 0) 22%, rgba(5, 12, 20, 0) 64%, rgba(5, 12, 20, .88) 92%, rgba(5, 12, 20, .96) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(108px, 12vh, 136px) 28px clamp(88px, 10vh, 124px); }
.eyebrow { display: block; font-family: var(--h); font-weight: 700; font-size: 12px; letter-spacing: .26em; color: var(--accent-text); margin-bottom: 20px; }
.hero h1 { font-size: clamp(42px, 6.8vw, 98px); line-height: .96; letter-spacing: -.04em; max-width: 14ch; text-wrap: balance; }
html[lang^="zh"] .hero h1 { line-height: 1.12; }
.hero h1 span { color: var(--accent-text); }
.hero-p { color: var(--ink2); font-size: clamp(16px, 1.5vw, 19px); margin: 26px 0 34px; max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-primary { box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .55); }

.hero-progress {
  position: absolute; left: 0; right: 0; bottom: 32px; z-index: 3;
  max-width: var(--max); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 56px)); justify-content: center; gap: 8px;
}
.hero-progress span {
  display: block; height: 2px; border-radius: 99px; background: rgba(244, 247, 249, .22); overflow: hidden;
  transition: background .25s;
}
.hero-progress b {
  display: block; height: 100%; width: 100%;
  background: rgba(244, 247, 249, .85);
  transform: scaleX(var(--p, 0)); transform-origin: left;
}
.hero-progress span.on b { background: var(--hot); }
.hero-progress span.done b { transform: scaleX(1); background: rgba(244, 247, 249, .45); }

/* ---------- Facts ---------- */
.facts { max-width: var(--max); margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { position: relative; padding: 28px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--hot); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.fact:hover::before { transform: scaleX(1); }
.fact-no { display: block; font-style: normal; font-family: var(--h); font-weight: 700; font-size: 11px; letter-spacing: .18em; color: var(--hot-text); margin-bottom: 8px; }
.fact b { display: block; font-family: var(--h); font-weight: 700; font-size: clamp(16px, 1.55vw, 19px); letter-spacing: -.01em; }
.fact span { display: block; margin-top: 4px; font-size: 14px; color: var(--mut); }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line-strong); }
.step { position: relative; padding: 0 28px 0 0; }
.step-no {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--hot); color: var(--hot-text); font-family: var(--h); font-weight: 700; font-size: 14px;
  transition: background .25s, color .25s;
}
.step.tile:hover .step-no { background: var(--hot); color: #fff; }
.step h3 { font-size: 20px; margin: 22px 0 10px; letter-spacing: -.015em; }
.step p { color: var(--mut); font-size: 15px; }

/* ---------- Route / planet ---------- */
.section.route { max-width: none; padding-left: 0; padding-right: 0; background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; position: relative; }
.route-inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 40px; align-items: center; }
.route-legend { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.route-legend li { display: grid; grid-template-columns: 14px auto 1fr; gap: 12px; align-items: baseline; }
.route-legend b { font-family: var(--h); font-weight: 700; }
.route-legend span { color: var(--mut); font-size: 14px; }
.pt { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.pt-from { background: var(--signal); }
.pt-sea { background: var(--champagne); }
.pt-to { background: var(--hot); }
.route-lanes { list-style: none; margin-top: 28px; display: grid; gap: 8px; font-size: 14px; color: var(--ink2); }
.route-lanes li { display: flex; align-items: center; gap: 12px; }
.lane { width: 28px; height: 2px; border-radius: 2px; }
.lane-a { background: var(--accent); } .lane-b { background: var(--champagne); } .lane-c { background: var(--hot); }
html[data-theme="light"] .lane-b { background: #A67E42; }
.route-toggle { margin-top: 24px; background: transparent; border: 1px solid var(--line-strong); color: var(--ink2); padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; }
.route-toggle:hover { border-color: var(--hot); color: var(--hot-text); }
.route-note { margin-top: 18px; color: var(--mut); font-size: 13px; max-width: 46ch; }
.route-stage { position: relative; width: 100%; }
#globe {
  width: 100%; height: auto; aspect-ratio: 1; margin: 0 auto;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
#globe.dragging { cursor: grabbing; }

/* ---------- Why cards ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; padding: 28px 26px 26px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--hot);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 18px 36px -26px rgba(0, 0, 0, .65); }
html[data-theme="light"] .card:hover { box-shadow: 0 18px 36px -26px rgba(11, 31, 54, .18); }
.card-no { position: static; display: block; font-family: var(--h); font-weight: 700; font-size: 11px; letter-spacing: .18em; line-height: 1; color: var(--hot-text); margin-bottom: 14px; }
.card h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: -.015em; }
.card p { color: var(--mut); font-size: 15px; }

/* ---------- Clickable tiles + dialog ---------- */
.tile { cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; }
.tile:focus-visible { outline: 2px solid var(--hot); outline-offset: 4px; }
.step.tile h3 { align-self: stretch; }
.tile-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px;
  font-family: var(--h); font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--hot-text);
  transition: gap .25s var(--ease);
}
.step.tile .tile-more { padding-top: 14px; }
.tile-more::before {
  content: '+'; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid currentColor; font-size: 15px; line-height: 1; font-weight: 500;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.tile:hover .tile-more, .tile:focus-visible .tile-more { gap: 12px; }
.tile:hover .tile-more::before, .tile:focus-visible .tile-more::before { transform: rotate(90deg); background: var(--hot); color: #fff; border-color: var(--hot); }

.tile-dlg {
  margin: auto; width: min(880px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0;
  border: 1px solid var(--line-strong); border-radius: 16px; background: var(--card-solid); color: var(--ink);
  overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75);
}
.tile-dlg::backdrop { background: rgba(3, 8, 14, .74); backdrop-filter: blur(4px); }
.tile-dlg[open] { animation: dlg-in .28s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(14px) scale(.99); } to { opacity: 1; transform: none; } }
.td-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-height: calc(100svh - 32px); overflow: auto; }
.td-x {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--card-solid) 86%, transparent);
  cursor: pointer; display: grid; place-items: center;
}
.td-x span { position: absolute; width: 15px; height: 2px; background: var(--ink); border-radius: 2px; }
.td-x span:first-child { transform: rotate(45deg); } .td-x span:last-child { transform: rotate(-45deg); }
.td-x:hover { border-color: var(--hot); }
.td-fig {
  position: relative; min-height: 340px; margin: 0; overflow: hidden;
  background-color: #081729;
  background-image:
    linear-gradient(rgba(244, 247, 249, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 247, 249, .055) 1px, transparent 1px);
  background-size: 36px 36px;
  border-top: 2px solid var(--hot);
}
.td-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.td-fig.has-img img { opacity: 1; }
.td-fig::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(5, 12, 20, .72)); pointer-events: none; }
.td-code { position: absolute; left: 24px; bottom: 16px; z-index: 2; font-family: var(--h); font-weight: 300; font-size: clamp(64px, 10vw, 96px); line-height: 1; letter-spacing: -.04em; color: rgba(244, 247, 249, .84); }
.td-body { padding: 44px 36px 36px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.td-body h3 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; line-height: 1.12; padding-right: 30px; }
.td-lead { color: var(--ink2); font-size: 17px; }
.td-more { color: var(--mut); font-size: 15.5px; padding-top: 16px; border-top: 1px solid var(--hot); }
.td-body .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- FAQ (balanced architectural 2-column grid on desktop, crisp stacked on <=1060px) ---------- */
.faq {
  display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 5vw, 64px); align-items: start;
}
.faq .sec-head { position: sticky; top: 104px; margin-bottom: 0; }
.faq-list { width: 100%; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--h); font-weight: 700; font-size: clamp(16px, 1.7vw, 19px); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-weight: 500; font-size: 20px; line-height: 1; color: var(--hot-text); transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; }
details[open] summary::after { transform: rotate(45deg); background: var(--hot); border-color: var(--hot); color: #fff; }
summary:hover { color: var(--accent-text); }
details p { color: var(--mut); padding: 0 54px 24px 0; max-width: 68ch; }

/* ---------- Contact ---------- */
.section.contact { background: var(--bg2); max-width: none; padding-left: 0; padding-right: 0; border-top: 1px solid var(--line); }
.contact-grid { max-width: var(--max); margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.brief-box { margin-top: 30px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.brief-box h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-text); margin-bottom: 12px; }
.brief-box ul { list-style: none; display: grid; gap: 8px; }
.brief-box li { position: relative; padding-left: 16px; color: var(--ink2); font-size: 14.5px; }
.brief-box li::before { content: ''; position: absolute; left: 0; top: 11px; width: 8px; height: 1.5px; border-radius: 0; background: var(--hot); }

.contact-card {
  position: relative; overflow: hidden;
  margin-top: 18px; padding: 22px 24px; border-radius: 14px; background: var(--card);
  border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px;
}
.contact-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--hot); }
.contact-card dt { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.contact-card dd { margin-top: 4px; font-family: var(--h); font-weight: 700; font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--hot-text); }

.contact-form { display: grid; gap: 16px; padding: 32px; background: var(--card-solid); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.contact-form label:not(.consent) { display: flex; flex-direction: column; gap: 7px; }
label > span { font-size: 13px; font-weight: 600; color: var(--ink2); }
input:not([type="checkbox"]), textarea, select {
  width: 100%; padding: 13px 15px; background: var(--field); border: 1px solid var(--line-strong); border-radius: 12px; color: var(--ink); font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus { outline: 0; border-color: var(--hot); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hot) 20%, transparent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
textarea { resize: vertical; min-height: 116px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--mut); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--hot); }
.consent a { color: var(--accent-text); text-decoration: underline; }
.contact-form .btn[type="submit"] { justify-self: start; }
.form-note { color: var(--mut); font-size: 13px; }
.form-msg { font-size: 14px; font-weight: 600; min-height: 1.4em; }
.form-msg.err { color: var(--hot-text); }
.form-msg.ok { color: var(--accent-text); }
.form-fallback {
  padding: 18px 20px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--hot) 45%, var(--line));
  background: color-mix(in srgb, var(--hot) 7%, var(--card-solid)); display: grid; gap: 10px;
}
.form-fallback[hidden] { display: none; }
.form-fallback strong { font-size: 14px; color: var(--ink); }
.form-fallback p { font-size: 13.5px; color: var(--mut); }
.fb-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg2); }
.foot-grid { max-width: var(--max); margin: 0 auto; padding: 56px 28px 40px; display: grid; grid-template-columns: 1.3fr .85fr .95fr .85fr; gap: 36px; }
.foot-brand p { color: var(--mut); font-size: 14.5px; margin-top: 16px; max-width: 34ch; }
.foot-col h3 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); margin-bottom: 14px; font-weight: 700; }
html[lang^="zh"] .foot-col h3 { letter-spacing: .06em; }
.foot-col a, .foot-col .muted { display: block; padding: 4px 0; font-size: 14.5px; color: var(--ink2); overflow-wrap: anywhere; }
.foot-col .muted { color: var(--mut); }
.foot-col a:hover { color: var(--hot-text); }
.foot-bar { max-width: var(--max); margin: 0 auto; padding: 20px 28px 34px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--mut); font-size: 13px; }
.foot-ai { opacity: .85; }

/* ---------- Legal & 404 ---------- */
.legal-main { padding: 130px 28px 96px; min-height: 76svh; }
.legal-article { max-width: 72ch; margin: 0 auto; }
.legal-back { display: inline-block; font-size: 14px; font-weight: 600; color: var(--hot-text); margin-bottom: 24px; }
.legal-back:hover { text-decoration: underline; }
.legal-article h1 { font-size: clamp(32px, 4.5vw, 52px); margin-top: 12px; }
.legal-meta { color: var(--mut); font-size: 13.5px; margin-top: 12px; }
.legal-intro { font-size: 17px; color: var(--ink2); margin: 24px 0 36px; padding-bottom: 28px; border-bottom: 1px solid var(--gold); }
.legal-sec { margin-bottom: 30px; }
.legal-sec h2 { font-size: 20px; margin-bottom: 10px; }
.legal-sec p { color: var(--mut); font-size: 15.5px; }
.legal-cross { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); }

.err404-body { min-height: 100svh; display: grid; place-items: center; padding: 28px; text-align: center; }
.err404 { max-width: 460px; display: grid; gap: 16px; justify-items: center; }
.err-code { font-family: var(--h); font-weight: 200; font-size: 72px; line-height: 1; color: var(--hot-text); }
.err404 p:not(.err-code) { color: var(--mut); }

/* ---------- To top ---------- */
.totop { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--card-solid); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease); box-shadow: var(--shadow); }
.totop.on { opacity: 1; visibility: visible; transform: none; }
.totop svg { position: absolute; inset: 2px; width: 44px; height: 44px; transform: rotate(-90deg); }
.tt-track { fill: none; stroke: var(--line-strong); stroke-width: 2; }
.tt-prog { fill: none; stroke: var(--hot); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 125.66; stroke-dashoffset: 125.66; }
.tt-arrow { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-left: 2px solid var(--ink); border-top: 2px solid var(--ink); transform: translate(-50%, -30%) rotate(45deg); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) { .nav-links { gap: 18px; font-size: 14px; } }
@media (max-width: 1060px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .route-inner { grid-template-columns: 1fr; gap: 24px; }
  .route-stage { max-width: 640px; margin: 0 auto; }
  .faq { display: block; }
  .faq .sec-head { position: static; margin-bottom: clamp(28px, 4vw, 40px); }
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .section { padding-left: 20px; padding-right: 20px; }
  .nav-inner, .nav.small .nav-inner { padding-left: 18px; padding-right: 18px; }
  .brand img { width: 118px; }
  .hero { align-items: flex-end; }
  .hero-video { object-position: 50% 50%; }
  .hero-shade {
    background: linear-gradient(180deg, rgba(5, 12, 20, .64) 0%, rgba(5, 12, 20, .34) 24%, rgba(5, 12, 20, .54) 44%, rgba(5, 12, 20, .88) 70%, rgba(5, 12, 20, .96) 100%);
  }
  .hero-inner { padding: 120px 20px 96px; }
  .hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .hero-p { margin: 18px 0 26px; font-size: 16px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-progress { bottom: 26px; padding: 0 20px; grid-template-columns: repeat(5, 1fr); }
  .facts { grid-template-columns: 1fr 1fr; padding: 0 20px; }
  .fact { padding: 22px 16px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps, .why-grid { grid-template-columns: 1fr; }
  .contact-grid { padding: 0 20px; }
  .contact-card, .row2, .foot-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .td-wrap { grid-template-columns: 1fr; }
  .td-fig { min-height: 210px; }
  .td-body { padding: 26px 22px; }
  details p { padding-right: 0; }
  .route-inner { padding: 0 20px; }
  .legal-main { padding: 110px 20px 72px; }
  .totop { right: 16px; bottom: 16px; width: 42px; height: 42px; }
  .totop svg { inset: 2px; width: 38px; height: 38px; }
}
@media (max-width: 767px) and (orientation: portrait) {
  .hero-media { background-image: url('../assets/media/hero-poster-mobile.webp'); }
}
@media (max-width: 420px) {
  .nav-inner, .nav.small .nav-inner { padding-left: 14px; padding-right: 14px; gap: 10px; }
  .brand img { width: 98px; }
  .nav-right { gap: 6px; }
  .theme-btn { width: 34px; height: 34px; }
  .lang-btn { padding: 6px 9px; font-size: 12px; gap: 5px; }
  .burger { width: 38px; height: 38px; border-radius: 10px; }
  .burger span { left: 10px; right: 10px; }
  .burger span:nth-child(1) { top: 12px; }
  .burger span:nth-child(2) { top: 18px; }
  .burger span:nth-child(3) { top: 24px; }
  .burger.x span:nth-child(1), .burger.x span:nth-child(3) { top: 18px; }
  .section, .facts, .route-inner, .contact-grid, .foot-grid, .foot-bar, .hero-inner, .hero-progress, .legal-main { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  #preloader { transition: none; }
  .js .reveal { opacity: 1; transform: none; }
}
