:root {
  --bg: #071f5e;
  --bg-deep: #02091f;
  --bg-mid: #0837b5;
  --panel: rgba(0, 60, 255, 0.1);
  --panel-strong: rgba(0, 60, 255, 0.18);
  --line: rgba(111, 196, 255, 0.12);
  --line-soft: rgba(111, 196, 255, 0.08);
  --line-strong: rgba(123, 194, 255, 0.32);
  --text: #edf9ff;
  --muted: rgba(222, 242, 252, 0.7);
  --soft: rgba(222, 242, 252, 0.52);
  --accent: #003cff;
  --accent-bright: #5aa7ff;
  --mint: #70ffd3;
  --klein: #003cff;
  --klein-bright: #1e63ff;
  --cyan: #61d9ff;
  --amber: #f3c969;
  --danger: #ff8b9c;
  --radius: 8px;
  --max: 1180px;
  --motion-fast: 180ms;
  --motion-mid: 520ms;
  --motion-slow: 900ms;
  --ease-terminal: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Söhne Mono", "SFMono-Regular", "Cascadia Code", "Liberation Mono", Menlo, monospace;
  --font-body: "Aptos", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(5, 28, 92, 0.12), rgba(2, 9, 31, 0.5) 82%),
    radial-gradient(1200px 760px at 82% 4%, rgba(0, 60, 255, 0.36), transparent 58%),
    radial-gradient(980px 640px at 8% 16%, rgba(97, 217, 255, 0.16), transparent 60%),
    var(--bg);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 18% 18%, rgba(97, 217, 255, 0.08), transparent 32%),
    radial-gradient(circle at 82% 24%, rgba(0, 60, 255, 0.16), transparent 34%);
  opacity: 0.5;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.12));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 9, 31, 0.22), transparent 28%, transparent 72%, rgba(2, 9, 31, 0.24));
  opacity: 0.28;
}

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

button {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.page-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -2;
  height: 1380px;
  pointer-events: none;
  background:
    radial-gradient(980px 520px at 72% 560px, rgba(0, 60, 255, 0.22), transparent 68%),
    radial-gradient(720px 440px at 18% 740px, rgba(97, 217, 255, 0.09), transparent 70%),
    linear-gradient(180deg, rgba(7, 31, 94, 0) 0%, rgba(7, 31, 94, 0) 34%, rgba(9, 48, 148, 0.18) 52%, rgba(7, 31, 94, 0.14) 72%, rgba(7, 31, 94, 0) 100%);
}

.hero-asset {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  width: 100%;
  height: 1120px;
  background:
    radial-gradient(860px 620px at 70% 42%, rgba(0, 60, 255, 0.38), transparent 64%),
    radial-gradient(760px 560px at 76% 46%, rgba(97, 217, 255, 0.16), transparent 66%),
    linear-gradient(90deg, rgba(7, 31, 94, 0) 0%, rgba(0, 60, 255, 0.12) 42%, rgba(7, 31, 94, 0) 82%);
  opacity: 1;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0, 0, 0, 0.72) 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0, 0, 0, 0.72) 78%, transparent 100%);
}

.hero-asset::before {
  content: "";
  position: absolute;
  inset: -18% -8%;
  background:
    linear-gradient(112deg, transparent 0%, rgba(97, 217, 255, 0.08) 36%, rgba(0, 60, 255, 0.22) 48%, transparent 64%),
    linear-gradient(28deg, transparent 0%, rgba(112, 255, 211, 0.08) 42%, transparent 58%);
  transform: translate3d(-10%, 0, 0);
  opacity: 0.58;
}

.particle-earth {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 42px rgba(0, 60, 255, 0.42)) drop-shadow(0 0 18px rgba(97, 217, 255, 0.26));
}

.earth-orbit {
  position: absolute;
  top: 164px;
  right: min(5vw, 86px);
  width: min(48vw, 660px);
  aspect-ratio: 1;
  border: 1px solid rgba(97, 217, 255, 0.13);
  border-radius: 50%;
  transform: rotateX(66deg) rotateZ(-10deg);
  opacity: 0.54;
  box-shadow: inset 0 0 46px rgba(0, 60, 255, 0.13), 0 0 42px rgba(0, 60, 255, 0.08);
  animation: none;
}

.earth-orbit.is-vertical {
  transform: rotateX(14deg) rotateY(70deg) rotateZ(6deg);
  opacity: 0.28;
  animation: none;
}

.hero-asset::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 31, 94, 0) 0%, rgba(7, 31, 94, 0.06) 50%, rgba(9, 48, 148, 0.16) 76%, rgba(7, 31, 94, 0) 100%),
    linear-gradient(90deg, rgba(7, 31, 94, 0) 0%, rgba(0, 60, 255, 0.08) 40%, rgba(2, 9, 31, 0.08) 100%);
}

.detail-page {
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(7, 31, 94, 0.18) 0%, rgba(7, 31, 94, 0.08) 56%, rgba(2, 9, 31, 0.18) 100%),
    radial-gradient(980px 680px at 72% 24%, rgba(0, 60, 255, 0.18), transparent 60%),
    var(--bg);
}

.detail-page .hero-asset {
  position: fixed;
  top: -8vh;
  z-index: 0;
  height: 118vh;
  min-height: 960px;
  opacity: 0.66;
  background:
    radial-gradient(980px 680px at 68% 38%, rgba(0, 60, 255, 0.22), transparent 62%),
    radial-gradient(760px 520px at 74% 32%, rgba(97, 217, 255, 0.1), transparent 64%),
    linear-gradient(180deg, rgba(7, 31, 94, 0.12), rgba(7, 31, 94, 0.02) 78%);
}

.detail-page .hero-asset::after {
  background:
    linear-gradient(180deg, rgba(7, 31, 94, 0.02) 0%, rgba(7, 31, 94, 0.075) 44%, rgba(3, 22, 72, 0.13) 76%, rgba(2, 9, 31, 0.18) 100%),
    linear-gradient(90deg, rgba(2, 9, 31, 0.08), rgba(7, 31, 94, 0.035) 48%, rgba(2, 9, 31, 0.12));
}

.detail-page .site-header,
.detail-page main,
.detail-page .site-footer {
  position: relative;
  z-index: 1;
}

.detail-page .site-header {
  z-index: 30;
}

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

.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  padding: 14px 0 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(111, 196, 255, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(0, 60, 255, 0.13) 42%, rgba(3, 22, 72, 0.42)),
    rgba(3, 19, 58, 0.3);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 20px 72px rgba(0, 12, 42, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease, background var(--motion-fast) ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 170px;
  font-family: var(--font-display);
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(120, 216, 255, 0.55);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(2, 19, 33, 0.28);
  box-shadow: 0 0 28px rgba(45, 169, 221, 0.42);
  transition: transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand:hover .brand-mark {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 0 36px rgba(120, 216, 255, 0.44);
}

.brand strong {
  display: block;
  font-size: 22px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--soft);
  font-size: 10px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(111, 196, 255, 0.1);
  border-radius: 999px;
  background: rgba(2, 9, 31, 0.18);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

:is(html[lang="en"], html[lang="es"], html[lang="fr"]) .nav-links {
  gap: 2px;
}

:is(html[lang="en"], html[lang="es"], html[lang="fr"]) .nav-links a {
  padding-inline: 10px;
  font-size: 12px;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  background: rgba(0, 60, 255, 0.2);
  box-shadow: 0 0 24px rgba(0, 60, 255, 0.22);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 170px;
}

.language-switcher {
  position: relative;
  z-index: 4;
  font-family: var(--font-display);
}

.language-switcher summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 82px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(111, 196, 255, 0.2);
  border-radius: 999px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 60, 255, 0.1)),
    rgba(3, 22, 72, 0.34);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  cursor: pointer;
  list-style: none;
  transition: transform var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease, background var(--motion-fast) ease;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.78;
  transition: transform var(--motion-fast) ease;
}

.language-switcher[open] summary,
.language-switcher summary:hover,
.language-switcher summary:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(123, 194, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(97, 217, 255, 0.12), rgba(0, 60, 255, 0.18)),
    rgba(3, 22, 72, 0.48);
  box-shadow: 0 18px 42px rgba(0, 12, 42, 0.24), 0 0 28px rgba(0, 60, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.language-switcher[open] summary::after {
  transform: translateY(1px) rotate(225deg);
}

.lang-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(120, 216, 255, 0.35);
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(97, 217, 255, 0.08);
  font-size: 11px;
  line-height: 1;
}

.lang-icon::before {
  line-height: 1;
}

.lang-current {
  font-size: 12px;
  line-height: 1;
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  gap: 4px;
  min-width: 192px;
  padding: 8px;
  border: 1px solid rgba(111, 196, 255, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(8, 56, 88, 0.76), rgba(3, 22, 72, 0.94)),
    rgba(3, 22, 72, 0.92);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  box-shadow: 0 24px 72px rgba(0, 12, 42, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.language-menu::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 28px;
  width: 9px;
  height: 9px;
  border-top: 1px solid rgba(111, 196, 255, 0.22);
  border-left: 1px solid rgba(111, 196, 255, 0.22);
  background: rgba(8, 56, 88, 0.82);
  transform: rotate(45deg);
}

.language-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: color var(--motion-fast) ease, border-color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button.is-active {
  color: var(--text);
  border-color: rgba(111, 196, 255, 0.16);
  background: rgba(0, 60, 255, 0.18);
}

.language-menu b {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(111, 196, 255, 0.2);
  border-radius: 999px;
  color: var(--text);
  background: rgba(3, 22, 72, 0.3);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.24) 45%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 620ms var(--ease-terminal);
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(0, 60, 255, 0.14);
  box-shadow: 0 18px 46px rgba(0, 12, 42, 0.26);
}

.btn:hover::after {
  transform: translateX(130%);
}

.btn.primary {
  border-color: rgba(145, 207, 255, 0.64);
  background: linear-gradient(135deg, #1e63ff, #003cff 58%, #0b2fb4);
  box-shadow: 0 0 36px rgba(0, 60, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  animation: none;
}

.btn.ghost {
  color: var(--muted);
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn .arrow {
  font-family: var(--font-display);
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 56, 88, 0.48);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
}

.hero {
  padding: 146px 0 104px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  gap: clamp(40px, 4vw, 64px);
  align-items: center;
  min-height: 620px;
}

.hero-content {
  width: 100%;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 1px solid rgba(111, 196, 255, 0.2);
  border-radius: 999px;
  color: rgba(229, 248, 255, 0.84);
  background: rgba(0, 60, 255, 0.12);
  backdrop-filter: blur(12px);
  font-family: var(--font-display);
  font-size: 12px;
  animation: terminalEnter var(--motion-slow) var(--ease-terminal) 120ms both;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 18px rgba(117, 240, 208, 0.8);
  animation: none;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 6.7vw, 96px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
  animation: terminalEnter var(--motion-slow) var(--ease-terminal) 220ms both;
}

.hero h1 span {
  display: block;
  color: #86c8ff;
  text-shadow: 0 0 42px rgba(0, 60, 255, 0.44);
}

:is(html[lang="en"], html[lang="es"], html[lang="fr"]) .hero h1 {
  font-size: clamp(46px, 5.5vw, 80px);
  line-height: 1;
}

.hero-copy {
  max-width: 610px;
  margin: 26px 0 0;
  color: rgba(226, 246, 255, 0.76);
  font-size: 18px;
  animation: terminalEnter var(--motion-slow) var(--ease-terminal) 340ms both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  animation: terminalEnter var(--motion-slow) var(--ease-terminal) 460ms both;
}

.terminal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 720px;
  margin-top: 50px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
  animation: terminalEnter var(--motion-slow) var(--ease-terminal) 580ms both;
}

.metric {
  min-height: 112px;
  padding: 20px 0 18px;
  border-right: 0;
  background: transparent;
  transition: transform var(--motion-mid) var(--ease-terminal), border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.metric + .metric {
  padding-left: 0;
}

.metric:last-child {
  border-right: 0;
}

.metric:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 196, 255, 0.3);
  box-shadow: 0 18px 44px rgba(0, 60, 255, 0.11);
}

.metric small {
  display: block;
  color: var(--soft);
  font-family: var(--font-display);
  font-size: 11px;
}

.metric strong {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1;
}

.metric span {
  display: inline-flex;
  margin-top: 9px;
  color: var(--mint);
  font-size: 12px;
}

.route-panel {
  position: relative;
  min-height: 430px;
  padding: 32px;
  border: 0;
  border-radius: var(--radius);
  background:
    radial-gradient(760px 420px at 34% 4%, rgba(97, 217, 255, 0.12), transparent 58%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(0, 60, 255, 0.12) 46%, rgba(2, 9, 31, 0.18)),
    rgba(4, 27, 92, 0.18);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 30px 92px rgba(0, 12, 42, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  animation: panelRise 520ms var(--ease-terminal) 160ms backwards;
}

.route-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 68% 48%, rgba(0, 60, 255, 0.18), transparent 44%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.08), transparent 38%);
  opacity: 0.38;
  pointer-events: none;
}

.route-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, transparent 72%, rgba(0, 60, 255, 0.14));
  opacity: 0.35;
  pointer-events: none;
}

.panel-head,
.panel-row,
.swap-line,
.mini-feed {
  position: relative;
  z-index: 1;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border-bottom: 0;
  font-family: var(--font-display);
}

.panel-head small {
  color: var(--soft);
  font-size: 11px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(112, 255, 211, 0.34);
  border-radius: 999px;
  color: var(--mint);
  background: rgba(117, 240, 208, 0.06);
  font-size: 11px;
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.panel-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 34px;
  padding: 0;
  border-bottom: 0;
}

.quote-card {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  overflow: hidden;
  transition: transform var(--motion-mid) var(--ease-terminal), border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.quote-card + .quote-card {
  padding-left: 0;
}

.quote-card:last-child {
  border-right: 0;
}

.quote-card::before,
.token-box::before,
.feed-item::before {
  content: none;
}

.quote-card > *,
.token-box > *,
.feed-item > * {
  position: relative;
  z-index: 1;
}

.quote-card:hover,
.token-box:hover {
  transform: translateY(-2px);
  border-color: rgba(97, 217, 255, 0.38);
  box-shadow: 0 18px 46px rgba(0, 60, 255, 0.12);
}

.quote-card label {
  display: block;
  color: var(--soft);
  font-family: var(--font-display);
  font-size: 10px;
  text-transform: uppercase;
}

.quote-card strong {
  display: block;
  margin-top: 9px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
}

.quote-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.swap-line {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  align-items: center;
  gap: 22px;
  margin: 44px 0 34px;
}

.token-box {
  position: relative;
  min-height: 124px;
  padding: 24px;
  border: 1px solid rgba(111, 196, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(0, 60, 255, 0.14), rgba(4, 26, 80, 0.24)),
    rgba(2, 9, 31, 0.12);
  -webkit-backdrop-filter: blur(14px) saturate(132%);
  backdrop-filter: blur(14px) saturate(132%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11);
  overflow: hidden;
  transition: transform var(--motion-mid) var(--ease-terminal), border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.token-box b {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
}

.token-box small {
  display: block;
  margin-top: 22px;
  color: var(--soft);
  font-size: 12px;
}

.route-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(97, 217, 255, 0.5);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(0, 60, 255, 0.14);
  box-shadow: 0 0 26px rgba(0, 60, 255, 0.32);
  font-family: var(--font-display);
}

.mini-feed {
  display: grid;
  gap: 0;
  padding: 0;
}

.feed-item {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: rgba(0, 60, 255, 0.055);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px;
}

.feed-item em {
  color: var(--accent-bright);
  font-style: normal;
}

.section {
  padding: 112px 0;
  scroll-margin-top: 120px;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(460px, 0.88fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 42px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: none;
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-header h2,
.news-top h2 {
  color: rgba(226, 246, 255, 0.58);
  font-size: clamp(15px, 1.55vw, 21px);
  font-weight: 500;
  line-height: 1.45;
}

.section-header > p {
  justify-self: end;
  width: min(100%, 620px);
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.app-preview {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 56px;
  padding: 0;
  border: 0;
  border-top: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: transform var(--motion-mid) var(--ease-terminal), border-color var(--motion-fast) ease;
}

.app-menu {
  padding: 34px 24px 0 0;
  border: 0;
  border-right: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.app-menu h3,
.trade-ticket h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
}

.app-tabs {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.app-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 18px;
  border: 0;
  border-top: 0;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(0, 61, 255, 0.035);
  font-family: var(--font-display);
  font-size: 12px;
  transition: transform var(--motion-fast) ease, color var(--motion-fast) ease, border-color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.app-tab.is-live {
  color: var(--text);
  border-color: rgba(97, 217, 255, 0.34);
  background: linear-gradient(90deg, rgba(0, 60, 255, 0.16), transparent 74%);
  box-shadow: 0 18px 42px rgba(0, 60, 255, 0.08);
}

.app-tab:hover {
  transform: translateX(4px);
  color: var(--text);
  border-color: rgba(97, 217, 255, 0.32);
  background: linear-gradient(90deg, rgba(0, 60, 255, 0.12), transparent 68%);
}

.app-tab-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.app-tab-label i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  opacity: 0.58;
  color: var(--cyan);
  font-size: 21px;
  filter: drop-shadow(0 0 12px rgba(97, 217, 255, 0.18));
}

.trade-ticket {
  position: relative;
  padding: 36px;
  border: 1px solid rgba(111, 196, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(0, 60, 255, 0.12) 48%, rgba(2, 9, 31, 0.12)),
    rgba(3, 22, 72, 0.18);
  backdrop-filter: blur(20px) saturate(142%);
  box-shadow: 0 26px 90px rgba(0, 12, 42, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.13);
  overflow: hidden;
}

.trade-ticket::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 12%, rgba(97, 217, 255, 0.14), transparent 42%);
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.56), transparent 74%);
  pointer-events: none;
}

.trade-ticket > * {
  position: relative;
  z-index: 1;
}

.trade-form {
  display: grid;
  gap: 0;
  margin-top: 24px;
}

.trade-field {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  min-height: 84px;
  padding: 18px 0;
  border: 0;
  border-top: 0;
  border-radius: 0;
  background: transparent;
  transition: transform var(--motion-fast) ease, border-color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.trade-field + .trade-field {
  border-top: 1px solid rgba(111, 196, 255, 0.08);
}

.trade-field:hover {
  transform: translateY(-2px);
  border-color: rgba(97, 217, 255, 0.34);
  background: linear-gradient(90deg, rgba(0, 60, 255, 0.1), transparent 70%);
}

.trade-field small,
.trade-meta small {
  display: block;
  color: var(--soft);
  font-family: var(--font-display);
  font-size: 10px;
  text-transform: uppercase;
}

.trade-field strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.trade-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.trade-meta div {
  min-height: 64px;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid rgba(111, 196, 255, 0.08);
  border-radius: 0;
  background: transparent;
  transition: transform var(--motion-fast) ease, border-color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.trade-meta div:hover {
  transform: translateY(-2px);
  border-color: rgba(97, 217, 255, 0.28);
  background: transparent;
}

.trade-meta strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 14px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 54px;
  align-items: stretch;
}

.intro-copy,
.intro-rail,
.ami-overview,
.ami-module,
.feature-card,
.news-card {
  position: relative;
  border: 0;
  border-top: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  overflow: hidden;
}

.intro-copy {
  padding: 30px 0 0;
  border-top: 1px solid rgba(112, 255, 211, 0.14);
}

.intro-copy p {
  margin: 22px 0 0;
  color: rgba(226, 246, 255, 0.76);
  font-size: 18px;
  line-height: 1.78;
}

.intro-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  overflow: visible;
  background: transparent;
  border-top: 0;
}

.principle {
  position: relative;
  min-height: 0;
  padding: 30px 0 0;
  border-right: 0;
  background: transparent;
  overflow: visible;
  transition: transform var(--motion-fast) ease;
}

.principle:last-child {
  border-right: 0;
}

.principle::after {
  content: none;
}

.principle:hover {
  transform: translateY(-4px);
}

.principle span,
.feature-card span,
.ami-module > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(97, 217, 255, 0.36);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(0, 60, 255, 0.16);
  font-family: var(--font-display);
  font-size: 12px;
}

.principle h3,
.feature-card h3,
.ami-module h3,
.ami-overview h3,
.news-card h3 {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.18;
}

.principle p,
.feature-card p,
.ami-module p,
.ami-overview p {
  margin: 12px 0 0;
  color: var(--muted);
}

.decor-icon {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 0 18px rgba(97, 217, 255, 0.26));
}

.ami-console {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 62px;
  align-items: stretch;
  border-top: 0;
}

.ami-overview {
  min-height: 430px;
  padding: 40px 38px 36px;
  border-top: 0;
  background:
    linear-gradient(120deg, rgba(0, 60, 255, 0.22), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 54%);
}

.ami-overview-icon {
  position: absolute;
  top: 80px;
  right: 34px;
  z-index: 0;
  width: 96px;
  height: 96px;
  opacity: 0.16;
  filter: drop-shadow(0 0 28px rgba(97, 217, 255, 0.24));
}

.ami-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 34% 8%, rgba(97, 217, 255, 0.13), transparent 40%);
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.62), transparent 72%);
  pointer-events: none;
}

.ami-overview-head,
.ami-overview h3,
.ami-overview p,
.ami-stats {
  position: relative;
  z-index: 1;
}

.ami-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-display);
}

.ami-overview-head span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(97, 217, 255, 0.38);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(0, 60, 255, 0.16);
  box-shadow: 0 0 26px rgba(0, 60, 255, 0.24);
}

.ami-overview-head small {
  color: var(--mint);
  text-transform: uppercase;
}

.ami-overview h3 {
  max-width: 420px;
  margin-top: 88px;
  font-size: clamp(28px, 4vw, 52px);
}

.ami-stats {
  display: grid;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid rgba(111, 196, 255, 0.08);
}

.ami-stats div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0;
  border-bottom: 1px solid rgba(111, 196, 255, 0.07);
  font-family: var(--font-display);
}

.ami-stats small {
  color: var(--soft);
  font-size: 10px;
}

.ami-stats strong {
  color: var(--text);
  font-size: 13px;
}

.ami-module-stack {
  display: grid;
  gap: 14px;
  padding-top: 26px;
}

.ami-module {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 42px;
  gap: 18px;
  align-items: start;
  min-height: 118px;
  padding: 18px 16px;
  border-top: 0;
  border-radius: 8px;
  background: transparent;
  transition: transform var(--motion-mid) var(--ease-terminal), border-color var(--motion-fast) ease, background var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.ami-module:nth-child(2),
.ami-module:nth-child(4) {
  margin-left: 0;
}

.ami-module h3 {
  margin-top: 0;
}

.ami-module p {
  font-size: 14px;
  line-height: 1.6;
}

.ami-module-icon {
  width: 38px;
  height: 38px;
  align-self: center;
  justify-self: end;
  font-size: 38px;
  opacity: 0.42;
}

.ami-module:hover {
  transform: translateX(6px);
  border-color: var(--line-strong);
  background: linear-gradient(90deg, rgba(0, 60, 255, 0.12), transparent 70%);
  box-shadow: none;
}

.feature-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.feature-grid::before {
  content: none;
}

.feature-card {
  min-height: 0;
  padding: 28px 78px 0 0;
  border-top: 0;
  overflow: visible;
  transition: transform 0.18s ease, color 0.18s ease;
}

.feature-card-icon {
  position: absolute;
  top: 28px;
  right: 24px;
  width: 52px;
  height: 52px;
  opacity: 0.46;
}

.feature-card:nth-child(1) {
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
  background: transparent;
}

.feature-card:nth-child(2) {
  grid-column: auto;
  min-height: 0;
}

.feature-card:nth-child(3) {
  grid-column: auto;
  min-height: 0;
  background: transparent;
}

.feature-card::after,
.ami-overview::after,
.ami-module::after,
.news-card::after {
  content: none;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--soft);
  font-size: 13px;
}

.feature-card li {
  display: flex;
  gap: 8px;
}

.feature-card li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--accent-bright);
  box-shadow: 0 0 12px rgba(120, 216, 255, 0.68);
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: linear-gradient(90deg, rgba(0, 60, 255, 0.12), transparent 74%);
  box-shadow: none;
}

.news-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.news-tabs {
  display: flex;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(111, 196, 255, 0.16);
  border-radius: 999px;
  background: rgba(2, 9, 31, 0.16);
}

.news-tab {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease, box-shadow var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.news-tab:hover {
  transform: translateY(-1px);
  color: var(--text);
  background: rgba(0, 60, 255, 0.12);
}

.news-tab.is-active {
  color: var(--text);
  background: rgba(0, 60, 255, 0.2);
  box-shadow: 0 0 22px rgba(0, 60, 255, 0.18);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}

.news-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  grid-template-areas:
    "index body"
    "index action";
  column-gap: 22px;
  row-gap: 12px;
  align-items: center;
  min-height: 132px;
  padding: 28px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  transition: transform var(--motion-mid) var(--ease-terminal), border-color var(--motion-fast) ease, background var(--motion-fast) ease, box-shadow var(--motion-fast) ease, opacity var(--motion-mid) ease;
}

.news-card.is-filtering {
  animation: none;
}

.news-card.is-featured {
  min-height: 148px;
  background: linear-gradient(90deg, rgba(0, 60, 255, 0.14), transparent 74%);
}

.news-index {
  grid-area: index;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 84px;
  border-right: 1px solid var(--line-soft);
  color: rgba(97, 217, 255, 0.76);
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 28px rgba(0, 60, 255, 0.28);
}

.news-card:not(.is-featured) {
  padding: 22px 0;
}

.news-card:not(.is-featured) h3 {
  font-size: 19px;
}

.news-body {
  grid-area: body;
  min-width: 0;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--soft);
  font-family: var(--font-display);
  font-size: 11px;
}

.news-card h3 {
  margin-top: 0;
}

.news-body h3 {
  margin-top: 12px;
}

.tag {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(97, 217, 255, 0.22);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(0, 60, 255, 0.1);
}

.news-card a {
  grid-area: action;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  margin-top: 0;
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 12px;
  white-space: nowrap;
}

/* 模块视觉升级：用大色块和图形层替代旧的细线分割。 */
.section {
  position: relative;
}

.section-header {
  align-items: center;
  margin-bottom: 34px;
}

.section-header > p {
  max-width: 560px;
  color: rgba(226, 246, 255, 0.66);
}

.intro-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 22px;
}

.intro-copy {
  min-height: 520px;
  padding: 34px;
  border: 0;
  border-radius: var(--radius);
  background:
    radial-gradient(420px 300px at 72% 34%, rgba(97, 217, 255, 0.14), transparent 62%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(0, 60, 255, 0.18) 42%, rgba(2, 9, 31, 0.12)),
    rgba(4, 27, 92, 0.18);
  box-shadow: 0 30px 92px rgba(0, 12, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.intro-copy::before,
.feature-card::before,
.news-card::before,
.app-menu::before,
.trade-ticket::after,
.ami-overview::after,
.ami-module::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 38%),
    radial-gradient(circle at 86% 14%, rgba(97, 217, 255, 0.16), transparent 30%);
  opacity: 0.62;
}

.intro-copy p {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0;
  color: rgba(226, 246, 255, 0.76);
  font-size: 16px;
  line-height: 1.74;
}

.intro-copy p + p {
  margin-top: 18px;
}

.intro-visual {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 30px;
  z-index: 1;
  height: 210px;
  border-radius: var(--radius);
  background:
    radial-gradient(300px 220px at 50% 54%, rgba(255, 202, 92, 0.12), transparent 62%),
    radial-gradient(380px 260px at 54% 46%, rgba(97, 217, 255, 0.16), transparent 66%),
    linear-gradient(135deg, rgba(0, 60, 255, 0.22), rgba(2, 9, 31, 0.22));
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 48px rgba(0, 12, 42, 0.18);
}

.intro-visual-grid {
  display: none;
}

.intro-visual-icon {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(290px, 76%);
  max-height: 190px;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  transform: translate(-50%, -50%);
  filter: saturate(0.9) brightness(0.88) drop-shadow(0 28px 30px rgba(0, 12, 42, 0.28)) drop-shadow(0 0 20px rgba(97, 217, 255, 0.12));
}

.intro-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(237, 249, 255, 0.88);
  background: rgba(0, 60, 255, 0.3);
  box-shadow: 0 0 26px rgba(0, 60, 255, 0.25);
  font-family: var(--font-display);
  font-size: 11px;
}

.chip-wallet {
  left: 28px;
  top: 36px;
}

.chip-pool {
  right: 28px;
  top: 54px;
}

.chip-contract {
  left: 34%;
  bottom: 28px;
  color: var(--mint);
}

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

.principle {
  min-height: 250px;
  padding: 24px;
  border-radius: var(--radius);
  background:
    radial-gradient(280px 180px at 80% 18%, rgba(97, 217, 255, 0.13), transparent 64%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(0, 60, 255, 0.14) 48%, rgba(2, 9, 31, 0.08)),
    rgba(3, 22, 72, 0.16);
  box-shadow: 0 22px 70px rgba(0, 12, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.principle span,
.feature-card span,
.ami-module > span {
  border: 0;
  background: rgba(97, 217, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 20px rgba(0, 60, 255, 0.18);
}

.principle-icon {
  position: absolute;
  right: 12px;
  top: 8px;
  width: 86px;
  height: 86px;
  object-fit: contain;
  opacity: 0.78;
  filter: saturate(1.04) brightness(0.96) drop-shadow(0 18px 22px rgba(0, 12, 42, 0.22)) drop-shadow(0 0 16px rgba(120, 216, 255, 0.12));
}

.principle h3 {
  max-width: 170px;
  margin-top: 62px;
  font-size: 23px;
}

.principle p {
  max-width: 230px;
  color: rgba(226, 246, 255, 0.62);
  font-size: 14px;
  line-height: 1.66;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 0;
  border-top: 0;
}

.feature-card {
  min-height: 430px;
  padding: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(360px 260px at 84% 76%, rgba(97, 217, 255, 0.12), transparent 62%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(0, 60, 255, 0.16) 48%, rgba(2, 9, 31, 0.12)),
    rgba(4, 27, 92, 0.16);
  box-shadow: 0 30px 92px rgba(0, 12, 42, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.feature-card:nth-child(n) {
  min-height: 430px;
}

.feature-card::before {
  opacity: 0.48;
}

.feature-card > span {
  display: none;
}

.feature-card h3 {
  position: relative;
  z-index: 1;
  max-width: 230px;
  margin-top: 0;
  font-size: 25px;
}

.feature-card p,
.feature-card ul {
  position: relative;
  z-index: 1;
  max-width: 250px;
}

.feature-card p {
  color: rgba(226, 246, 255, 0.66);
  font-size: 14px;
  line-height: 1.7;
}

.feature-card ul {
  margin-top: 22px;
}

.module-art {
  position: absolute;
  right: -88px;
  bottom: -80px;
  z-index: 0;
  width: 348px;
  height: 330px;
  pointer-events: none;
}

.module-art::before {
  content: none;
}

.module-art::after {
  content: none;
}

.module-art img {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 330px;
  height: 330px;
  object-fit: contain;
  opacity: 0.78;
  filter: saturate(1.08) brightness(0.94) drop-shadow(0 28px 34px rgba(0, 12, 42, 0.3)) drop-shadow(0 0 26px rgba(120, 216, 255, 0.16));
}

.art-pool::after {
  left: 44px;
  bottom: 12px;
}

.art-ami::before {
  transform: rotate(10deg) skewX(8deg);
}

.news-grid {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}

.news-card,
.news-card.is-featured,
.news-card:not(.is-featured) {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  grid-template-areas: "index body action";
  column-gap: 22px;
  row-gap: 0;
  align-items: center;
  min-height: 132px;
  padding: 26px 0;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.news-index {
  position: relative;
  top: auto;
  left: auto;
  z-index: 1;
  grid-area: index;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 84px;
  border-right: 1px solid var(--line-soft);
  color: rgba(97, 217, 255, 0.76);
  font-size: clamp(34px, 4vw, 58px);
}

.news-visual {
  display: none;
}

.news-visual::before {
  content: none;
}

.news-visual img {
  display: none;
}

.news-body {
  grid-area: body;
  position: relative;
  z-index: 1;
}

.news-card h3,
.news-card:not(.is-featured) h3 {
  font-size: 20px;
}

.news-card.is-featured {
  background: linear-gradient(90deg, rgba(0, 60, 255, 0.14), transparent 74%);
}

.news-card::before {
  content: none;
}

.news-card a {
  grid-area: action;
  position: relative;
  z-index: 1;
  justify-self: end;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(0, 60, 255, 0.18);
}

.app-preview {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 22px;
}

.app-menu,
.trade-ticket {
  min-height: 470px;
  border-radius: var(--radius);
  box-shadow: 0 30px 92px rgba(0, 12, 42, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.app-menu {
  position: relative;
  padding: 40px;
  border: 1px solid rgba(105, 168, 255, 0.2);
  background:
    radial-gradient(620px 520px at 100% 38%, rgba(76, 132, 255, 0.22), transparent 55%),
    radial-gradient(520px 360px at 18% 100%, rgba(0, 60, 255, 0.42), transparent 64%),
    linear-gradient(145deg, rgba(24, 68, 148, 0.48), rgba(8, 38, 109, 0.9) 46%, rgba(5, 19, 60, 0.96)),
    #071f5e;
  overflow: hidden;
}

.app-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(111, 196, 255, 0.24) 1px, transparent 1.35px);
  background-size: 8px 8px;
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(140deg, transparent 18%, rgba(0, 0, 0, 0.2) 42%, #000 100%);
  mask-image: linear-gradient(140deg, transparent 18%, rgba(0, 0, 0, 0.2) 42%, #000 100%);
}

.app-menu::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 68px;
  z-index: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(111, 196, 255, 0.055);
  box-shadow: -220px 370px 140px rgba(0, 60, 255, 0.26);
  pointer-events: none;
}

.app-menu h3,
.app-tabs {
  position: relative;
  z-index: 2;
}

.app-tabs {
  width: min(100%, 340px);
  gap: 12px;
}

.app-tab {
  min-height: 62px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: rgba(2, 9, 31, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 42px rgba(0, 12, 42, 0.08);
}

.app-tab.is-live {
  background: linear-gradient(90deg, rgba(0, 60, 255, 0.38), rgba(0, 60, 255, 0.08));
}

.app-orbit {
  display: none;
}

.orbit-b {
  display: none;
}

.app-coin {
  display: none;
}

.app-coin.coin-a {
  top: 42px;
  right: 56px;
}

.app-coin.coin-b {
  left: 42px;
  bottom: 52px;
  width: 42px;
  height: 42px;
}

.trade-ticket {
  padding: 42px;
  border: 1px solid rgba(105, 168, 255, 0.22);
  background:
    radial-gradient(640px 460px at 100% 12%, rgba(76, 132, 255, 0.28), transparent 58%),
    radial-gradient(560px 360px at 0% 100%, rgba(0, 60, 255, 0.34), transparent 64%),
    linear-gradient(145deg, rgba(24, 68, 148, 0.46), rgba(8, 38, 109, 0.92) 50%, rgba(5, 19, 60, 0.96)),
    #071f5e;
}

.trade-ticket::before {
  inset: 0;
  background-image: radial-gradient(circle, rgba(111, 196, 255, 0.2) 1px, transparent 1.35px);
  background-size: 8px 8px;
  opacity: 0.28;
  -webkit-mask-image: linear-gradient(110deg, transparent 0%, rgba(0, 0, 0, 0.12) 34%, #000 100%);
  mask-image: linear-gradient(110deg, transparent 0%, rgba(0, 0, 0, 0.12) 34%, #000 100%);
}

.trade-ticket::after {
  content: "";
  position: absolute;
  right: -110px;
  top: -86px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(111, 196, 255, 0.055);
  opacity: 1;
  pointer-events: none;
}

.trade-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
  padding-right: 0;
}

.trade-field,
.trade-field + .trade-field {
  min-height: 128px;
  padding: 22px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(2, 9, 31, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.trade-field strong {
  font-size: clamp(26px, 3.2vw, 40px);
}

.trade-meta {
  gap: 14px;
  margin-top: 14px;
}

.trade-meta div {
  min-height: 86px;
  padding: 18px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(2, 9, 31, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.trade-meta strong {
  font-size: 16px;
}

.ami-console {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
}

.ami-overview {
  min-height: 560px;
  padding: 34px;
  border-radius: var(--radius);
  background:
    radial-gradient(440px 340px at 82% 20%, rgba(97, 217, 255, 0.16), transparent 64%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(0, 60, 255, 0.2) 48%, rgba(2, 9, 31, 0.12)),
    rgba(4, 27, 92, 0.18);
  box-shadow: 0 30px 92px rgba(0, 12, 42, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.ami-overview::before {
  opacity: 0.5;
}

.ami-overview-icon {
  display: none;
}

.ami-visual {
  position: absolute;
  top: 58px;
  right: 16px;
  z-index: 1;
  width: 292px;
  height: 292px;
}

.ami-visual::before,
.ami-visual span {
  content: none;
}

.ami-visual span {
  display: none;
}

.ami-visual img {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 280px;
  height: 280px;
  object-fit: contain;
  opacity: 0.78;
  transform: translate(-50%, -50%);
  filter: saturate(1.04) brightness(0.96) drop-shadow(0 30px 32px rgba(0, 12, 42, 0.28)) drop-shadow(0 0 22px rgba(97, 217, 255, 0.16));
}

.ami-overview h3 {
  max-width: 430px;
  margin-top: 214px;
}

.ami-overview p {
  position: relative;
  z-index: 2;
  max-width: 560px;
  color: rgba(226, 246, 255, 0.68);
  font-size: 15px;
  line-height: 1.7;
}

.ami-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-top: 0;
}

.ami-stats div {
  display: grid;
  min-height: 82px;
  padding: 16px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(2, 9, 31, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.ami-module-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 0;
}

.ami-module {
  grid-template-columns: 44px minmax(0, 1fr);
  min-height: 240px;
  padding: 22px;
  border-radius: var(--radius);
  background:
    radial-gradient(280px 190px at 82% 20%, rgba(97, 217, 255, 0.12), transparent 66%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(0, 60, 255, 0.13) 52%, rgba(2, 9, 31, 0.1)),
    rgba(3, 22, 72, 0.14);
  box-shadow: 0 22px 70px rgba(0, 12, 42, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.ami-module::after {
  opacity: 0.34;
}

.ami-module > div,
.ami-module > span,
.ami-module-icon {
  position: relative;
  z-index: 1;
}

.ami-module h3 {
  font-size: 22px;
}

.ami-module-icon {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 78px;
  height: 78px;
  font-size: 78px;
  opacity: 0.78;
  filter: saturate(1.04) brightness(0.96) drop-shadow(0 16px 22px rgba(0, 12, 42, 0.24)) drop-shadow(0 0 18px rgba(120, 216, 255, 0.12));
}

.resource-section {
  padding-top: 90px;
}

.resource-section > .section-header {
  grid-template-columns: 1fr;
}

.resource-section .section-kicker {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(34px, 4.8vw, 68px);
  font-weight: 700;
  line-height: 1.05;
}

.resource-group + .resource-group {
  margin-top: 34px;
}

.resource-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(111, 196, 255, 0.12);
}

.resource-group-head h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.resource-group-head span {
  color: var(--soft);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.08em;
}

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

.resource-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 14px 16px;
  overflow: hidden;
  border: 1px solid rgba(111, 196, 255, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(180px 100px at 8% 0%, rgba(97, 217, 255, 0.1), transparent 72%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(0, 60, 255, 0.09)),
    rgba(4, 27, 92, 0.18);
  box-shadow: 0 18px 48px rgba(0, 12, 42, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform var(--motion-mid) var(--ease-terminal),
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-mid) ease;
}

.resource-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.06), transparent 36%);
}

.resource-card:hover {
  transform: translateY(-3px);
  border-color: rgba(97, 217, 255, 0.34);
  box-shadow: 0 24px 62px rgba(0, 12, 42, 0.22), 0 0 30px rgba(0, 60, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.resource-card.is-downloading,
.poster-card-body a.is-downloading {
  pointer-events: none;
  cursor: wait;
  opacity: 0.66;
}

.resource-card:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 4px;
}

.resource-language {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(97, 217, 255, 0.28);
  border-radius: 50%;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.05em;
  box-shadow: inset 0 0 24px rgba(0, 60, 255, 0.12);
}

.resource-card-copy {
  min-width: 0;
}

.resource-card-copy > strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.35;
}

.resource-card-copy > small {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--soft);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-card > i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(97, 217, 255, 0.18);
  border-radius: 50%;
  background: rgba(0, 60, 255, 0.09);
  color: var(--accent-bright);
  font-size: 13px;
  transition: transform var(--motion-fast) ease, background-color var(--motion-fast) ease;
}

.resource-card:hover > i {
  transform: translateY(2px);
  background: rgba(0, 60, 255, 0.18);
}

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

.poster-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(111, 196, 255, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(0, 60, 255, 0.08)),
    rgba(4, 27, 92, 0.18);
  box-shadow: 0 18px 48px rgba(0, 12, 42, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition:
    transform var(--motion-mid) var(--ease-terminal),
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-mid) ease;
}

.poster-card:hover {
  transform: translateY(-4px);
  border-color: rgba(97, 217, 255, 0.3);
  box-shadow: 0 26px 64px rgba(0, 12, 42, 0.24), 0 0 28px rgba(0, 60, 255, 0.08);
}

.poster-preview {
  height: 250px;
  padding: 10px;
  overflow: hidden;
  border-bottom: 1px solid rgba(111, 196, 255, 0.1);
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 88, 255, 0.18), transparent 52%),
    rgba(1, 9, 32, 0.54);
}

.poster-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 600ms var(--ease-terminal);
}

.poster-card:hover .poster-preview img {
  transform: scale(1.018);
}

.poster-card-body {
  padding: 13px 14px 14px;
}

.poster-card-body > span {
  color: var(--soft);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.poster-card-body h3 {
  min-height: 38px;
  margin: 7px 0 11px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.poster-card-body a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(111, 196, 255, 0.1);
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 10px;
}

.poster-card-body a i {
  font-size: 12px;
  transition: transform var(--motion-fast) ease;
}

.poster-card-body a:hover i,
.poster-card-body a:focus-visible i {
  transform: translateY(2px);
}

.detail-section {
  padding: 132px 0 72px;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(148, 220, 255, 0.2);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(7, 48, 76, 0.32);
  backdrop-filter: blur(18px);
  font-family: var(--font-display);
  font-size: 12px;
  transition: color var(--motion-fast) ease, border-color var(--motion-fast) ease, background var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.detail-back::before {
  content: "←";
  color: var(--accent-bright);
}

.detail-back:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: rgba(120, 216, 255, 0.44);
  background: rgba(8, 56, 88, 0.52);
}

.detail-hero {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid rgba(111, 196, 255, 0.12);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 16%, rgba(120, 216, 255, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(8, 56, 88, 0.2) 48%, rgba(3, 29, 49, 0.34));
  backdrop-filter: blur(28px) saturate(145%);
  box-shadow: 0 34px 100px rgba(2, 19, 33, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.detail-hero h1 {
  max-width: 840px;
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.detail-hero > div:first-child {
  position: relative;
  z-index: 1;
}

.article-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--soft);
  font-family: var(--font-display);
  font-size: 12px;
}

.article-meta-line a {
  color: var(--accent-bright);
  text-decoration: none;
}

.article-meta-line a:hover {
  color: var(--text);
  text-decoration: underline;
}

#articleLead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.article-card,
.article-sidebar > * {
  border: 1px solid rgba(111, 196, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(8, 56, 88, 0.16) 48%, var(--panel));
  backdrop-filter: blur(26px) saturate(145%);
  box-shadow: 0 22px 70px rgba(2, 19, 33, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.article-card {
  padding: 34px;
}

.article-body {
  display: grid;
  gap: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.82;
}

.article-body p {
  margin: 0;
}

.article-body p:first-child {
  color: var(--text);
  font-size: 18px;
}

.article-sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 104px;
}

.related-panel {
  padding: 18px;
}

.related-panel h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.related-list {
  display: grid;
  gap: 10px;
}

.related-item {
  display: grid;
  gap: 8px;
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(120, 216, 255, 0.14);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(2, 19, 33, 0.14);
  transition: color var(--motion-fast) ease, border-color var(--motion-fast) ease, background var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.related-item small {
  color: var(--soft);
  font-family: var(--font-display);
  font-size: 10px;
  text-transform: uppercase;
}

.related-item strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.related-item:hover {
  transform: translateX(4px);
  border-color: rgba(120, 216, 255, 0.38);
  background: rgba(8, 56, 88, 0.22);
}

.related-item:hover strong {
  color: var(--accent-bright);
}

.site-footer {
  padding: 52px 0 34px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(2, 19, 33, 0.16), rgba(2, 19, 33, 0.48));
}

.detail-page .site-footer {
  position: relative;
  margin-top: 0;
  border-top-color: rgba(148, 220, 255, 0.055);
  background:
    linear-gradient(180deg, rgba(6, 44, 70, 0.02), rgba(3, 29, 49, 0.12) 45%, rgba(2, 19, 33, 0.3)),
    rgba(6, 44, 70, 0.03);
}

.detail-page .site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 220px;
  background: linear-gradient(180deg, rgba(6, 44, 70, 0), rgba(2, 19, 33, 0.16));
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(130px, 0.35fr));
  gap: 28px;
}

.footer-note {
  max-width: 440px;
  margin: 18px 0 0;
  color: var(--muted);
}

.footer-col h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  margin-top: 9px;
  color: var(--soft);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--soft);
  font-size: 13px;
}

.scroll-reveal {
  animation: reveal 0.48s ease both;
}

body.motion-ready .section,
body.motion-ready .site-footer {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms var(--ease-terminal), transform 520ms var(--ease-terminal);
  will-change: opacity, transform;
}

body.motion-ready .section.is-visible,
body.motion-ready .site-footer.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.motion-ready .section.is-visible .app-preview,
body.motion-ready .section.is-visible .intro-copy,
body.motion-ready .section.is-visible .intro-rail,
body.motion-ready .section.is-visible .ami-overview,
body.motion-ready .section.is-visible .ami-module,
body.motion-ready .section.is-visible .feature-card,
body.motion-ready .section.is-visible .news-card,
body.motion-ready .section.is-visible .resource-card,
body.motion-ready .section.is-visible .poster-card {
  animation: none;
}

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

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

@keyframes panelRise {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  body.motion-ready .section,
  body.motion-ready .site-footer {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-header,
  .app-preview,
  .intro-grid,
  .ami-console,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .section-header {
    gap: 16px;
    text-align: left;
  }

  .section-header > div,
  .section-header > p,
  .section-header .section-kicker,
  .section-header h2 {
    width: 100%;
    max-width: none;
    justify-self: start;
    text-align: left;
  }

  .news-top {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

  .news-top > div:first-child,
  .news-top .section-kicker,
  .news-top h2 {
    width: 100%;
    text-align: left;
  }

  .news-tabs {
    align-self: flex-start;
    max-width: 100%;
    overflow-x: auto;
  }

  .hero-grid {
    min-height: auto;
  }

  .route-panel {
    max-width: 620px;
  }

  .app-menu {
    padding-right: 0;
    border-right: 0;
  }

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

  .feature-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    min-height: auto;
  }

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

  .news-card.is-featured {
    min-height: 150px;
  }

  .news-card:nth-child(n) {
    margin-top: 0;
  }

  .ami-module:nth-child(n) {
    margin-left: 0;
  }

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

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

  .article-sidebar {
    position: static;
  }
}

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

  .site-header {
    top: 8px;
  }

  .nav {
    min-height: 58px;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: var(--radius);
    background: rgba(4, 20, 72, 0.94);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
  }

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

  .nav-links a {
    justify-content: center;
    border-radius: var(--radius);
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-actions .btn.primary {
    display: none;
  }

  .brand {
    min-width: auto;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding: 82px 0 28px;
  }

  .hero-content {
    width: 100%;
    margin: 0;
  }

  .page-shell::before {
    top: 0;
    height: 1180px;
    background:
      radial-gradient(720px 420px at 68% 500px, rgba(0, 60, 255, 0.2), transparent 68%),
      radial-gradient(520px 360px at 16% 690px, rgba(97, 217, 255, 0.08), transparent 72%),
      linear-gradient(180deg, rgba(7, 31, 94, 0) 0%, rgba(7, 31, 94, 0) 36%, rgba(9, 48, 148, 0.16) 56%, rgba(7, 31, 94, 0) 100%);
  }

  .hero-asset {
    height: 820px;
    opacity: 0.68;
  }

  .earth-orbit {
    top: 132px;
    right: -84px;
    width: 440px;
  }

  .terminal-strip,
  .panel-row,
  .trade-meta,
  .intro-rail {
    grid-template-columns: 1fr;
  }

  .route-panel {
    display: none;
  }

  .hero-copy {
    margin-top: 20px;
  }

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

  .terminal-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 34px;
  }

  .terminal-strip .metric,
  .terminal-strip .metric + .metric {
    min-height: 82px;
    padding: 14px 8px;
    border-top: 0;
    border-right: 0;
    background: rgba(0, 60, 255, 0.06);
    border-radius: var(--radius);
  }

  .terminal-strip .metric:first-child {
    padding-left: 0;
  }

  .terminal-strip .metric:last-child {
    border-right: 0;
  }

  .terminal-strip .metric span {
    display: none;
  }

  .quote-card,
  .quote-card + .quote-card,
  .principle {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  .quote-card + .quote-card,
  .principle + .principle {
    border-top: 1px solid var(--line-soft);
  }

  .metric:nth-child(n) {
    margin-top: 0;
  }

  .principle:nth-child(n) {
    grid-column: auto;
  }

  .swap-line {
    grid-template-columns: 1fr;
  }

  .route-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .section {
    padding: 62px 0;
  }

  .app-menu {
    border-right: 0;
  }

  .app-preview,
  .intro-grid,
  .ami-console {
    gap: 32px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-grid::before {
    display: none;
  }

  .detail-section {
    padding: 96px 0 62px;
  }

  .feature-card:nth-child(n),
  .news-card.is-featured,
  .ami-overview,
  .ami-module {
    min-height: auto;
  }

  .ami-overview h3 {
    margin-top: 56px;
  }

  .ami-module {
    grid-template-columns: 54px minmax(0, 1fr) 34px;
    gap: 12px;
  }

  .news-card {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-areas:
      "index body"
      "index action";
    align-items: start;
    gap: 12px;
  }

  .news-index {
    min-height: 82px;
    padding-right: 12px;
    font-size: 34px;
  }

  .news-card a {
    justify-self: start;
    margin-top: 8px;
  }

  .news-top {
    align-items: stretch;
    flex-direction: column;
  }

  .news-tabs {
    overflow-x: auto;
    border-radius: var(--radius);
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 520px) {
  .nav {
    padding-left: 12px;
  }

  .nav-actions {
    gap: 8px;
    min-width: auto;
  }

  .language-switcher summary {
    min-width: 46px;
    padding: 0 10px;
  }

  .lang-current {
    display: none;
  }

  .language-menu {
    min-width: min(192px, calc(100vw - 40px));
    right: -50px;
  }

  .language-menu::before {
    right: 78px;
  }

  .resource-grid,
  .poster-grid {
    grid-template-columns: 1fr;
  }

  .poster-preview {
    height: min(116vw, 440px);
  }

  .hero-copy {
    font-size: 16px;
  }

  :is(html[lang="en"], html[lang="es"], html[lang="fr"]) .hero h1 {
    font-size: clamp(38px, 12vw, 48px);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .detail-hero,
  .article-card,
  .trade-ticket {
    padding: 18px;
  }

  .app-preview,
  .intro-copy,
  .feature-card,
  .news-card {
    padding-left: 0;
    padding-right: 0;
  }

  .ami-overview {
    padding: 24px 18px;
  }

  .ami-module {
    padding: 18px 14px;
  }

  .feature-card {
    padding-right: 56px;
  }

  .feature-card-icon {
    top: 24px;
    right: 0;
    width: 42px;
    height: 42px;
    opacity: 0.36;
  }

  .app-tab-label i {
    width: 22px;
    height: 22px;
    font-size: 19px;
  }

  .ami-overview-icon {
    top: 58px;
    right: 18px;
    width: 70px;
    height: 70px;
    opacity: 0.13;
  }

  .ami-module-icon {
    width: 46px;
    height: 46px;
    opacity: 0.62;
  }

  .feed-item {
    grid-template-columns: 1fr;
    padding: 12px 0;
  }
}

@media (max-width: 1080px) {
  .app-menu {
    padding: 30px;
  }

  .intro-grid,
  .app-preview,
  .ami-console {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    min-height: auto;
  }

  .intro-visual {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    height: 230px;
    margin-top: 28px;
  }

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

  .trade-form {
    padding-right: 0;
  }
}

@media (max-width: 820px) {
  .section-header > p {
    justify-self: start;
  }

  .intro-rail,
  .feature-grid,
  .news-grid,
  .ami-module-stack,
  .trade-form,
  .trade-meta,
  .ami-stats {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    min-height: auto;
    padding: 24px;
  }

  .intro-copy p {
    max-width: none;
  }

  .intro-visual {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    height: 210px;
    margin-top: 28px;
  }

  .principle,
  .news-card,
  .news-card.is-featured,
  .news-card:not(.is-featured) {
    min-height: auto;
    padding: 22px;
  }

  .feature-card {
    min-height: 430px;
    padding: 22px;
  }

  .feature-card:nth-child(n) {
    min-height: 430px;
  }

  .feature-card h3,
  .feature-card p,
  .feature-card ul {
    max-width: none;
  }

  .module-art {
    right: -78px;
    bottom: -62px;
    width: 310px;
    height: 292px;
  }

  .module-art img {
    width: 292px;
    height: 292px;
  }

  .app-menu,
  .trade-ticket,
  .ami-overview {
    min-height: auto;
    padding: 24px;
  }

  .app-tabs {
    width: 100%;
  }

  .trade-form {
    padding-right: 0;
  }

  .ami-visual {
    position: relative;
    top: auto;
    right: auto;
    width: 260px;
    height: 240px;
    margin: 24px auto 0;
  }

  .ami-visual img {
    width: 250px;
    height: 250px;
  }

  .ami-overview h3 {
    margin-top: 28px;
  }

  .ami-module {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .intro-copy,
  .principle,
  .feature-card,
  .news-card,
  .news-card.is-featured,
  .news-card:not(.is-featured),
  .app-menu,
  .trade-ticket,
  .ami-overview {
    padding: 20px;
  }

  .intro-visual {
    height: 190px;
  }

  .intro-chip {
    min-height: 28px;
    padding: 0 10px;
    font-size: 10px;
  }

  .chip-wallet {
    left: 16px;
  }

  .chip-pool {
    right: 16px;
  }

  .chip-contract {
    left: 24%;
  }

  .module-art {
    right: -62px;
    bottom: -62px;
    width: 280px;
    height: 260px;
  }

  .module-art img {
    width: 260px;
    height: 260px;
  }

  .news-visual {
    display: none;
  }

  .news-card,
  .news-card.is-featured,
  .news-card:not(.is-featured) {
    padding: 18px 0;
  }

  .trade-form {
    margin-top: 18px;
  }

  .ami-module {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 20px;
  }

  .ami-module > div {
    padding-right: 68px;
  }

  .ami-module-icon {
    width: 58px;
    height: 58px;
    opacity: 0.68;
  }
}
