:root {
  color-scheme: light;
  --ink: #0b1f3a;
  --ink: oklch(24% 0.055 245);
  --ink-soft: #18375c;
  --surface: #fbfcfe;
  --surface: oklch(99% 0.003 245);
  --surface-alt: #eef5f8;
  --surface-alt: oklch(96% 0.012 235);
  --accent: #19bdd1;
  --accent: oklch(72% 0.145 205);
  --accent-strong: #087f9b;
  --accent-strong: oklch(55% 0.145 215);
  --muted: #53677e;
  --muted: oklch(46% 0.035 245);
  --line: #cedde5;
  --line: oklch(86% 0.018 235);
  --white: #ffffff;
  --max: 73.75rem;
  --reading: 68ch;
  --radius: 14px;
  --shadow: 0 8px 24px rgb(5 23 44 / 18%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin: 0;
  max-width: var(--reading);
  text-wrap: pretty;
}

.skip-link {
  position: fixed;
  z-index: 50;
  inset: 0 auto auto 1rem;
  padding: 0.7rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 0 0 8px 8px;
  transform: translateY(-130%);
  transition: transform 160ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgb(11 31 58 / 96%);
  color: var(--white);
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.055em;
}

.wordmark span {
  color: var(--accent);
  font-size: 0.84rem;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 10px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 700;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: rgb(255 255 255 / 86%);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgb(255 255 255 / 10%);
  color: var(--white);
}

.site-nav .nav-cta {
  margin-left: 0.4rem;
  background: var(--accent);
  color: #062235;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  background: #79ecf2;
  color: #062235;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-home {
  min-height: clamp(38rem, 78vh, 48rem);
}

.hero-grid {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(24rem, 1.08fr);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-block: clamp(5.5rem, 11vw, 9rem);
  padding-right: clamp(1.5rem, 5vw, 4.5rem);
}

.hero-copy::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -7rem 0 -50vw;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 72%, transparent 100%);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
  color: #8cf3f5;
  font-size: 0.9rem;
  font-weight: 750;
}

.kicker::before {
  content: "";
  width: 1.7rem;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.75rem, 6vw, 4rem);
  letter-spacing: -0.035em;
}

.hero-lede {
  margin-top: 1.4rem;
  color: rgb(255 255 255 / 78%);
  font-size: clamp(1.08rem, 2vw, 1.24rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 10px;
  background: var(--accent);
  color: #062235;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 180ms var(--ease), transform 180ms var(--ease);
}

.button-link:hover {
  background: #79ecf2;
  transform: translateY(-2px);
}

.button-link.secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgb(255 255 255 / 36%);
}

.button-link.secondary:hover {
  background: rgb(255 255 255 / 9%);
}

.button-link.on-light.secondary {
  color: var(--ink);
  border-color: var(--line);
}

.button-link.on-light.secondary:hover {
  background: var(--surface-alt);
}

.hero-visual {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 40%;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(11 31 58 / 4%), rgb(11 31 58 / 48%));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.trust-strip {
  background: var(--ink-soft);
  color: var(--white);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 1.25rem 0;
  list-style: none;
}

.trust-list li {
  padding: 0.2rem 1.3rem;
  color: rgb(255 255 255 / 78%);
  font-size: 0.94rem;
  text-align: center;
}

.trust-list li + li {
  border-left: 1px solid rgb(255 255 255 / 18%);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.section-alt {
  background: var(--surface-alt);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(18rem, 1.2fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

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

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(13rem, 0.7fr) minmax(18rem, 1.3fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
}

.service-index {
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 800;
}

.service-row h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}

.service-row p {
  color: var(--muted);
}

.arrow-link {
  white-space: nowrap;
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.arrow-link::after {
  content: " →";
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-block: 1px solid var(--line);
}

.principles li {
  min-height: 12rem;
  padding: 1.6rem;
}

.principles li + li {
  border-left: 1px solid var(--line);
}

.principles strong {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

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

.responsible {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.25rem;
  max-width: 58rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

.responsible-mark {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
}

.responsible h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.responsible p {
  margin-top: 0.75rem;
  color: var(--muted);
}

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

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.cta-inner h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.page-hero {
  padding-block: clamp(5rem, 10vw, 8rem);
}

.page-hero .hero-copy {
  padding: 0;
  max-width: 50rem;
}

.page-hero .hero-copy::after {
  display: none;
}

.page-hero h1 {
  max-width: 16ch;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.content-grid h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
}

.prose {
  max-width: var(--reading);
}

.prose > * + * {
  margin-top: 1.2rem;
}

.prose h3 {
  margin-top: 2.2rem;
  font-size: 1.35rem;
}

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

.prose ul,
.prose ol {
  margin: 1rem 0 0;
  padding-left: 1.3rem;
}

.prose li + li {
  margin-top: 0.65rem;
}

.guidance-state {
  max-width: 56rem;
  padding: clamp(1.6rem, 4vw, 3.2rem);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
}

.guidance-state h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.guidance-state p {
  margin-top: 1rem;
  color: var(--muted);
}

.steps {
  counter-reset: step;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--ink);
  font-weight: 800;
}

.site-footer {
  background: #06162a;
  color: rgb(255 255 255 / 72%);
  padding-block: 2.5rem;
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  color: var(--white);
  font-weight: 800;
}

.footer-note {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.2rem;
  font-size: 0.9rem;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found-inner {
  max-width: 40rem;
}

.not-found-code {
  color: var(--accent-strong);
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 850;
  line-height: 1;
}

.not-found h1 {
  margin-top: 1rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.not-found p {
  margin-top: 1rem;
  color: var(--muted);
}

.not-found .button-link {
  margin-top: 1.8rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    max-width: 42rem;
  }

  .hero-visual {
    inset: 0 0 0 28%;
    opacity: 0.64;
  }

  .service-row {
    grid-template-columns: 3.5rem minmax(12rem, 0.8fr) minmax(0, 1.2fr);
  }

  .service-row .arrow-link {
    grid-column: 2 / -1;
  }

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

  .principles li:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .principles li:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 4.25rem;
    flex-wrap: wrap;
    padding-block: 0.7rem;
  }

  .nav-toggle:not([hidden]) {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    padding-bottom: 0.65rem;
  }

  .js .site-nav {
    display: none;
  }

  .js .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    padding: 0.7rem;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero-home {
    min-height: 42rem;
  }

  .hero-copy {
    align-self: end;
    padding: 8rem 0 4rem;
  }

  .hero-copy::after {
    inset: -2rem -1rem -2rem -1rem;
    background: linear-gradient(180deg, transparent 0%, rgb(11 31 58 / 88%) 24%, var(--ink) 100%);
  }

  .hero-visual {
    inset: 0;
    opacity: 0.76;
  }

  .hero-visual img {
    object-position: 68% center;
  }

  .trust-list,
  .section-heading,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .trust-list li + li {
    border-left: 0;
    border-top: 1px solid rgb(255 255 255 / 16%);
  }

  .service-row {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.7rem 1rem;
  }

  .service-row p,
  .service-row .arrow-link {
    grid-column: 2;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principles li {
    min-height: auto;
  }

  .principles li + li,
  .principles li:nth-child(3),
  .principles li:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .responsible {
    grid-template-columns: 1fr;
  }

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

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
