:root {
  --bg: #f7f8fa; --surface: #ffffff; --surface-2: #f0f2f5; --text: #12151a; --muted: #5b6472;
  --line: #e2e6ec; --accent: #0e9fbf; --accent-2: #8b3ff0; --accent-ink: #fff;
  --ok: #16a34a; --warn: #d97706; --bad: #dc2626; --radius: 14px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px rgba(16,24,40,.06);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #070b14; --surface: #0e1424; --surface-2: #151c30; --text: #e8ebf1; --muted: #9aa3b2;
    --line: #222c45; --accent: #2fd6f0; --accent-2: #b26cff; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.3); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6;
  font-family: "Inter", "Noto Sans TC", system-ui, -apple-system, "Segoe UI", "Microsoft JhengHei", sans-serif; }
a { color: var(--accent); text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
header.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); letter-spacing: .2px; }
.logo { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.nav nav { display: flex; gap: 20px; margin-left: auto; }
.nav nav a { color: var(--muted); font-size: 14px; }
.nav nav a:hover { color: var(--text); }
.lang { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 8px;
  padding: 6px 10px; font-size: 13px; cursor: pointer; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 10px; padding: 12px 20px;
  font-weight: 600; font-size: 15px; cursor: pointer; background: var(--accent); color: var(--accent-ink); font-family: inherit; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.discord { background: #5865f2; color: #fff; }
.btn:disabled { opacity: .6; cursor: default; }
.hero { padding: 96px 0 72px; }
.eyebrow { display: inline-block; font-size: 13px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 4px 12px; border-radius: 999px; font-weight: 600; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.12; margin: 18px 0 16px; letter-spacing: -1px; }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 0 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
section { padding: 72px 0; }
section h2 { font-size: 30px; margin: 0 0 8px; letter-spacing: -.5px; }
.sub { color: var(--muted); margin: 0 0 36px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin: 12px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.icon svg { width: 22px; height: 22px; }
.tag { display: inline-block; font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; margin: 10px 6px 0 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 18px; margin-top: 28px; }
.stat b { display: block; font-size: 30px; }
.stat span { color: var(--muted); font-size: 14px; }
.steps { counter-reset: s; }
.steps .card::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-weight: 800; color: var(--accent); font-size: 14px; }
form .row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); margin-bottom: 14px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
label small { color: var(--muted); font-weight: 400; }
input, select, textarea { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); font: inherit; font-size: 15px; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); border-color: var(--accent); }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 15px; display: none; }
.msg.ok { display: block; background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); }
.msg.err { display: block; background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }
.two { display: grid; gap: 18px; grid-template-columns: 1.4fr 1fr; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } .nav nav { display: none; } }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 15px; margin-top: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; text-align: right; }
footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 72px 20px 56px; }
.hero-logo { width: 100%; max-width: 440px; height: auto; justify-self: center; border-radius: 22px;
  box-shadow: 0 0 0 1px var(--line), 0 20px 60px color-mix(in srgb, var(--accent-2) 30%, transparent); }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding-top: 40px; } .hero-logo { order: -1; max-width: 300px; } .brand span { font-size: 15px; } }
html, body { overflow-x: hidden; }
.hero > *, .two > *, .grid > * { min-width: 0; }
.nav .lang { margin-left: auto; } @media (min-width: 861px) { .nav .lang { margin-left: 0; } }
