@font-face {
  font-family: "TASA Orbiter Display";
  src: url("assets/fonts/tasa-orbiter-v1.001.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url("assets/fonts/noto-sans-tc-site.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --color-brand-primary: #2c2a92;
  --color-brand-accent: #f27204;
  --color-surface-muted: #eeeeee;
  --color-text-primary: #2f353c;
  --color-brand-primary-90: #41409d;
  --color-brand-primary-75: #615faf;
  --color-brand-primary-50: #9695c9;
  --color-brand-primary-25: #cac9e4;
  --color-white: #ffffff;
  --color-border: #d8d9e3;
  --color-error: #a52828;
  --container: 1200px;
  --header-height: 76px;
  --radius-small: 8px;
  --radius-large: 20px;
  --shadow-card: 0 18px 48px rgba(44, 42, 146, 0.1);
}

.news-reading-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text-primary);
  background: var(--color-white);
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

:lang(zh-Hant) body {
  font-family: "Noto Sans TC", "Source Han Sans TC", sans-serif;
  font-weight: 500;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--color-brand-primary);
  font-family: "TASA Orbiter Display", "Helvetica Neue", Arial, sans-serif;
  font-variation-settings: "opsz" 60;
  line-height: 1.08;
}

:lang(zh-Hant) h1,
:lang(zh-Hant) h2,
:lang(zh-Hant) h3 {
  font-family: "Noto Sans TC", "Source Han Sans TC", sans-serif;
  font-variation-settings: normal;
  font-weight: 700;
}

p {
  margin-top: 0;
}

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

:focus-visible {
  outline: 3px solid var(--color-brand-primary);
  outline-offset: 3px;
}

.skip-link:focus-visible,
.site-header :focus-visible,
.hero :focus-visible,
.product-section-dark :focus-visible,
.technology-section :focus-visible,
.closing-cta :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--color-white);
  box-shadow: 0 0 0 5px var(--color-brand-primary);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--color-white);
  background: var(--color-brand-primary);
  border-radius: var(--radius-small);
  transform: translateY(-160%);
}

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

/* Skip-link targets take programmatic focus but are regions, not controls. */
main[tabindex="-1"]:focus {
  outline: none;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(170px, auto) 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: var(--header-height);
  padding: 10px max(24px, calc((100vw - var(--container)) / 2));
  color: var(--color-white);
  background: rgba(47, 53, 60, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-header.is-scrolled {
  background: rgba(44, 42, 146, 0.98);
}

.privacy-header {
  grid-template-columns: minmax(170px, auto) auto;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  width: fit-content;
}

.brand-lockup {
  display: block;
  width: clamp(165px, 15vw, 220px);
}

.brand-logo {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 2px solid transparent;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.main-nav a.is-active {
  color: var(--color-white);
  border-bottom-color: var(--color-brand-accent);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.lang-toggle,
.nav-toggle,
.product-login,
.header-cta {
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-small);
}

.lang-toggle,
.nav-toggle {
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  color: var(--color-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  padding: 10px;
}

.nav-toggle svg,
.product-login-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  color: var(--color-brand-primary);
  background: var(--color-white);
  border: 1px solid var(--color-white);
  font-size: 0.86rem;
  font-weight: 700;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 760px;
  padding: calc(var(--header-height) + 92px) 0 96px;
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-text-primary);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(47, 53, 60, 0.96) 0%, rgba(44, 42, 146, 0.8) 52%, rgba(44, 42, 146, 0.26) 100%),
    linear-gradient(0deg, rgba(47, 53, 60, 0.72), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--color-brand-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--color-white);
}

.hero h1 {
  max-width: 980px;
  margin-bottom: 24px;
  color: var(--color-white);
  font-size: clamp(3.7rem, 6.4vw, 5.75rem);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.hero-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: var(--radius-small);
  font-weight: 700;
  line-height: 1.2;
}

.button-primary {
  color: var(--color-white);
  background: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
}

.hero .button-primary {
  color: var(--color-brand-primary);
  background: var(--color-white);
  border-color: var(--color-white);
}

.button-secondary,
.button-outline {
  color: var(--color-white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
}

.button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 44px 0 0;
  list-style: none;
}

.trust-list li {
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.84rem;
}

.section {
  padding: 112px 0;
  scroll-margin-top: calc(var(--header-height) + 18px);
}

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

.legacy-anchor {
  display: block;
  height: 0;
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 52px;
}

.section-heading h2,
.product-copy h2,
.product-intro h2,
.contact-layout h2 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  letter-spacing: -0.035em;
}

.section-heading > p:not(.eyebrow),
.product-copy > p:not(.eyebrow, .trust-note),
.product-intro > p {
  max-width: 800px;
  color: #5b6068;
  font-size: 1.05rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.value-card,
.product-card,
.feature-grid article,
.feature-list article,
.technology-grid article {
  padding: 26px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
}

.value-card > span,
.product-number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--color-brand-primary);
  font-size: 0.84rem;
  font-weight: 700;
}

.value-card h3,
.product-card h3,
.feature-grid h3,
.feature-list h3,
.technology-grid h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
}

.value-card p,
.product-card p:not(.product-number):not(.product-status),
.feature-grid p,
.feature-list p,
.technology-grid p {
  margin-bottom: 0;
  color: #666b72;
  font-size: 0.92rem;
}

.consulting-section h2 {
  text-wrap: balance;
}

/* Only the stored U+200B between the two phrases may wrap the Chinese title. */
:lang(zh-Hant) .consulting-section h2 {
  word-break: keep-all;
}

.consulting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.consulting-card,
.consulting-approach {
  padding: 26px;
  border-radius: var(--radius-large);
}

.consulting-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.consulting-card-marker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  color: var(--color-brand-primary);
}

.consulting-number {
  font-size: 0.84rem;
  font-weight: 700;
}

.consulting-icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.consulting-card h3,
.consulting-approach h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
}

.consulting-card p {
  margin-bottom: 0;
  color: #666b72;
  font-size: 0.92rem;
}

.consulting-approach {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--color-brand-primary);
  color: var(--color-white);
}

.consulting-approach h3 {
  color: var(--color-white);
}

.consulting-approach p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.consulting-actions {
  display: flex;
  margin-top: 32px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  border-top: 6px solid var(--color-brand-primary);
  box-shadow: var(--shadow-card);
}

.product-card h3 {
  font-size: 2rem;
}

.product-card small {
  display: block;
  margin-top: 18px;
  color: #72767d;
}

.product-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.product-status-available,
.product-card .product-status-available {
  color: var(--color-white);
  background: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
}

.product-status-development,
.product-card .product-status-development {
  color: var(--color-text-primary);
  background: var(--color-surface-muted);
}

.product-card .product-status {
  align-self: flex-start;
  margin: -12px 0 16px;
}

.product-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  margin-top: auto;
  padding-top: 18px;
  color: var(--color-brand-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-section-dark {
  color: var(--color-white);
  background: var(--color-brand-primary);
}

.product-section-dark h2,
.product-section-dark h3 {
  color: var(--color-white);
}

.product-section-dark .product-intro .eyebrow {
  color: var(--color-white);
}

.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.product-detail-meta .eyebrow,
.product-detail-status {
  margin: 0;
}

.product-section-dark .product-detail-status.product-status-available {
  color: var(--color-brand-primary);
  background: var(--color-white);
  border-color: var(--color-white);
}

.section-muted .product-detail-status.product-status-development {
  background: var(--color-white);
}

.product-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}

.product-intro > p {
  color: rgba(255, 255, 255, 0.8);
}

.feature-grid {
  display: grid;
  gap: 14px;
}

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

.product-section-dark .feature-grid article {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.product-section-dark .feature-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.bridge-card {
  max-width: 900px;
  padding: 36px;
  margin: 24px 0 56px;
  background: var(--color-white);
  border-left: 7px solid var(--color-brand-accent);
  border-radius: var(--radius-large);
}

.bridge-card h3 {
  color: var(--color-brand-primary);
  font-size: 2rem;
}

.bridge-card p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--color-text-primary);
}

.product-tour {
  padding-top: 16px;
}

.tour-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.tour-tab {
  min-height: 66px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-small);
  font-weight: 700;
  scroll-snap-align: start;
}

.tour-tab:hover,
.tour-tab.active,
.tour-tab[aria-selected="true"] {
  color: var(--color-brand-primary);
  background: var(--color-white);
  box-shadow: inset 0 -4px 0 var(--color-brand-accent);
}

.tour-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1.4fr);
  gap: 34px;
  align-items: center;
  min-height: 480px;
  padding: 28px;
  background: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-large);
}

.tour-copy h3 {
  font-size: 2rem;
}

.tour-copy > p {
  color: rgba(255, 255, 255, 0.78);
}

.tour-media {
  margin: 0;
}

.product-concept {
  margin: 28px 0 0;
}

.product-concept img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-large);
}

.product-concept figcaption {
  margin-top: 10px;
  color: var(--color-text-primary);
  font-size: 0.85rem;
}

.tour-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--color-surface-muted);
  border-radius: var(--radius-small);
}

.tour-media figcaption {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.product-layout-reverse .product-copy {
  order: 2;
}

.product-layout-reverse .feature-list {
  order: 1;
}

.product-copy {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  border-left: 5px solid var(--color-brand-primary);
}

.trust-note {
  padding: 18px;
  margin-top: 28px;
  color: var(--color-text-primary);
  background: var(--color-surface-muted);
  border-left: 5px solid var(--color-brand-accent);
}

.section-muted .trust-note {
  background: var(--color-white);
}

.technology-section {
  color: var(--color-white);
  background: var(--color-text-primary);
}

.technology-section h2,
.technology-section h3 {
  color: var(--color-white);
}

.technology-section .eyebrow {
  color: var(--color-white);
}

.technology-section .section-heading > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.technology-section .section-heading h2 {
  text-wrap: balance;
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.technology-grid article {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.technology-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.news-panel {
  padding: 32px;
  margin-top: 24px;
  color: var(--color-text-primary);
  background: var(--color-surface-muted);
  border-radius: var(--radius-large);
}

.news-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.news-heading .eyebrow {
  margin-bottom: 8px;
  color: var(--color-brand-primary);
}

.news-heading h2 {
  margin-bottom: 10px;
  color: var(--color-brand-primary);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.news-heading > p:last-child {
  margin-bottom: 0;
  color: var(--color-text-primary);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.news-card {
  min-width: 0;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-brand-accent);
  border-radius: var(--radius-small);
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 16px;
  color: var(--color-brand-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-meta span {
  padding-left: 14px;
  border-left: 1px solid var(--color-brand-primary-25);
}

.news-card h3 {
  margin: 0 0 12px;
  color: var(--color-brand-primary);
  font-family: "TASA Orbiter Display", "Helvetica Neue", Arial, sans-serif;
  font-variation-settings: "opsz" 60;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
}

:lang(zh-Hant) .news-card h3 {
  font-family: "Noto Sans TC", "Source Han Sans TC", sans-serif;
  font-variation-settings: normal;
  font-weight: 700;
}

.news-card p {
  margin-bottom: 0;
  color: var(--color-text-primary);
}

.closing-cta {
  padding: 72px 0;
  color: var(--color-white);
  background: var(--color-brand-primary);
}

.closing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.closing-cta h2 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--color-white);
  font-size: clamp(2rem, 3vw, 3.5rem);
}

.closing-cta p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.closing-cta .button-primary {
  color: var(--color-brand-primary);
  background: var(--color-white);
  border-color: var(--color-white);
}

.contact-section {
  background: var(--color-surface-muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.7fr);
  gap: 72px;
  align-items: start;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-brand-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 32px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.contact-form .form-field {
  display: grid;
  gap: 7px;
  color: var(--color-text-primary);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--color-text-primary);
  background: var(--color-white);
  border: 1px solid #8a8d93;
  border-radius: var(--radius-small);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input[aria-invalid="true"],
.contact-form select[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border: 2px solid var(--color-error);
  box-shadow: 0 0 0 1px var(--color-white);
}

.field-error {
  display: block;
  color: var(--color-error);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
}

.field-error[hidden] {
  display: none;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.checkbox-field input {
  width: 24px;
  min-height: 24px;
  margin: 10px 0 0;
}

.checkbox-field label {
  min-height: 44px;
  color: var(--color-text-primary);
  font-weight: 500;
}

.checkbox-field-copy {
  display: grid;
  gap: 2px;
}

.checkbox-field input[aria-invalid="true"] {
  outline: 2px solid var(--color-error);
  outline-offset: 2px;
}

.checkbox-field a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-brand-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-notice {
  margin-bottom: 0;
  color: #62666d;
  font-size: 0.86rem;
}

.form-status[data-state="error"] {
  padding: 12px;
  color: var(--color-error);
  background: #fff4f4;
  border: 1px solid var(--color-error);
  border-radius: var(--radius-small);
}

.form-status[data-state="mailto"] {
  padding: 12px;
  color: var(--color-text-primary);
  background: var(--color-surface-muted);
  border-left: 4px solid var(--color-brand-primary);
}

.site-footer {
  padding: 48px 0 24px;
  color: var(--color-white);
  background: var(--color-text-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}

.footer-message p {
  margin-bottom: 0;
  font-weight: 700;
}

.footer-message span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copyright {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.56);
  text-align: center;
  font-size: 0.82rem;
}

.legal-page {
  background: var(--color-surface-muted);
}

.legal-main {
  min-height: 100vh;
}

.legal-hero {
  padding: calc(var(--header-height) + 90px) 0 72px;
  color: var(--color-white);
  background: var(--color-brand-primary);
}

.legal-hero h1 {
  margin-bottom: 18px;
  color: var(--color-white);
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.legal-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.legal-page .privacy-header {
  grid-template-columns: auto auto;
}

.legal-section {
  padding: 80px 0 112px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 4px;
  padding: 18px;
  background: var(--color-white);
  border-radius: var(--radius-large);
}

.legal-toc a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 8px;
  color: var(--color-brand-primary);
  font-weight: 700;
}

.legal-content {
  display: grid;
  gap: 32px;
}

.legal-content article {
  padding: 28px;
  background: var(--color-white);
  border-radius: var(--radius-large);
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.legal-content h2 {
  margin-bottom: 12px;
  font-size: 1.8rem;
}

.legal-content a {
  color: var(--color-brand-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 1200px) {
  .contact-copy {
    position: sticky;
    top: calc(var(--header-height) + 32px);
  }
}

@media (max-width: 899px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    display: none;
    max-height: calc(100vh - var(--header-height) - 16px);
    max-height: calc(100dvh - var(--header-height) - 16px);
    padding: 16px;
    overflow-y: auto;
    background: var(--color-brand-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-large);
    overscroll-behavior: contain;
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 12px;
  }

}

@media (max-width: 1199px) {
  .consulting-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .feature-grid-five,
  .technology-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid-five > article:last-child {
    grid-column: 1 / -1;
  }

  .product-intro,
  .product-layout,
  .contact-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .product-copy,
  .legal-toc {
    position: static;
  }

  .product-layout-reverse .product-copy,
  .product-layout-reverse .feature-list {
    order: initial;
  }

  .tour-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 28px 12px 8px;
    background: linear-gradient(90deg, transparent 88%, rgba(255, 255, 255, 0.22));
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 8px;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--color-brand-accent) rgba(255, 255, 255, 0.18);
    -webkit-overflow-scrolling: touch;
  }

  .tour-tab {
    flex: 0 0 clamp(190px, 22vw, 240px);
  }

  .tour-panel {
    min-height: 0;
  }

  .closing-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 72px;
  }

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

  /* Keeps the ten-character second phrase on one line in the phone column. */
  :lang(zh-Hant) .consulting-section h2 {
    font-size: min(2.35rem, calc((100vw - 28px) / 10));
  }

  .consulting-actions .button {
    width: 100%;
  }

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

  .site-header {
    gap: 8px;
    padding: 8px 14px;
  }

  .brand-lockup {
    width: 54px;
  }

  .product-login {
    width: 44px;
    padding: 0;
  }

  .product-login-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .lang-toggle {
    padding: 0 9px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 700px;
    padding: calc(var(--header-height) + 64px) 0 64px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(47, 53, 60, 0.96), rgba(44, 42, 146, 0.7));
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 14vw, 4.25rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .closing-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading h2,
  .product-copy h2,
  .product-intro h2,
  .contact-layout h2 {
    font-size: 2.35rem;
  }

  .value-grid,
  .product-grid,
  .feature-grid-five,
  .technology-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 280px;
  }

  .product-intro {
    gap: 18px;
  }

  .tour-tabs {
    padding: 8px 28px 12px 8px;
  }

  .tour-tab {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
  }

  .tour-panel {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px;
  }

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

  .contact-form {
    padding: 20px;
  }

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

  .footer-links {
    display: grid;
    justify-content: 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;
  }
}

/* Illustrated public AI workflow; copy stays in localized HTML. */
.ai-workflow {
  margin: 36px 0;
  padding: clamp(20px, 4vw, 52px);
  overflow: hidden;
  border-radius: var(--radius-large);
  background: #ffffff;
  color: #24234f;
  border: 1px solid #dfdcf2;
}

.ai-workflow-heading {
  max-width: 820px;
}
.ai-workflow .eyebrow {
  color: var(--color-brand-primary);
}
.ai-workflow h3 {
  color: var(--color-brand-primary);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
}
.ai-workflow-heading > p:last-child {
  margin-top: 18px;
  color: #55566d;
  line-height: 1.85;
}
.ai-workflow-art {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
.ai-workflow-caption {
  margin: 0 0 24px;
  color: #435b69;
  font-size: 13px;
}
.ai-workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.ai-workflow-steps li {
  min-width: 0;
  border-top: 1px solid #dcd9ef;
  padding-top: 20px;
}
.ai-step-number {
  display: block;
  color: var(--color-brand-primary);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}
.ai-workflow h4 {
  font-size: 18px;
  line-height: 1.45;
  margin: 0 0 10px;
  color: #24234f;
}
.ai-workflow-steps p, .ai-roadmap p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #435b69;
}
.ai-roadmap {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 24px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px dashed #bcc9cd;
  border-radius: var(--radius-large);
  background: #f4f4ed;
  color: #17344b;
}
.ai-roadmap h3 {
  margin: 0 0 10px;
  color: #17344b;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
}
.ai-roadmap .ai-roadmap-label {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid #bcc9cd;
  border-radius: 6px;
  color: #17344b;
  font-size: 12px;
  font-weight: 700;
}
.technology-ecosystem {
  margin: 52px 0 36px;
}
.technology-ecosystem > h3 {
  font-size: 28px;
  margin-bottom: 10px;
}
.technology-ecosystem > p {
  color: #d0d5d8;
  margin-bottom: 24px;
}
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ecosystem-card {
  padding: 24px 20px;
  border-radius: 12px;
  background: #fff;
  color: #263d4c;
}
.ecosystem-logo {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.ecosystem-logo img {
  width: 170px;
  max-width: 100%;
  height: 88px;
  object-fit: contain;
}
.ecosystem-card:nth-child(2) img {
  width: 68px;
  height: 68px;
}
.ecosystem-card:nth-child(3) img {
  width: 154px;
}
.ecosystem-card h4 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.4;
}
.ecosystem-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 1023px) {
  .ai-workflow-steps, .ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .ai-workflow {
    padding: 24px 18px;
  }
  .ai-workflow-visual {
    width: calc(100% + 32px);
    margin-left: -16px;
  }
  .ai-workflow-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ai-workflow-steps li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 8px 12px;
  }
  .ai-step-number {
    grid-row: span 2;
    margin-top: 3px;
  }
  .ai-workflow-steps h4 {
    margin-bottom: 0;
  }
  .ai-roadmap {
    flex-direction: column;
    gap: 16px;
  }
  .ecosystem-grid {
    gap: 10px;
  }
  .ecosystem-card {
    padding: 16px 12px;
  }
  .ecosystem-logo {
    height: 62px;
    margin-bottom: 12px;
  }
  .ecosystem-logo img {
    height: 62px;
  }
  .ecosystem-card:nth-child(2) img {
    width: 52px;
    height: 52px;
  }
}

/* The static drawing remains complete; this overlay loops while the illustration is visible. */
.ai-workflow-visual {
  position: relative;
  margin-top: 28px;
  margin-bottom: 18px;
}

.ai-flow-overlay {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}

.ai-flow-overlay > * {
  fill: none;
  stroke: #3b8eab;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}

.ai-flow-overlay .ai-motion-review {
  stroke: var(--color-brand-accent);
  stroke-width: 3;
  stroke-dasharray: 100;
}

.ai-motion-transfer,
.ai-motion-knowledge {
  stroke-dasharray: 9 91;
}

@media (prefers-reduced-motion: no-preference) {
  [data-motion-state="playing"] .ai-flow-overlay {
    opacity: 1;
  }

  [data-motion-state="playing"] .ai-flow-overlay > * {
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
  }

  [data-motion-state="playing"] .ai-motion-capture {
    animation-name: ai-capture;
  }

  [data-motion-state="playing"] .ai-motion-transfer {
    animation-name: ai-transfer;
  }

  [data-motion-state="playing"] .ai-motion-review {
    animation-name: ai-review;
  }

  [data-motion-state="playing"] .ai-motion-knowledge {
    animation-name: ai-knowledge;
  }

  [data-motion-state="playing"] .ai-motion-record {
    animation-name: ai-record;
  }
}

@keyframes ai-capture {
  0%, 24%, 100% { opacity: 0; }
  5%, 18% { opacity: 1; }
}

@keyframes ai-transfer {
  0%, 18% { opacity: 0; stroke-dashoffset: 100; }
  20% { opacity: 1; stroke-dashoffset: 100; }
  54% { opacity: 1; stroke-dashoffset: 0; }
  57%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

@keyframes ai-review {
  0%, 55% { opacity: 0; stroke-dashoffset: 100; }
  57% { opacity: 1; stroke-dashoffset: 100; }
  68%, 72% { opacity: 1; stroke-dashoffset: 0; }
  79%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

@keyframes ai-knowledge {
  0%, 70% { opacity: 0; stroke-dashoffset: 100; }
  72% { opacity: 1; stroke-dashoffset: 100; }
  91% { opacity: 1; stroke-dashoffset: 0; }
  96%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

@keyframes ai-record {
  0%, 85%, 100% { opacity: 0; }
  90%, 96% { opacity: 1; }
}

.ai-flow-overlay .ai-motion-record {
  stroke: #d96709;
  stroke-width: 3;
}

/* Shared site navigation: reading pages and the homepage use the same header markup. */
.site-header:not(.privacy-header) { display: flex; justify-content: space-between; gap: 20px; }
.site-header:not(.privacy-header) .main-nav { flex: 1; }
.nav-utilities { display: contents; }
.mobile-news-link { display: none; }
.news-section { background: #f5f5fa; }
.news-card-image { display: block; margin: -24px -24px 24px; overflow: hidden; }
.news-card-image img { display: block; width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: contain; }
.news-card { overflow: hidden; }
.news-card h3 { line-height: 1.5; }
.news-card a:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.news-heading h2 { font-size: clamp(2rem, 4vw, 3rem); }
.news-section :focus-visible { outline-color: var(--color-brand-primary); }
@media (min-width: 900px) {
  .site-header:not(.privacy-header) .header-actions { display: none; }
  .site-header:not(.privacy-header) .main-nav { display: flex; justify-content: flex-end; gap: 4px; }
  .site-header .main-nav > a { white-space: nowrap; padding: 10px 9px; }
  .site-header .main-nav .lang-toggle { margin-left: 16px; }
  .site-header .nav-toggle { display: none; }
  .site-header .main-nav .product-login { color: var(--color-brand-primary); font-size: .88rem; }
  .site-header .main-nav .lang-toggle,
  .site-header .main-nav .product-login { white-space: nowrap; }
}
/* The fifth primary link (Consulting) needs tighter spacing until 1024px. */
@media (min-width: 900px) and (max-width: 1023px) {
  .site-header:not(.privacy-header) .main-nav { gap: 2px; }
  .site-header .main-nav > a { padding: 10px 6px; font-size: .82rem; }
  .site-header .main-nav .lang-toggle { margin-left: 8px; }
}
@media (max-width: 899px) {
  .site-header:not(.privacy-header) .header-actions { display: flex; }
  .mobile-news-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; color: white; font-size: .9rem; font-weight: 700; }
  .mobile-news-link:hover { text-decoration: underline; text-underline-offset: 5px; }
  .nav-utilities { display: flex; align-items: center; gap: 12px; border-top: 1px solid #ffffff40; margin-top: 8px; padding-top: 16px; }
  .nav-utilities .product-login { width: auto; padding: 10px 16px; color: var(--color-brand-primary); }
  .nav-utilities .product-login-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

.news-card .news-visual-caption { font-size: 12px; line-height: 1.6; color: var(--color-brand-primary); margin: -8px 0 18px; }
