:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #52606f;
  --line: #d9e0e8;
  --paper: #f6f7f9;
  --white: #ffffff;
  --navy: #002962;
  --teal: #087f8c;
  --gold: #b48a2c;
  --rose: #b24a4a;
  --shadow: 0 18px 55px rgba(16, 32, 51, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
}

.skip:focus {
  left: 12px;
}

.topbar {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 9px 18px;
  color: var(--white);
  background: var(--navy);
  font-size: 14px;
}

.topbar a {
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 150px;
  height: auto;
  padding: 7px 9px;
  border-radius: 6px;
  background: var(--navy);
}

.brand span {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
}

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

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button.secondary {
  background: var(--white);
  color: var(--navy);
}

.hero {
  min-height: 84vh;
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 41, 98, 0.88), rgba(8, 127, 140, 0.62), rgba(16, 32, 51, 0.34)),
    url("/assets/team-mark.png") center right 14% / contain no-repeat,
    var(--navy);
}

.hero-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 128px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.en {
  color: inherit;
  opacity: 0.72;
  font-size: 0.92em;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 8vw, 92px);
}

.hero p {
  max-width: 710px;
  margin: 22px 0 0;
  font-size: clamp(18px, 2.4vw, 24px);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 44px));
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

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

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

.metric strong {
  display: block;
  color: var(--navy);
  font-size: 26px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 84px 0;
}

.section.slim {
  padding: 52px 0;
}

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

.section-head h2,
.article h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
}

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

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(16, 32, 51, 0.06);
}

.card-body {
  padding: 24px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.card a.inline {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.service-card img,
.listing-card img,
.person img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.band {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.content h2,
.content h3 {
  color: var(--ink);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.pill-list a,
.pill-list span {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
  color: var(--muted);
  font-size: 14px;
}

.price {
  color: var(--navy);
  font-weight: 900;
  font-size: 24px;
}

.article {
  width: min(860px, calc(100% - 44px));
  margin: 0 auto;
  padding: 74px 0;
}

.article-meta {
  color: var(--muted);
  margin: 12px 0 24px;
}

.article-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 48px);
}

.article-body h2 {
  margin-top: 36px;
}

.article-body a {
  color: var(--teal);
  font-weight: 800;
}

.source-list {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.faq details {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

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

.cta {
  background: var(--navy);
  color: var(--white);
}

.cta .section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.cta p {
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  padding: 40px 22px;
  background: #0c1522;
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer a {
  color: var(--white);
  text-decoration: none;
}

form {
  display: grid;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

@media (max-width: 860px) {
  .topbar {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(0, 41, 98, 0.92), rgba(8, 127, 140, 0.74)),
      url("/assets/team-mark.png") bottom right / 78% auto no-repeat,
      var(--navy);
  }

  .hero-inner {
    padding: 92px 0 210px;
  }

  .metrics,
  .grid,
  .grid.two,
  .split,
  .cta .section,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .section-head {
    display: block;
  }
}
