:root {
  --mist: #cde8ff;
  --coral: #ffb8c9;
  --lavender: #d8b8f5;
  --calm: #a7c9ff;
  --cream: #fff7f1;
  --warm: #ebe2dd;
  --gold: #ffe7a8;
  --ink: #3d3548;
  --ink-muted: #6b6278;
  --ink-faint: #8a7a88;
  --paper: rgba(255, 255, 255, 0.72);
  --line: #ebe2dd;
  --wash: linear-gradient(160deg, #d8b8f5 0%, #ffb8c9 42%, #cde8ff 100%);
  --radius: 28px;
  --radius-sm: 20px;
  --shadow: 0 18px 40px rgba(168, 140, 180, 0.16);
  --font-serif: "Noto Serif SC", "Songti SC", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-display: "Cormorant Garamond", "Noto Serif SC", serif;
  --max: 1180px;
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
}

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

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

button,
.btn {
  font-family: inherit;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #7a63a8;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
.serif {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.display-en {
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 247, 241, 0.52);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.nav.is-scrolled,
.nav.is-light,
.nav.is-open {
  background: rgba(255, 247, 241, 0.88);
  border-bottom-color: var(--warm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 168px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(168, 140, 180, 0.22);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.16em;
  color: var(--ink);
}

.brand-sub {
  display: block;
  margin-top: 1px;
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.nav-links a,
.btn-ghost {
  color: var(--ink);
}

.nav-links a {
  position: relative;
  opacity: 0.78;
}

.nav-links a:hover,
.nav-links a.is-active {
  opacity: 1;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: #7a63a8;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--warm);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
}

.nav.is-open .nav-links,
.nav.is-open .nav-cta .btn {
  display: flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(255, 231, 168, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border: 1px solid var(--warm);
}

.btn-ink {
  background: var(--calm);
  color: var(--ink);
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--warm);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 48px) 0 72px;
  overflow: hidden;
  color: var(--ink);
  background: var(--wash);
}

.hero-stars {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.55) 0 12%, transparent 38%),
    radial-gradient(circle at 78% 18%, rgba(205, 232, 255, 0.7) 0 14%, transparent 42%),
    radial-gradient(circle at 86% 72%, rgba(255, 184, 201, 0.55) 0 16%, transparent 44%),
    radial-gradient(circle at 22% 78%, rgba(167, 201, 255, 0.5) 0 12%, transparent 40%),
    radial-gradient(circle at 52% 48%, rgba(255, 231, 168, 0.28) 0 10%, transparent 36%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-kicker {
  color: #7a63a8;
  font-size: 13px;
  letter-spacing: 0.28em;
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.12;
  font-weight: 600;
  color: var(--ink);
}

.hero h1 em {
  font-style: normal;
  color: #7a63a8;
}

.hero-lead {
  max-width: 36em;
  color: var(--ink-muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(61, 53, 72, 0.12);
}

.hero-meta b {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: #7a63a8;
}

.hero-meta span {
  color: var(--ink-faint);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.orbit {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
}

.orbit-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  animation: spin 48s linear infinite;
}

.orbit-ring::before,
.orbit-ring::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(255, 231, 168, 0.8);
}

.orbit-ring::before { top: 0; left: 50%; translate: -50% -50%; }
.orbit-ring::after { bottom: 18%; right: 6%; background: var(--coral); }

.orbit-ring.r2 {
  inset: 18%;
  animation-duration: 36s;
  animation-direction: reverse;
  border-style: dashed;
  border-color: rgba(167, 201, 255, 0.85);
}

.orbit-ring.r3 {
  inset: 30%;
  animation-duration: 28s;
  border-color: rgba(216, 184, 245, 0.85);
}

.orbit-core {
  position: absolute;
  inset: 38%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 40px rgba(168, 140, 180, 0.18);
}

.orbit-core img {
  width: 72%;
  border-radius: 24px;
}

.planet {
  position: absolute;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(168, 140, 180, 0.12);
}

.planet.p1 { top: 4%; left: 62%; }
.planet.p2 { top: 22%; left: -2%; }
.planet.p3 { top: 48%; right: -8%; }
.planet.p4 { bottom: 18%; left: 4%; }
.planet.p5 { bottom: 6%; right: 18%; }
.planet.p6 { top: 8%; right: 8%; }

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

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  translate: -50% 0;
  color: #7a63a8;
  font-size: 12px;
  letter-spacing: 0.24em;
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--warm);
  background: rgba(255, 247, 241, 0.7);
  color: var(--ink-muted);
}

.marquee b {
  color: #7a63a8;
  font-weight: 500;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 48px;
  padding: 16px 0;
  animation: marquee 36s linear infinite;
  font-size: 14px;
  letter-spacing: 0.18em;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Sections */
.section {
  padding: 108px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2 {
  margin: 12px 0 14px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.22;
}

.section-head p {
  color: var(--ink-muted);
  margin: 0;
}

.section-wash {
  background: var(--wash);
}

.section-company {
  background:
    linear-gradient(160deg, var(--mist) 0%, var(--calm) 48%, #f3e8ff 100%);
}

/* Destiny */
.destiny-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.destiny-card {
  min-height: 210px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.destiny-card.featured {
  background:
    linear-gradient(160deg, rgba(216, 184, 245, 0.72), rgba(167, 201, 255, 0.55));
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.85);
}

.destiny-card .num {
  font-family: var(--font-display);
  font-size: 22px;
  color: #7a63a8;
}

.destiny-card.featured .num,
.destiny-card.featured p {
  color: var(--ink-muted);
}

.destiny-card h3 {
  margin: 28px 0 8px;
  font-size: 22px;
}

.destiny-card p {
  margin: 0;
  color: var(--ink-muted);
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.tile {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.tile.wide {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 460px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(216, 184, 245, 0.55), rgba(205, 232, 255, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.tile h3 {
  margin: 12px 0 8px;
  font-size: 26px;
}

.tile p {
  margin: 0;
  color: var(--ink-muted);
}

.tile.wide p {
  color: var(--ink-muted);
  max-width: 22em;
}

.phone {
  position: absolute;
  right: 28px;
  bottom: -48px;
  width: 210px;
  height: 390px;
  padding: 14px 12px;
  border-radius: 32px;
  background: rgba(255, 247, 241, 0.86);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 48px rgba(168, 140, 180, 0.22);
}

.phone-bar {
  height: 18px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 12px;
}

.phone-row strong {
  font-weight: 500;
  letter-spacing: 0.06em;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* Culture */
.culture-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.quote {
  padding: 36px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #7a63a8;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.45;
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.value {
  padding: 22px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.value h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.value p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
}

/* Safety / events */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.panel {
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.panel h3 {
  margin: 8px 0 12px;
  font-size: 28px;
}

.panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--ink-muted);
}

.panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

/* Company */
.company {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.company-card {
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.company-card dt {
  color: #7a63a8;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.company-card dd {
  margin: 4px 0 18px;
  font-size: 18px;
}

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  padding: 72px 48px;
  border-radius: 36px;
  text-align: center;
  color: var(--ink);
  background:
    linear-gradient(160deg, var(--gold) 0%, var(--coral) 48%, var(--mist) 100%);
}

.cta h2 {
  margin: 8px 0 12px;
  font-size: clamp(32px, 4vw, 52px);
}

.cta p {
  margin: 0 auto 28px;
  max-width: 34em;
}

.wechat-box {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  text-align: left;
}

.wechat-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #2aae67;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.wechat-box b {
  display: block;
  font-size: 20px;
  letter-spacing: 0.12em;
}

.wechat-box span {
  color: var(--ink-muted);
  font-size: 13px;
}

/* Footer */
.footer {
  padding: 48px 0 28px;
  color: var(--ink-muted);
  background: var(--cream);
  border-top: 1px solid var(--warm);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--warm);
}

.footer .brand-name,
.footer a:hover {
  color: #7a63a8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.footer-bottom a {
  color: inherit;
}

/* Page: about */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 0 56px;
  background: var(--wash);
}

.page-hero h1 {
  margin: 10px 0;
  font-size: clamp(36px, 5vw, 60px);
}

.prose {
  max-width: 760px;
}

.prose p {
  color: var(--ink-muted);
  font-size: 17px;
}

.prose h2 {
  margin-top: 48px;
  font-size: 28px;
}

/* Page: protocol */
.protocol-hero {
  padding-bottom: 32px;
}

.protocol-section {
  padding-top: 0;
}

.protocol-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 36px 40px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.protocol-meta {
  margin: 8px 0 0;
  color: var(--ink-faint);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.protocol-status {
  color: var(--ink-muted);
  min-height: 4em;
}

.protocol-status.is-error {
  color: #a15a6a;
}

.protocol-switch {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 0;
  color: var(--ink-faint);
  font-size: 14px;
}

.protocol-switch a.is-active {
  color: #7a63a8;
}

.protocol-body {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.85;
  word-break: break-word;
}

.protocol-body h1,
.protocol-body h2,
.protocol-body h3,
.protocol-body h4 {
  margin: 1.4em 0 0.6em;
  line-height: 1.35;
  color: var(--ink);
}

.protocol-body h1 { font-size: 28px; }
.protocol-body h2 { font-size: 22px; }
.protocol-body h3 { font-size: 18px; }

.protocol-body p,
.protocol-body ul,
.protocol-body ol {
  margin: 0 0 1em;
}

.protocol-body ul,
.protocol-body ol {
  padding-left: 1.4em;
}

.protocol-body a {
  color: #7a63a8;
  text-decoration: underline;
}

.protocol-body img {
  height: auto;
  margin: 12px 0;
  border-radius: 12px;
}

.protocol-body table {
  width: 100%;
  margin: 12px 0;
  border-collapse: collapse;
  font-size: 14px;
}

.protocol-body th,
.protocol-body td {
  padding: 8px 10px;
  border: 1px solid var(--warm);
  text-align: left;
}

.protocol-body blockquote {
  margin: 0 0 1em;
  padding: 12px 16px;
  border-left: 3px solid #d8b8f5;
  background: rgba(216, 184, 245, 0.16);
}

.protocol-body hr {
  border: 0;
  border-top: 1px solid var(--warm);
  margin: 24px 0;
}

/* App WebView：?embed=1 只保留协议 HTML 正文 */
body.is-embed .nav,
body.is-embed .footer,
body.is-embed .grain,
body.is-embed .protocol-switch,
body.is-embed .skip,
body.is-embed .protocol-hero .eyebrow,
body.is-embed .protocol-meta {
  display: none !important;
}

body.is-embed .protocol-hero {
  padding: 20px 0 8px;
}

body.is-embed .protocol-hero h1 {
  font-size: 22px;
  margin: 0;
}

body.is-embed .protocol-section {
  padding-top: 0;
}

body.is-embed .protocol-card {
  box-shadow: none;
  border: 0;
  background: transparent;
  padding: 0;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  background: rgba(61, 53, 72, 0.28);
  padding: 24px;
}

.modal.is-open {
  display: grid;
}

.modal-card {
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 28px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.modal-card h3 {
  margin: 0 0 8px;
  font-size: 26px;
}

.modal-card ol {
  color: var(--ink-muted);
  padding-left: 18px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

/* Reveal */
.reveal {
  animation: rise 0.8s ease both;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit-ring,
  .marquee-track,
  .reveal {
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero-grid,
  .culture-grid,
  .company,
  .split,
  .bento,
  .destiny-grid {
    grid-template-columns: 1fr;
  }

  .destiny-card.featured,
  .tile.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .phone {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 28px;
  }

  .menu-btn { display: block; }

  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .nav.is-open {
    height: auto;
    background: rgba(255, 247, 241, 0.96);
    align-items: flex-start;
    padding-bottom: 18px;
  }

  .nav.is-open .nav-inner {
    flex-wrap: wrap;
  }

  .nav.is-open .nav-links {
    display: grid;
    width: 100%;
    gap: 14px;
    padding-top: 12px;
  }

  .nav.is-open .nav-cta {
    width: 100%;
  }

  .nav.is-open .nav-cta .btn {
    display: inline-flex;
    width: 100%;
  }

  .hero-meta,
  .footer-top,
  .footer-bottom,
  .wechat-box {
    flex-direction: column;
  }

  .section,
  .cta {
    padding: 72px 24px;
  }

  .protocol-section {
    padding-top: 0;
  }

  .protocol-card {
    padding: 22px 18px 28px;
  }

  .cta { border-radius: 28px; }
}

@media (max-width: 640px) {
  .values { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--nav-h) + 28px); }
  .hero h1 { font-size: 40px; }
}
