:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --ink: #151719;
  --muted: #5f676f;
  --line: #ded8cc;
  --accent: #0f766e;
  --accent-dark: #0b4d48;
  --accent-soft: #e4f4f1;
  --shadow: 0 18px 48px rgba(32, 36, 40, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 238, 0.88);
  border-bottom: 1px solid rgba(21, 23, 25, 0.08);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.logo {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.menu {
  display: none;
  position: absolute;
  top: 68px;
  right: 18px;
  width: min(280px, calc(100vw - 36px));
  padding: 10px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.menu.is-open {
  display: grid;
}

.menu a {
  padding: 12px 10px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--ink);
  background: var(--accent-soft);
  outline: none;
}

.nav-toggle {
  display: inline-grid;
  gap: 4px;
  width: 44px;
  height: 44px;
  place-content: center;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.hero {
  padding: 58px 0 42px;
}

.hero-grid {
  display: grid;
  gap: 24px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 7vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.85rem, 6vw, 3rem);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.35;
}

.hero-lead {
  max-width: 700px;
  color: #343a40;
  font-size: clamp(1.06rem, 3.8vw, 1.42rem);
}

.trust-note {
  max-width: 680px;
  margin: 20px 0 0;
  padding-left: 16px;
  color: var(--muted);
  border-left: 3px solid var(--accent);
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.btn.primary {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.22);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--accent-dark);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.hero-panel,
.card,
.contact-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 24px;
}

.panel-kicker {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 999px;
  content: "";
}

.section {
  padding: 64px 0;
}

.muted-section {
  background: #ece6db;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 24px;
}

.section-heading p {
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 14px;
}

.card {
  padding: 20px;
}

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

.card.compact {
  min-height: 78px;
  display: flex;
  align-items: center;
  color: #283038;
  font-weight: 800;
}

.split {
  display: grid;
  gap: 28px;
}

.service-grid {
  display: grid;
  gap: 12px;
}

.service-item {
  padding: 18px 18px;
  color: #1f282f;
  font-weight: 800;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  background: var(--accent);
  border-radius: 999px;
}

.steps p {
  margin-bottom: 0;
  color: #2e3439;
  font-weight: 800;
}

.statement-section {
  color: #ffffff;
  background: #14201f;
}

.statement {
  max-width: 860px;
}

.statement .eyebrow {
  color: #9ee3dc;
}

.statement p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.contact-section {
  padding-bottom: 80px;
}

.contact-card {
  display: grid;
  gap: 24px;
  padding: 24px;
}

.contact-card p {
  color: var(--muted);
}

.contact-card .btn {
  margin-top: 10px;
}

.contact-info {
  margin: 0;
  padding: 18px;
  font-style: normal;
  background: var(--accent-soft);
  border: 1px solid #c8e8e3;
  border-radius: 8px;
}

.contact-info p {
  margin-bottom: 8px;
  color: #283038;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

.line-contact {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.line-contact p {
  margin: 6px 0 0;
  color: #3f4a52;
}

.line-contact img {
  display: block;
  width: min(180px, 100%);
  height: auto;
  background: #ffffff;
  border: 1px solid #c8e8e3;
  border-radius: 8px;
}

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

.footer-grid {
  display: grid;
  gap: 4px;
}

.footer-grid p {
  margin: 0;
  font-size: 0.92rem;
}

@media (min-width: 640px) {
  .cta-row {
    flex-direction: row;
  }

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

  .footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 900px) {
  .menu {
    position: static;
    display: flex;
    width: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .menu a {
    padding: 8px 10px;
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    padding: 96px 0 70px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: end;
    gap: 42px;
  }

  .hero-panel {
    padding: 30px;
  }

  .section {
    padding: 82px 0;
  }

  .cards.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
    gap: 52px;
    align-items: start;
  }

  .sticky-copy {
    position: sticky;
    top: 96px;
  }

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

  .steps li {
    align-content: start;
    min-height: 168px;
    grid-template-columns: 1fr;
  }

  .contact-card {
    grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
    align-items: center;
    padding: 34px;
  }

  .line-contact {
    grid-template-columns: 1fr 150px;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
}
