:root {
  color-scheme: dark;
  --bg: #070a12;
  --bg-soft: #0d1220;
  --surface: rgba(18, 25, 42, 0.76);
  --surface-strong: #141c2e;
  --border: rgba(176, 205, 255, 0.14);
  --text: #f7f9ff;
  --muted: #aeb9cc;
  --cyan: #56e5ff;
  --blue: #3284ff;
  --violet: #9a60ff;
  --pink: #ff69d4;
  --green: #6df0bb;
  --warning: #ffcf70;
  --danger: #ff7c91;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --max-width: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans TC", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(50, 132, 255, 0.12), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(154, 96, 255, 0.14), transparent 32rem),
    var(--bg);
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

a {
  color: inherit;
}

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

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

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

[data-copy="zh"] {
  letter-spacing: 0.015em;
}

html[data-language="en"] [data-copy="zh"],
html[data-language="zh"] [data-copy="en"] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: #07111c;
  background: var(--cyan);
  border-radius: 0.65rem;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  width: min(calc(100% - 2rem), 1240px);
  min-height: 74px;
  margin: 1rem auto 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(7, 10, 18, 0.78);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.brand img {
  border-radius: 0.75rem;
  box-shadow: 0 0 26px rgba(83, 205, 255, 0.28);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 3vw, 2rem);
}

.site-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.site-nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.language-switch {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.035);
}

.language-switch button {
  min-height: 36px;
  padding: 0.4rem 0.65rem;
  border: 0;
  border-radius: 0.5rem;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
}

.language-switch button[aria-pressed="true"] {
  color: #07111c;
  background: linear-gradient(135deg, var(--cyan), #abf5ff);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: 720px;
  margin: 0 auto;
  padding: 6rem 0 5rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
  padding: 0.48rem 0.78rem;
  border: 1px solid rgba(109, 240, 187, 0.24);
  border-radius: 999px;
  color: #b7f9dc;
  background: rgba(109, 240, 187, 0.06);
  font-size: 0.78rem;
  font-weight: 700;
}

.status-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.35rem, 7vw, 6.65rem);
  font-weight: 880;
  letter-spacing: -0.065em;
  line-height: 0.96;
  text-wrap: balance;
}

html[data-language="zh"] .hero h1 {
  font-size: clamp(3rem, 6.3vw, 5.85rem);
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.hero-lede {
  max-width: 690px;
  margin: 1.8rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  font-size: 0.94rem;
  font-weight: 780;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #05121b;
  background: linear-gradient(135deg, var(--cyan), #80bdff 50%, #c58fff);
  box-shadow: 0 16px 38px rgba(61, 169, 255, 0.22);
}

.button-secondary {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.button-secondary:hover {
  border-color: rgba(86, 229, 255, 0.42);
}

.release-note {
  max-width: 620px;
  margin: 1.1rem 0 0;
  color: #8694aa;
  font-size: 0.82rem;
}

.companion-stage {
  position: relative;
  min-height: 530px;
  isolation: isolate;
}

.companion-stage::before {
  position: absolute;
  inset: 10% 2% 2% 2%;
  z-index: -2;
  content: "";
  border-radius: 40% 58% 48% 42%;
  background:
    radial-gradient(circle at 48% 40%, rgba(86, 229, 255, 0.22), transparent 38%),
    radial-gradient(circle at 65% 62%, rgba(154, 96, 255, 0.26), transparent 48%);
  filter: blur(16px);
}

.face-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(250px, 29vw, 390px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 44% 56% 52% 48% / 48% 43% 57% 52%;
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.86), transparent 4%),
    radial-gradient(circle at 36% 32%, rgba(86, 229, 255, 0.54), transparent 19%),
    linear-gradient(145deg, rgba(50, 132, 255, 0.92), rgba(87, 35, 210, 0.92) 60%, rgba(255, 105, 212, 0.86));
  box-shadow:
    inset 22px 20px 42px rgba(255, 255, 255, 0.14),
    inset -26px -32px 56px rgba(22, 7, 80, 0.4),
    0 0 80px rgba(93, 91, 255, 0.28),
    0 44px 90px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -48%);
  animation: companion-float 6s ease-in-out infinite;
}

.face-orb::after {
  position: absolute;
  right: 17%;
  bottom: 5%;
  width: 38%;
  height: 15%;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  filter: blur(18px);
}

.face-eye {
  position: absolute;
  top: 40%;
  width: 12%;
  height: 17%;
  border-radius: 999px;
  background: linear-gradient(to bottom, #d9fbff, var(--cyan));
  box-shadow: 0 0 22px rgba(86, 229, 255, 0.52);
}

.face-eye-left {
  left: 29%;
}

.face-eye-right {
  right: 29%;
}

.face-mouth {
  position: absolute;
  bottom: 28%;
  left: 50%;
  width: 24%;
  height: 12%;
  border-bottom: 9px solid #f5bdff;
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 10px rgba(255, 105, 212, 0.45));
}

.signal {
  position: absolute;
  border: 1px solid rgba(86, 229, 255, 0.24);
  border-radius: 50%;
}

.signal-one {
  inset: 9% 3% 4% 2%;
  animation: signal-spin 22s linear infinite;
}

.signal-two {
  inset: 19% 13% 14% 12%;
  border-color: rgba(154, 96, 255, 0.3);
  animation: signal-spin 16s linear infinite reverse;
}

.signal::before,
.signal::after {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.signal::before {
  top: 8%;
  left: 24%;
}

.signal::after {
  right: 10%;
  bottom: 22%;
  background: var(--violet);
  box-shadow: 0 0 18px var(--violet);
}

.feature-chip {
  position: absolute;
  z-index: 3;
  padding: 0.62rem 0.78rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  color: #dce7f8;
  background: rgba(11, 16, 29, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px);
  font-size: 0.75rem;
  font-weight: 720;
  letter-spacing: 0.02em;
}

.chip-local {
  top: 14%;
  left: 2%;
}

.chip-voice {
  top: 34%;
  right: -2%;
}

.chip-api {
  right: 6%;
  bottom: 14%;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto 3rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
}

.trust-strip > div {
  min-height: 112px;
  padding: 1.25rem;
  border-right: 1px solid var(--border);
}

.trust-strip > div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 0.28rem;
  font-size: 0.92rem;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.78rem;
}

.section {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 7rem 0;
}

.section-tinted {
  position: relative;
}

.section-tinted::before {
  position: absolute;
  top: 1rem;
  right: 50%;
  bottom: 1rem;
  left: 50%;
  z-index: -1;
  width: 100vw;
  content: "";
  background:
    linear-gradient(180deg, rgba(16, 24, 42, 0.84), rgba(8, 12, 22, 0.92)),
    radial-gradient(circle at 10% 10%, rgba(50, 132, 255, 0.16), transparent 30rem);
  transform: translateX(-50%);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  letter-spacing: -0.052em;
  line-height: 1.05;
  text-wrap: balance;
}

html[data-language="zh"] .section-heading h2 {
  line-height: 1.18;
}

.section-heading > p:last-child {
  max-width: 690px;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.project-card {
  position: relative;
  min-height: 540px;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.project-card::after {
  position: absolute;
  right: -7rem;
  bottom: -8rem;
  width: 19rem;
  height: 19rem;
  content: "";
  border-radius: 50%;
  opacity: 0.35;
  filter: blur(20px);
}

.project-card-product::after {
  background: var(--blue);
}

.project-card-community::after {
  background: var(--violet);
}

.project-number {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 4rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  place-items: center;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
}

.card-kicker {
  margin: 0 0 0.55rem;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-card h3,
.path-card h3,
.file-contract h3,
.copyright-alert h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.project-card > p:not(.card-kicker) {
  max-width: 560px;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.6rem 0 2rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.feature-list li::before {
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  content: "";
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(109, 240, 187, 0.45);
}

.text-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 760;
  text-underline-offset: 0.25rem;
}

.project-card small {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 420px;
  margin-top: 0.75rem;
  color: #8794a9;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem;
  border: 1px solid rgba(96, 225, 255, 0.24);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(96, 225, 255, 0.08), rgba(154, 96, 255, 0.08));
}

.download-panel strong {
  display: block;
  font-size: 1.05rem;
}

.download-panel p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.download-panel .button {
  white-space: nowrap;
}

.install-steps code {
  color: #d9f8ff;
  word-break: break-word;
}

.planned-card h3 {
  margin: 0;
}

.install-help {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.025);
}

.install-help p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.status-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.25rem;
}

.status-card {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: rgba(8, 13, 24, 0.7);
}

.status-label {
  display: inline-flex;
  margin-bottom: 1.8rem;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
}

.available-card .status-label {
  color: #adf6d6;
  background: rgba(109, 240, 187, 0.1);
}

.planned-card .status-label {
  color: #d3c3ff;
  background: rgba(154, 96, 255, 0.12);
}

.step-list {
  display: grid;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.9rem;
}

.step-index {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  place-items: center;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 850;
}

.step-list strong {
  display: block;
}

.step-list p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.planned-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}

.planned-flow span {
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.8rem;
  font-weight: 720;
}

.planned-flow i {
  color: var(--violet);
  font-style: normal;
}

.planned-card > p {
  color: var(--muted);
}

.boundary-note {
  margin-top: 2rem;
  padding: 1rem;
  border-left: 3px solid var(--warning);
  border-radius: 0 0.7rem 0.7rem 0;
  background: rgba(255, 207, 112, 0.055);
}

.boundary-note p {
  margin: 0.35rem 0 0;
  color: #c7bfae;
  font-size: 0.86rem;
}

.character-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.path-card {
  min-height: 340px;
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
}

.path-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 3rem;
  border-radius: 0.7rem;
  place-items: center;
  color: #06101b;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  font-size: 0.72rem;
  font-weight: 900;
}

.path-card p {
  color: var(--muted);
}

.empty-catalog {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
  padding: 0.8rem;
  border: 1px dashed rgba(174, 185, 204, 0.22);
  border-radius: 0.75rem;
  color: #8996aa;
  font-size: 0.82rem;
}

.empty-orb {
  width: 1.45rem;
  height: 1.45rem;
  border: 1px solid rgba(86, 229, 255, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c8fbff, #3284ff 38%, #5723c9);
}

.contribution-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  list-style: none;
}

.contribution-flow li {
  min-height: 176px;
  padding: 1.15rem;
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.022);
}

.contribution-flow li:last-child {
  border-right: 0;
}

.contribution-flow li > span {
  display: grid;
  width: 2rem;
  height: 2rem;
  margin-bottom: 2.4rem;
  border-radius: 50%;
  place-items: center;
  color: var(--cyan);
  background: rgba(86, 229, 255, 0.08);
  font-size: 0.7rem;
  font-weight: 850;
}

.contribution-flow strong {
  font-size: 0.86rem;
  line-height: 1.4;
}

.file-contract {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.25rem;
  padding: clamp(1.5rem, 5vw, 3.2rem);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background:
    linear-gradient(130deg, rgba(50, 132, 255, 0.12), transparent 45%),
    rgba(7, 12, 22, 0.76);
}

.file-contract pre {
  margin: 1rem 0 0;
  padding: 1rem;
  overflow-x: auto;
  border: 1px solid rgba(86, 229, 255, 0.15);
  border-radius: 0.75rem;
  color: #b9effa;
  background: rgba(0, 0, 0, 0.27);
  font-size: 0.82rem;
}

.file-contract p {
  color: var(--muted);
}

.file-contract .button {
  margin-top: 0.5rem;
}

.copyright-alert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  margin-top: 1.25rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 1px solid rgba(255, 124, 145, 0.28);
  border-radius: 1rem;
  background: rgba(255, 124, 145, 0.06);
}

.alert-mark {
  display: grid;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  place-items: center;
  color: #26050b;
  background: var(--danger);
  font-size: 1.2rem;
  font-weight: 950;
  box-shadow: 0 0 30px rgba(255, 124, 145, 0.26);
}

.copyright-alert p {
  max-width: 800px;
  color: #d4b9be;
}

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

.privacy-grid > div {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.022), transparent);
}

.privacy-grid strong {
  display: block;
  color: #ddfaff;
  font-size: 1.02rem;
}

.privacy-grid p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.faq-section {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 3rem;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  padding: 1.45rem 2.4rem 1.45rem 0;
  cursor: pointer;
  font-size: 1.03rem;
  font-weight: 750;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 0.25rem;
  content: "+";
  color: var(--cyan);
  font-size: 1.45rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: -0.4rem 0 1.5rem;
  padding-right: 2rem;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 2rem auto 0;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.site-footer > div:first-child p {
  max-width: 480px;
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-content: start;
  gap: 0.6rem 1.5rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.86rem;
  text-underline-offset: 0.25rem;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-disclaimer {
  grid-column: 1 / -1;
  margin: 1.5rem 0 0;
  color: #78869b;
  font-size: 0.78rem;
}

@keyframes companion-float {
  0%,
  100% {
    transform: translate(-50%, -48%) rotate(-1deg);
  }
  50% {
    transform: translate(-50%, -52%) rotate(1deg);
  }
}

@keyframes signal-spin {
  to {
    transform: rotate(360deg);
  }
}

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

  .site-nav {
    display: none;
  }

  .language-switch {
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 5rem;
  }

  .companion-stage {
    min-height: 460px;
  }

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

  .trust-strip > div:nth-child(2) {
    border-right: 0;
  }

  .trust-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .project-grid,
  .status-columns,
  .faq-section {
    grid-template-columns: 1fr;
  }

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

  .catalog-card {
    grid-column: 1 / -1;
  }

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

  .contribution-flow li:nth-child(3n) {
    border-right: 0;
  }

  .contribution-flow li:nth-child(-n + 3) {
    border-bottom: 1px solid var(--border);
  }

  .file-contract {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(calc(100% - 1rem), 1240px);
    margin-top: 0.5rem;
    padding: 0.55rem 0.65rem;
  }

  .brand {
    font-size: 0.86rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .language-switch button {
    min-height: 34px;
    padding-inline: 0.5rem;
    font-size: 0.7rem;
  }

  .hero,
  .section,
  .trust-strip,
  .site-footer {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .hero {
    min-height: auto;
    padding: 4.5rem 0 3rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  html[data-language="zh"] .hero h1 {
    font-size: clamp(2.65rem, 13.6vw, 4rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }

  .companion-stage {
    min-height: 390px;
  }

  .face-orb {
    width: min(74vw, 310px);
  }

  .chip-voice {
    right: 0;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .trust-strip > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 5rem 0;
  }

  .project-card {
    min-height: auto;
  }

  .project-number {
    margin-bottom: 2.5rem;
  }

  .character-paths,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .catalog-card {
    grid-column: auto;
  }

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

  .contribution-flow li,
  .contribution-flow li:nth-child(3n) {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .contribution-flow li:nth-child(2n) {
    border-right: 0;
  }

  .contribution-flow li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .copyright-alert {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-disclaimer {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.policy-header {
  position: static;
}

.policy-shell {
  width: min(880px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.policy-shell > h1 {
  max-width: 780px;
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.policy-shell > h1 span {
  color: var(--muted);
  font-size: 0.58em;
}

.policy-effective {
  margin: 0 0 2rem;
  color: var(--muted);
}

.policy-card {
  margin-top: 1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.035);
}

.policy-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.7;
}

.policy-card code {
  color: #d9f8ff;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.policy-grid > div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.025);
}

.policy-grid p {
  margin-bottom: 0;
}

.wallet-address {
  display: block;
  padding: 1rem;
  border: 1px solid rgba(96, 225, 255, 0.24);
  border-radius: 0.85rem;
  background: rgba(96, 225, 255, 0.07);
  overflow-wrap: anywhere;
  user-select: all;
}

@media (max-width: 640px) {
  .policy-shell {
    padding: 3rem 0;
  }

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