:root {
  --bg: #0a101c;
  --bg-raise: #0f1828;
  --line: #22314a;
  --line-strong: #2b3a52;
  --ink: #ffffff;
  --ink-body: #e9eef6;
  --ink-soft: #a9b6c8;
  --ink-faint: #7f8da1;
  --amber: #f5c565;
  --amber-hover: #ffe2a3;
  --blue: #7cb4ff;
  --green: #1f9d7a;
  --radius-lg: 28px;
  --radius-md: 18px;
  --maxw: 1200px;
  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-latin: "Sora", "Noto Sans TC", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--ink-body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

a { color: var(--amber); }
a:hover { color: var(--amber-hover); }

img { max-width: 100%; }

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

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-latin);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.btn-primary {
  background: var(--amber);
  color: var(--bg);
  box-shadow: 0 10px 30px rgba(245, 197, 101, 0.25);
}
.btn-primary:hover { background: var(--amber-hover); color: var(--bg); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink-body); }
.btn-ghost:hover { border-color: var(--ink-faint); color: var(--ink); }

/* ------------------------------------------------------------ header */
.site-header .wrap {
  min-height: 84px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img { display: block; width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.brand-name {
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
}
/* The dotless i carries an amber dot, echoing the core of the mark. */
.brand-i { position: relative; display: inline-block; }
.brand-i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.09em;
  width: 0.19em;
  height: 0.19em;
  border-radius: 50%;
  background: var(--amber);
  transform: translateX(-50%);
}
/* Letter-spaced so it spans the same width as the name above; the negative
   margin cancels the spacing after the last character. */
.brand-sub {
  margin-top: 3px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.85em;
  margin-right: -0.85em;
  color: var(--ink-soft);
}
.brand-sub[lang="en"] {
  font-family: var(--font-latin);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.28em;
  margin-right: 0;
  margin-top: 4px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 28px;
  font-size: 15px;
}
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav .nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(245, 197, 101, 0.5);
  color: var(--amber);
  font-weight: 700;
}
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { color: var(--bg); background: var(--amber); }

/* ------------------------------------------------------------ home: hero */
.hero .wrap {
  padding-top: 56px;
  padding-bottom: 120px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
}
.hero-copy { flex: 999 1 460px; min-width: 0; }
.pill {
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(245, 197, 101, 0.1);
  color: var(--amber);
  font-size: 14px;
  font-weight: 500;
}
.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.hero h1 {
  margin: 0 0 28px;
  font-size: 68px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { margin: 0; font-size: 19px; color: var(--ink-soft); max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero-visual {
  flex: 1 1 420px;
  min-width: 0;
  position: relative;
  padding: 0 0 40px 40px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -40px -60px 0 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 101, 0.18), transparent 62%);
}
.hero-photo {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid #24344d;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
.float-card {
  position: absolute;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.float-chart {
  top: 60%;
  left: 0;
  width: 52%;
  max-width: 230px;
  background: rgba(15, 24, 40, 0.94);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  color: var(--ink-soft);
}
.float-chart svg { display: block; width: 100%; height: auto; margin-top: 8px; }
.float-done {
  bottom: 0;
  right: -12px;
  width: 62%;
  max-width: 250px;
  background: #ffffff;
  color: var(--bg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.float-done .check {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.float-done strong { display: block; font-size: 15px; line-height: 1.4; }
.float-done span { display: block; font-size: 13px; line-height: 1.4; color: #5a6578; }

/* ------------------------------------------------------------ home: photo band */
.band {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
}
.band-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 16, 28, 0.96) 0%, rgba(10, 16, 28, 0.85) 38%, rgba(10, 16, 28, 0.2) 75%);
}
.band .wrap { position: relative; z-index: 2; width: 100%; padding-top: 96px; padding-bottom: 96px; }
.band h2 { margin: 0 0 20px; font-size: 44px; line-height: 1.35; font-weight: 900; color: var(--ink); max-width: 560px; }
.band p { margin: 0; font-size: 18px; color: #c5d0de; max-width: 500px; }

/* ------------------------------------------------------------ home: features */
.features .wrap {
  padding-top: 120px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 120px;
}
.feature { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.feature.flip { flex-wrap: wrap-reverse; }
.feature-img {
  flex: 1 1 460px;
  min-width: 0;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid #24344d;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}
.feature-copy { flex: 1 1 420px; min-width: 0; }
.feature h2 { margin: 0 0 18px; font-size: 38px; line-height: 1.4; font-weight: 900; color: var(--ink); }
.feature p { margin: 0 0 28px; font-size: 17px; color: var(--ink-soft); }
.tags { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; }

/* ------------------------------------------------------------ home: process */
.process .wrap { padding-top: 100px; padding-bottom: 120px; }
.process h2 { margin: 0 0 56px; font-size: 38px; line-height: 1.4; font-weight: 900; color: var(--ink); }
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 40px 32px;
}
.timeline li { position: relative; padding-top: 34px; border-top: 2px solid var(--line-strong); }
.timeline li::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--amber);
}
.timeline li:first-child::before { background: var(--amber); box-shadow: 0 0 0 6px rgba(245, 197, 101, 0.15); }
.timeline strong { display: block; font-size: 20px; color: var(--ink); margin-bottom: 6px; }
.timeline span { color: var(--ink-soft); font-size: 15px; }

/* ------------------------------------------------------------ call to action */
.cta { position: relative; border-top: 1px solid #1b2638; text-align: center; }
.cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(900px, 100%);
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at top, rgba(245, 197, 101, 0.16), transparent 70%);
  pointer-events: none;
}
.cta .wrap { position: relative; padding-top: 110px; padding-bottom: 110px; }
.cta h2 { margin: 0 0 16px; font-size: 46px; line-height: 1.35; font-weight: 900; color: var(--ink); }
.cta p { margin: 0 auto 36px; font-size: 18px; color: var(--ink-soft); max-width: 520px; }

/* ------------------------------------------------------------ inner pages */
.page-head .wrap { padding-top: 64px; padding-bottom: 48px; }
.page-head h1 { margin: 0 0 20px; font-size: 52px; line-height: 1.25; font-weight: 900; color: var(--ink); }
.page-head .lead { margin: 0; font-size: 19px; color: var(--ink-soft); max-width: 680px; }

.split .wrap {
  padding-bottom: 120px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: stretch;
}
.split .wrap > * { flex: 1 1 440px; min-width: 0; }

.panel {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.panel h2 { margin: 0 0 20px; font-size: 24px; color: var(--ink); }
.panel p { color: var(--ink-soft); }

.facts { margin: 0; }
.facts div {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.facts div:last-child { border-bottom: 0; }
.facts dt { flex: 0 0 104px; color: var(--ink-faint); font-size: 15px; }
.facts dd { margin: 0; flex: 1 1 220px; font-size: 15px; color: var(--ink-body); }

.photo-panel {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid #24344d;
}

.contact-card {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-label {
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}
.contact-email { font-size: clamp(22px, 4vw, 32px); font-weight: 700; color: var(--amber); overflow-wrap: anywhere; }
.contact-email { text-decoration: none; }
.contact-email:hover { text-decoration: underline; text-underline-offset: 6px; }
.contact-card .note { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 15px; }

/* ------------------------------------------------------------ legal */
.legal .wrap {
  padding-bottom: 120px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
.toc { flex: 1 1 220px; min-width: 0; font-size: 14px; }
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid var(--line);
}
.toc a { display: block; padding: 3px 14px; color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.doc {
  flex: 999 1 560px;
  min-width: 0;
  max-width: 800px;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #c5d0de;
}
.doc .meta { margin: 0 0 8px; color: var(--ink-faint); font-size: 14px; }
.doc h2 { margin: 36px 0 8px; font-size: 20px; color: var(--ink); scroll-margin-top: 24px; }
.doc strong { color: var(--ink); }
.doc ul { padding-left: 1.3em; }
.doc p, .doc li { margin-top: 0; }

/* ------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid #1b2638; font-size: 14px; color: var(--ink-faint); }
.site-footer .wrap {
  padding-top: 32px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
}
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: #c5d0de; }

/* ------------------------------------------------------------ phones */
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .site-header .wrap { padding-top: 16px; padding-bottom: 8px; }
  .hero .wrap { padding-top: 32px; padding-bottom: 88px; gap: 48px; }
  .hero h1 { font-size: 46px; }
  .hero .lead { font-size: 17px; }
  .hero-visual { padding-left: 24px; }
  .float-done { right: -6px; }

  /* The photo sits above the copy instead of behind it, so no text covers a face. */
  .band { display: block; min-height: 0; }
  .band-img { position: static; height: auto; aspect-ratio: 4 / 3; object-position: 72% 30%; }
  .band::before { display: none; }
  .band .wrap { padding-top: 36px; padding-bottom: 64px; }
  .band h2 { font-size: 29px; }

  .features .wrap { padding-top: 88px; gap: 88px; }
  .feature { gap: 32px; }
  .feature h2, .process h2 { font-size: 30px; }
  .cta h2 { font-size: 32px; }
  .page-head h1 { font-size: 38px; }
  .panel, .contact-card { padding: 28px 24px; }
  .doc { padding: 32px 22px; }
}
