:root {
  --brand: Montserrat, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --bg: #101c29;
  --bg-2: #162638;
  --surface: #1a2a3c;
  --surface-lift: #203347;
  --line: rgba(175, 145, 95, .18);
  --line-strong: rgba(175, 145, 95, .42);
  --gold: #c2a26b;
  --gold-deep: #af915f;
  --gold-soft: rgba(175, 145, 95, .12);
  --text: #f3eee3;
  --text-2: #fce1b6;
  --text-3: #93a3b5;
  --ink: #101c29;
  --glow: rgba(120, 160, 210, .28);
  --header-bg: rgba(16, 28, 41, .72);
  --band: #0b141d;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --seal: #c4452d;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; max-width: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--brand);
  line-height: 1.75;
  letter-spacing: .02em;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--gold-deep); color: var(--bg); }
.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: 20px; min-width: 0; }
.eyebrow {
  font-size: .72rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold-deep); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }
h1, h2, h3 { font-weight: 700; line-height: 1.3; }
.lede, p, li, .micro { overflow-wrap: anywhere; word-break: break-word; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand .mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-weight: 700; font-size: 1.02rem; letter-spacing: .06em; }
.brand-name small { display: block; font-weight: 400; font-size: .58rem; letter-spacing: .28em; color: var(--text-3); text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-size: .9rem; color: var(--text-2); padding: 8px 14px; border-radius: 999px;
  transition: color .3s, background .3s;
}
.main-nav a:hover { color: var(--gold); background: var(--gold-soft); }
.login-link { border: 1px solid var(--line-strong); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: .95rem; letter-spacing: .06em;
  min-height: 48px; padding: 0 28px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s, background .35s, border-color .35s, color .35s;
}
.btn-gold {
  background: linear-gradient(160deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--ink); box-shadow: 0 10px 30px -10px var(--glow);
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-strong); color: var(--text-2); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

.intake {
  background:
    radial-gradient(120% 90% at 50% 0%, var(--gold-soft) 0%, transparent 55%),
    linear-gradient(170deg, var(--surface-lift) 0%, var(--surface) 100%);
  border: 1px solid var(--line-strong); border-radius: 22px; padding: 28px 24px;
  box-shadow: var(--shadow);
}
.intake h2 { font-size: 1.45rem; margin-bottom: 6px; }
.intake .hint { color: var(--text-3); font-size: .9rem; margin-bottom: 16px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 10px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
label { display: grid; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--text-2); letter-spacing: .06em; }
input, select {
  min-height: 44px; padding: 8px 12px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
}
input::placeholder { color: var(--text-3); }
.error { color: #e8a090; font-size: .75rem; font-weight: 500; }
.check { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 500; color: var(--text-2); margin: 12px 0; }
.check input { width: 16px; height: 16px; min-height: 0; }
.micro { font-size: .76rem; color: var(--text-3); margin-top: 10px; }
.success {
  display: none; border-radius: 22px; padding: 28px 24px;
  background: linear-gradient(170deg, var(--surface-lift), var(--band));
  border: 1px solid var(--gold-deep);
}
.success.is-open { display: block; }
.success h2 { color: var(--gold); margin: 8px 0 10px; }

.hero-glow {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%);
  width: min(880px, 120vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 62%);
  filter: blur(10px); pointer-events: none;
}
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none; padding: 10px 16px; gap: 10px;
  background: var(--band); border-top: 1px solid var(--line);
}
.sticky-cta .btn { flex: 1; }
footer.site-footer { border-top: 1px solid var(--line); padding: 36px 0 96px; color: var(--text-3); font-size: .82rem; background: var(--bg-2); }
footer .trust { margin-top: 12px; max-width: 52em; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-inner .btn { display: none; }
  .sticky-cta { display: flex; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
