:root {
  color-scheme: dark;
  --ink: oklch(0.985 0.005 240);
  --muted: oklch(0.88 0.015 240);
  --night: oklch(0.24 0.045 245);
  --brand: oklch(0.52 0.23 262);
  --brand-hover: oklch(0.46 0.21 262);
  --brand-light: oklch(0.76 0.1 240);
  --line: oklch(0.95 0.01 240 / 0.2);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--night);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  isolation: isolate;
}

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

a:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
  border-radius: 3px;
}

svg {
  flex-shrink: 0;
}

.page-width {
  width: min(1280px, calc(100% - clamp(40px, 9vw, 160px)));
  margin-inline: auto;
}

.backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background: var(--night);
}

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

.backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    180deg,
    oklch(0.19 0.04 250 / 0.72) 0%,
    oklch(0.22 0.045 250 / 0.56) 32%,
    oklch(0.21 0.04 250 / 0.62) 62%,
    oklch(0.17 0.035 250 / 0.96) 100%
  );
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-symbol {
  width: 43px;
  height: 43px;
}

.brand-name {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 27px;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.brand-english {
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.5vw, 52px);
  align-self: stretch;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ink);
}

.main-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--ink);
}

.language {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.language svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.4;
}

main {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: clamp(40px, 6vh, 88px);
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-light);
}

h1 {
  margin: 0;
  font-size: clamp(48px, 6.1vw, 86px);
  font-weight: 650;
  line-height: 1.28;
  letter-spacing: 0.025em;
  text-wrap: balance;
}

h1 span {
  display: block;
}

.hero-description {
  max-width: 65ch;
  margin: 25px 0 31px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--muted);
  text-wrap: pretty;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  padding: 12px 26px;
  border: 1px solid oklch(0.7 0.12 262 / 0.5);
  border-radius: 5px;
  background: var(--brand);
  font-size: 14px;
  font-weight: 500;
}

.primary-link:hover {
  background: var(--brand-hover);
}

.primary-link svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: 27px 31px;
  border-top: 1px solid var(--line);
}

.service {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-inline: 20px;
}

.service + .service {
  border-inline-start: 1px solid var(--line);
}

.service-icon {
  width: 31px;
  height: 31px;
  stroke: var(--muted);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h2 {
  margin: 0 0 7px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.service p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: oklch(0.17 0.035 250 / 0.34);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 57px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-inner a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 20px;
  padding: 12px 20px;
  transform: translateY(-200%);
  background: var(--night);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (min-width: 1600px) {
  .hero {
    max-height: 920px;
    margin-block: auto;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 74px;
    gap: 20px;
  }

  .brand-symbol {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 23px;
  }

  .brand-english {
    font-size: 16px;
  }

  .main-nav {
    gap: 22px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .language {
    display: none;
  }

  .hero-description {
    font-size: 14px;
  }

  .service {
    flex-direction: column;
    gap: 12px;
    padding-inline: 12px;
    text-align: center;
  }

  .service h2 {
    font-size: 15px;
  }

  .service p {
    max-width: 12em;
    font-size: 11px;
    text-wrap: balance;
  }
}

@media (max-width: 480px) {
  .header-inner {
    min-height: 66px;
    gap: 12px;
  }

  .brand {
    gap: 7px;
  }

  .brand-name {
    flex-direction: column;
    gap: 0;
    font-size: 20px;
    line-height: 1.25;
  }

  .brand-english {
    font-size: 11px;
    letter-spacing: 0;
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav .nav-home {
    display: none;
  }

  .main-nav a {
    font-size: 12px;
  }

  .backdrop img {
    object-position: 63% center;
  }

  .hero {
    padding-block: 36px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 11px;
  }

  h1 {
    font-size: clamp(39px, 10.4vw, 49px);
    line-height: 1.35;
  }

  .hero-description {
    margin-block: 22px 27px;
    font-size: 12px;
    line-height: 1.9;
  }

  .primary-link {
    min-height: 48px;
    padding-inline: 22px;
    font-size: 13px;
  }

  .services {
    padding-block: 22px;
  }

  .service {
    gap: 10px;
    padding-inline: 8px;
  }

  .service-icon {
    width: 25px;
    height: 25px;
  }

  .service h2 {
    margin-bottom: 6px;
    font-size: 14px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding-block: 11px 4px;
    font-size: 11px;
  }

  .footer-inner a {
    min-height: 36px;
  }
}

@media (max-height: 720px) and (min-width: 761px) {
  .header-inner {
    min-height: 72px;
  }

  .hero {
    padding-block: 26px;
  }

  .eyebrow {
    margin-bottom: 15px;
  }

  h1 {
    font-size: clamp(44px, 5.5vw, 66px);
    line-height: 1.2;
  }

  .hero-description {
    margin-block: 18px 23px;
    font-size: 14px;
  }

  .services {
    padding-block: 20px;
  }
}

@media (max-height: 690px) and (max-width: 480px) {
  .hero {
    padding-block: 22px;
  }

  .eyebrow {
    margin-bottom: 15px;
  }

  .hero-description {
    margin-block: 16px 20px;
  }

  .services {
    padding-block: 17px;
  }
}
