:root {
  --bg: #08090d;
  --panel: #11131a;
  --panel-2: #171a22;
  --text: #f6f1e8;
  --muted: #b7b0a7;
  --soft: #837b73;
  --line: rgba(255, 255, 255, 0.14);
  --red: #ff3d2e;
  --orange: #ff7a2f;
  --gold: #f6c94d;
  --jade: #59d2ba;
  --blue: #7aa7ff;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 13, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: 0;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 8px;
  color: #eee9e1;
  font-weight: 700;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.09);
}

.button {
  background: linear-gradient(90deg, var(--red), var(--orange));
  border: 0;
  box-shadow: 0 14px 40px rgba(255, 61, 46, 0.24);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 13, 0.96), rgba(8, 9, 13, 0.72) 46%, rgba(8, 9, 13, 0.22)),
    linear-gradient(0deg, rgba(8, 9, 13, 0.96), rgba(8, 9, 13, 0.12) 46%, rgba(8, 9, 13, 0.34)),
    url("assets/drama-collage.svg") center / cover no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(0deg, var(--bg), transparent);
  z-index: -1;
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 98px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-copy {
  max-width: 680px;
  color: #e5ddd3;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.metrics {
  width: min(var(--max), calc(100% - 32px));
  margin: -54px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(17, 19, 26, 0.92);
  backdrop-filter: blur(20px);
}

.metric {
  min-height: 126px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 42px;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-weight: 700;
}

main section {
  padding: 92px 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.section-head h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
}

.section-head p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)),
    var(--panel);
  border-radius: 8px;
}

.service b {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  border-radius: 8px;
  color: #101016;
  background: var(--gold);
  font-family: Georgia, serif;
  font-size: 22px;
}

.service h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.2;
}

.service p {
  margin-bottom: 0;
  color: var(--muted);
}

.band {
  background:
    linear-gradient(90deg, rgba(255, 61, 46, 0.11), transparent 50%),
    #0d0f15;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.step {
  min-height: 210px;
  padding: 26px;
  background: #101219;
}

.step span {
  display: block;
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 1;
  margin-bottom: 28px;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.company-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.company-panel,
.legal-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
}

.company-panel {
  padding: 34px;
}

.company-panel h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
}

.company-panel p {
  margin-bottom: 16px;
  color: var(--muted);
}

.company-panel p:last-child {
  margin-bottom: 0;
}

.info-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.info-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 20px 22px;
  background: #101219;
}

.info-row span {
  color: var(--muted);
}

.info-row strong {
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px 0;
  color: var(--muted);
  background: #07080b;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ece4da;
  font-weight: 700;
}

.legal-hero {
  padding: 74px 0 34px;
  background:
    linear-gradient(120deg, rgba(255, 61, 46, 0.14), transparent 46%),
    linear-gradient(270deg, rgba(246, 201, 77, 0.12), transparent 46%),
    #0d0f15;
  border-bottom: 1px solid var(--line);
}

.legal-hero .section-inner {
  display: grid;
  gap: 12px;
}

.legal-hero h1 {
  margin-bottom: 0;
  font-size: clamp(36px, 6vw, 68px);
}

.legal-hero p {
  max-width: 840px;
  color: var(--muted);
  font-size: 18px;
}

.legal-layout {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 90px;
}

.legal-card {
  padding: clamp(24px, 5vw, 54px);
}

.legal-card h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 24px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: #d8d1c8;
}

.legal-card ul {
  padding-left: 20px;
}

.notice {
  margin-bottom: 28px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: rgba(246, 201, 77, 0.09);
  color: #f4ead0;
}

@media (max-width: 880px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 8px 10px;
  }

  .hero {
    min-height: 760px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(8, 9, 13, 0.94), rgba(8, 9, 13, 0.72) 52%, rgba(8, 9, 13, 0.9)),
      url("assets/drama-collage.svg") center / cover no-repeat;
  }

  .hero-copy {
    font-size: 17px;
    max-width: 100%;
    word-break: break-all;
  }

  h1 {
    font-size: 40px;
    line-height: 1.08;
    max-width: 100%;
    word-break: break-all;
  }

  .metrics,
  .services,
  .workflow,
  .company-grid {
    grid-template-columns: 1fr;
  }

  .metrics {
    margin-top: 0;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .section-head,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
