:root {
  color-scheme: light;
  --paper: #f3f1ec;
  --surface: #ffffff;
  --surface-soft: #f8f7f4;
  --ink: #17202a;
  --ink-soft: #53606d;
  --navy: #17324d;
  --navy-deep: #10263a;
  --blue: #2d607f;
  --blue-dark: #214b66;
  --line: #d8d4cc;
  --line-dark: #bdb8ae;
  --success: #236b4a;
  --danger: #9a3b35;
  --shadow: 0 18px 46px rgba(25, 39, 52, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 241, 236, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: .015em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #35414d;
  font-size: .9rem;
  font-weight: 650;
}

.primary-navigation a {
  position: relative;
  padding-block: 8px;
}

.primary-navigation a:not(.status-link)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after {
  transform: scaleX(1);
}

.status-link {
  padding: 8px 14px !important;
  border: 1px solid var(--line-dark);
  background: var(--surface);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line-dark);
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
}

.hero {
  padding: 88px 0 78px;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgba(23, 32, 42, .045) calc(50% - 1px), rgba(23, 32, 42, .045) 50%, transparent 50%),
    var(--paper);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(380px, .93fr);
  gap: 76px;
  align-items: center;
}

.section-label {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5.4vw, 4.65rem);
  font-weight: 760;
  line-height: 1.14;
  letter-spacing: -.045em;
}

.hero-description {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 760;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

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

.button-primary {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--navy-deep);
}

.button-primary:disabled {
  cursor: wait;
  opacity: .62;
  transform: none;
}

.button-quiet {
  color: var(--ink);
  border-color: var(--line-dark);
  background: transparent;
}

.button-quiet:hover,
.button-quiet:focus-visible {
  background: var(--surface);
}

.service-facts {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 25px;
  margin: 39px 0 0;
}

.service-facts div {
  padding-left: 13px;
  border-left: 2px solid var(--navy);
}

.service-facts dt {
  color: var(--ink-soft);
  font-size: .75rem;
}

.service-facts dd {
  margin: 0;
  font-weight: 800;
}

.demo-panel {
  padding: 30px;
  border: 1px solid var(--line-dark);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.demo-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.demo-kicker {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .16em;
}

.demo-heading h2 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -.025em;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-size: .78rem;
  font-weight: 760;
  white-space: nowrap;
}

.live-indicator span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.demo-type-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 20px;
  border: 1px solid var(--line-dark);
}

.demo-type-button {
  min-height: 64px;
  display: grid;
  align-content: center;
  gap: 1px;
  padding: 10px 15px;
  color: var(--ink-soft);
  border: 0;
  background: var(--surface-soft);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.demo-type-button + .demo-type-button {
  border-left: 1px solid var(--line-dark);
}

.demo-type-button small {
  color: #6c7781;
  font-size: .72rem;
  font-weight: 560;
}

.demo-type-button.is-active {
  color: #fff;
  background: var(--navy);
}

.demo-type-button.is-active small {
  color: #c8d5df;
}

.demo-type-button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.demo-type-button:disabled {
  cursor: wait;
  opacity: .72;
}

.demo-note {
  margin: 17px 0;
  color: var(--ink-soft);
  font-size: .91rem;
}

.captcha-frame {
  min-height: 116px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 19px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.captcha-frame img {
  width: 220px;
  height: 76px;
  object-fit: contain;
  border: 1px solid #d1d7dd;
  background: #fff;
}

.text-button {
  padding: 6px 0;
  color: var(--blue-dark);
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-size: .82rem;
  font-weight: 760;
  cursor: pointer;
}

.text-button:disabled {
  cursor: wait;
  opacity: .55;
}

.demo-form {
  margin-top: 20px;
}

.demo-form label {
  display: block;
  margin-bottom: 7px;
  font-size: .82rem;
  font-weight: 760;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
}

.input-row input {
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid var(--line-dark);
  border-right: 0;
  border-radius: 0;
  outline: none;
  background: #fff;
  text-transform: uppercase;
}

.input-row input:focus {
  border-color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
}

.input-row .button {
  min-width: 94px;
  border-radius: 0;
}

.demo-message {
  min-height: 28px;
  margin: 14px 0 0;
  font-size: .88rem;
  font-weight: 700;
}

.demo-message.is-success {
  color: var(--success);
}

.demo-message.is-error {
  color: var(--danger);
}

.demo-security-note {
  margin: 17px 0 0;
  padding-top: 16px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: .76rem;
}

.principle-strip {
  color: #eaf0f5;
  background: var(--navy);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principle-grid p {
  min-height: 105px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 30px;
  border-right: 1px solid rgba(255,255,255,.16);
}

.principle-grid p:first-child {
  border-left: 1px solid rgba(255,255,255,.16);
}

.principle-grid strong {
  font-size: .95rem;
}

.principle-grid span {
  margin-top: 2px;
  color: #b8c7d4;
  font-size: .79rem;
}

.content-section {
  padding: 92px 0;
  background: var(--surface);
}

.content-section + .content-section {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 690px;
  margin-bottom: 40px;
}

.section-heading h2 {
  margin-bottom: 13px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.22;
  letter-spacing: -.038em;
}

.section-heading > p:last-child {
  color: var(--ink-soft);
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.integration-step {
  padding: 34px 36px 38px 0;
}

.integration-step + .integration-step {
  padding-right: 0;
  padding-left: 36px;
  border-left: 1px solid var(--line-dark);
}

.step-meta {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 21px;
}

.step-meta span {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.step-meta p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .75rem;
  font-weight: 760;
}

.integration-step h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.integration-step > p {
  color: var(--ink-soft);
}

pre {
  overflow-x: auto;
  margin: 22px 0 0;
  white-space: pre;
}

code {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: .81rem;
}

.integration-step pre {
  padding: 18px 20px;
  color: #dce8f1;
  background: #152b3e;
  border-left: 3px solid #6e91aa;
}

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

.security-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 84px;
  align-items: start;
}

.security-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.security-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.security-list > li > span {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.security-list h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.security-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .89rem;
}

.site-footer {
  color: #dbe4eb;
  background: #11283c;
}

.footer-inner {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand strong {
  display: block;
}

.footer-brand p,
.footer-inner > p {
  margin: 1px 0 0;
  color: #9fb1c0;
  font-size: .78rem;
}

@media (max-width: 920px) {
  .service-facts {
    grid-template-columns: repeat(2, max-content);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .demo-panel {
    max-width: 650px;
  }

  .security-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 72px;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 66px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-navigation {
    position: fixed;
    inset: 66px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 9px 20px 22px;
    color: var(--ink);
    background: var(--paper);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 22px 42px rgba(19, 29, 39, .12);
  }

  .primary-navigation.is-open {
    display: flex;
  }

  .primary-navigation a {
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
  }

  .primary-navigation a::after {
    display: none;
  }

  .status-link {
    margin-top: 12px;
    padding: 11px 12px !important;
    text-align: center;
    border: 1px solid var(--line-dark) !important;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: 62px 0 55px;
    background: var(--paper);
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 3.55rem);
  }

  .hero-description {
    font-size: .98rem;
  }

  .service-facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-facts div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 8px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .demo-panel {
    padding: 22px;
  }

  .demo-heading {
    display: block;
  }

  .live-indicator {
    margin-top: 9px;
  }

  .demo-type-button {
    min-height: 61px;
    padding: 9px 11px;
  }

  .demo-type-button small {
    font-size: .68rem;
  }

  .captcha-frame {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .captcha-frame img {
    width: 100%;
    height: auto;
    min-height: 76px;
  }

  .input-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .input-row input {
    border-right: 1px solid var(--line-dark);
  }

  .input-row .button {
    width: 100%;
  }

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

  .principle-grid p,
  .principle-grid p:first-child {
    min-height: 0;
    padding: 20px 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  .content-section {
    padding: 70px 0;
  }

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

  .integration-step,
  .integration-step + .integration-step {
    padding: 28px 0;
    border-left: 0;
  }

  .integration-step + .integration-step {
    border-top: 1px solid var(--line-dark);
  }

  .footer-inner {
    min-height: 132px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
