:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --bg-soft: #111820;
  --panel: #18202a;
  --panel-strong: #202b36;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --subtle: #94a3b8;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #f3c969;
  --teal: #34d5c8;
  --rose: #fb7185;
  --ink: #10131a;
  --white: #ffffff;
  --max: 1120px;
  --radius: 8px;
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::selection {
  background: rgba(243, 201, 105, 0.34);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 44px);
  color: var(--white);
  background: rgba(11, 15, 20, 0.54);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(11, 15, 20, 0.92);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  border-radius: 50%;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  color: var(--ink);
  font-weight: 850;
  background: var(--gold);
  border-radius: var(--radius);
  white-space: nowrap;
}

.header-cta svg,
.btn svg,
.contact-card svg,
.job-points svg,
.notice-inner svg,
.sticky-contact svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media,
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  display: block;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.95) 0%, rgba(5, 8, 12, 0.78) 44%, rgba(5, 8, 12, 0.2) 100%),
    linear-gradient(0deg, rgba(11, 15, 20, 0.98) 0%, rgba(11, 15, 20, 0) 30%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 116px 0 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--white);
  font-size: clamp(3.25rem, 8vw, 7.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 850;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), #ffe7a3);
  box-shadow: 0 18px 34px rgba(243, 201, 105, 0.18);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 820px;
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.quick-facts div {
  min-height: 92px;
  padding: 18px;
  background: rgba(11, 15, 20, 0.74);
}

.quick-facts span,
.price-head span,
.contact-card span {
  display: block;
  color: var(--subtle);
  font-size: 0.84rem;
}

.quick-facts strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 1.08rem;
}

.notice-band {
  background: var(--gold);
  color: #111827;
}

.notice-inner {
  width: min(var(--max), calc(100% - 36px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 850;
}

.notice-inner p {
  margin: 0;
}

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

.section {
  padding: clamp(64px, 10vw, 112px) 0;
}

.section-copy {
  max-width: 720px;
  margin-bottom: 30px;
}

.section h2,
.area-inner h2,
.jobs-inner h2,
.contact-inner h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 3.65rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.section h3,
.area-inner h3,
.jobs-inner h3,
.contact-inner h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.15rem;
}

.section p,
.area-inner p,
.jobs-inner p,
.contact-inner p {
  color: var(--muted);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.intro-grid {
  display: grid;
  gap: 14px;
}

.intro-grid article,
.check-grid article {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 16px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.intro-grid svg,
.check-grid svg {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: var(--gold);
}

.intro-grid p,
.check-grid p {
  grid-column: 2;
  margin: 0;
}

.pricing {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100% - var(--max)) / 2));
  padding-left: max(18px, calc((100% - var(--max)) / 2));
  background: linear-gradient(180deg, #111820 0%, #0b0f14 100%);
}

.price-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.price-card,
.confirm-panel {
  position: relative;
  min-height: 100%;
  padding: clamp(24px, 4vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(52, 213, 200, 0.13), rgba(251, 113, 133, 0.05)), var(--panel);
  border-color: rgba(52, 213, 200, 0.4);
  box-shadow: var(--shadow);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--teal);
  border-radius: 999px;
}

.price-head {
  display: grid;
  gap: 8px;
  padding-right: 80px;
}

.price-head strong {
  color: var(--gold);
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  line-height: 1;
}

.price-head small {
  color: var(--muted);
  font-size: 1rem;
}

.price-card p {
  margin: 22px 0 0;
}

.price-card ul,
.job-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding: 10px 0 10px 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.price-card li::before {
  position: absolute;
  top: 18px;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--teal);
  border-radius: 50%;
}

.confirm-panel h3 {
  margin-bottom: 18px;
}

.confirm-panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.confirm-panel div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.confirm-panel dt {
  color: var(--white);
  font-weight: 850;
}

.confirm-panel dd {
  margin: 3px 0 0;
  color: var(--muted);
}

.flow {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 6vw, 72px);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 20px;
  min-height: 138px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps span {
  color: var(--gold);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.steps p {
  margin: 0;
}

.area-band {
  background: #f8fafc;
  color: var(--ink);
}

.area-inner {
  padding: clamp(64px, 9vw, 96px) 0;
}

.area-inner h2,
.area-inner .section h2 {
  color: var(--ink);
}

.area-inner p {
  color: #475569;
}

.area-inner .section-kicker {
  color: #0f766e;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-list span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  color: #111827;
  font-weight: 850;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.check-grid {
  display: grid;
  gap: 14px;
}

.jobs-band {
  padding: clamp(64px, 9vw, 96px) 0;
  background: #10151c;
}

.jobs-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  background: linear-gradient(135deg, rgba(243, 201, 105, 0.15), rgba(52, 213, 200, 0.1)), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.jobs-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.jobs-inner p {
  max-width: 620px;
  margin: 14px 0 0;
}

.job-points {
  display: grid;
  gap: 10px;
}

.job-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.job-points svg {
  color: var(--teal);
}

.faq {
  padding-bottom: clamp(58px, 9vw, 90px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  min-height: 66px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  cursor: pointer;
  color: var(--white);
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.contact-section {
  padding: clamp(64px, 9vw, 104px) 0;
  background: linear-gradient(180deg, #111820 0%, #0b0f14 100%);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.contact-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 6px 14px;
  align-items: center;
  min-width: 0;
  min-height: 96px;
  padding: 18px;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card svg {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.contact-card strong {
  overflow-wrap: anywhere;
  font-size: 1.04rem;
}

.contact-button {
  cursor: pointer;
}

.copy-note {
  min-height: 26px;
  margin: 14px 0 0;
  color: var(--teal);
}

.site-footer {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 4px 0 0;
}

.footer-link {
  color: var(--gold);
  font-weight: 850;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-links a,
.legal-nav a {
  color: var(--muted);
  font-weight: 850;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links a[aria-current="page"],
.legal-nav a:hover,
.legal-nav a:focus-visible,
.legal-nav a[aria-current="page"] {
  color: var(--gold);
}

.legal-main {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 128px 0 clamp(64px, 9vw, 96px);
}

.legal-hero {
  max-width: 820px;
  padding: 28px 0 34px;
}

.legal-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  line-height: 1;
  letter-spacing: 0;
}

.legal-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-updated {
  margin-top: 18px;
  color: var(--teal) !important;
  font-weight: 850;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-card {
  padding: clamp(24px, 4vw, 42px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin: 34px 0 10px;
  color: var(--white);
  font-size: 1.24rem;
}

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

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card p {
  margin: 0;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 1.25rem;
}

.sticky-contact {
  position: fixed;
  z-index: 28;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 10px;
}

.sticky-contact a,
.sticky-contact button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  color: var(--ink);
  font-weight: 900;
  background: var(--gold);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.sticky-contact a:first-child {
  background: var(--teal);
}

.sticky-contact button {
  background: #ffffff;
}

.legal-page .sticky-contact {
  display: none;
}

.legal-page .site-footer {
  padding-bottom: 32px;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .intro,
  .flow,
  .split,
  .price-layout,
  .jobs-inner,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .jobs-inner {
    align-items: start;
  }

  .confirm-panel {
    min-height: auto;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    padding: 10px 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 8, 12, 0.95) 0%, rgba(5, 8, 12, 0.82) 58%, rgba(5, 8, 12, 0.5) 100%),
      linear-gradient(0deg, rgba(11, 15, 20, 1) 0%, rgba(11, 15, 20, 0) 34%);
  }

  .hero-inner {
    width: min(100% - 28px, var(--max));
    padding-top: 96px;
  }

  .hero-actions,
  .sticky-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .btn,
  .sticky-contact a,
  .sticky-contact button {
    width: 100%;
  }

  .quick-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
  }

  .quick-facts div {
    min-height: 86px;
    padding: 12px 10px;
  }

  .quick-facts strong {
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .notice-inner {
    align-items: flex-start;
    padding: 18px 0;
  }

  .intro-grid article,
  .check-grid article {
    grid-template-columns: 1fr;
  }

  .intro-grid p,
  .check-grid p {
    grid-column: 1;
  }

  .intro-grid svg,
  .check-grid svg {
    margin-bottom: 12px;
  }

  .steps li {
    grid-template-columns: 58px 1fr;
    min-height: auto;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .price-head {
    padding-right: 0;
  }

  .badge {
    position: static;
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
  }

  .sticky-contact {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sticky-contact a,
  .sticky-contact button {
    min-height: 50px;
    padding: 0 8px;
    font-size: 0.92rem;
  }

  .site-footer {
    display: block;
    padding-bottom: 106px;
  }

  .footer-links {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .footer-link {
    display: inline-block;
    margin-top: 12px;
  }

  .legal-main {
    width: min(100% - 28px, var(--max));
    padding-top: 96px;
  }

  .legal-hero {
    padding-top: 18px;
  }

  .legal-card {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
