:root {
  --ink: #17151c;
  --panel: #201b2a;
  --panel-2: #2a2434;
  --muted: #746d7a;
  --text-soft: #d9d1de;
  --sage: #a7b89a;
  --moss: #7e946d;
  --plum: #6f4a8e;
  --clay: #c27a55;
  --copper: #d19a5c;
  --paper: #f8f4ea;
  --white: #ffffff;
  --line: #e2d8c8;
  --dark-line: rgba(209, 154, 92, 0.22);
  --glow: 0 18px 52px rgba(32, 27, 42, 0.25);
  --shadow: 0 24px 70px rgba(17, 16, 20, 0.18);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(250, 248, 241, 0) 0%, #faf8f1 42%),
    radial-gradient(circle at 12% 12%, rgba(167, 184, 154, 0.14), transparent 30%),
    radial-gradient(circle at 86% 4%, rgba(111, 74, 142, 0.14), transparent 28%);
}

.topline {
  border-bottom: 1px solid rgba(209, 154, 92, 0.18);
  background: rgba(23, 21, 28, 0.86);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid rgba(209, 154, 92, 0.72);
  background: linear-gradient(135deg, var(--copper), var(--clay));
  color: var(--white);
  text-decoration: none;
  font-weight: 780;
  box-shadow: 0 14px 32px rgba(194, 122, 85, 0.18);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.26);
}

.notice {
  border-bottom: 1px solid rgba(209, 154, 92, 0.16);
  background: #1b1722;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.notice-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 0;
}

.hero {
  position: relative;
  overflow: visible;
  color: var(--white);
  background-color: #17151c;
  background:
    linear-gradient(115deg, rgba(23, 21, 28, 0.98) 0%, rgba(42, 36, 52, 0.96) 52%, rgba(54, 43, 56, 0.94) 100%),
    radial-gradient(circle at 74% 22%, rgba(111, 74, 142, 0.22), transparent 30%),
    radial-gradient(circle at 20% 86%, rgba(194, 122, 85, 0.16), transparent 24%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(209, 154, 92, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(209, 154, 92, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 86%);
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 54px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  margin: 0;
  font-size: 1.4rem;
}

.lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.hero-visual {
  min-height: 440px;
  position: relative;
  isolation: isolate;
}

.network-panel {
  min-height: 420px;
  border: 1px solid rgba(209, 154, 92, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(32, 27, 42, 0.88), rgba(42, 36, 52, 0.78)),
    radial-gradient(circle at 50% 45%, rgba(167, 184, 154, 0.14), transparent 32%);
  box-shadow: var(--glow), 0 30px 80px rgba(0, 0, 0, 0.24);
  position: relative;
  overflow: hidden;
}

.network-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
}

.network-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(32, 27, 42, 0.42), transparent 48%),
    linear-gradient(180deg, transparent 64%, rgba(32, 27, 42, 0.28));
  pointer-events: none;
}

.network-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(209, 154, 92, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(209, 154, 92, 0.075) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.95), transparent 82%);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(167, 184, 154, 0.34);
  border-radius: 50%;
  inset: 54px 70px;
}

.orbit.two {
  inset: 106px 126px;
  border-color: rgba(209, 154, 92, 0.28);
}

.node {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 92px;
  min-height: 92px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(250, 248, 241, 0.96);
  border: 1px solid rgba(209, 154, 92, 0.26);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--panel);
}

.node.main {
  top: 151px;
  left: calc(50% - 62px);
  min-width: 124px;
  min-height: 124px;
  background: linear-gradient(145deg, var(--plum), var(--clay));
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.node.stablecoins {
  top: 38px;
  left: 44px;
}

.node.rwa {
  top: 58px;
  right: 50px;
}

.node.defi {
  bottom: 52px;
  left: 74px;
}

.node.wallets {
  bottom: 68px;
  right: 60px;
}

.status-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  transform: translateY(28px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(209, 154, 92, 0.24);
  background: rgba(250, 248, 241, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.status-item {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.status-item:last-child {
  border-right: 0;
}

.label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
}

.value {
  display: block;
  margin-top: 6px;
  font-weight: 820;
  color: var(--ink);
}

main {
  padding-top: 58px;
}

.answer-block {
  padding: 62px 0 28px;
  background: var(--paper);
}

.answer-inner,
.split-inner,
.token-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: start;
}

.answer-copy {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 34px rgba(17, 16, 20, 0.06);
}

.answer-copy p,
.token-inner p {
  margin: 0;
  color: #4f4855;
  font-size: 1.05rem;
}

.answer-copy p + p {
  margin-top: 16px;
}

.answer-meta {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.testnet-banner {
  padding: 48px 0 28px;
  background: var(--paper);
}

.testnet-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 16, 20, 0.98), rgba(34, 27, 47, 0.96)),
    radial-gradient(circle at 86% 20%, rgba(194, 122, 85, 0.13), transparent 24%);
  border: 1px solid rgba(209, 154, 92, 0.28);
  box-shadow: var(--glow);
}

.testnet-inner h2 {
  font-family: var(--sans);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.panel-note {
  max-width: 360px;
  margin: 12px 0 0;
  color: var(--text-soft);
}

.testnet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.metric {
  min-height: 106px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--dark-line);
}

.metric .label {
  color: var(--text-soft);
}

.metric .value {
  color: var(--white);
  font-size: 1.05rem;
}

.status-live {
  color: var(--sage) !important;
}

.section {
  padding: 72px 0;
}

.status-deep-dive {
  padding-top: 44px;
}

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

.status-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 36px rgba(17, 16, 20, 0.06);
}

.status-card h3 {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 1.12rem;
}

.status-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.split-section {
  padding-top: 76px;
  background: linear-gradient(180deg, var(--paper), #ffffff);
}

.fact-list {
  display: grid;
  gap: 14px;
}

.fact-item,
.faq-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(17, 16, 20, 0.05);
}

.fact-item h3,
.faq-item h3 {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--copper);
  margin-bottom: 0.5rem;
}

.fact-item p,
.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.token-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(32, 27, 42, 0.96), rgba(42, 36, 52, 0.94)),
    radial-gradient(circle at 84% 20%, rgba(194, 122, 85, 0.14), transparent 24%);
  color: var(--white);
}

.token-inner p {
  color: var(--text-soft);
}

.check-list {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.check-list li {
  padding-left: 22px;
  position: relative;
  color: var(--text-soft);
}

.check-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
  position: absolute;
  top: 0.58em;
  left: 0;
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 32px;
}

.section-head p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fffdf6 100%);
  padding: 24px;
  min-height: 236px;
  box-shadow: 0 16px 42px rgba(17, 16, 20, 0.08);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--copper), var(--plum));
}

.card p {
  color: var(--muted);
  margin: 14px 0 0;
}

.card-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--plum);
  font-weight: 800;
  text-decoration: none;
}

.faq-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-item a {
  color: var(--plum);
  font-weight: 780;
}

.source-strip {
  padding: 24px 0 50px;
  background: #ffffff;
}

.source-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  color: var(--muted);
}

.source-inner span {
  color: var(--ink);
  font-weight: 820;
}

.source-inner a {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  background: var(--paper);
  color: var(--plum);
  font-weight: 740;
}

/* Modern homepage landing layout */
.home-container {
  width: min(1152px, calc(100% - 32px));
  margin: 0 auto;
}

.home-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background-color: #15131a;
  background:
    linear-gradient(120deg, #15131a 0%, #201b2a 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(209, 154, 92, 0.18), transparent 38%);
  opacity: 0.22;
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  min-height: 570px;
  padding: 76px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: 56px;
  align-items: center;
}

.home-hero-copy h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 5.2vw, 4.85rem);
}

.home-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 22px;
  padding: 0 13px;
  border: 1px solid rgba(209, 154, 92, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--copper);
  font-size: 0.86rem;
  font-weight: 820;
}

.home-subtitle {
  max-width: 680px;
  margin: 24px 0 0;
  color: #d6cfde;
  font-size: clamp(1.08rem, 2vw, 1.26rem);
  line-height: 1.55;
}

.home-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topic-chips {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(167, 184, 154, 0.22);
  border-radius: 8px;
  background: rgba(167, 184, 154, 0.08);
  color: #dbe5d4;
  font-size: 0.92rem;
  font-weight: 700;
}

.source-line {
  max-width: 720px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #bfb8c8;
  font-size: 0.92rem;
  line-height: 1.7;
}

.source-line span {
  color: var(--copper);
  margin: 0 8px;
}

.hero-status-card,
.hero-dossier {
  border: 1px solid rgba(209, 154, 92, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(23, 21, 28, 0.74);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  padding: 28px;
}

.hero-dossier {
  min-height: 438px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
}

.hero-status-card-head {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-status-card-head strong {
  display: block;
  margin-top: 7px;
  font-size: 1.24rem;
}

.hero-status-card dl {
  display: grid;
  gap: 0;
  margin: 4px 0 0;
}

.hero-status-card dl div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.hero-status-card dl div:last-child {
  border-bottom: 0;
}

.hero-status-card dt {
  color: #b8b2c2;
  font-size: 0.9rem;
}

.hero-status-card dd {
  margin: 0;
  color: var(--white);
  font-weight: 820;
  text-align: right;
}

.dossier-top {
  display: grid;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dossier-top strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.dossier-top small {
  color: #b8b2c2;
}

.dossier-map {
  position: relative;
  min-height: 168px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  overflow: hidden;
}

.map-node {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 860;
}

.map-node.center {
  width: 72px;
  height: 72px;
  top: calc(50% - 36px);
  left: calc(50% - 36px);
  border: 1px solid rgba(209, 154, 92, 0.56);
  background: rgba(209, 154, 92, 0.16);
  color: var(--white);
  font-size: 1.2rem;
}

.map-node.item {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(167, 184, 154, 0.32);
  background: rgba(17, 16, 20, 0.78);
  color: #dbe5d4;
  font-size: 0.78rem;
}

.map-node.one {
  top: 22px;
  left: 22px;
}

.map-node.two {
  top: 24px;
  right: 22px;
}

.map-node.three {
  bottom: 22px;
  left: calc(50% - 32px);
}

.map-line {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: rgba(209, 154, 92, 0.42);
  transform-origin: left center;
}

.line-one {
  width: 138px;
  top: 66px;
  left: 76px;
  transform: rotate(24deg);
}

.line-two {
  width: 132px;
  top: 68px;
  right: 76px;
  transform: rotate(154deg);
}

.line-three {
  width: 90px;
  bottom: 62px;
  left: calc(50% - 8px);
  transform: rotate(92deg);
}

.dossier-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.dossier-facts div {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.dossier-facts div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.dossier-facts div:nth-child(odd) {
  padding-right: 16px;
}

.dossier-facts div:nth-child(even) {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.dossier-facts span {
  display: block;
  color: #b8b2c2;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 820;
}

.dossier-facts strong {
  display: block;
  margin-top: 5px;
  color: var(--white);
  font-size: 0.94rem;
}

.home-main {
  position: relative;
  padding-top: 0;
  background: #faf8f1;
}

.home-section {
  padding: 72px 0;
  color: var(--ink);
  border-top: 0;
}

#overview.home-section {
  color: var(--ink);
  background: transparent;
}

#overview .home-container {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(17, 16, 20, 0.06);
}

#overview .home-section-head h2 {
  color: var(--ink);
  text-shadow: none;
}

#overview .home-section-head p {
  color: #4f4855;
}

.home-section-head {
  display: flex;
  justify-content: space-between;
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.home-section-head.narrow {
  display: block;
  max-width: 768px;
  margin-bottom: 0;
}

.home-section-head h2 {
  max-width: 720px;
  color: var(--ink);
}

.home-section-head p {
  max-width: 768px;
  margin: 16px 0 0;
  color: #5f5766;
  font-size: 1.08rem;
}

.home-section-head > p {
  max-width: 510px;
}

.compact-head {
  align-items: start;
}

.compact-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
}

.editorial-brief {
  padding-top: 86px;
}

.brief-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: 58px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.brief-grid h2 {
  max-width: 460px;
}

.brief-copy {
  display: grid;
  gap: 18px;
}

.brief-copy p {
  max-width: 760px;
  margin: 0;
  color: #4f4855;
  font-size: 1.12rem;
  line-height: 1.72;
}

.home-note-row {
  max-width: 880px;
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-note-row span {
  display: inline-flex;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: #4f4855;
  font-size: 0.94rem;
  font-weight: 720;
}

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

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

.home-card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(17, 16, 20, 0.06);
}

.home-card.equal-card {
  display: flex;
  flex-direction: column;
}

.home-card h3 {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 1.2rem;
  line-height: 1.22;
  color: var(--ink);
}

.home-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.evidence-section {
  padding-top: 28px;
}

.evidence-ledger {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(17, 16, 20, 0.06);
  overflow: hidden;
}

.evidence-row {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
}

.evidence-row:last-child {
  border-bottom: 0;
}

.evidence-row h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.1rem;
  color: var(--ink);
}

.evidence-row p {
  max-width: 780px;
  margin: 8px 0 0;
  color: #5c5563;
}

.evidence-row a {
  color: var(--plum);
  font-weight: 820;
  text-decoration: none;
  white-space: nowrap;
}

.evidence-row a:hover {
  text-decoration: underline;
}

.evidence-status {
  display: inline-flex;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 860;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.evidence-status.confirmed {
  background: rgba(167, 184, 154, 0.2);
  color: #536348;
}

.evidence-status.published {
  background: rgba(209, 154, 92, 0.16);
  color: #8a572e;
}

.evidence-status.claimed {
  background: rgba(111, 74, 142, 0.14);
  color: var(--plum);
}

.evidence-status.planned {
  background: rgba(116, 109, 122, 0.12);
  color: #5f5766;
}

.evidence-status.unknown {
  background: rgba(23, 21, 28, 0.09);
  color: var(--ink);
}

.research-paths {
  padding-top: 56px;
}

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

.path-item {
  display: grid;
  grid-template-columns: 168px minmax(0, 0.72fr) minmax(0, 1.1fr) auto;
  gap: 26px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.path-item span {
  color: var(--plum);
  font-size: 0.76rem;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.path-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.32rem, 1.8vw, 1.72rem);
  color: var(--ink);
}

.path-item p {
  margin: 0;
  color: var(--muted);
}

.path-item .card-link {
  margin-top: 2px;
  color: var(--plum);
  white-space: nowrap;
}

.path-item.primary-path {
  padding-top: 32px;
}

.path-item.primary-path h3 {
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
}

.positioning-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf6;
  color: var(--plum);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.positioning-grid .home-card h3 {
  margin-top: 0;
}

.wide-card {
  grid-column: span 2;
}

.testnet-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: center;
  padding: 32px;
  border: 1px solid rgba(209, 154, 92, 0.28);
  border-radius: 8px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 14%, rgba(194, 122, 85, 0.15), transparent 26%),
    linear-gradient(135deg, rgba(17, 16, 20, 0.99), rgba(34, 27, 47, 0.97));
  box-shadow: var(--glow);
}

.testnet-panel h2 {
  font-family: var(--sans);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.testnet-panel p {
  max-width: 420px;
  margin: 13px 0 0;
  color: #d6cfde;
}

.testnet-panel .label,
.token-section .label {
  color: var(--text-soft);
}

.testnet-panel h2,
.token-section h2 {
  color: var(--white);
}

.max-text {
  max-width: 768px;
}

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

.guide-card {
  min-height: 268px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fffdf6 100%);
  box-shadow: 0 12px 30px rgba(17, 16, 20, 0.06);
}

.guide-card h3 {
  font-family: var(--sans);
  font-size: 1.22rem;
  color: var(--ink);
}

.guide-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.guide-card .card-link {
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
}

.faq-accordion {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.faq-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(17, 16, 20, 0.05);
  overflow: hidden;
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 22px 54px 22px 22px;
  color: var(--ink);
  font-weight: 850;
  font-size: 1.06rem;
}

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

.faq-card summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  color: var(--plum);
  font-size: 1.35rem;
  line-height: 1;
}

.faq-card[open] summary::after {
  content: "-";
}

.faq-card p {
  margin: 0;
  padding: 0 22px 22px;
  color: #4f4855;
}

.faq-card a {
  color: var(--plum);
  font-weight: 780;
}

.home-main .label {
  color: #5c5563;
}

.home-main .card-link {
  color: var(--plum);
}

.home-main .source-strip {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.home-main .faq-section {
  background: transparent;
  border-top: 0;
}

.home-main .source-inner {
  color: #5c5563;
}

.home-main .source-inner span {
  color: var(--ink);
}

.home-main .source-inner a {
  border-color: var(--line);
  background: var(--paper);
  color: var(--plum);
}

.home-main .source-inner a:hover {
  border-color: rgba(111, 74, 142, 0.32);
  background: rgba(111, 74, 142, 0.08);
  color: var(--plum);
}

.site-footer {
  padding: 44px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.article-page {
  padding-top: 0;
  background: var(--paper);
}

.article-hero {
  color: var(--white);
  background-color: #17151c;
  background:
    linear-gradient(115deg, rgba(23, 21, 28, 0.98) 0%, rgba(42, 36, 52, 0.96) 58%, rgba(54, 43, 56, 0.94) 100%),
    radial-gradient(circle at 78% 24%, rgba(194, 122, 85, 0.16), transparent 28%);
}

.article-hero-inner {
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.hero-right-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  align-self: stretch;
}

.hero-project-logo {
  margin-bottom: 20px;
  opacity: 0.88;
}

.hero-project-logo--float {
  margin-top: auto;
  margin-bottom: auto;
}

.hero-project-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 260px;
  margin: 0 auto;
}

.article-meta {
  margin: 22px 0 0;
  color: var(--text-soft);
}

.article-status-card {
  padding: 24px;
  border: 1px solid rgba(209, 154, 92, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.article-status-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.25rem;
}

.article-status-card p {
  margin: 12px 0 0;
  color: var(--text-soft);
}

.article-body {
  padding: 58px 0 78px;
}

.article-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px minmax(0, 780px);
  gap: 54px;
  align-items: start;
}

.article-toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.article-toc strong {
  margin-bottom: 4px;
}

.article-toc a {
  color: #5c5563;
  text-decoration: none;
  font-weight: 680;
}

.article-toc a:hover {
  color: var(--plum);
}

.article-content {
  display: grid;
  gap: 34px;
}

.article-content section {
  padding-bottom: 4px;
}

.article-content h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.article-content p,
.article-content li {
  color: #4f4855;
  font-size: 1.06rem;
}

.article-content a {
  color: var(--plum);
  font-weight: 760;
}

.article-content ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.source-ledger {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(17, 16, 20, 0.06);
}

.source-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 190px;
  gap: 20px;
  align-items: start;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.source-row:last-child {
  border-bottom: 0;
}

.source-row h3,
.contrast-stack h3,
.tee-band h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.08rem;
}

.source-row p,
.contrast-stack p,
.tee-band p {
  margin: 7px 0 0;
  color: var(--muted);
}

.source-row strong {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.4;
}

.source-status {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(209, 154, 92, 0.14);
  color: var(--plum);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.source-status.live {
  background: rgba(167, 184, 154, 0.2);
  color: #536348;
}

.source-status.muted {
  background: rgba(116, 109, 122, 0.14);
  color: var(--muted);
}

.contrast-stack {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.contrast-stack article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fffdf6 100%);
}

.contrast-stack span {
  color: var(--plum);
  font-weight: 820;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tee-band {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(209, 154, 92, 0.28);
  border-radius: 8px;
  background: rgba(209, 154, 92, 0.28);
  box-shadow: var(--glow);
}

.tee-band > div {
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(32, 27, 42, 0.98), rgba(42, 36, 52, 0.96)),
    radial-gradient(circle at 85% 20%, rgba(194, 122, 85, 0.12), transparent 24%);
  color: var(--white);
}

.tee-band .label {
  color: var(--copper);
}

.tee-band p {
  color: var(--text-soft);
}

.article-callout {
  padding: 28px 28px 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(17, 16, 20, 0.06);
}

.article-callout h2 {
  font-size: 1.1rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

.article-callout .stacked-head-lead {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--copper);
}

.quick-facts {
  margin-top: 20px;
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.quick-facts div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.quick-facts strong {
  display: block;
  margin-top: 6px;
}

.related-links a {
  color: var(--plum);
  text-decoration: none;
}

.related-links a:hover {
  text-decoration: underline;
}

.review-ledger .source-row {
  grid-template-columns: 118px minmax(0, 1fr) 170px;
}

.article-faq .faq-grid {
  margin-top: 18px;
}

.article-sources {
  padding: 0;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
}

.footer-inner strong {
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

@media (max-width: 980px) {
  .testnet-inner,
  .testnet-grid,
  .answer-inner,
  .split-inner,
  .token-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 880px) {
  .nav {
    align-items: flex-start;
    padding: 16px 0;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-inner,
  .grid-three,
  .guide-grid,
  .status-grid,
  .footer-inner,
  .answer-inner,
  .split-inner,
  .token-inner,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 56px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .network-panel {
    min-height: 350px;
  }

  .network-panel img {
    min-height: 350px;
  }

  .status-strip {
    grid-template-columns: repeat(2, 1fr);
    transform: none;
    margin-top: 28px;
  }

  main {
    padding-top: 0;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

  .article-hero-inner,
  .article-layout,
  .tee-band {
    grid-template-columns: 1fr;
  }

  .source-row,
  .contrast-stack article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .source-status {
    width: fit-content;
  }

  .article-toc {
    position: static;
  }

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

@media (max-width: 640px) {
  .testnet-inner,
  .testnet-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav,
  .notice-inner,
  .hero-inner,
  .status-strip,
  .section-inner,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .status-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-item:last-child {
    border-bottom: 0;
  }

  .node {
    min-width: 76px;
    min-height: 76px;
    font-size: 0.72rem;
  }

  .node.main {
    min-width: 104px;
    min-height: 104px;
    left: calc(50% - 52px);
  }

  .node.stablecoins {
    left: 18px;
  }

  .node.rwa {
    right: 18px;
  }

  .node.defi {
    left: 24px;
  }

  .node.wallets {
    right: 20px;
  }

  .article-layout,
  .article-hero-inner {
    width: min(100% - 24px, 1180px);
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .home-hero-grid,
  .testnet-panel,
  .home-card-grid.three,
  .brief-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-grid {
    min-height: auto;
    gap: 42px;
    padding: 72px 0;
  }

  .home-section-head {
    display: block;
  }

  .home-section-head > p {
    max-width: 768px;
  }

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

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

@media (max-width: 880px) {
  .clean-guide-grid,
  .faq-accordion,
  .home-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .evidence-row a {
    white-space: normal;
  }

  .path-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .path-item .card-link {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .home-container {
    width: min(100% - 24px, 1152px);
  }

  .home-hero-grid {
    padding: 56px 0;
  }

  .home-actions {
    display: grid;
  }

  .home-section {
    padding: 64px 0;
  }

  .editorial-brief {
    padding-top: 64px;
  }

  .brief-grid {
    gap: 24px;
  }

  .source-line span {
    margin: 0 5px;
  }

  .hero-status-card,
  .hero-dossier,
  .testnet-panel,
  .home-card,
  .guide-card,
  .evidence-ledger,
  .dossier-map {
    border-radius: 8px;
  }

  .hero-status-card dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero-status-card dd {
    text-align: left;
  }

  .clean-guide-grid,
  .faq-accordion,
  .home-card-grid,
  .home-card-grid.three,
  .testnet-grid {
    grid-template-columns: 1fr;
  }

  .evidence-row,
  .path-item {
    padding: 22px;
  }

  .path-list {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
  }

  .path-item {
    background: #ffffff;
  }

  .path-item:last-child {
    border-bottom: 0;
  }

  .dossier-facts {
    grid-template-columns: 1fr;
  }

  .dossier-facts div:nth-child(odd),
  .dossier-facts div:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }

  .dossier-facts div:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .dossier-facts div:last-child {
    border-bottom: 0;
  }

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

/* ============================================================
   VISUAL POLISH LAYER — Interactions, animations, diagrams
   ============================================================ */

/* --- Smooth transitions on all interactive surface elements --- */
.card,
.status-card,
.fact-item,
.faq-item,
.contrast-stack article,
.quick-facts div {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.source-row {
  transition: background 0.16s ease;
}

.metric {
  transition: background 0.18s ease, border-color 0.2s ease;
}

/* --- Card hover lift --- */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 72px rgba(17, 16, 20, 0.13);
  border-color: rgba(111, 74, 142, 0.24);
}

/* --- Status card hover --- */
.status-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(17, 16, 20, 0.1);
  border-color: rgba(111, 74, 142, 0.28);
}

/* --- Fact item hover --- */
.fact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(17, 16, 20, 0.09);
  border-color: rgba(111, 74, 142, 0.2);
}

/* --- FAQ item hover --- */
.faq-item:hover {
  box-shadow: 0 16px 40px rgba(17, 16, 20, 0.08);
  border-color: rgba(111, 74, 142, 0.22);
}

/* --- Source ledger row hover --- */
.source-row:hover {
  background: rgba(255, 255, 255, 0.95);
}

/* --- Contrast stack hover --- */
.contrast-stack article:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(17, 16, 20, 0.1);
}

/* --- Quick-facts hover --- */
.quick-facts div:hover {
  transform: translateY(-2px);
  border-color: rgba(111, 74, 142, 0.26);
}

/* --- Metric card hover (dark surface) --- */
.metric:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(209, 154, 92, 0.46);
}

/* --- TEE band hover --- */
.tee-band > div {
  transition: background 0.2s ease;
}
.tee-band > div:hover {
  background:
    linear-gradient(135deg, rgba(42, 36, 52, 0.98), rgba(56, 47, 70, 0.96)),
    radial-gradient(circle at 85% 20%, rgba(194, 122, 85, 0.18), transparent 24%);
}

/* --- Button hover --- */
.button {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(194, 122, 85, 0.32);
}
.button.secondary:hover {
  box-shadow: 0 14px 34px rgba(255, 255, 255, 0.14);
}

/* --- Per-card gradient accent bar (unique colour per card) --- */
.card:nth-child(1)::before { background: linear-gradient(90deg, var(--sage), var(--moss)); }
.card:nth-child(2)::before { background: linear-gradient(90deg, var(--copper), var(--clay)); }
.card:nth-child(3)::before { background: linear-gradient(90deg, var(--plum), #9b6bc4); }
.card:nth-child(4)::before { background: linear-gradient(90deg, var(--clay), var(--copper)); }
.card:nth-child(5)::before { background: linear-gradient(90deg, #7e946d, var(--sage)); }
.card:nth-child(6)::before { background: linear-gradient(90deg, #9b6bc4, var(--plum)); }

/* --- Article hero bottom gradient accent bar --- */
.article-hero::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--copper), var(--plum));
}

/* --- Article callout left accent --- */
.article-callout {
  border-left: 3px solid var(--plum);
}

/* --- Status strip bottom gradient bar --- */
.status-strip {
  overflow: hidden;
}
.status-strip::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--copper), var(--plum));
}

/* --- Pulsing live dot --- */
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.live-dot::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 0 rgba(167, 184, 154, 0.7);
  animation: live-pulse 2.2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(167, 184, 154, 0.7); }
  60%  { box-shadow: 0 0 0 11px rgba(167, 184, 154, 0);  }
  100% { box-shadow: 0 0 0 0   rgba(167, 184, 154, 0);   }
}

/* --- Metric cards — bigger numbers --- */
.metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.metric .value {
  font-size: 1.52rem !important;
  font-weight: 820;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

/* --- Network diagram node hover --- */
.node {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  z-index: 2;
}
.node:hover {
  z-index: 5;
}
.node.stablecoins:hover,
.node.rwa:hover,
.node.defi:hover,
.node.wallets:hover {
  transform: scale(1.08);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
}
.node span {
  display: block;
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1.1;
}
.node small {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.76;
  margin-top: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Node floating animation --- */
.node.main {
  animation: node-float 3.8s ease-in-out infinite;
}
@keyframes node-float {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-9px); }
}

/* --- Orbit ring slow spin --- */
.orbit {
  animation: orbit-spin 32s linear infinite;
}
.orbit.two {
  animation-duration: 50s;
  animation-direction: reverse;
}
@keyframes orbit-spin {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}

/* --- SVG connection-line overlay --- */
.network-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* --- Architecture / hub diagram container --- */
.arch-diagram {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fffdf6 100%);
  padding: 22px 16px 16px;
  overflow: hidden;
}
.arch-diagram-caption {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 10px;
  font-style: italic;
  letter-spacing: 0.03em;
}
.arch-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}

/* --- TOC link hover indent --- */
.article-toc a {
  transition: color 0.14s ease, padding-left 0.14s ease;
}
.article-toc a:hover {
  padding-left: 5px;
}

/* --- Eyebrow accent rule --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 16px;
  height: 2px;
  background: var(--copper);
  border-radius: 1px;
}

/* --- Eyebrow on light-background sections --- */
.home-main .eyebrow {
  color: #7a4a1a;
}
.home-main .eyebrow::before {
  background: #7a4a1a;
}

/* --- Section horizontal divider helper --- */
.section-divider {
  height: 1px;
  border: none;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line) 24%, var(--line) 76%, transparent);
}

/* --- Source strip link hover --- */
.source-inner a {
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.source-inner a:hover {
  background: rgba(111, 74, 142, 0.08);
  border-color: rgba(111, 74, 142, 0.32);
  color: var(--plum);
}

/* --- Testnet section padding tweak for the live dot eyebrow --- */
.testnet-banner .eyebrow {
  margin-bottom: 10px;
}

/* --- Email alert section --- */
.alert-section {
  background: linear-gradient(135deg, rgba(111,74,142,0.08) 0%, rgba(209,154,92,0.06) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.alert-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
}
.alert-copy h2 {
  margin: 0.5rem 0 0.75rem;
  font-size: 1.75rem;
}
.alert-copy p {
  color: var(--muted);
  line-height: 1.65;
}
.alert-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.alert-form input[type="email"] {
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.18s ease;
}
.alert-form input[type="email"]:focus {
  outline: none;
  border-color: var(--plum);
}
.alert-form button {
  padding: 0.9rem 1.4rem;
  background: var(--plum);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s ease, transform 0.12s ease;
}
.alert-form button:hover {
  background: color-mix(in srgb, var(--plum) 85%, #000 15%);
  transform: translateY(-1px);
}
.alert-form small {
  font-size: 0.78rem;
  color: var(--muted);
}
@media (max-width: 700px) {
  .alert-box {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }
}

/* --- Footer expanded layout --- */
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}
.footer-brand { max-width: 320px; }
.footer-brand strong {
  display: block;
  font-size: 1rem;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}
.footer-brand p {
  font-size: 0.82rem;
  color: #9b94a0;
  line-height: 1.6;
  margin: 0 0 0.75rem;
}
.footer-email {
  font-size: 0.82rem;
  color: var(--copper);
  text-decoration: none;
}
.footer-email:hover { text-decoration: underline; }
.footer-cols {
  display: flex;
  gap: 3rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9b94a0;
  margin-bottom: 0.25rem;
}
.footer-col a {
  font-size: 0.82rem;
  color: #b0aab6;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text-soft); }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--dark-line);
  font-size: 0.75rem;
  color: #9b94a0;
}
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { max-width: 100%; }
  .footer-cols { flex-wrap: wrap; gap: 1.5rem; }
}

/* --- Airdrop section --- */
.airdrop-section {
  background:
    linear-gradient(135deg, rgba(111, 74, 142, 0.18) 0%, rgba(209, 154, 92, 0.10) 100%),
    var(--ink);
  border-top: 1px solid rgba(111, 74, 142, 0.35);
  border-bottom: 1px solid rgba(209, 154, 92, 0.22);
}
.airdrop-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
}
.airdrop-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--copper);
  background: rgba(209, 154, 92, 0.12);
  border: 1px solid rgba(209, 154, 92, 0.3);
  border-radius: 20px;
  padding: 5px 14px 5px 10px;
  margin-bottom: 1rem;
}
.airdrop-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
  animation: airdrop-pulse 1.8s ease-in-out infinite;
}
@keyframes airdrop-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(209,154,92,0.5); }
  50% { opacity: 0.85; transform: scale(1.15); box-shadow: 0 0 0 5px rgba(209,154,92,0); }
}
.airdrop-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--paper);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}
.airdrop-copy > p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 580px;
  margin: 0 0 1.5rem;
}
.airdrop-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.airdrop-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--plum), #9b5cbf);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  animation: cta-glow 2.8s ease-in-out infinite;
}
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111,74,142,0), 0 4px 20px rgba(111,74,142,0.35); }
  50% { box-shadow: 0 0 0 6px rgba(111,74,142,0.15), 0 4px 28px rgba(111,74,142,0.55); }
}
.airdrop-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
  box-shadow: 0 8px 32px rgba(111,74,142,0.5);
  animation: none;
}
.airdrop-note {
  font-size: 0.78rem;
  color: var(--muted);
}
.airdrop-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 240px;
}
.airdrop-highlight {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(209,154,92,0.2);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}
.airdrop-hl-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.airdrop-highlight strong {
  display: block;
  color: var(--copper);
  font-size: 1rem;
  margin-bottom: 4px;
}
.airdrop-highlight strong.status-live {
  color: var(--sage);
}
.airdrop-highlight p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 860px) {
  .airdrop-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .airdrop-highlights { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .airdrop-highlight { flex: 1; min-width: 180px; }
}

/* ============================================================
   HOW TO BUY — EXCHANGE CARDS
   ============================================================ */

.exchange-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.exchange-card {
  background: var(--panel);
  border: 1px solid rgba(111, 74, 142, 0.25);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.exchange-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.exchange-card-header strong {
  color: var(--copper);
  font-size: 1.1rem;
}

.exchange-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sage);
  background: rgba(167, 184, 154, 0.12);
  border: 1px solid rgba(167, 184, 154, 0.25);
  border-radius: 4px;
  padding: 0.2em 0.5em;
}

.exchange-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0;
}

.exchange-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.exchange-card ul li {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.exchange-cta {
  display: inline-block;
  margin-top: auto;
  padding: 0.6rem 1.1rem;
  background: var(--plum);
  color: #fff;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, opacity 0.2s;
}

.exchange-cta:hover {
  background: #7d569e;
  opacity: 1;
}

.exchange-affiliate-note {
  font-size: 0.72rem !important;
  color: var(--muted) !important;
  margin-top: 0.25rem !important;
}



@media (max-width: 640px) {
  .exchange-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PRICE PREDICTION — SCENARIO CARDS
   ============================================================ */

.scenario-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.scenario-card {
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border: 1px solid transparent;
}

.scenario-bear {
  background: rgba(180, 60, 60, 0.18);
  border-color: rgba(180, 60, 60, 0.5);
}

.scenario-base {
  background: rgba(111, 74, 142, 0.2);
  border-color: rgba(111, 74, 142, 0.55);
}

.scenario-bull {
  background: rgba(209, 154, 92, 0.2);
  border-color: rgba(209, 154, 92, 0.55);
}

.scenario-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.scenario-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scenario-bear .scenario-label   { color: #c97070; }
.scenario-base .scenario-label   { color: var(--plum); filter: brightness(1.4); }
.scenario-bull .scenario-label   { color: var(--copper); }

.scenario-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.scenario-mcap {
  font-size: 0.8rem;
  color: var(--text);
  opacity: 0.7;
  margin: 0;
}

.scenario-card > p:last-child {
  font-size: 0.875rem;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .scenario-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   NAV — CTA BUTTON + ACTIVE STATE (global)
   ============================================================ */

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  background: linear-gradient(135deg, var(--copper), var(--clay));
  color: var(--white) !important;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid rgba(209, 154, 92, 0.5);
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.nav-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* Active page indicator — copper dot above link */
.nav-links a[aria-current="page"] {
  color: var(--copper);
  position: relative;
}

.nav-links a[aria-current="page"]::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--copper);
  border-radius: 2px;
}

/* ============================================================
   SCROLL PROGRESS BAR (global — activated by .is-home body)
   ============================================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--plum), var(--copper));
  z-index: 100;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ============================================================
   IS-HOME SCOPED OVERRIDES — nav hover animation + border
   ============================================================ */

/* Gradient bottom border on header */
.topline {
  border-bottom: none;
  position: relative;
}

.topline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--plum) 20%,
    var(--copper) 55%,
    var(--sage) 80%,
    transparent 100%
  );
  opacity: 0.6;
}

/* Slide-in underline on hover */
.nav-links a:not(.nav-cta) {
  position: relative;
  padding-bottom: 3px;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width 0.22s ease;
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-links a[aria-current="page"]::after {
  width: 100%;
  background: var(--copper);
}

/* ============================================================
   BRAND MARK — POLISH
   ============================================================ */

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
}

.brand-tld {
  color: var(--copper);
}

@keyframes mark-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(111, 74, 142, 0.35), 0 4px 14px rgba(23, 21, 28, 0.4); }
  50%       { box-shadow: 0 0 22px rgba(111, 74, 142, 0.7), 0 4px 18px rgba(23, 21, 28, 0.4); }
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
  animation: mark-glow 3s ease-in-out infinite;
}

.brand:hover .brand-mark {
  animation-duration: 1s;
}

/* ============================================================
   NAV DROPDOWN — GUIDES
   ============================================================ */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-soft);
  font-size: 0.94rem;
  cursor: default;
  user-select: none;
  transition: color 0.15s;
}

.nav-dropdown-trigger.active,
.nav-dropdown:hover .nav-dropdown-trigger {
  color: var(--white);
}

.nav-dropdown-trigger.active {
  color: var(--copper);
}

.nav-arrow {
  font-size: 0.7rem;
  display: inline-block;
  transition: transform 0.2s ease;
  opacity: 0.7;
}

.nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 220px;
  background: rgba(27, 23, 34, 0.97);
  border: 1px solid rgba(209, 154, 92, 0.18);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  z-index: 50;
}

/* Small top notch pointing up */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 28px;
  width: 9px;
  height: 9px;
  background: rgba(27, 23, 34, 0.97);
  border-left: 1px solid rgba(209, 154, 92, 0.18);
  border-top: 1px solid rgba(209, 154, 92, 0.18);
  transform: rotate(45deg);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Invisible bridge — keeps hover alive as mouse travels from trigger to menu */
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 18px;
  background: transparent;
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--text-soft);
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: rgba(111, 74, 142, 0.2);
  color: var(--white);
}

.nav-dropdown-menu a[aria-current="page"] {
  color: var(--copper);
  background: rgba(209, 154, 92, 0.08);
}

.nav-dropdown-divider {
  height: 1px;
  background: rgba(209, 154, 92, 0.15);
  margin: 4px 8px;
}

.nav-dropdown-external {
  color: var(--muted) !important;
  font-size: 0.8rem !important;
}

.nav-dropdown-external:hover {
  color: var(--sage) !important;
  background: rgba(167, 184, 154, 0.1) !important;
}

/* ============================================================
   SECTION HEAD CAPTION VARIANTS
   ============================================================ */

.section-source-note {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.section-lead {
  margin: 12px 0 0;
  font-size: 1rem;
  color: #5f5766;
  max-width: 600px;
}

/* ============================================================
   SOURCES CARD + SECTION HEAD VARIANTS
   ============================================================ */

.evidence-head {
  align-items: center;
}

.sources-card {
  flex-shrink: 0;
  border: 1px solid rgba(209, 154, 92, 0.22);
  border-radius: 10px;
  padding: 16px 20px;
  background: rgba(209, 154, 92, 0.04);
  min-width: 190px;
}

.sources-card-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--copper);
  margin-bottom: 10px;
}

.sources-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sources-card ul li {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sources-card ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
  opacity: 0.45;
  flex-shrink: 0;
}

.faq-head {
  margin-bottom: 28px;
}

.faq-head .section-lead {
  margin: 10px 0 0;
  font-size: 1rem;
  color: #5f5766;
  max-width: 560px;
}

@media (max-width: 640px) {
  .sources-card {
    display: none;
  }
}

/* ============================================================
   STACKED SECTION HEAD
   ============================================================ */

.home-section-head.stacked-head {
  display: block;
  max-width: 780px;
  margin-bottom: 36px;
}

.stacked-head-lead {
  margin: 12px 0 0;
  font-size: 1.05rem;
  color: #5f5766;
  line-height: 1.6;
  max-width: 640px;
}

/* ============================================================
   MOBILE NAV
   ============================================================ */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-soft);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav {
    flex-direction: row;
    align-items: center;
    padding: 0;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(23, 21, 28, 0.98);
    border-bottom: 1px solid rgba(209, 154, 92, 0.18);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    padding: 12px 16px 20px;
    gap: 4px;
  }

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

  .nav-links a {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
  }

  .nav-links a:hover {
    background: rgba(255,255,255,0.05);
  }

  /* Dropdown becomes a flat list on mobile */
  .nav-dropdown {
    width: auto;
  }

  .nav-dropdown-trigger {
    width: auto;
    padding: 10px 18px;
    border-radius: 8px;
    justify-content: center;
    gap: 6px;
  }

  .nav-dropdown-trigger:hover,
  .nav-dropdown-trigger:active {
    background: rgba(255,255,255,0.05);
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.04);
    border: none;
    border-radius: 8px;
    align-items: center;
    margin: 4px 0 4px 0;
    padding: 4px;
    display: none;
    backdrop-filter: none;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown.mobile-open .nav-dropdown-menu {
    display: flex;
  }

  .nav-arrow {
    transition: transform 0.2s;
  }

  .nav-dropdown.mobile-open .nav-arrow {
    transform: rotate(180deg);
  }

  /* Remove desktop active-page highlights in mobile menu */
  .nav-links a[aria-current="page"] {
    color: inherit;
  }
  .nav-links a[aria-current="page"]::before,
  .nav-links a[aria-current="page"]::after,
  .nav-links a:not(.nav-cta)::after {
    display: none;
  }

  /* Bridge not needed on mobile */
  .nav-dropdown::after {
    display: none;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
  }
}
