:root {
  color-scheme: light;
  --paper: #fffaf5;
  --wash: #f1e9f3;
  --ink: #30233c;
  --muted: #62566a;
  --accent: #543363;
  --accent-strong: #3c214b;
  --line: #ddd0df;
  --field: #a796ad;
  --white: #fff;
  --night: #32253f;
  --night-line: #65536e;
  --amber: #ffc07e;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.7 var(--sans);
}
a { color: inherit; text-underline-offset: .26em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
p, h1, h2, h3, h4, dl { margin: 0; }
img { display: block; max-width: 100%; }
address { font-style: normal; }
.shell {
  width: min(76rem, calc(100% - clamp(2rem, 9.4vw, 9rem)));
  margin-inline: auto;
}
.skip {
  position: fixed;
  z-index: 5;
  top: .7rem;
  left: .7rem;
  padding: .65rem 1rem;
  background: var(--white);
  clip-path: inset(50%);
}
.skip:focus { clip-path: none; }
h1, h2 {
  font-family: var(--display);
  font-weight: 620;
}
h1 {
  font-size: clamp(2.35rem, 5.25vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: -.06em;
}
h2 {
  font-size: clamp(2rem, 3.85vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -.041em;
}
h3 { font-size: 1.13rem; line-height: 1.35; font-weight: 700; }
html[lang="zh-CN"] h1 { font-size: clamp(2.6rem, 5.75vw, 5.3rem); line-height: 1.16; }
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2 { letter-spacing: -.025em; }

.site-header { position: relative; z-index: 2; background: var(--night); border-bottom: 1px solid var(--night-line); color: var(--white); }
.header-inner {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .54rem;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 680;
  letter-spacing: -.037em;
}
.inc { color: #e6d7e9; font-size: .89rem; letter-spacing: 0; }
.brand-mark { width: 2.1rem; height: 2.1rem; flex: none; }
.primary-nav, .header-actions, .hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2.4vw, 2rem);
}
.primary-nav a { white-space: nowrap; font-weight: 620; font-size: .93rem; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] {
  color: var(--amber);
  text-decoration: underline;
}
.language-picker { position: relative; border: 0; }
.language-picker > .language-trigger {
  display: grid;
  grid-template-columns: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--white);
  touch-action: manipulation;
}
.language-picker > .language-trigger::after { display: none; }
.language-trigger svg { width: 1.4rem; height: 1.4rem; }
.language-picker > .language-trigger:hover, .language-picker[open]:not(.is-collapsing) > .language-trigger {
  border-color: var(--night-line);
  color: var(--amber);
}
.language-drawer { position: absolute; inset-block-start: calc(100% + .4rem); inset-inline-end: 0; width: 11rem; z-index: 1; }
.language-options {
  display: grid;
  padding: .35rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 .45rem 1.1rem #32253f36;
}
.language-options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: 2.65rem;
  padding: .45rem .65rem;
  border-radius: .45rem;
  font-size: .94rem;
  line-height: 1.35;
  text-decoration: none;
}
.language-options a:hover, .language-options a[aria-current="true"] { background: var(--wash); color: var(--accent-strong); }
.language-options a:focus-visible { outline-color: var(--accent); outline-offset: -2px; }
.language-options a[aria-current="true"] { font-weight: 700; }
.language-options a[aria-current="true"]::after { content: ""; width: .65rem; height: .37rem; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.1rem;
  padding: .66rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: .95rem;
  font-weight: 680;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover { background: var(--accent-strong); }
.button-small { min-height: 2.55rem; padding: .43rem .84rem; font-size: .91rem; }
.button-secondary { border-color: var(--field); background: transparent; color: var(--ink); }
.button-secondary:hover { background: var(--wash); }
.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--amber); }
.site-header .button { border: 1px solid #a28ca8; background: transparent; }
.site-header .button:hover, .site-header .button[aria-current="page"] { border-color: var(--amber); color: var(--amber); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(34rem, 47vw, 47rem);
  background: #292138;
  color: var(--white);
}
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: 65% 54%; }
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #21182df5 0%, #21182de0 24%, #21182d60 53%, #21182d00 74%);
}
.hero-layout { padding-block: clamp(4rem, 7.3vw, 7rem) clamp(3.1rem, 6.1vw, 5.9rem); }
.hero h1 { font-size: clamp(2.8rem, 5.42vw, 5.5rem); line-height: 1.02; letter-spacing: -.052em; }
html[lang="zh-CN"] .hero h1 { font-size: clamp(2.65rem, 5.4vw, 5.6rem); line-height: 1.12; }
.hero-copy p {
  max-width: 45ch;
  margin-top: 1.35rem;
  color: #f5e9f7;
  font-size: clamp(1.03rem, 1.45vw, 1.16rem);
}
.hero-actions { margin-top: 1.45rem; gap: .65rem; flex-wrap: wrap; }
.hero .button { background: var(--amber); color: #2d1d34; }
.hero .button:hover { background: #ffd4a8; }
.hero .button-secondary { border-color: #c4adce; background: transparent; color: var(--white); }
.hero .button-secondary:hover { background: #faf1f522; }

.section { padding-block: clamp(3.25rem, 6.2vw, 6rem); scroll-margin-top: 1rem; }
.section-heading > p { max-width: 47ch; margin-top: .85rem; color: var(--muted); }
.offer > h2 { margin-bottom: clamp(1.45rem, 3.2vw, 2.6rem); }
.software { border: 1px solid var(--line); border-radius: 1.1rem; overflow: clip; background: #fffdf9; }
.software-heading { padding: clamp(1.2rem, 2.8vw, 2rem); background: var(--wash); }
.software-heading h3 { font-family: var(--display); font-size: clamp(1.45rem, 2.5vw, 2.12rem); line-height: 1.2; }
.software-heading p { margin-top: .4rem; color: var(--muted); }
.software-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.software-item { padding: clamp(1.1rem, 2.8vw, 2rem); }
.software-item:nth-child(even) { border-inline-start: 1px solid var(--line); }
.software-item:nth-child(n+3) { border-top: 1px solid var(--line); }
.software-item h4 { margin-top: .7rem; font-size: 1.12rem; line-height: 1.32; }
.software-item > p { margin-top: .5rem; color: var(--muted); }
.software-item .enquiry-tip { margin-top: .65rem; color: var(--accent-strong); font-size: .93rem; font-weight: 650; }
.service-icon { flex: none; display: grid; width: 2.4rem; height: 2.4rem; place-items: center; border-radius: .55rem; background: var(--wash); color: var(--accent); }
.service-icon svg { width: 1.35rem; height: 1.35rem; }

.process { background: var(--wash); }
.process-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.9rem, 7vw, 6rem); }
.process .section-heading .button { margin-top: 1.3rem; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: .95rem;
  align-content: start;
  padding-block: .85rem;
  border-top: 1px solid var(--field);
  counter-increment: step;
}
.steps li:last-child { border-bottom: 1px solid var(--field); }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--accent);
  font-weight: 680;
  line-height: 1;
}
.steps h3 { margin-top: .13rem; }
.steps p { grid-column: 2; margin-top: .2rem; color: var(--muted); }

.columns { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.7rem, 5vw, 5rem); }
.inline-link { display: inline-block; margin-top: 1rem; color: var(--accent); font-weight: 650; }
.inline-link:hover { color: var(--accent-strong); }
.profile { border: 1px solid var(--line); background: var(--paper); border-radius: .65rem; padding: .6rem 1.35rem; }
.profile div { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; padding: .7rem 0; }
.profile div + div { border-top: 1px solid var(--line); }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 680; overflow-wrap: anywhere; }
.information {
  padding-block: clamp(2rem, 5vw, 4.25rem) clamp(3.5rem, 7vw, 6rem);
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .6rem; color: var(--muted); font-size: .93rem; }
.breadcrumbs a { color: var(--accent); }
.information-heading {
  padding: clamp(1.4rem, 3.5vw, 2.65rem) 0 clamp(1.5rem, 3.5vw, 2.65rem);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(1.5rem, 3.5vw, 2.65rem);
}
.information-heading h1, html[lang="zh-CN"] .information-heading h1 { font-size: clamp(2.35rem, 5vw, 4.45rem); }
.information-heading p { margin-top: .75rem; max-width: 61ch; color: var(--muted); }
.information-company { align-items: start; }
.information-company h2, .document-copy h2, .info-callout h2 {
  font-size: clamp(1.24rem, 2.45vw, 1.65rem);
  line-height: 1.35;
  letter-spacing: -.02em;
}
.information-company p, .document-copy section p, .info-callout p { margin-top: .6rem; color: var(--muted); }
.document-copy { max-width: 70ch; }
.document-copy section + section { margin-top: 1.65rem; }
.document-copy section[id] { scroll-margin-top: 1.25rem; }
.info-callout { padding: clamp(1.1rem, 3vw, 1.9rem); border-radius: .65rem; background: var(--wash); }
.info-callout { margin-top: 2rem; max-width: 70ch; }
.contact-page { max-width: 64rem; padding-block: clamp(2rem, 4.4vw, 4rem) clamp(3rem, 6vw, 5rem); }
.contact-heading { margin-block: clamp(1.45rem, 3.55vw, 2.8rem) 1.55rem; }
.contact-heading h1, html[lang="zh-CN"] .contact-heading h1 { font-size: clamp(2.35rem, 4.5vw, 3.7rem); line-height: 1.12; }
.contact-heading p { max-width: 58ch; margin-top: .65rem; color: var(--muted); }
.email-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .85rem 1.5rem; padding: clamp(1.15rem, 4vw, 2.4rem); border-radius: 1rem; background: var(--night); color: var(--white); }
.email-panel h2, html[lang="zh-CN"] .email-panel h2 { margin-bottom: .4rem; color: #e9daed; font: 650 .95rem/1.4 var(--sans); letter-spacing: 0; }
.contact-email { color: var(--amber); font: 580 clamp(1.33rem, 3.9vw, 2.85rem)/1.18 var(--display); letter-spacing: -.038em; overflow-wrap: anywhere; text-decoration-thickness: 1px; }
.email-panel :focus-visible { outline-color: var(--amber); }
.email-panel-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.email-panel-actions button { cursor: pointer; font-family: inherit; }
.email-panel-actions button[hidden] { display: none; }
.email-panel .button { background: var(--amber); color: var(--ink); }
.email-panel .button:hover { background: #ffd4a8; }
.email-panel .button-secondary { border-color: #ac94b6; background: transparent; color: var(--white); }
.email-panel .button-secondary:hover { background: #faf1f522; }
.email-feedback { grid-column: 1 / -1; color: #f0e3f1; font-size: .9rem; }
.email-feedback:empty { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-guide { margin-top: clamp(1.65rem, 4vw, 2.8rem); }
.contact-guide h2, html[lang="zh-CN"] .contact-guide h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); letter-spacing: -.015em; }
.contact-guide ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem 1.4rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.contact-guide li { border-top: 1px solid var(--line); padding-top: .75rem; }
.contact-guide li p { margin-top: .25rem; color: var(--muted); }
@media (max-width: 680px) {
  .email-panel, .contact-guide ul { grid-template-columns: minmax(0, 1fr); }
}

.questions { border-bottom: 1px solid var(--line); }
details { border-top: 1px solid var(--line); }
summary {
  display: grid;
  grid-template-columns: 1fr 1.2rem;
  align-items: center;
  gap: .8rem;
  padding-block: .9rem;
  cursor: pointer;
  list-style: none;
  font-weight: 670;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  width: .75rem;
  height: .75rem;
  justify-self: center;
  background: linear-gradient(var(--accent), var(--accent)) center / 100% 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 100% no-repeat;
}
details[open]:not(.is-collapsing) > summary::after { background-size: 100% 2px, 0 0; }
details p { padding: 0 1.15rem 1rem 0; color: var(--muted); }

.site-footer { border-top: 1px solid var(--night-line); background: var(--night); color: #fff3f9; }
.footer-disclosure { border: 0; }
.footer-disclosure > summary { display: none; }
details.is-animating > :is(.footer-drawer, .faq-answer, .language-drawer) { overflow: hidden; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .1rem clamp(1rem, 2.6vw, 2.4rem);
  padding-block: .85rem;
}
.footer-grid a {
  display: flex;
  align-items: center;
  justify-self: start;
  min-height: 2.15rem;
  padding-block: .2rem;
  font-size: .94rem;
  line-height: 1.4;
  text-decoration: none;
}
.footer-grid a:hover { color: var(--amber); text-decoration: underline; }
.footer-company {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 2rem;
  border-top: 1px solid var(--night-line);
  padding-block: .72rem .95rem;
  color: #e8d9ea;
  font-size: .88rem;
  line-height: 1.55;
}
.footer-company-name { color: var(--white); font-weight: 670; }
.filing-id { white-space: nowrap; }

.cookie-dialog {
  width: min(34rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: clamp(1.15rem, 4vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1.2rem 3rem #29213830;
}
.cookie-dialog::backdrop { background: #29213888; }
.cookie-heading { display: flex; align-items: start; justify-content: space-between; gap: .75rem; }
.cookie-dialog h2, html[lang="zh-CN"] .cookie-dialog h2 { font-size: clamp(1.25rem, 4vw, 1.7rem); letter-spacing: 0; line-height: 1.25; }
.cookie-dialog p { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.cookie-heading p { margin: .35rem 0 1rem; }
.cookie-dialog button { cursor: pointer; font-family: inherit; }
.cookie-close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: transparent;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
}
.cookie-close:hover { background: var(--wash); }
.cookie-card { border: 1px solid var(--line); border-radius: .58rem; padding: .8rem .9rem; background: var(--white); }
.cookie-card + .cookie-card { margin-top: .58rem; }
.cookie-card-heading { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
label.cookie-card-heading { cursor: pointer; }
.cookie-card p { margin-top: .26rem; }
.cookie-status { flex: none; border-radius: .35rem; background: var(--wash); padding: .12rem .4rem; color: var(--accent-strong); font-size: .84rem; font-weight: 650; }
.cookie-card input { flex: none; width: 1.18rem; height: 1.18rem; margin: 0; accent-color: var(--accent); cursor: pointer; }
.cookie-policy-link { display: inline-block; margin-top: .75rem; color: var(--accent); font-size: .94rem; }
.cookie-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .58rem; margin-top: .95rem; }
.cookie-actions .button { min-height: 2.75rem; white-space: normal; }
.cookie-feedback:not(:empty) { margin-top: .6rem; }

@media (min-width: 900px) {
  .information-faq { max-width: 52rem; }
  .information-faq .breadcrumbs { justify-content: center; }
  .information-faq .information-heading { text-align: center; }
  .information-faq .information-heading p, .information-faq .document-copy, .information-faq .info-callout { margin-inline: auto; }
}
@media (max-width: 1000px) {
  .primary-nav, .header-actions { gap: .95rem; }
}
@media (max-width: 879px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem .65rem; padding-block: .72rem .45rem; }
  .header-actions { grid-row: 1; grid-column: 2; gap: .68rem; }
  .primary-nav { grid-column: 1 / -1; flex-wrap: wrap; gap: .25rem 1.1rem; padding-top: .2rem; border-top: 1px solid var(--night-line); }
  .primary-nav a { padding-block: .24rem; }
}
@media (max-width: 779px) {
  .hero { min-height: clamp(31rem, 88vw, 40rem); }
  .hero-image { height: 78%; object-position: 75% 49%; }
  .hero::after { background: linear-gradient(0deg, #21182d 17%, #21182df2 32%, #21182da6 56%, #21182d1a 84%); }
  .hero-layout { padding-block: 12rem 2.15rem; }
  .process-layout, .columns { grid-template-columns: minmax(0, 1fr); }
  .footer-disclosure > summary { display: grid; min-height: 2.9rem; padding-block: .6rem; font-size: .95rem; }
  .footer-disclosure > summary::after {
    background: linear-gradient(var(--amber), var(--amber)) center / 100% 2px no-repeat,
      linear-gradient(var(--amber), var(--amber)) center / 2px 100% no-repeat;
  }
  .footer-disclosure[open]:not(.is-collapsing) > summary::after { background-size: 100% 2px, 0 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 0 .65rem; }
  .footer-company { padding-block: .62rem .8rem; }
}
@media (max-width: 500px) {
  .software-grid { grid-template-columns: minmax(0, 1fr); }
  .software-item:nth-child(even) { border-inline-start: 0; }
  .software-item + .software-item { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .brand { font-size: 1.23rem; gap: .42rem; }
  .brand-mark { width: 1.85rem; height: 1.85rem; }
  .header-actions .button-small { padding-inline: .65rem; }
  html[lang="en"] .hero h1 { font-size: clamp(2rem, 9.2vw, 2.42rem); }
  .profile { padding-inline: .85rem; }
  .cookie-actions .button { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (prefers-reduced-motion: no-preference) {
  .hero { overflow: clip; }
  .hero-image { animation: hero-settle 1.05s cubic-bezier(.18, .7, .25, 1) both; }
  .hero-copy > * { animation: hero-arrive .62s cubic-bezier(.19, .72, .24, 1) both; }
  .hero-copy > p { animation-delay: .09s; }
  .hero-copy > .hero-actions { animation-delay: .16s; }

  .button, .cookie-close {
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  }
  @media (hover: hover) and (pointer: fine) {
    .button:hover { transform: translateY(-2px); }
    .button:active { transform: none; }
  }

  .steps-animate li { position: relative; }
  .steps-animate li::before { position: relative; z-index: 1; }
  .steps-animate li:not(:last-child)::after {
    content: "";
    position: absolute;
    inset-block-start: 1.85rem;
    inset-inline-start: calc(1rem - 1px);
    inline-size: 2px;
    block-size: 100%;
    background: var(--field);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .3s ease-out;
  }
  .steps-animate li:nth-child(2)::after { transition-delay: .17s; }
  .steps-animate li:nth-child(3)::after { transition-delay: .34s; }
  .steps-traced li:not(:last-child)::after { transform: scaleY(1); }

  .questions summary::after, .footer-disclosure > summary::after { transition: background-size .19s ease; }
  .cookie-dialog[open] {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity .23s ease, transform .23s cubic-bezier(.22, .65, .35, 1);
  }
  .cookie-dialog[open]::backdrop { opacity: 1; transition: opacity .23s ease; }
  .cookie-dialog[open]:is(.is-entering, .is-closing) { opacity: 0; transform: translateY(9px) scale(.985); }
  .cookie-dialog[open]:is(.is-entering, .is-closing)::backdrop { opacity: 0; }
}

@keyframes hero-settle {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}
@keyframes hero-arrive {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
