:root {
  --navy: #071f27;
  --navy-soft: #0d3038;
  --ink: #10282d;
  --paper: #f6f1e5;
  --paper-deep: #ece5d5;
  --white: #fffdf7;
  --gold: #b08b35;
  --gold-light: #d5bb76;
  --jade: #31c9a7;
  --muted: #657073;
  --line: rgba(16, 40, 45, 0.14);
  --serif: "Noto Serif TC", "Source Han Serif TC", serif;
  --sans: "Noto Sans TC", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--jade);
  color: var(--navy);
  font-weight: 700;
  transition: transform 160ms var(--ease-out);
}
.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 241, 229, 0.92);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 76px;
  gap: 34px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}
.brand-mark {
  position: relative;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #e7f0f9;
  box-shadow: 0 4px 16px rgba(7, 31, 39, 0.12);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.03em;
}
.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
}
.main-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
}
.main-nav a {
  position: relative;
  padding-block: 27px;
}
.main-nav a::after {
  position: absolute;
  content: "";
  right: 0;
  bottom: 19px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease-out);
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.nav-toggle > span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: var(--ink);
  transition:
    transform 180ms var(--ease-out),
    opacity 180ms var(--ease-out);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  transition:
    color 180ms var(--ease-out),
    background 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    transform 140ms var(--ease-out);
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: scale(0.97);
}
.button-small {
  min-height: 40px;
  padding-inline: 16px;
  background: var(--navy);
  color: white;
}
.button-primary {
  background: var(--navy);
  color: white;
}
.button-primary:hover,
.button-small:hover {
  background: var(--navy-soft);
}
.button-ghost {
  background: rgba(255, 255, 255, 0.18);
}
.button-ghost:hover {
  background: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  opacity: 0.55;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(
    to bottom,
    black 0,
    rgba(0, 0, 0, 0.7) 70%,
    transparent 100%
  );
}
.hero-layout {
  position: relative;
  display: grid;
  min-height: 650px;
  grid-template-columns: 1.05fr 0.82fr;
  align-items: center;
  gap: 90px;
  padding-block: 90px 70px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #81651f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.eyebrow > span {
  width: 8px;
  height: 8px;
  background: var(--jade);
  box-shadow: 0 0 0 5px rgba(49, 201, 167, 0.12);
}
.hero h1 {
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: clamp(56px, 6.5vw, 92px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.hero h1 em {
  color: var(--gold);
  font-style: normal;
}
.hero-lead {
  max-width: 670px;
  margin: 34px 0 0;
  color: rgba(16, 40, 45, 0.68);
  font-size: 17px;
  line-height: 2;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-note {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.registry-card {
  position: relative;
  min-height: 490px;
  padding: 38px;
  color: white;
  background-color: var(--navy);
  background-image: radial-gradient(
    rgba(49, 201, 167, 0.16) 1px,
    transparent 1px
  );
  background-size: 15px 15px;
  box-shadow: 0 30px 60px rgba(7, 31, 39, 0.18);
  transform: rotate(-2deg);
}
.registry-card::after {
  position: absolute;
  content: "";
  inset: 12px;
  border: 1px solid rgba(213, 187, 118, 0.23);
  pointer-events: none;
}
.registry-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.registry-head p {
  margin: 0;
  color: var(--gold-light);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.registry-head h2 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}
.fingerprint {
  width: 48px;
  fill: none;
  stroke: var(--jade);
  stroke-width: 2;
  stroke-linecap: round;
}
.registry-focus {
  position: relative;
  display: grid;
  height: 205px;
  place-items: center;
  text-align: center;
}
.registry-focus strong {
  display: block;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
}
.registry-focus small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.orbit {
  position: absolute;
  width: 180px;
  height: 90px;
  border: 1px solid rgba(213, 187, 118, 0.28);
  border-radius: 50%;
}
.orbit-one {
  transform: rotate(27deg);
}
.orbit-two {
  transform: rotate(-27deg);
}
.registry-list {
  position: relative;
  z-index: 1;
}
.registry-list > div {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.registry-list span {
  color: var(--jade);
  font-family: monospace;
  font-size: 11px;
}
.registry-list strong {
  font-size: 12px;
}
.registry-list small {
  color: rgba(255, 255, 255, 0.4);
  font-family: monospace;
  font-size: 8px;
}
.registry-stamp {
  position: absolute;
  right: 24px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.18);
  font-family: monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
}
.metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.metrics > div {
  padding: 28px 24px 30px 0;
  border-right: 1px solid var(--line);
}
.metrics > div:not(:first-child) {
  padding-left: 28px;
}
.metrics > div:last-child {
  border-right: 0;
}
.metrics strong {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
}
.metrics span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.section {
  padding-block: 110px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: end;
}
.section-heading .eyebrow {
  grid-column: 1 / -1;
}
.section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.25;
}
.section-heading > p:last-child {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 65px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 34px;
  background: var(--white);
}
.feature-card-dark {
  color: white;
  background: var(--navy);
}
.feature-number {
  position: absolute;
  right: 28px;
  top: 26px;
  color: var(--gold);
  font-family: monospace;
  font-size: 11px;
}
.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 24px;
}
.feature-card-dark .feature-icon {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--jade);
}
.feature-card h3 {
  margin: 70px 0 0;
  font-family: var(--serif);
  font-size: 26px;
}
.feature-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.feature-card-dark p {
  color: rgba(255, 255, 255, 0.58);
}
.feature-card a {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}
.feature-card-dark a {
  border-color: rgba(255, 255, 255, 0.12);
}
.feature-card a span {
  color: var(--gold);
}

.architecture {
  color: white;
  background: var(--navy);
}
.architecture-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 95px;
  align-items: center;
}
.eyebrow-light {
  color: var(--gold-light);
}
.architecture h2 {
  margin-top: 24px;
}
.architecture-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 2;
}
.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.tech-list li {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.68);
  font-family: monospace;
  font-size: 10px;
}
.pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.025);
}
.pipeline-node {
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}
.pipeline-node small,
.pipeline-node span {
  display: block;
}
.pipeline-node small {
  color: var(--gold-light);
  font-family: monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
}
.pipeline-node strong {
  display: block;
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 17px;
}
.pipeline-node span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.4);
  font-family: monospace;
  font-size: 8px;
}
.source-node:first-child {
  grid-column: 1;
}
.source-node:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}
.process-node {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-color: rgba(49, 201, 167, 0.5);
}
.store-node {
  grid-column: 5;
  grid-row: 1 / span 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-color: rgba(213, 187, 118, 0.5);
}
.pipeline-arrow {
  color: var(--jade);
}
.pipeline-arrow.arrow-one {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.pipeline-arrow.arrow-two {
  grid-column: 4;
  grid-row: 1 / span 2;
}
.pipeline-down {
  grid-column: 5;
  color: var(--jade);
  text-align: center;
}
.review-node {
  grid-column: 5;
  grid-row: 4;
  border-color: rgba(213, 187, 118, 0.5);
}

.governance-heading {
  align-items: start;
}
.rights-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 65px;
  background: var(--line);
  border: 1px solid var(--line);
}
.rights-grid > div {
  min-height: 175px;
  padding: 24px;
  background: var(--white);
}
.rights-grid strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 38px;
}
.rights-grid span,
.rights-grid small {
  display: block;
}
.rights-grid span {
  margin-top: 25px;
  font-size: 13px;
  font-weight: 700;
}
.rights-grid small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
}
.right-mixed {
  box-shadow: inset 0 3px var(--jade);
}
.principle {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin: 60px 0 0;
  padding: 34px;
  border-left: 4px solid var(--gold);
  background: var(--paper-deep);
}
.principle p {
  max-width: 830px;
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.8;
}
.principle cite {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.12em;
}

.start {
  border-top: 1px solid var(--line);
  background: var(--white);
}
.start-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 90px;
  align-items: center;
}
.start-copy h2 {
  margin-top: 24px;
}
.start-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}
.command-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy);
  box-shadow: 18px 18px 0 var(--paper-deep);
}
.command-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.command-head span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.command-head span:first-child {
  background: var(--gold);
}
.command-head span:nth-child(2) {
  background: var(--jade);
}
.command-head small {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.3);
  font-family: monospace;
}
.command-card pre {
  margin: 0;
  padding: 28px;
  overflow-x: auto;
  color: #e9f5ef;
  font:
    12px/1.85 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.code-muted {
  color: rgba(255, 255, 255, 0.35);
}

.site-footer {
  color: white;
  background: var(--navy);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr;
  gap: 80px;
  padding-block: 65px;
}
.brand-light {
  color: white;
}
.brand-light small {
  color: rgba(255, 255, 255, 0.45);
}
.footer-brand p {
  max-width: 420px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.9;
}
.footer-grid h3 {
  margin: 0 0 20px;
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0.2em;
}
.footer-grid > div:not(.footer-brand) a {
  display: block;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}
.footer-grid a:hover {
  color: var(--jade);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms var(--ease-out),
    transform 600ms var(--ease-out);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }
  .main-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    padding: 22px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 20px 30px rgba(7, 31, 39, 0.08);
  }
  .main-nav.is-open {
    display: grid;
  }
  .main-nav a {
    padding: 8px 0;
  }
  .nav-toggle {
    display: block;
    justify-self: end;
  }
  .nav-toggle[aria-expanded="true"] > span:first-child {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .header-cta {
    display: none;
  }
  .hero-layout,
  .architecture-layout,
  .start-layout {
    grid-template-columns: 1fr;
  }
  .hero-layout {
    gap: 65px;
  }
  .registry-card {
    width: min(620px, 100%);
    justify-self: center;
    transform: none;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    min-height: 310px;
  }
  .pipeline {
    max-width: 760px;
  }
  .rights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 30px, 1180px);
  }
  .header-inner {
    min-height: 68px;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
  }
  .brand strong {
    font-size: 17px;
  }
  .main-nav {
    top: 68px;
  }
  .hero-layout {
    min-height: 0;
    padding-block: 70px 50px;
  }
  .hero h1 {
    font-size: clamp(44px, 12vw, 54px);
  }
  .hero-lead {
    font-size: 15px;
    line-height: 1.9;
  }
  .hero-actions .button {
    width: 100%;
  }
  .registry-card {
    min-height: 460px;
    padding: 28px 24px;
  }
  .registry-list > div {
    grid-template-columns: 26px 1fr;
  }
  .registry-list small {
    grid-column: 2;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics > div {
    padding: 22px 14px !important;
    border-bottom: 1px solid var(--line);
  }
  .metrics > div:nth-child(2) {
    border-right: 0;
  }
  .metrics strong {
    font-size: 28px;
  }
  .section {
    padding-block: 76px;
  }
  .section h2 {
    font-size: 36px;
  }
  .feature-card {
    padding: 28px;
  }
  .architecture-layout,
  .start-layout {
    gap: 55px;
  }
  .pipeline {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px;
  }
  .pipeline-node,
  .source-node:first-child,
  .source-node:nth-child(2),
  .process-node,
  .store-node,
  .review-node {
    grid-column: 1;
    grid-row: auto;
    min-height: 108px;
  }
  .pipeline-arrow,
  .pipeline-down {
    grid-column: 1 !important;
    grid-row: auto !important;
    transform: rotate(90deg);
    text-align: center;
  }
  .rights-grid {
    grid-template-columns: 1fr;
  }
  .rights-grid > div {
    min-height: 130px;
  }
  .principle {
    grid-template-columns: 1fr;
  }
  .principle p {
    font-size: 18px;
  }
  .command-card {
    box-shadow: 10px 10px 0 var(--paper-deep);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 25px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
