:root {
  --ink: #142024;
  --muted: #5b6669;
  --paper: #f7f2e9;
  --surface: #fffaf1;
  --line: #ded5c6;
  --night: #0d1214;
  --teal: #0f7c80;
  --teal-dark: #09575a;
  --amber: #c88a34;
  --clay: #9d483b;
  --green: #486b4f;
  --shadow: 0 18px 50px rgba(20, 32, 36, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.7;
}

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

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

p {
  margin: 0 0 1rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.65rem 1rem;
  background: var(--surface);
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 18, 20, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
  font-weight: 800;
}

.brand span {
  color: #ead6b3;
  font-size: 0.82rem;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.nav-links a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #fff;
}

.nav-cta {
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  background: var(--amber);
  color: #1d1307;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(760px, 86svh);
  overflow: hidden;
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--night);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 13, 15, 0.88) 0%, rgba(9, 13, 15, 0.62) 44%, rgba(9, 13, 15, 0.2) 100%),
    linear-gradient(0deg, rgba(9, 13, 15, 0.72), rgba(9, 13, 15, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 7rem 0 5rem;
}

.eyebrow,
.kicker {
  color: var(--teal);
  font-weight: 800;
  font-size: 0.92rem;
}

.hero .eyebrow {
  color: #7bd6d0;
}

.hero h1,
.page-hero h1 {
  max-width: 740px;
  margin: 0.6rem 0 1.2rem;
  font-size: 3rem;
  line-height: 1.16;
  letter-spacing: 0;
}

.hero-lead,
.page-lead {
  max-width: 680px;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
}

.page-lead {
  color: #d7e4e5;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
}

.button.primary {
  background: var(--amber);
  color: #1f1509;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
}

.button.dark {
  background: var(--teal-dark);
  color: #fff;
}

.button.light {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.trust-strip {
  background: #11191b;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-grid {
  width: min(1120px, calc(100% - 32px));
  min-height: 116px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.trust-item {
  background: #11191b;
  padding: 1.3rem 1rem;
}

.trust-item strong {
  display: block;
  color: #f0d9ae;
  font-size: 1.3rem;
}

.trust-item span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.page-band {
  padding: 4.5rem 0;
}

.page-band.compact {
  padding: 3rem 0;
}

.page-band.dark {
  background: var(--night);
  color: #fff;
}

.page-band.white {
  background: var(--surface);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-head h2,
.content-block h2 {
  margin: 0.35rem 0 0.8rem;
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.dark .section-head p,
.dark .content-block p {
  color: rgba(255, 255, 255, 0.74);
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.area-card,
.step,
.notice,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(20, 32, 36, 0.08);
}

.info-card,
.area-card,
.step,
.notice {
  padding: 1.25rem;
}

.info-card h3,
.area-card h3,
.step h3,
.notice h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  line-height: 1.35;
}

.info-card p,
.area-card p,
.step p,
.notice p {
  color: var(--muted);
}

.step {
  position: relative;
  padding-top: 3.4rem;
}

.step-number {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.service-list li {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
  font-weight: 700;
}

.comparison-table,
.content-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td,
.content-table th,
.content-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th,
.content-table th {
  background: #efe4d4;
  font-weight: 900;
}

.boundary {
  border-left: 5px solid var(--clay);
  background: #fff7ee;
}

.boundary strong {
  color: var(--clay);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0.85rem 1rem;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1.5rem;
  padding: 1.5rem;
  align-items: center;
}

.contact-panel h2 {
  margin: 0 0 0.65rem;
  font-size: 1.8rem;
}

.contact-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.contact-actions {
  display: grid;
  gap: 0.7rem;
}

.breadcrumb {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 1rem 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.page-hero {
  background: var(--night);
  color: #fff;
}

.page-hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.content-block {
  max-width: 860px;
}

.content-block h2 {
  margin-top: 2.2rem;
}

.content-block h3 {
  margin: 1.5rem 0 0.4rem;
}

.content-block ul,
.content-block ol {
  padding-left: 1.3rem;
}

.checklist {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0;
}

.check-item {
  min-height: 54px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0.85rem;
}

.check-item input {
  width: 20px;
  height: 20px;
  accent-color: var(--teal);
}

.site-footer {
  background: #0b1012;
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 0;
}

.footer-grid {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  gap: 1rem;
}

.footer-grid strong {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

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

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    gap: 0.75rem;
    font-size: 0.9rem;
  }

  .nav-cta {
    padding: 0.5rem 0.68rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.25rem;
  }

  .hero-lead,
  .page-lead {
    font-size: 1.04rem;
  }

  .trust-grid,
  .grid.cols-2,
  .grid.cols-3,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    min-height: auto;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 66svh;
  }

  .hero-content {
    padding: 4rem 0 2.2rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 1.9rem;
  }

  .section-head h2,
  .content-block h2 {
    font-size: 1.55rem;
  }

  .page-band {
    padding: 3.25rem 0;
  }

  .comparison-table th,
  .comparison-table td,
  .content-table th,
  .content-table td {
    padding: 0.8rem;
  }
}
