@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0A0A0F;
  --surface: #111118;
  --surface-2: #15151D;
  --line: #22222A;
  --line-2: #2B2B34;
  --text: #F7F7FA;
  --muted: #A0A0AB;
  --dim: #6B6B76;
  --mint: #00D4AA;
  --mint-soft: rgba(0, 212, 170, 0.12);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --cjk: "Inter", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --max: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }

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

:lang(zh) body,
body:lang(zh) { font-family: var(--cjk); }

a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }

.skip {
  position: absolute; left: -9999px; top: 12px;
  background: var(--mint); color: var(--bg); padding: 8px 12px; border-radius: 4px;
}
.skip:focus { left: 12px; z-index: 10; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter);
  background: linear-gradient(var(--bg) 70%, rgba(10, 10, 15, 0));
}
.brand { display: inline-flex; align-items: baseline; gap: 12px; }
.brand .mark { font-size: 24px; font-weight: 760; letter-spacing: -0.04em; }
.brand .name { font-size: 15px; font-weight: 520; color: var(--text); }
.brand.small .mark { font-size: 18px; }
.brand.small .name { font-size: 13px; color: var(--muted); }

.nav nav { display: flex; align-items: center; gap: 28px; }
.nav nav a {
  font-size: 14px; font-weight: 520; color: var(--muted);
  transition: color .15s ease;
}
.nav nav a:hover { color: var(--text); }
.lang {
  font: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--mint); background: transparent;
  border: 1px solid var(--line-2); border-radius: 3px;
  padding: 6px 12px; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.lang:hover { border-color: var(--mint); background: var(--mint-soft); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) var(--gutter) clamp(72px, 9vw, 120px);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 40px;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; left: var(--gutter); top: 0;
  width: 124px; height: 3px; background: var(--mint);
}
.eyebrow {
  font-size: 12px; font-weight: 650; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(42px, 7.4vw, 88px);
  line-height: 1.02; letter-spacing: -0.035em; font-weight: 740;
  margin-bottom: 28px;
}
.hero .lede {
  font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--muted);
  max-width: 560px; margin-bottom: 40px;
}
.cta {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 600; color: var(--text);
  padding: 14px 20px; border: 1px solid var(--line-2); border-radius: 3px;
  transition: border-color .15s ease, background .15s ease;
}
.cta:hover { border-color: var(--mint); background: var(--mint-soft); }
.cta .arrow { color: var(--mint); transition: transform .15s ease; }
.cta:hover .arrow { transform: translateX(3px); }

.hero-art { align-self: center; justify-self: end; width: 100%; max-width: 520px; }
.hero-art svg { display: block; width: 100%; height: auto; }

/* ---------- sections ---------- */
.section {
  scroll-margin-top: 72px;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(72px, 10vh, 120px) var(--gutter);
  border-bottom: 1px solid var(--line);
}
.section-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 20px; }
.section-head .num {
  font-size: 13px; font-weight: 650; letter-spacing: 0.16em; color: var(--mint);
  font-variant-numeric: tabular-nums;
}
.section h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; }
.section-lede {
  font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 640px;
  margin-bottom: 48px;
}

.cards { display: grid; gap: 16px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--mint);
  border-radius: 4px;
  padding: 28px 26px 30px;
}
.label {
  display: block;
  font-size: 11.5px; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 16px;
}
.card h3 { font-size: 20px; line-height: 1.25; margin-bottom: 12px; font-weight: 640; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.card.person h3 { margin-bottom: 6px; }
.card.person .role {
  display: block; font-size: 12.5px; font-weight: 650; letter-spacing: 0.04em;
  color: var(--mint); margin-bottom: 16px;
}
.card.person p { font-size: 14px; }

/* ---------- contact ---------- */
.contact { max-width: 640px; }
.contact .section-lede { margin-bottom: 24px; }
.email {
  display: inline-block;
  font-size: clamp(20px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.02em;
  color: var(--text); border-bottom: 2px solid var(--mint); padding-bottom: 4px;
  transition: color .15s ease;
}
.email:hover { color: var(--mint); }
.address { border-left: 2px solid var(--mint); padding-left: 24px; }
.address .label { margin-bottom: 10px; }
.address p { font-size: 16px; line-height: 1.7; color: var(--text); }

/* ---------- footer ---------- */
.footer { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 56px; }
.foot-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.copy { font-size: 13px; color: var(--dim); }
.addr { font-size: 12.5px; color: var(--dim); margin-bottom: 14px; }
.disclaimer { font-size: 12.5px; line-height: 1.6; color: var(--dim); max-width: 820px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 420px; justify-self: start; margin-top: 8px; }
}
@media (max-width: 720px) {
  .cards.three { grid-template-columns: 1fr; }
  .nav nav a { display: none; }
  .nav nav { gap: 12px; }
}
@media (max-width: 520px) {
  .cards.four { grid-template-columns: 1fr; }
  .brand .name { display: none; }
  .foot-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
