/* ============================================================
   3KYES Securities 叁仟證券 — main stylesheet
   Palette: near-black / muted gold. Dignified, institutional.
   ============================================================ */

:root {
  --bg-0: #0B0B0E;          /* page base */
  --bg-1: #101116;          /* raised band */
  --bg-2: #15161C;          /* cards */
  --bg-3: #1B1C23;          /* hover cards */
  --ink: #EDEAE2;           /* headings */
  --body: #ABA89F;          /* body text */
  --muted: #8A877E;         /* captions */
  --gold: #C9A45C;          /* primary accent */
  --gold-bright: #E9D296;
  --gold-deep: #8F6B2E;
  --gold-ghost: rgba(201, 164, 92, 0.14);
  --line: rgba(201, 164, 92, 0.16);
  --line-strong: rgba(201, 164, 92, 0.38);
  --grad-gold: linear-gradient(155deg, #F0DCA0 0%, #C9A45C 48%, #96742F 100%);
  --font-serif: 'Noto Serif TC', 'Songti TC', serif;
  --font-sans: 'Noto Sans TC', 'Inter', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-display: 'Cinzel', 'Cormorant Garamond', serif;
  --nav-h: 78px;
  --container: 1140px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html[lang="zh-Hans"] {
  --font-serif: 'Noto Serif SC', 'Songti SC', serif;
  --font-sans: 'Noto Sans SC', 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html[lang="en"] {
  --font-serif: 'Noto Serif TC', Georgia, serif;
  --font-sans: 'Inter', 'Noto Sans TC', 'Helvetica Neue', sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body {
  background: var(--bg-0);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--gold-bright); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
::selection { background: rgba(201, 164, 92, 0.28); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: #14120B; padding: 10px 18px; z-index: 200;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- typography helpers ---------- */
.section { padding: 118px 0; position: relative; }
.section-alt { background: var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.tag {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.tag::before { content: ""; width: 34px; height: 1px; background: var(--gold); opacity: 0.7; }
.section-head.center .tag::after { content: ""; width: 34px; height: 1px; background: var(--gold); opacity: 0.7; }

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.section-desc { margin-top: 18px; font-size: 16.5px; color: var(--body); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 34px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.08em;
  border: 1px solid transparent; border-radius: 2px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
}
.btn-outline { border-color: var(--line-strong); color: var(--gold); background: transparent; }
.btn-outline:hover { border-color: var(--gold); background: var(--gold-ghost); color: var(--gold-bright); transform: translateY(-1px); }
.btn-solid { background: var(--grad-gold); color: #17130A; font-weight: 600; }
.btn-solid:hover { filter: brightness(1.07); transform: translateY(-1px); color: #17130A; }
.btn-line {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: 15px; letter-spacing: 0.06em;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.btn-line:hover { border-bottom-color: var(--gold-bright); }
.btn-line .arrow { transition: transform 0.25s var(--ease); }
.btn-line:hover .arrow { transform: translateX(4px); }

/* ---------- navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: linear-gradient(180deg, rgba(11,11,14,0.55), rgba(11,11,14,0));
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(11, 11, 14, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-emblem { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-zh {
  font-family: 'Noto Serif TC', serif; /* logotype stays in registered (traditional) form */
  font-weight: 700; font-size: 19px; letter-spacing: 0.3em;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.brand-en {
  font-family: var(--font-display);
  font-size: 8.5px; font-weight: 600; letter-spacing: 0.31em;
  color: #9C8756; margin-top: 3px; white-space: nowrap;
}

.nav-menu { display: flex; align-items: center; gap: 38px; }
.nav-link {
  color: #C9C6BD; font-size: 15px; letter-spacing: 0.06em;
  padding: 6px 0; position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold); transition: right 0.25s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { right: 0; }
.nav-cta {
  border: 1px solid var(--line-strong); color: var(--gold);
  padding: 10px 22px; border-radius: 2px; font-size: 14px;
}
.nav-cta:hover { background: var(--gold-ghost); border-color: var(--gold); color: var(--gold-bright); }
.nav-cta::after { display: none; }

.lang-switch {
  display: flex; align-items: center; border: 1px solid var(--line); border-radius: 2px; overflow: hidden;
}
.lang-btn {
  padding: 8px 13px; font-size: 13px; color: var(--muted); letter-spacing: 0.04em;
  transition: all 0.2s var(--ease); min-width: 44px; min-height: 38px;
}
.lang-btn + .lang-btn { border-left: 1px solid var(--line); }
.lang-btn:hover { color: var(--ink); background: rgba(201,164,92,0.08); }
.lang-btn.active { color: #17130A; background: var(--gold); font-weight: 600; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 12px 8px; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--ink); transition: all 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 140px;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% 12%, rgba(201,164,92,0.07), transparent 60%),
    radial-gradient(900px 600px at 8% 100%, rgba(201,164,92,0.045), transparent 55%),
    var(--bg-0);
}
.hero-deco {
  position: absolute; right: -180px; top: 50%; transform: translateY(-50%);
  width: 820px; height: 820px; opacity: 0.5; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 700px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13.5px; letter-spacing: 0.14em; color: var(--gold);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 9px 18px; margin-bottom: 38px;
  background: rgba(201,164,92,0.05);
}
.hero-eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex: none; }
.hero-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(46px, 7.2vw, 78px);
  line-height: 1.22; color: var(--ink); letter-spacing: 0.06em;
}
.hero-title .gold {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 30px; font-size: 17.5px; max-width: 560px; color: var(--body); }
.hero-cta { margin-top: 46px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-note { margin-top: 34px; font-size: 13px; color: var(--muted); letter-spacing: 0.03em; display: flex; align-items: center; gap: 9px; }
.hero-note svg { width: 15px; height: 15px; flex: none; stroke: var(--muted); }

.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--muted); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  font-family: var(--font-display);
}
.hero-scroll::after {
  content: ""; width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.25; } 50% { opacity: 1; } }

/* ---------- licence strip ---------- */
.lic-strip { position: relative; z-index: 3; margin-top: -86px; padding-bottom: 96px; }
.lic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.lic-card {
  background: var(--bg-1); padding: 30px 28px 28px;
  transition: background 0.25s var(--ease);
  position: relative;
}
.lic-card:hover { background: var(--bg-2); }
.lic-no {
  font-family: var(--font-display); font-weight: 600; font-size: 30px;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.lic-name { margin-top: 14px; font-size: 16px; color: var(--ink); font-weight: 500; letter-spacing: 0.05em; }
.lic-mode { margin-top: 7px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.lic-card--ce .lic-no { font-size: 15px; letter-spacing: 0.18em; padding-top: 8px; }
.lic-ce-num { margin-top: 14px; font-size: 21px; color: var(--ink); font-weight: 500; letter-spacing: 0.1em; font-family: var(--font-display); }
.lic-ce-link { margin-top: 8px; font-size: 13px; display: inline-flex; align-items: center; gap: 5px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 84px; align-items: center; }
.about-lead {
  font-family: var(--font-serif); font-size: 21px; line-height: 1.85;
  color: var(--ink); font-weight: 500; margin-bottom: 26px; letter-spacing: 0.02em;
}
.about-text p + p { margin-top: 18px; }
.about-feats { margin-top: 44px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.feat { display: flex; gap: 20px; align-items: flex-start; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.feat-icon { width: 40px; height: 40px; flex: none; border: 1px solid var(--line-strong); border-radius: 2px; display: flex; align-items: center; justify-content: center; }
.feat-icon svg { width: 19px; height: 19px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.feat-t { color: var(--ink); font-size: 16px; font-weight: 500; letter-spacing: 0.04em; }
.feat-d { font-size: 14px; color: var(--muted); margin-top: 3px; }

.about-visual { position: relative; }
.about-frame {
  border: 1px solid var(--line); padding: 14px; background: var(--bg-1);
}
.about-frame-inner {
  border: 1px solid var(--line); aspect-ratio: 4 / 4.6;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  background:
    radial-gradient(420px 300px at 50% 30%, rgba(201,164,92,0.08), transparent 70%),
    var(--bg-0);
  padding: 40px; text-align: center;
}
.about-frame-inner .emblem-lg { width: 128px; height: 128px; opacity: 0.9; }
.about-frame-zh {
  font-family: 'Noto Serif TC', serif; font-size: 30px; letter-spacing: 0.42em; color: var(--ink); font-weight: 600;
  padding-left: 0.42em; /* balance tracking */
}
.about-frame-en { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.4em; color: var(--muted); }
.about-frame-loc { font-size: 12.5px; color: var(--muted); letter-spacing: 0.2em; border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- compliance ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.lic-table { width: 100%; border-collapse: collapse; min-width: 660px; background: var(--bg-0); }
.lic-table th {
  font-family: var(--font-sans); font-size: 13px; font-weight: 500; letter-spacing: 0.14em;
  color: var(--gold); text-align: left; padding: 18px 24px;
  background: rgba(201,164,92,0.06); border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.lic-table td { padding: 22px 24px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.lic-table tr:last-child td { border-bottom: none; }
.lic-table .td-no {
  font-family: var(--font-display); font-size: 25px; font-weight: 600; line-height: 1.15;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.lic-table .td-name { color: var(--ink); font-weight: 500; white-space: nowrap; }

.comp-cond {
  margin-top: 42px;
  border: 1px solid var(--line);
  background: rgba(201,164,92,0.04);
  padding: 32px 36px;
}
.comp-cond-t {
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold);
}
.comp-cond-intro { margin-top: 14px; font-size: 14px; color: var(--muted); }
.comp-cond-list { margin-top: 16px; display: grid; gap: 14px; padding-left: 0; counter-reset: cond; list-style: none; }
.comp-cond-list li {
  position: relative; padding-left: 46px;
  font-size: 14.5px; line-height: 1.85; color: #BCB9B0;
  counter-increment: cond;
}
.comp-cond-list li::before {
  content: counter(cond, decimal-leading-zero);
  position: absolute; left: 0; top: 2px;
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.comp-cond-list li::after {
  content: ""; position: absolute; left: 30px; top: 12px; width: 8px; height: 1px; background: var(--line-strong);
}

.comp-notice {
  margin-top: 26px; display: flex; gap: 24px;
  background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  padding: 32px 36px;
}
.comp-notice svg { width: 26px; height: 26px; flex: none; stroke: var(--gold); fill: none; stroke-width: 1.5; margin-top: 3px; }
.comp-notice-t { color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 10px; }
.comp-notice-d { font-size: 14.5px; line-height: 1.9; }

.comp-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.comp-item { background: var(--bg-1); padding: 28px 26px; transition: background 0.25s var(--ease); }
.comp-item:hover { background: var(--bg-2); }
.comp-item svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.4; margin-bottom: 16px; }
.comp-item-t { color: var(--ink); font-size: 15.5px; font-weight: 500; letter-spacing: 0.04em; }
.comp-item-d { font-size: 13.5px; color: var(--muted); margin-top: 7px; line-height: 1.7; }

.comp-reg { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border: 1px dashed var(--line-strong); padding: 24px 30px; }
.comp-reg-note { font-size: 14.5px; max-width: 640px; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc-card {
  background: var(--bg-1); border: 1px solid var(--line);
  padding: 40px 34px 32px; display: flex; flex-direction: column;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.svc-card:hover { border-color: var(--line-strong); transform: translateY(-4px); background: var(--bg-2); }
.svc-badge {
  align-self: flex-start;
  font-size: 11.5px; letter-spacing: 0.16em; color: var(--gold);
  border: 1px solid var(--line-strong); border-radius: 2px; padding: 6px 12px;
  margin-bottom: 26px; white-space: nowrap;
}
.svc-t { font-family: var(--font-serif); font-size: 22px; color: var(--ink); font-weight: 600; letter-spacing: 0.05em; }
.svc-d { margin-top: 14px; font-size: 14.5px; line-height: 1.85; }
.svc-list { margin-top: 22px; display: grid; gap: 10px; }
.svc-list li { display: flex; gap: 12px; font-size: 14px; color: #BCB9B0; align-items: baseline; }
.svc-list li::before { content: ""; width: 14px; height: 1px; background: var(--gold); flex: none; transform: translateY(-4px); }
.svc-note {
  margin-top: auto; padding-top: 22px; margin-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted); line-height: 1.7;
}
.svc-clients {
  margin-top: 56px; text-align: center; border: 1px solid var(--line);
  padding: 36px 30px; background: rgba(201,164,92,0.035);
}
.svc-clients-t { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.svc-clients-d { margin-top: 14px; font-family: var(--font-serif); font-size: clamp(19px, 2.6vw, 24px); color: var(--ink); letter-spacing: 0.12em; font-weight: 500; }
.svc-clients-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }

/* ---------- principles ---------- */
.pr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 46px 36px; }
.pr-item { position: relative; padding-top: 26px; }
.pr-item::before { content: ""; position: absolute; top: 0; left: 0; width: 42px; height: 1px; background: var(--gold); }
.pr-no { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.2em; color: var(--gold); }
.pr-t { margin-top: 12px; font-family: var(--font-serif); font-size: 20px; color: var(--ink); font-weight: 600; letter-spacing: 0.08em; }
.pr-d { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.8; }

/* ---------- contact ---------- */
.ct-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.ct-cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ct-card { background: var(--bg-1); padding: 26px 28px; display: flex; gap: 20px; }
.ct-card svg { width: 21px; height: 21px; flex: none; stroke: var(--gold); fill: none; stroke-width: 1.5; margin-top: 4px; }
.ct-card-t { color: var(--gold); font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-display); font-weight: 600; }
.ct-card-d { margin-top: 8px; font-size: 15px; color: var(--ink); line-height: 1.8; }
.ct-card-sub { margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.75; }
.ct-complaint { margin-top: 26px; font-size: 13px; color: var(--muted); line-height: 1.85; border-left: 2px solid var(--line-strong); padding-left: 18px; }

.ct-form { background: var(--bg-1); border: 1px solid var(--line); padding: 44px 42px; }
.ct-form-t { font-family: var(--font-serif); font-size: 21px; color: var(--ink); font-weight: 600; letter-spacing: 0.06em; margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 13px; color: #BCB9B0; letter-spacing: 0.08em; margin-bottom: 9px; }
.form-group input, .form-group textarea {
  width: 100%; background: var(--bg-0); border: 1px solid var(--line);
  color: var(--ink); padding: 13px 16px; font-size: 15px; font-family: inherit;
  border-radius: 2px; transition: border-color 0.25s var(--ease);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 26px; cursor: pointer; }
.form-consent input {
  width: 17px; height: 17px; flex: none; margin-top: 4px;
  accent-color: var(--gold); cursor: pointer;
}
.form-consent span { font-size: 12.5px; color: var(--muted); line-height: 1.75; }
.form-note { margin-top: 18px; font-size: 12px; color: var(--muted); line-height: 1.7; display: flex; gap: 8px; align-items: flex-start; }
.form-note svg { width: 14px; height: 14px; flex: none; stroke: var(--muted); fill: none; stroke-width: 1.5; margin-top: 3px; }

/* ---------- footer ---------- */
.footer { background: #08080A; border-top: 1px solid var(--line); padding: 78px 0 42px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-bottom: 54px; border-bottom: 1px solid var(--line); }
.footer-brand .brand-emblem { width: 48px; height: 48px; }
.footer-brand-name { margin-top: 18px; font-family: 'Noto Serif TC', serif; font-size: 21px; letter-spacing: 0.26em; color: var(--ink); font-weight: 600; }
.footer-brand-en { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.3em; color: #9C8756; margin-top: 6px; }
.footer-desc { margin-top: 18px; font-size: 13.5px; color: var(--muted); line-height: 1.8; max-width: 300px; }
.footer-col-t { font-size: 12.5px; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; font-family: var(--font-display); font-weight: 600; margin-bottom: 22px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 6px 0; }
.footer-col a:hover { color: var(--ink); }
.footer-legal { padding: 40px 0 0; }
.footer-legal p { font-size: 12.5px; color: #6E6C65; line-height: 1.9; }
.footer-legal p + p { margin-top: 12px; }
.footer-legal strong { color: #8A877E; font-weight: 500; }
.footer-bottom {
  margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(201,164,92,0.09);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer-copy { font-size: 12.5px; color: #6E6C65; letter-spacing: 0.04em; }
.footer-reg-link { font-size: 12.5px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.footer-reg-link:hover { color: var(--gold); }

/* ---------- legal page ---------- */
.page-head {
  padding: calc(var(--nav-h) + 90px) 0 70px;
  background:
    radial-gradient(900px 400px at 78% 0%, rgba(201,164,92,0.06), transparent 60%),
    var(--bg-1);
  border-bottom: 1px solid var(--line);
}
.page-head-title { font-family: var(--font-serif); font-size: clamp(30px, 4.4vw, 42px); color: var(--ink); font-weight: 700; letter-spacing: 0.06em; }
.page-head-sub { margin-top: 16px; font-size: 15px; color: var(--muted); max-width: 640px; }

.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 70px; padding: 72px 0 120px; align-items: start; }
.legal-nav { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 2px; }
.legal-nav a {
  padding: 11px 18px; font-size: 14px; color: var(--muted);
  border-left: 2px solid var(--line); transition: all 0.2s var(--ease);
}
.legal-nav a:hover { color: var(--ink); background: rgba(201,164,92,0.05); }
.legal-nav a.active { color: var(--gold); border-left-color: var(--gold); background: rgba(201,164,92,0.06); }

.legal-body { max-width: 760px; }
.legal-sec { padding-bottom: 58px; margin-bottom: 58px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 30px); }
.legal-sec:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.legal-sec h2 {
  font-family: var(--font-serif); font-size: 25px; color: var(--ink); font-weight: 600;
  letter-spacing: 0.05em; margin-bottom: 24px; display: flex; align-items: baseline; gap: 16px;
}
.legal-sec h2::before { content: ""; width: 26px; height: 1px; background: var(--gold); flex: none; transform: translateY(-6px); }
.legal-sec h3 { font-size: 16.5px; color: var(--ink); font-weight: 600; margin: 26px 0 10px; letter-spacing: 0.04em; }
.legal-sec p { font-size: 14.5px; line-height: 1.95; margin-bottom: 14px; }
.legal-sec ul { margin: 0 0 14px; display: grid; gap: 8px; }
.legal-sec ul li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.8; align-items: baseline; }
.legal-sec ul li::before { content: ""; width: 12px; height: 1px; background: var(--gold); flex: none; transform: translateY(-4px); }
.legal-sec .hl { color: var(--ink); }
.legal-meta { font-size: 12.5px; color: var(--muted); margin-top: 40px; }

/* ---------- reveal animation (progressive enhancement:
     only hides content when JS is running, so nothing can
     ever be stuck invisible without JS) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll::after { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .lic-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .pr-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-visual { max-width: 460px; }
  .ct-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .section { padding: 84px 0; }
  .nav-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(9, 9, 12, 0.98); backdrop-filter: blur(16px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 18px 28px 30px; border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: all 0.3s var(--ease);
  }
  .nav-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-link { padding: 15px 4px; font-size: 16px; border-bottom: 1px solid rgba(201,164,92,0.08); }
  .nav-cta { margin-top: 18px; text-align: center; padding: 14px; }
  .lang-switch { margin-top: 20px; align-self: flex-start; }
  .nav-toggle { display: flex; }
  .hero { padding-bottom: 120px; }
  .hero-scroll { display: none; }
  .lic-strip { margin-top: -60px; }
  .legal-layout { grid-template-columns: 1fr; gap: 40px; }
  .legal-nav { position: static; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .legal-nav a { border: 1px solid var(--line); border-left-width: 2px; font-size: 13px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .ct-form { padding: 34px 26px; }
  .comp-notice { flex-direction: column; gap: 14px; padding: 26px 24px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .lic-grid { grid-template-columns: 1fr; }
  .pr-grid { grid-template-columns: 1fr; gap: 34px; }
  .comp-grid { grid-template-columns: 1fr; }
  .brand-zh { font-size: 17px; letter-spacing: 0.22em; }
  .brand-en { font-size: 7.5px; }
  .hero-eyebrow { font-size: 12px; padding: 8px 13px; }
}
