:root {
  color-scheme: light;
  --bg: #f2f5f1;
  --bg-strong: #e7eee8;
  --surface: #ffffff;
  --surface-alt: #f7fbf8;
  --border: #d8e2da;
  --border-strong: #b8d4c4;
  --text: #16231d;
  --muted: #5d6b62;
  --muted-strong: #3f5146;
  --accent: #14746a;
  --accent-strong: #0f5c54;
  --accent-alt: #3b82f6;
  --accent-soft: #e7f5f2;
  --surface-soft: #eef7f3;
  --success-soft: #e9f8f4;
  --success-text: #0f766e;
  --shadow: 0 20px 44px rgba(22, 35, 29, 0.08);
  --radius: 8px;
  --shell: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(20, 116, 106, 0.12), transparent 24%),
    radial-gradient(circle at left 20%, rgba(59, 130, 246, 0.08), transparent 26%),
    linear-gradient(180deg, #f8fbf8 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
}

@keyframes fadeUp {
  from {
    opacity: 1;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 18px 40px rgba(22, 35, 29, 0.08);
  }
  50% {
    box-shadow: 0 24px 52px rgba(20, 116, 106, 0.18);
  }
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes scanDown {
  0% {
    transform: translateY(-8%);
    opacity: 0;
  }
  15%,
  85% {
    opacity: 1;
  }
  100% {
    transform: translateY(108%);
    opacity: 0;
  }
}

@keyframes scanAcross {
  0% {
    transform: translateX(-10%);
    opacity: 0;
  }
  20%,
  80% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(110%);
    opacity: 0;
  }
}

@keyframes gridDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, 24px, 0);
  }
}

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

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

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

.page-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.site-header {
  padding-bottom: 28px;
}

.site-bar,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-bar {
  padding: 18px 0 28px;
  border-bottom: 1px solid var(--border);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(20, 116, 106, 0.18);
}

.brand-meta p,
.atlas-head p,
.entry-head p,
.hero-panel p,
.page-head p,
.site-footer p {
  margin: 0;
}

.brand-kicker,
.eyebrow,
.entry-label,
.cluster-label,
.ops-label,
.label,
.atlas-kicker,
.process-step {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.brand-kicker {
  color: var(--accent-alt);
}

.site-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a,
.footer-nav a {
  color: var(--muted-strong);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  gap: 56px;
  align-items: center;
  padding: 52px 0 40px;
  animation: fadeUp 680ms ease both;
}

.hero h1,
.page-head h1 {
  margin: 10px 0 16px;
  color: var(--text);
  line-height: 1.06;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-weight: 780;
}

.hero-copy,
.section-intro,
.atlas-note,
.entry-summary,
.process-card p,
.cluster-card p,
.ops-card p,
.support-card p,
.legal-lead,
.card p,
.card li,
.toc li,
.compact-list li {
  color: var(--muted);
}

.hero-copy {
  max-width: 54ch;
  font-size: 1.06rem;
}

.hero-platforms {
  margin: 18px 0 0;
  color: var(--muted-strong);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-actions,
.section-nav,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  transition: 160ms ease;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-alt) 100%);
  box-shadow: 0 12px 26px rgba(20, 116, 106, 0.2);
}

.button-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(20, 116, 106, 0.24);
}

.button-secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-strong);
}

.button-secondary:hover {
  color: var(--accent-strong);
  border-color: var(--accent);
}

.section-nav {
  margin-top: 24px;
}

.section-nav a,
.chip,
.mode-line {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 600;
}

.chip-row {
  margin-top: 18px;
}

.hero-visual {
  min-width: 0;
}

.atlas-board {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(247, 251, 248, 0.98), rgba(255, 255, 255, 0.98)),
    var(--surface);
  box-shadow: var(--shadow);
  animation: pulseGlow 7s ease-in-out infinite;
}

.atlas-board::after {
  content: "";
  position: absolute;
  inset: -30% auto auto -20%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 116, 106, 0.12), transparent 68%);
  pointer-events: none;
}

.atlas-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.atlas-note {
  max-width: 32ch;
  font-size: 0.96rem;
}

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

.icon-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-alt) 0%, #ffffff 100%);
  animation: fadeUp 720ms ease both;
}

.icon-card figcaption {
  min-width: 0;
}

.icon-card img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  animation: floatSoft 4.6s ease-in-out infinite;
}

.icon-card strong,
.eyebrow-metric strong,
.doc-card strong,
.atlas-foot strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.98rem;
}

.icon-card span,
.eyebrow-metric span,
.doc-card span,
.atlas-foot span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.atlas-foot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.eyebrow-grid,
.entry-grid,
.process-grid,
.cluster-grid,
.ops-grid,
.grid-2,
.grid-3,
.support-stack {
  display: grid;
  gap: 18px;
}

.eyebrow-metric,
.entry-card,
.process-card,
.cluster-card,
.ops-card,
.doc-card,
.hero-panel,
.support-card,
.notice,
.toc,
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.section {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  column-gap: 40px;
  row-gap: 12px;
  align-items: start;
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.section h2,
.card h2,
.toc h2 {
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.15;
}

.section h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  max-width: 12ch;
  position: sticky;
  top: 20px;
}

.section-intro {
  max-width: 30ch;
  margin: 0;
  font-size: 1rem;
}

.section > .entry-grid,
.section > .process-grid,
.section > .cluster-grid,
.section > .ops-grid,
.section > .grid-2,
.section > .grid-3,
.section > .support-stack,
.section > .module-shell {
  grid-column: 2;
  grid-row: 1 / span 2;
}

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

.entry-card,
.process-card,
.cluster-card,
.ops-card,
.doc-card,
.support-card {
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 248, 0.92));
}

.entry-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.entry-card h3,
.process-card h3,
.cluster-card h3,
.ops-card h3,
.support-card h3,
.card h3 {
  margin: 4px 0 10px;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.2;
}

.entry-summary {
  margin: 0 0 14px;
}

.entry-meta {
  margin: 0 0 14px;
  color: var(--muted-strong);
  font-weight: 600;
}

.anchor-link {
  font-weight: 700;
}

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

.detail-list,
.cluster-card ul,
.compact-list,
.card ul,
.card ol,
.hero-panel ul,
.support-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.detail-list li,
.cluster-card li,
.support-card li,
.hero-panel li,
.card li,
.toc li {
  margin: 8px 0;
  color: var(--muted);
}

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

.module-shell input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.module-shell {
  display: grid;
  gap: 18px;
}

.module-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  width: fit-content;
}

.module-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 6px;
  color: var(--muted-strong);
  font-weight: 700;
  cursor: pointer;
  transition: 160ms ease;
}

.module-tab:hover {
  color: var(--accent-strong);
}

.module-panels {
  position: relative;
}

.module-panel {
  display: none;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(17, 32, 51, 0.05);
}

#tab-dictionary:checked ~ .module-tabs label[for="tab-dictionary"],
#tab-tools:checked ~ .module-tabs label[for="tab-tools"],
#tab-games:checked ~ .module-tabs label[for="tab-games"],
#tab-settings:checked ~ .module-tabs label[for="tab-settings"] {
  background: var(--accent);
  color: #fff;
}

#tab-dictionary:checked ~ .module-panels #panel-dictionary,
#tab-tools:checked ~ .module-panels #panel-tools,
#tab-games:checked ~ .module-panels #panel-games,
#tab-settings:checked ~ .module-panels #panel-settings {
  display: block;
}

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

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

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

.doc-card {
  display: block;
  min-height: 100%;
}

.doc-card:hover,
.entry-card:hover,
.process-card:hover,
.cluster-card:hover,
.ops-card:hover,
.support-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 14px 30px rgba(22, 35, 29, 0.07);
}

.animated-card {
  animation: fadeUp 760ms ease both;
}

.animated-card:nth-child(2) {
  animation-delay: 120ms;
}

.animated-card:nth-child(3) {
  animation-delay: 240ms;
}

.hero-panel {
  padding: 24px;
  background: linear-gradient(180deg, var(--surface-soft) 0%, #ffffff 100%);
}

.hero-panel .title {
  margin-top: 2px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.support-email {
  display: inline-block;
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 700;
}

.support-stack {
  grid-template-columns: 1fr;
}

.site-footer {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.site-footer p {
  color: var(--muted);
  font-size: 0.92rem;
}

.home-page {
  position: relative;
  background:
    linear-gradient(180deg, #06110f 0%, #081514 44%, #091917 100%);
  color: #eff9f3;
  overflow-x: hidden;
}

.home-page::before,
.home-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.home-page::before {
  background:
    linear-gradient(rgba(16, 35, 31, 0.78), rgba(16, 35, 31, 0.78)),
    repeating-linear-gradient(
      0deg,
      rgba(117, 255, 223, 0.06) 0,
      rgba(117, 255, 223, 0.06) 1px,
      transparent 1px,
      transparent 56px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(117, 255, 223, 0.05) 0,
      rgba(117, 255, 223, 0.05) 1px,
      transparent 1px,
      transparent 56px
    );
  opacity: 0.48;
  animation: gridDrift 14s linear infinite alternate;
}

.home-page::after {
  background:
    linear-gradient(120deg, transparent 35%, rgba(79, 167, 255, 0.08) 50%, transparent 65%);
  mix-blend-mode: screen;
}

.home-page .page-shell {
  position: relative;
  z-index: 1;
}

.home-page .site-bar,
.home-page .section,
.home-page .site-footer {
  border-color: rgba(108, 176, 161, 0.2);
}

.home-page .brand-name,
.home-page .hero h1,
.home-page .section h2,
.home-page .cluster-card h3,
.home-page .doc-card strong,
.home-page .atlas-foot strong,
.home-page .icon-card strong {
  color: #f2fff8;
}

.home-page .brand-kicker,
.home-page .eyebrow,
.home-page .cluster-label,
.home-page .atlas-kicker,
.home-page .flow-index {
  color: #7af1d6;
}

.home-page .site-nav a,
.home-page .footer-nav a,
.home-page .hero-platforms,
.home-page .brand-name,
.home-page .hero-copy,
.home-page .section-intro,
.home-page .atlas-note,
.home-page .icon-card span,
.home-page .doc-card span,
.home-page .atlas-foot span,
.home-page .cluster-card p,
.home-page .site-footer p {
  color: #9bb3a8;
}

.home-page .button-primary {
  background: linear-gradient(135deg, #11baa9 0%, #307dff 100%);
  box-shadow: 0 16px 34px rgba(17, 186, 169, 0.24);
}

.home-page .button-primary:hover {
  box-shadow: 0 20px 42px rgba(48, 125, 255, 0.24);
}

.home-page .section-nav a,
.home-page .chip {
  border-color: rgba(122, 241, 214, 0.24);
  background: rgba(7, 20, 18, 0.58);
  color: #d7fff2;
  backdrop-filter: blur(12px);
}

.home-page .hero {
  display: block;
  min-height: calc(100vh - 110px);
  padding: 46px 0 26px;
}

.home-page .hero-copyblock {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.home-page .hero h1 {
  max-width: none;
  font-size: clamp(4rem, 9vw, 7rem);
  letter-spacing: 0;
}

.home-page .hero-copy {
  max-width: 30ch;
  margin: 0 auto;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.home-page .hero-actions,
.home-page .hero-nav-row,
.home-page .section-nav,
.home-page .chip-row {
  justify-content: center;
}

.home-page .hero-platforms {
  text-align: center;
}

.home-page .future-arena {
  position: relative;
  min-height: 620px;
  margin: 44px auto 0;
  padding: 40px 40px 120px;
  border: 1px solid rgba(94, 159, 147, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(48, 125, 255, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(10, 26, 24, 0.92), rgba(8, 22, 20, 0.92));
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(122, 241, 214, 0.05);
  overflow: hidden;
}

.home-page .future-arena::before,
.home-page .future-arena::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.home-page .future-arena::before {
  inset: 14% 27%;
  border: 1px solid rgba(122, 241, 214, 0.14);
}

.home-page .future-arena::after {
  inset: 23% 34%;
  border: 1px solid rgba(48, 125, 255, 0.16);
}

.home-page .arena-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-page .ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(122, 241, 214, 0.12);
  transform: translate(-50%, -50%);
}

.home-page .ring-a {
  width: 620px;
  height: 620px;
}

.home-page .ring-b {
  width: 470px;
  height: 470px;
  border-color: rgba(48, 125, 255, 0.18);
}

.home-page .ring-c {
  width: 320px;
  height: 320px;
}

.home-page .scan-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.home-page .scan-line,
.home-page .scan-column {
  position: absolute;
  display: block;
}

.home-page .scan-line {
  left: 0;
  right: 0;
  height: 86px;
  background: linear-gradient(180deg, transparent, rgba(122, 241, 214, 0.12), transparent);
  animation: scanDown 7.5s linear infinite;
}

.home-page .scan-column {
  top: 0;
  bottom: 0;
  width: 120px;
  background: linear-gradient(90deg, transparent, rgba(48, 125, 255, 0.1), transparent);
  animation: scanAcross 9s ease-in-out infinite;
}

.home-page .query-core {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 280px;
  padding: 28px 26px;
  border: 1px solid rgba(122, 241, 214, 0.16);
  border-radius: 18px;
  background: rgba(7, 20, 18, 0.66);
  text-align: center;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.home-page .core-kicker {
  margin: 0 0 10px;
  color: #7af1d6;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-page .query-core h2 {
  margin: 0 0 8px;
  color: #f2fff8;
  font-size: 1.8rem;
}

.home-page .query-core p {
  margin: 0;
  color: #9bb3a8;
  font-size: 0.98rem;
}

.home-page .orbit-node {
  position: absolute;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  width: 230px;
  padding: 16px;
  border: 1px solid rgba(104, 163, 150, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(13, 34, 31, 0.82), rgba(8, 22, 20, 0.88));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.home-page .orbit-node img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  animation: floatSoft 4.6s ease-in-out infinite;
}

.home-page .orbit-node figcaption {
  color: #f2fff8;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.home-page .orbit-cj {
  left: 10%;
  top: 16%;
}

.home-page .orbit-ce {
  right: 9%;
  top: 18%;
}

.home-page .orbit-py {
  left: 16%;
  bottom: 24%;
}

.home-page .orbit-zy {
  right: 15%;
  bottom: 21%;
}

.home-page .orbit-cj,
.home-page .orbit-py {
  animation: fadeUp 720ms ease both, floatSoft 6s ease-in-out infinite;
}

.home-page .orbit-ce,
.home-page .orbit-zy {
  animation: fadeUp 820ms ease both, floatSoft 6.6s ease-in-out infinite;
}

.home-page .signal-marquee {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 88px;
  overflow: hidden;
  padding: 12px 0 2px;
  border-top: 1px solid rgba(122, 241, 214, 0.12);
  border-bottom: 1px solid rgba(122, 241, 214, 0.12);
}

.home-page .hero-dock {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-page .hero-dock span {
  display: block;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(108, 176, 161, 0.2);
  border-radius: 12px;
  background: rgba(8, 22, 20, 0.52);
  color: #d7fff2;
  font-size: 0.95rem;
  font-weight: 700;
}

.home-page .hero-nav-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.home-page .flow-band,
.home-page .docs-dock {
  width: 100%;
}

.home-page .section {
  display: block;
  padding: 72px 0 54px;
}

.home-page .flow-copy {
  max-width: 460px;
  margin-bottom: 26px;
}

.home-page .flow-copy .section-intro {
  max-width: 34ch;
}

.home-page .flow-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-top: 44px;
}

.home-page .flow-rail::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(122, 241, 214, 0.2), rgba(48, 125, 255, 0.26), rgba(122, 241, 214, 0.2));
}

.home-page .flow-node {
  position: relative;
  min-height: 260px;
  padding: 40px 22px 22px;
  border-top: 1px solid rgba(122, 241, 214, 0.18);
}

.home-page .flow-node::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7af1d6, #307dff);
  box-shadow: 0 0 18px rgba(122, 241, 214, 0.5);
}

.home-page .flow-index {
  display: inline-block;
  margin: 0 0 12px;
  color: #7af1d6;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.home-page .flow-node h3 {
  margin: 0 0 10px;
  color: #f2fff8;
  font-size: 1.5rem;
}

.home-page .flow-node p {
  margin: 0 0 12px;
  color: #f2fff8;
  font-size: 1.08rem;
  font-weight: 700;
}

.home-page .flow-node small {
  color: #9bb3a8;
  font-size: 0.98rem;
  line-height: 1.6;
}

.home-page .docs-dock .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.home-page .icon-card {
  position: relative;
  border-color: rgba(104, 163, 150, 0.24);
  background:
    linear-gradient(180deg, rgba(13, 34, 31, 0.82), rgba(8, 22, 20, 0.88));
}

.home-page .icon-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, #7af1d6, transparent);
  opacity: 0.7;
}

.home-page .signal-track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding-right: 14px;
  animation: marqueeMove 16s linear infinite;
}

.home-page .signal-track::after {
  content: "倉頡  拼音  注音  粵拼  語音查詢  本機收藏  Deep Link  Android  iPad  iPhone";
  white-space: pre;
  color: #7af1d6;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-page .signal-track span {
  color: #7af1d6;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-page .cluster-card,
.home-page .doc-card {
  border-color: rgba(108, 176, 161, 0.22);
  background:
    linear-gradient(180deg, rgba(11, 29, 26, 0.92), rgba(8, 21, 19, 0.9));
  box-shadow: inset 0 0 0 1px rgba(122, 241, 214, 0.03);
}

.home-page .cluster-card:hover,
.home-page .doc-card:hover {
  border-color: rgba(122, 241, 214, 0.34);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(122, 241, 214, 0.05);
}

.legal-page {
  background:
    radial-gradient(circle at top right, rgba(20, 116, 106, 0.08), transparent 26%),
    linear-gradient(180deg, #f8fbf8 0%, #f1f5f1 100%);
}

.legal-shell {
  max-width: 980px;
}

.page-head {
  padding: 40px 0 20px;
}

.page-head h1 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  max-width: none;
}

.legal-lead {
  max-width: 68ch;
  margin-bottom: 12px;
  font-size: 1.04rem;
}

.notice,
.toc,
.card {
  padding: 24px;
}

.notice {
  margin: 12px 0 20px;
  background: var(--accent-soft);
  border-color: #c5e4dc;
  color: var(--muted-strong);
}

.toc {
  margin-bottom: 20px;
}

.toc ol {
  margin: 16px 0 0;
  padding-left: 18px;
}

.card + .card {
  margin-top: 18px;
}

.page-foot {
  margin-top: 36px;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1120px) {
  .hero,
  .entry-grid,
  .process-grid,
  .ops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .section {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .section h2 {
    position: static;
    max-width: none;
  }

  .section-intro,
  .section > .entry-grid,
  .section > .process-grid,
  .section > .cluster-grid,
  .section > .ops-grid,
  .section > .grid-2,
  .section > .grid-3,
  .section > .support-stack,
  .section > .module-shell {
    grid-column: auto;
    grid-row: auto;
    max-width: none;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(calc(100% - 28px), var(--shell));
    padding-top: 16px;
  }

  .site-bar,
  .site-footer,
  .hero,
  .atlas-head,
  .atlas-foot {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    gap: 28px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.35rem, 10vw, 3.2rem);
  }

  .entry-grid,
  .process-grid,
  .cluster-grid,
  .ops-grid,
  .grid-2,
  .grid-3,
  .icon-cluster {
    grid-template-columns: 1fr;
  }

  .site-nav,
  .footer-nav {
    gap: 14px;
  }

  .module-tabs {
    width: 100%;
  }

  .module-tab {
    flex: 1 1 calc(50% - 5px);
  }
}

@media (max-width: 560px) {
  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .atlas-board,
  .entry-card,
  .process-card,
  .cluster-card,
  .ops-card,
  .doc-card,
  .support-card,
  .notice,
  .toc,
  .card,
  .hero-panel,
  .eyebrow-metric {
    padding: 18px;
  }
}

body.home-page {
  color-scheme: light;
  background:
    radial-gradient(circle at top center, rgba(111, 148, 255, 0.14), transparent 28%),
    radial-gradient(circle at right 18%, rgba(111, 215, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #fbfdff 0%, #eef4ff 54%, #f8fbff 100%);
  color: #10213b;
  overflow-x: hidden;
}

body.home-page::before,
body.home-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body.home-page::before {
  background:
    linear-gradient(rgba(119, 145, 221, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 145, 221, 0.1) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 92%);
  opacity: 0.42;
  animation: gridDrift 18s linear infinite;
}

body.home-page::after {
  background:
    linear-gradient(120deg, transparent 0%, rgba(151, 199, 255, 0.24) 42%, transparent 58%),
    linear-gradient(180deg, rgba(231, 239, 255, 0.72) 0%, transparent 40%, rgba(239, 245, 255, 0.74) 100%);
}

.home-page .page-shell {
  width: min(calc(100% - 40px), 1320px);
  padding: 22px 0 56px;
}

.home-page .site-header {
  padding-bottom: 44px;
}

.home-page .site-bar {
  padding: 18px 0 32px;
  border-bottom: 1px solid rgba(144, 162, 208, 0.26);
}

.home-page .brand-name,
.home-page .brand-meta p,
.home-page .site-footer p,
.home-page .journey-step p,
.home-page .journey-step h3,
.home-page .journey-step small {
  color: #10213b;
}

.home-page .brand-kicker,
.home-page .eyebrow,
.home-page .journey-index {
  color: #4d73d6;
}

.home-page .site-nav a,
.home-page .footer-nav a {
  color: #556987;
}

.home-page .site-nav a:hover,
.home-page .footer-nav a:hover {
  color: #10213b;
}

.home-page .hero-stage {
  padding: 52px 0 0;
}

.home-page .hero-intro {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.home-page .hero-intro h1 {
  max-width: 10ch;
  margin: 12px auto 18px;
  color: #10213b;
  font-size: clamp(3.5rem, 10vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.home-page .hero-copy {
  max-width: 44ch;
  margin: 0 auto;
  color: #61738f;
  font-size: 1.08rem;
}

.home-page .hero-actions {
  justify-content: center;
  margin-top: 30px;
}

.home-page .button-primary {
  min-width: 220px;
  color: #ffffff;
  background: linear-gradient(135deg, #7697ff 0%, #66d9ff 100%);
  box-shadow:
    0 18px 34px rgba(104, 132, 196, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.4);
}

.home-page .button-primary:hover {
  color: #ffffff;
  box-shadow:
    0 24px 42px rgba(104, 132, 196, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.46);
}

.home-page .signal-stage {
  position: relative;
  min-height: 640px;
  margin-top: 26px;
}

.home-page .signal-stage::before,
.home-page .signal-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-page .signal-stage::before {
  background:
    radial-gradient(circle at center, rgba(125, 168, 255, 0.14), transparent 42%),
    linear-gradient(180deg, transparent 0%, rgba(139, 188, 255, 0.12) 46%, transparent 100%);
  opacity: 0.9;
}

.home-page .signal-stage::after {
  inset: 6% 8%;
  border: 1px solid rgba(150, 170, 222, 0.26);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 100%);
}

.home-page .signal-path {
  position: absolute;
  inset: 6% 4% 12%;
}

.home-page .path-line {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 52%;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(118, 151, 255, 0) 0%, rgba(118, 151, 255, 0.82) 16%, rgba(102, 217, 255, 0.84) 48%, rgba(118, 151, 255, 0.82) 82%, rgba(118, 151, 255, 0) 100%);
  box-shadow:
    0 0 22px rgba(102, 217, 255, 0.22),
    0 0 54px rgba(118, 151, 255, 0.14);
}

.home-page .path-line::before,
.home-page .path-line::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.home-page .path-line::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  animation: scanAcross 4.6s ease-in-out infinite;
}

.home-page .path-line::after {
  inset: -92px auto -92px 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(118, 151, 255, 0.3), transparent);
  transform: translateX(-50%);
}

.home-page .path-node {
  position: absolute;
  top: calc(52% - 22px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(149, 171, 224, 0.34);
  background: rgba(255, 255, 255, 0.72);
  color: #203557;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow:
    0 14px 34px rgba(104, 132, 196, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  animation: floatSoft 6s ease-in-out infinite;
}

.home-page .path-node::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 110px;
  background: linear-gradient(180deg, rgba(118, 151, 255, 0.38), transparent);
  transform: translateX(-50%);
}

.home-page .path-search {
  left: 14%;
  animation-delay: 0s;
}

.home-page .path-detail {
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.8s;
}

.home-page .path-save {
  right: 14%;
  animation-delay: 1.4s;
}

.home-page .family-mark {
  position: absolute;
  margin: 0;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  width: 166px;
  padding: 22px 18px;
  border: 1px solid rgba(149, 171, 224, 0.28);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow:
    0 18px 36px rgba(104, 132, 196, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(14px);
  animation: floatSoft 5.8s ease-in-out infinite;
}

.home-page .family-mark strong {
  color: #3153a8;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0.04em;
}

.home-page .family-mark span {
  color: #4f6282;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.home-page .mark-cj {
  left: 8%;
  top: 10%;
  animation-delay: 0.2s;
}

.home-page .mark-ce {
  right: 10%;
  top: 10%;
  animation-delay: 0.9s;
}

.home-page .mark-py {
  left: 18%;
  bottom: 8%;
  animation-delay: 1.6s;
}

.home-page .mark-zy {
  right: 18%;
  bottom: 8%;
  animation-delay: 2.2s;
}

.home-page .stage-caption {
  position: absolute;
  left: 50%;
  bottom: 8%;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  width: min(92%, 720px);
  transform: translateX(-50%);
}

.home-page .stage-caption span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(149, 171, 224, 0.22);
  background: rgba(255, 255, 255, 0.66);
  color: #5d7396;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.home-page .journey {
  display: grid;
  gap: 28px;
  padding: 16px 0 32px;
}

.home-page .journey-head {
  max-width: 620px;
}

.home-page .journey-head h2 {
  margin: 10px 0 14px;
  color: #10213b;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
}

.home-page .journey-head .section-intro {
  color: #61738f;
}

.home-page .journey-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  padding-top: 28px;
}

.home-page .journey-strip::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(118, 151, 255, 0), rgba(118, 151, 255, 0.42), rgba(102, 217, 255, 0.46), rgba(118, 151, 255, 0.42), rgba(118, 151, 255, 0));
}

.home-page .journey-step {
  position: relative;
  padding: 18px 18px 0 0;
}

.home-page .journey-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: -28px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(118, 151, 255, 0.4);
  background: #f7fbff;
  box-shadow: 0 0 0 6px rgba(118, 151, 255, 0.08);
}

.home-page .journey-index {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-page .journey-step h3 {
  margin: 0 0 10px;
  font-size: 1.62rem;
}

.home-page .journey-step p {
  margin: 0 0 10px;
  font-size: 1.04rem;
  font-weight: 700;
}

.home-page .journey-step small {
  display: block;
  color: #61738f;
  font-size: 0.98rem;
  line-height: 1.7;
}

.home-page .site-footer-minimal {
  padding-top: 30px;
  border-top: 1px solid rgba(144, 162, 208, 0.22);
}

.home-page .site-footer-minimal p {
  color: #6a7e99;
}

@media (max-width: 980px) {
  .home-page .signal-stage {
    min-height: 720px;
  }

  .home-page .path-line {
    left: 8%;
    right: 8%;
  }

  .home-page .path-search {
    left: 8%;
  }

  .home-page .path-save {
    right: 8%;
  }

  .home-page .journey-strip {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .home-page .journey-strip::before {
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    right: auto;
    background: linear-gradient(180deg, rgba(118, 151, 255, 0), rgba(118, 151, 255, 0.46), rgba(102, 217, 255, 0.5), rgba(118, 151, 255, 0));
  }

  .home-page .journey-step {
    padding: 0 0 0 28px;
  }

  .home-page .journey-step::before {
    left: -8px;
    top: 0.2em;
  }
}

@media (max-width: 860px) {
  .home-page .page-shell {
    width: min(calc(100% - 28px), 1320px);
  }

  .home-page .hero-stage {
    padding-top: 34px;
  }

  .home-page .signal-stage {
    min-height: 860px;
  }

  .home-page .path-line {
    left: 50%;
    right: auto;
    top: 17%;
    bottom: 18%;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(118, 151, 255, 0) 0%, rgba(118, 151, 255, 0.82) 18%, rgba(102, 217, 255, 0.84) 50%, rgba(118, 151, 255, 0.82) 82%, rgba(118, 151, 255, 0) 100%);
  }

  .home-page .path-line::before {
    inset: auto -90px 50% -90px;
    height: 1px;
    transform: translateY(0);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.76), transparent);
    animation: scanAcross 4.6s ease-in-out infinite;
  }

  .home-page .path-line::after {
    inset: 50% -80px auto -80px;
    width: auto;
    height: 1px;
    transform: none;
    background: linear-gradient(90deg, transparent, rgba(118, 151, 255, 0.3), transparent);
  }

  .home-page .path-node {
    left: 50%;
    right: auto;
    width: auto;
    min-width: 142px;
    transform: translateX(-50%);
  }

  .home-page .path-node::before {
    left: auto;
    top: 50%;
    width: 86px;
    height: 1px;
    transform: none;
    background: linear-gradient(90deg, rgba(118, 151, 255, 0.34), transparent);
  }

  .home-page .path-search {
    top: 18%;
  }

  .home-page .path-search::before,
  .home-page .path-save::before {
    left: 100%;
  }

  .home-page .path-detail {
    top: 46%;
  }

  .home-page .path-detail::before {
    right: 100%;
    left: auto;
    background: linear-gradient(90deg, transparent, rgba(118, 151, 255, 0.34));
  }

  .home-page .path-save {
    top: 74%;
  }

  .home-page .mark-cj {
    left: 6%;
    top: 8%;
  }

  .home-page .mark-ce {
    right: 6%;
    top: 26%;
  }

  .home-page .mark-py {
    left: 6%;
    bottom: 20%;
  }

  .home-page .mark-zy {
    right: 6%;
    bottom: 4%;
  }

  .home-page .stage-caption {
    bottom: 2%;
  }
}

@media (max-width: 560px) {
  .home-page .hero-intro h1 {
    font-size: clamp(2.9rem, 16vw, 4.4rem);
  }

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

  .home-page .signal-stage {
    min-height: 980px;
    margin-top: 18px;
  }

  .home-page .path-node {
    min-width: 124px;
    height: 40px;
    padding: 0 14px;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
  }

  .home-page .family-mark {
    width: 138px;
    padding: 18px 14px;
  }

  .home-page .family-mark strong {
    font-size: 1.7rem;
  }

  .home-page .family-mark span {
    font-size: 0.76rem;
  }

  .home-page .stage-caption {
    width: 100%;
    gap: 10px;
    bottom: 1%;
    padding-inline: 12px;
  }

  .home-page .stage-caption span {
    min-height: 34px;
    font-size: 0.8rem;
  }

  .home-page .mark-py {
    left: 5%;
    bottom: 24%;
  }

  .home-page .mark-zy {
    right: 5%;
    bottom: 12%;
  }
}
