:root {
  --wp-font-body: 'Jost', sans-serif;
  --wp-font-heading: 'Outfit', sans-serif;
  --wp-navy: #18283c;
  --wp-navy-2: #233c54;
  --wp-teal: #41bc97;
  --wp-mint: #dff8ed;
  --wp-paper: #f7faf7;
  --wp-ink: #17283c;
  --wp-muted: #617083;
  --wp-line: rgba(24, 40, 60, 0.12);
  --wp-radius: 34px;
}
html {
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}
html.whitepaper-toc-open,
html.whitepaper-toc-open body {
  overflow: hidden;
}
.enerdex-whitepaper {
  position: relative;
  overflow: hidden;
  color: var(--wp-ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(65, 188, 151, 0.12), transparent 28rem),
    radial-gradient(circle at 100% 30%, rgba(24, 40, 60, 0.11), transparent 34rem),
    linear-gradient(180deg, #f7faf7 0%, #ffffff 42%, #f3f8f6 100%);
  font-family: var(--wp-font-body);
}
.enerdex-whitepaper :where(h2, h3, h4, h5, h6, p, li, dt, dd, strong, span, a, button, small, th, td) {
  font-family: var(--wp-font-body);
}
.enerdex-whitepaper h1 {
  font-family: var(--wp-font-heading);
}
.whitepaper-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99999;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wp-teal), #d9ce78);
  box-shadow: 0 0 18px rgba(65, 188, 151, 0.75);
}
.whitepaper-readerbar,
.whitepaper-mobile-toc,
.whitepaper-float-nav {
  font-family: var(--wp-font-body);
}
.whitepaper-readerbar {
  position: sticky;
  top: 0;
  z-index: 9000;
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: rgba(10, 23, 35, 0.92);
  color: #ffffff;
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 46px rgba(7, 20, 31, 0.2);
}
.whitepaper-readerbar__track {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}
.whitepaper-readerbar__track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--wp-teal), #d8ce78);
  box-shadow: 0 0 16px rgba(65,188,151,0.65);
}
.whitepaper-readerbar__meta {
  min-width: 0;
  flex: 1 1 auto;
}
.whitepaper-readerbar__label {
  display: block;
  color: #a9e9cf;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.whitepaper-readerbar__section {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitepaper-readerbar__percent {
  flex: 0 0 auto;
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.whitepaper-readerbar__button,
.whitepaper-mobile-toc button,
.whitepaper-float-nav button {
  border: 0;
  cursor: pointer;
  font-family: var(--wp-font-body);
}
.whitepaper-readerbar__button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #dff8ed, #d8ce78);
  color: var(--wp-navy);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.whitepaper-mobile-toc {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: none;
  visibility: hidden;
  pointer-events: none;
}
.whitepaper-mobile-toc.is-open {
  visibility: visible;
  pointer-events: auto;
}
.whitepaper-mobile-toc__scrim {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 31, 0.58);
  opacity: 0;
  transition: opacity 220ms ease;
}
.whitepaper-mobile-toc__panel {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  max-height: min(78vh, 720px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(247,250,247,0.94)),
    radial-gradient(circle at 0 0, rgba(65,188,151,0.18), transparent 18rem);
  box-shadow: 0 34px 100px rgba(7,20,31,0.35);
  transform: translateY(106%);
  transition: transform 260ms cubic-bezier(.22,.8,.25,1);
}
.whitepaper-mobile-toc.is-open .whitepaper-mobile-toc__scrim {
  opacity: 1;
}
.whitepaper-mobile-toc.is-open .whitepaper-mobile-toc__panel {
  transform: translateY(0);
}
.whitepaper-mobile-toc__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 22px 14px;
  border-bottom: 1px solid rgba(24,40,60,0.1);
}
.whitepaper-mobile-toc__head span {
  display: block;
  color: var(--wp-teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.whitepaper-mobile-toc__head h2 {
  margin: 6px 0 0;
  color: var(--wp-navy);
  font-family: var(--wp-font-body);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.05em;
}
.whitepaper-mobile-toc__head button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--wp-navy);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.whitepaper-mobile-toc__links {
  display: grid;
  gap: 8px;
  max-height: calc(min(78vh, 720px) - 94px);
  overflow: auto;
  padding: 14px;
  -webkit-overflow-scrolling: touch;
}
.whitepaper-mobile-toc__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(24,40,60,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.7);
  color: var(--wp-navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}
.whitepaper-mobile-toc__links a::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--wp-teal);
  border-right: 2px solid var(--wp-teal);
  transform: rotate(45deg);
}
.whitepaper-mobile-toc__links a.is-active {
  background: linear-gradient(135deg, rgba(65,188,151,0.14), rgba(216,206,120,0.13));
  border-color: rgba(65,188,151,0.3);
}
.whitepaper-float-nav {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 8000;
  display: flex;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.whitepaper-float-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.whitepaper-float-nav button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(12, 28, 42, 0.9);
  color: #ffffff;
  box-shadow: 0 18px 46px rgba(7,20,31,0.22);
  backdrop-filter: blur(16px);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.whitepaper-float-nav button:last-child {
  background: linear-gradient(135deg, #dff8ed, #d8ce78);
  color: var(--wp-navy);
}
.whitepaper-hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 48px;
  align-items: center;
  padding: 130px max(7vw, 28px) 110px;
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(7, 20, 31, 0.88), rgba(24, 40, 60, 0.78)),
    url('../wp-content/uploads/2023/07/modern-container-battery-energy-storage-power-plant-system-accompanied-with-solar-panels-wind-turbine-system-situated-nature-with-mount-st-helens-background-3d-rendering.jpg') center/cover;
  isolation: isolate;
}
.whitepaper-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(247, 250, 247, 0.98));
  z-index: -1;
}
.whitepaper-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.22));
}
.whitepaper-hero__orb {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.72;
  animation: whitepaperFloat 9s ease-in-out infinite;
}
.whitepaper-hero__orb--one {
  width: 440px;
  height: 440px;
  right: 8%;
  top: 18%;
  border: 1px solid rgba(65, 188, 151, 0.34);
  background: radial-gradient(circle, rgba(65,188,151,0.18), transparent 66%);
}
.whitepaper-hero__orb--two {
  width: 260px;
  height: 260px;
  left: 6%;
  bottom: 14%;
  background: radial-gradient(circle, rgba(216,206,120,0.22), transparent 70%);
  animation-delay: -3s;
}
.whitepaper-eyebrow {
  margin: 0 0 22px;
  color: #a9e9cf;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.48em;
  text-transform: uppercase;
}
.whitepaper-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #ffffff;
  font-family: var(--wp-font-heading);
  font-size: clamp(48px, 7vw, 110px);
  font-weight: 600;
  line-height: 0.93;
  letter-spacing: -0.07em;
}
.whitepaper-hero__subtitle {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255,255,255,0.84);
  font-size: clamp(21px, 2.15vw, 34px);
  line-height: 1.28;
}
.whitepaper-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.whitepaper-hero__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  color: #f7fff9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.whitepaper-hero__terminal {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
  box-shadow: 0 34px 90px rgba(0,0,0,0.28);
  backdrop-filter: blur(22px);
}
.whitepaper-terminal__bar {
  display: flex;
  gap: 8px;
  margin-bottom: 34px;
}
.whitepaper-terminal__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #41bc97;
}
.whitepaper-terminal__bar span:nth-child(2) { background: #d8ce78; }
.whitepaper-terminal__bar span:nth-child(3) { background: #ffffff; opacity: 0.55; }
.whitepaper-hero__terminal p {
  margin: 0 0 16px;
  color: #a9e9cf;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.whitepaper-hero__terminal strong {
  display: block;
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.12;
}
.whitepaper-hero__terminal small {
  display: block;
  margin-top: 22px;
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  line-height: 1.7;
}
.whitepaper-overview {
  width: min(1180px, calc(100% - 44px));
  margin: clamp(42px, 5vw, 74px) auto 94px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.whitepaper-stat {
  min-height: 190px;
  padding: 30px;
  border: 1px solid var(--wp-line);
  border-radius: 28px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 26px 70px rgba(24, 40, 60, 0.11);
  backdrop-filter: blur(18px);
}
.whitepaper-stat span,
.whitepaper-section__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(65,188,151,0.13);
  color: var(--wp-teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.whitepaper-stat strong {
  display: block;
  margin-top: 22px;
  color: var(--wp-ink);
  font-size: 24px;
  line-height: 1.1;
}
.whitepaper-stat p {
  margin: 16px 0 0;
  color: var(--wp-muted);
  font-size: 16px;
  line-height: 1.65;
}
.whitepaper-shell {
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.whitepaper-toc {
  position: sticky;
  top: 28px;
  max-height: calc(100vh - 56px);
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--wp-line);
  border-radius: 24px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 24px 60px rgba(24, 40, 60, 0.08);
  backdrop-filter: blur(18px);
}
.whitepaper-toc p {
  margin: 0 0 16px;
  color: var(--wp-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.whitepaper-toc a {
  display: block;
  padding: 9px 12px;
  border-radius: 12px;
  color: #4f6072;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
.whitepaper-toc a:hover,
.whitepaper-toc a.is-active {
  color: var(--wp-ink);
  background: rgba(65,188,151,0.12);
  transform: translateX(3px);
}
.whitepaper-document {
  display: grid;
  gap: 26px;
}
.whitepaper-section {
  position: relative;
  padding: clamp(30px, 4.4vw, 58px);
  border: 1px solid var(--wp-line);
  border-radius: var(--wp-radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,255,255,0.78)),
    linear-gradient(90deg, rgba(65,188,151,0.08), transparent);
  box-shadow: 0 28px 80px rgba(24, 40, 60, 0.09);
  overflow: hidden;
}
.whitepaper-section::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(65,188,151,0.14);
  background: radial-gradient(circle, rgba(65,188,151,0.08), transparent 68%);
}
.whitepaper-section h2 {
  margin: 20px 0 20px;
  color: var(--wp-ink);
  font-family: var(--wp-font-body);
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.whitepaper-section h3 {
  margin: 34px 0 14px;
  color: var(--wp-ink);
  font-size: clamp(23px, 2.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.whitepaper-section h4 {
  margin: 24px 0 10px;
  color: var(--wp-navy-2);
  font-size: 18px;
  font-weight: 800;
}
.whitepaper-section p,
.whitepaper-section li,
.whitepaper-section dd {
  color: var(--wp-muted);
  font-size: 18px;
  line-height: 1.78;
}
.whitepaper-section p {
  margin: 0 0 16px;
}
.whitepaper-section ul,
.whitepaper-section ol {
  padding-left: 22px;
  margin: 14px 0 22px;
}
.whitepaper-section li + li {
  margin-top: 8px;
}
.whitepaper-split-cards,
.whitepaper-token-layout,
.whitepaper-process-grid,
.whitepaper-feature-grid,
.whitepaper-market-grid {
  display: grid;
  gap: 16px;
}
.whitepaper-split-cards,
.whitepaper-token-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.whitepaper-split-cards div,
.whitepaper-feature-grid div,
.whitepaper-process-grid > div,
.whitepaper-market-grid div,
.whitepaper-token-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(24,40,60,0.1);
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
}
.whitepaper-split-cards > div > span:not(.whitepaper-token-glyph),
.whitepaper-process-grid > div > span,
.whitepaper-market-grid span,
.whitepaper-token-card small {
  display: block;
  margin-bottom: 10px;
  color: var(--wp-teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.whitepaper-split-cards p,
.whitepaper-market-grid strong {
  margin: 0;
  color: var(--wp-ink);
  font-size: 24px;
  line-height: 1.25;
}
.whitepaper-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 !important;
  list-style: none;
}
.whitepaper-pill-list li,
.whitepaper-tier-list li {
  margin: 0 !important;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(65,188,151,0.12);
  color: var(--wp-ink);
  font-size: 15px;
  font-weight: 800;
}
.whitepaper-feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.whitepaper-feature-grid strong {
  display: block;
  color: var(--wp-ink);
  font-size: 20px;
  line-height: 1.1;
}
.whitepaper-feature-grid span {
  display: block;
  margin-top: 10px;
  color: var(--wp-muted);
  font-size: 14px;
  line-height: 1.4;
}
.whitepaper-rail-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}
.whitepaper-rail {
  min-height: 230px;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.14);
  color: #ffffff;
  background: linear-gradient(145deg, var(--wp-navy), #31506a);
  box-shadow: 0 28px 70px rgba(24,40,60,0.18);
}
.whitepaper-rail--network {
  background: linear-gradient(145deg, #1d4e48, #41bc97);
}
.whitepaper-rail span,
.whitepaper-rail strong,
.whitepaper-rail p {
  color: #ffffff;
}
.whitepaper-rail span {
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.72;
}
.whitepaper-rail strong {
  display: block;
  margin: 22px 0;
  font-family: var(--wp-font-body);
  font-size: 64px;
  line-height: 0.9;
}
.whitepaper-rail p {
  margin: 0;
  opacity: 0.78;
}
.whitepaper-rail-connector {
  height: 2px;
  background: linear-gradient(90deg, rgba(24,40,60,0.12), var(--wp-teal), rgba(24,40,60,0.12));
}
.whitepaper-rail-connector span {
  display: block;
  width: 18px;
  height: 18px;
  margin: -8px auto 0;
  border-radius: 50%;
  background: var(--wp-teal);
  box-shadow: 0 0 0 12px rgba(65,188,151,0.12);
}
.whitepaper-principle {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-left: 5px solid var(--wp-teal);
  border-radius: 22px;
  background: rgba(65,188,151,0.1);
}
.whitepaper-principle p {
  margin: 0;
  color: var(--wp-ink);
  font-size: 24px;
  font-weight: 800;
}
.whitepaper-token-card dl,
.whitepaper-definitions {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.whitepaper-token-card dl div,
.whitepaper-definitions div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(24,40,60,0.08);
}
.whitepaper-token-card dt,
.whitepaper-definitions dt {
  color: var(--wp-ink);
  font-weight: 900;
}
.whitepaper-token-card dd,
.whitepaper-definitions dd {
  margin: 0;
}
.whitepaper-process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.whitepaper-process-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.whitepaper-process-grid h3 {
  margin-top: 0;
}
.whitepaper-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--wp-line);
  border-radius: 24px;
  background: #ffffff;
}
.whitepaper-tokenomics-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.whitepaper-tokenomics-table th,
.whitepaper-tokenomics-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(24,40,60,0.08);
  text-align: left;
  color: var(--wp-ink);
}
.whitepaper-tokenomics-table th {
  background: rgba(24,40,60,0.04);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.whitepaper-tokenomics-table td {
  font-size: 17px;
  font-weight: 600;
}
.whitepaper-bars {
  display: grid;
  gap: 13px;
  margin-top: 24px;
}
.whitepaper-bars div {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 15px 18px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(24,40,60,0.05);
}
.whitepaper-bars div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--bar) * 1%);
  background: linear-gradient(90deg, rgba(65,188,151,0.26), rgba(216,206,120,0.18));
}
.whitepaper-bars span,
.whitepaper-bars strong {
  position: relative;
  color: var(--wp-ink);
  font-weight: 800;
}
.whitepaper-market-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.whitepaper-steps,
.whitepaper-flywheel {
  list-style: none;
  padding: 0 !important;
}
.whitepaper-steps li,
.whitepaper-flywheel li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 12px !important;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.7);
  color: var(--wp-ink);
  font-weight: 800;
}
.whitepaper-steps span,
.whitepaper-flywheel span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--wp-navy);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}
.whitepaper-loop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(24,40,60,0.08), rgba(65,188,151,0.13));
}
.whitepaper-loop span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--wp-ink);
  font-weight: 900;
}
.whitepaper-loop i {
  color: var(--wp-teal);
  font-style: normal;
  font-weight: 900;
}
.whitepaper-tier-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 !important;
  list-style: none;
}
.whitepaper-flywheel {
  display: grid;
  grid-template-columns: repeat(7, minmax(130px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px !important;
}
.whitepaper-flywheel li {
  min-height: 140px;
  align-items: flex-start;
  flex-direction: column;
}
.whitepaper-section--conclusion {
  background: linear-gradient(145deg, #17283c, #24405a);
}
.whitepaper-section--conclusion h2,
.whitepaper-section--conclusion p,
.whitepaper-section--conclusion li {
  color: #ffffff;
}
.whitepaper-section--conclusion .whitepaper-section__number {
  background: rgba(255,255,255,0.13);
  color: #a9e9cf;
}
html.whitepaper-js [data-whitepaper-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 320ms ease, transform 320ms ease;
}
html.whitepaper-js [data-whitepaper-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@keyframes whitepaperFloat {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(0,-18px,0) scale(1.03); }
}
@media (max-width: 1180px) {
  .whitepaper-hero {
    grid-template-columns: 1fr;
  }
  .whitepaper-hero__terminal {
    max-width: 620px;
  }
  .whitepaper-shell {
    grid-template-columns: 1fr;
  }
  .whitepaper-toc {
    position: relative;
    top: auto;
    max-height: none;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 14px;
  }
  .whitepaper-toc p {
    display: none;
  }
  .whitepaper-toc a {
    white-space: nowrap;
  }
  .whitepaper-feature-grid,
  .whitepaper-market-grid,
  .whitepaper-process-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .enerdex-whitepaper {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
  .whitepaper-hero {
    min-height: auto;
    padding: 82px 22px 96px;
  }
  .whitepaper-hero h1 {
    font-size: clamp(42px, 14vw, 66px);
  }
  .whitepaper-hero__terminal {
    padding: 24px;
    border-radius: 24px;
  }
  .whitepaper-hero__terminal strong {
    font-size: 23px;
  }
  .whitepaper-overview,
  .whitepaper-shell {
    width: min(100% - 28px, 1180px);
  }
  .whitepaper-overview,
  .whitepaper-feature-grid,
  .whitepaper-split-cards,
  .whitepaper-token-layout,
  .whitepaper-process-grid,
  .whitepaper-process-grid--three,
  .whitepaper-market-grid,
  .whitepaper-tier-list {
    grid-template-columns: 1fr;
  }
  .whitepaper-section {
    border-radius: 26px;
    padding: 28px 20px;
  }
  .whitepaper-section h2 {
    font-size: clamp(34px, 12vw, 52px);
  }
  .whitepaper-section p,
  .whitepaper-section li,
  .whitepaper-section dd {
    font-size: 16px;
  }
  .whitepaper-rail-diagram {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .whitepaper-rail-connector {
    width: 100%;
    height: auto;
    min-height: 42px;
    margin: 2px 0;
    background: none;
    box-shadow: none;
  }
  .whitepaper-rail-connector span {
    display: none;
  }
  .whitepaper-rail {
    min-height: auto;
    padding: 30px 26px;
  }
  .whitepaper-rail strong {
    font-size: 48px;
  }
  .whitepaper-token-card dl div,
  .whitepaper-definitions div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .whitepaper-principle p,
  .whitepaper-split-cards p {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  [data-whitepaper-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Premium whitepaper polish */
body.page-id-whitepaper .menu-toggle,
body.page-id-whitepaper .search-toggle {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.enerdex-whitepaper::before,
.enerdex-whitepaper::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}
.enerdex-whitepaper::before {
  inset: 0;
  opacity: 0.52;
  background-image:
    linear-gradient(rgba(65, 188, 151, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 188, 151, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 82%, transparent);
}
.enerdex-whitepaper::after {
  width: 46vw;
  height: 46vw;
  min-width: 560px;
  min-height: 560px;
  right: -22vw;
  top: 42vh;
  border: 1px solid rgba(65, 188, 151, 0.18);
  border-radius: 50%;
  background:
    conic-gradient(from 120deg, rgba(65,188,151,0.2), transparent 22%, rgba(216,206,120,0.14), transparent 42%, rgba(24,40,60,0.12), transparent 70%),
    radial-gradient(circle, rgba(65,188,151,0.12), transparent 62%);
  filter: blur(0.2px);
  opacity: 0.72;
}
.whitepaper-hero,
.whitepaper-overview,
.whitepaper-marquee,
.whitepaper-shell {
  position: relative;
  z-index: 1;
}
.whitepaper-hero {
  min-height: clamp(660px, 76vh, 790px);
  overflow: hidden;
  padding-top: clamp(148px, 15vh, 186px);
  padding-bottom: clamp(92px, 12vh, 132px);
  background:
    radial-gradient(circle at 78% 34%, rgba(65,188,151,0.2), transparent 25rem),
    linear-gradient(120deg, rgba(7, 20, 31, 0.9), rgba(24, 40, 60, 0.74)),
    url('../wp-content/uploads/2023/07/modern-container-battery-energy-storage-power-plant-system-accompanied-with-solar-panels-wind-turbine-system-situated-nature-with-mount-st-helens-background-3d-rendering.jpg') center/cover;
}
.whitepaper-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,18,28,0.54) 0%, transparent 44%, rgba(7,17,27,0.34) 100%),
    radial-gradient(circle at 50% 100%, rgba(216,206,120,0.2), transparent 34rem);
}
.whitepaper-hero::after {
  height: 84px;
  background: linear-gradient(180deg, rgba(247, 250, 247, 0) 0%, rgba(247, 250, 247, 0.72) 68%, #f7faf7 100%);
}
.whitepaper-hero__mark {
  position: absolute;
  right: clamp(24px, 8vw, 140px);
  bottom: clamp(70px, 12vw, 140px);
  z-index: -1;
  width: clamp(220px, 31vw, 520px);
  opacity: 0.16;
  filter: drop-shadow(0 34px 80px rgba(65,188,151,0.28));
  animation: whitepaperMarkFloat 12s ease-in-out infinite;
}
.whitepaper-hero__content {
  max-width: 980px;
  align-self: start;
}
.whitepaper-hero h1 {
  font-size: clamp(46px, 6.25vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-shadow: 0 24px 70px rgba(0,0,0,0.24);
}
.whitepaper-hero__subtitle {
  max-width: 780px;
}
.whitepaper-hero__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(860px, 100%);
  margin-top: 28px;
}
.whitepaper-hero__metrics div {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.035)),
    radial-gradient(circle at 20% 0%, rgba(65,188,151,0.22), transparent 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 20px 42px rgba(0,0,0,0.18);
  backdrop-filter: blur(18px);
}
.whitepaper-hero__metrics div::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--wp-teal), rgba(216,206,120,0.82), transparent);
}
.whitepaper-token-glyph {
  --token-size: 44px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--token-size);
  width: var(--token-size);
  height: var(--token-size);
  color: var(--wp-navy);
  pointer-events: none;
}
.whitepaper-token-glyph--dark {
  color: #ffffff;
  filter: drop-shadow(0 12px 24px rgba(65,188,151,0.2));
}
.whitepaper-token-glyph--edx {
  background: currentColor;
  -webkit-mask: url('../assets/edx.png') center / contain no-repeat;
  mask: url('../assets/edx.png') center / contain no-repeat;
}
.whitepaper-token-glyph--eusd {
  border: 2px solid currentColor;
  border-radius: 50%;
}
.whitepaper-token-glyph--eusd::before {
  content: "$";
  color: currentColor;
  font-family: var(--wp-font-body);
  font-size: calc(var(--token-size) * 0.58);
  font-weight: 900;
  line-height: 1;
}
.whitepaper-token-glyph--eusd::after {
  content: "";
  position: absolute;
  inset: calc(var(--token-size) * -0.1);
  border: 2px solid currentColor;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  opacity: 0.62;
  transform: rotate(34deg);
}
.whitepaper-metric > .whitepaper-token-glyph {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 0;
  --token-size: 48px;
  opacity: 0.28;
}
.whitepaper-metric--edx > .whitepaper-token-glyph {
  opacity: 0.22;
}
.whitepaper-hero__metrics div > span:not(.whitepaper-token-glyph) {
  display: block;
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.whitepaper-hero__metrics div > strong {
  display: block;
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: #ffffff;
  font-family: var(--wp-font-body);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.whitepaper-hero__terminal {
  align-self: center;
}
.whitepaper-hero__terminal::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  pointer-events: none;
}
.whitepaper-token-orbit {
  position: absolute;
  right: 28px;
  top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.whitepaper-token-orbit .whitepaper-token-glyph {
  --token-size: 54px;
  opacity: 0.82;
  filter: drop-shadow(0 16px 30px rgba(7,20,31,0.22));
}
.whitepaper-token-orbit .whitepaper-token-glyph + .whitepaper-token-glyph {
  --token-size: 48px;
  opacity: 0.68;
}
.whitepaper-terminal__route {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(7, 20, 31, 0.34);
}
.whitepaper-terminal__route > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 62px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.whitepaper-route-token {
  gap: 7px;
}
.whitepaper-route-token .whitepaper-token-glyph {
  --token-size: 18px;
  opacity: 0.9;
  filter: none;
}
.whitepaper-terminal__route i {
  position: relative;
  flex: 1 1 auto;
  min-width: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.16), var(--wp-teal));
}
.whitepaper-terminal__route i::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--wp-teal);
  border-right: 1px solid var(--wp-teal);
  transform: rotate(45deg);
}
.whitepaper-marquee {
  overflow: hidden;
  margin-top: -1px;
  border-block: 1px solid rgba(255,255,255,0.1);
  background:
    linear-gradient(90deg, rgba(7,20,31,0.98), rgba(24,40,60,0.94)),
    radial-gradient(circle at 50% 0%, rgba(65,188,151,0.16), transparent 32rem);
}
.whitepaper-marquee__track {
  display: flex;
  width: max-content;
  animation: whitepaperMarquee 38s linear infinite;
}
.whitepaper-marquee span {
  display: inline-flex;
  align-items: center;
  min-height: 92px;
  padding: 0 36px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.46);
  font-family: var(--wp-font-body);
  font-size: clamp(30px, 4vw, 74px);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.whitepaper-overview {
  grid-template-columns: 1.15fr 0.92fr 0.92fr;
  margin-top: clamp(34px, 4vw, 58px);
}
.whitepaper-stat {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.whitepaper-stat::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65,188,151,0.16), transparent 62%);
}
.whitepaper-stat:first-child {
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(24,40,60,0.98), rgba(35,60,84,0.92)),
    radial-gradient(circle at 0% 0%, rgba(65,188,151,0.2), transparent 30rem);
}
.whitepaper-stat:first-child strong,
.whitepaper-stat:first-child p {
  color: #ffffff;
}
.whitepaper-stat:first-child p {
  opacity: 0.76;
}
.whitepaper-stat:hover {
  transform: translateY(-5px);
  border-color: rgba(65,188,151,0.25);
  box-shadow: 0 34px 90px rgba(24,40,60,0.16);
}
.whitepaper-split-card {
  min-height: 145px;
}
.whitepaper-split-card > .whitepaper-token-glyph {
  position: absolute;
  right: 18px;
  bottom: 12px;
  --token-size: 96px;
  opacity: 0.12;
}
.whitepaper-split-card--eusd > .whitepaper-token-glyph {
  opacity: 0.2;
}
.whitepaper-split-card > span:not(.whitepaper-token-glyph),
.whitepaper-split-card p {
  position: relative;
  z-index: 1;
}
.whitepaper-toc {
  border-color: rgba(24,40,60,0.1);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.9), rgba(247,250,247,0.76)),
    radial-gradient(circle at 0 0, rgba(65,188,151,0.13), transparent 18rem);
}
.whitepaper-toc a {
  position: relative;
  padding-left: 18px;
}
.whitepaper-toc a::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(65,188,151,0.24);
  transform: translateY(-50%);
}
.whitepaper-toc a:hover::before,
.whitepaper-toc a.is-active::before {
  background: var(--wp-teal);
  box-shadow: 0 0 0 6px rgba(65,188,151,0.12);
}
.whitepaper-section {
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.whitepaper-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 34px 90px rgba(24, 40, 60, 0.12);
}
.whitepaper-section::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 30px;
  z-index: -1;
  width: 170px;
  height: 170px;
  opacity: 0.035;
  background: url('../wp-content/uploads/2025/08/1.svg') center/contain no-repeat;
}
.whitepaper-section:nth-child(4n + 1):not(.whitepaper-section--conclusion) {
  background:
    linear-gradient(145deg, rgba(24,40,60,0.98), rgba(35,60,84,0.92)),
    radial-gradient(circle at 100% 0%, rgba(65,188,151,0.2), transparent 26rem);
}
.whitepaper-section:nth-child(4n + 1):not(.whitepaper-section--conclusion) h2,
.whitepaper-section:nth-child(4n + 1):not(.whitepaper-section--conclusion) h3,
.whitepaper-section:nth-child(4n + 1):not(.whitepaper-section--conclusion) h4,
.whitepaper-section:nth-child(4n + 1):not(.whitepaper-section--conclusion) p,
.whitepaper-section:nth-child(4n + 1):not(.whitepaper-section--conclusion) li,
.whitepaper-section:nth-child(4n + 1):not(.whitepaper-section--conclusion) dd,
.whitepaper-section:nth-child(4n + 1):not(.whitepaper-section--conclusion) dt {
  color: #ffffff;
}
.whitepaper-section:nth-child(4n + 1):not(.whitepaper-section--conclusion) p,
.whitepaper-section:nth-child(4n + 1):not(.whitepaper-section--conclusion) li,
.whitepaper-section:nth-child(4n + 1):not(.whitepaper-section--conclusion) dd {
  opacity: 0.78;
}
.whitepaper-section:nth-child(4n + 1):not(.whitepaper-section--conclusion) .whitepaper-section__number,
.whitepaper-section--conclusion .whitepaper-section__number {
  background: rgba(255,255,255,0.13);
  color: #a9e9cf;
}
.whitepaper-section:nth-child(4n + 1):not(.whitepaper-section--conclusion) .whitepaper-split-cards div,
.whitepaper-section:nth-child(4n + 1):not(.whitepaper-section--conclusion) .whitepaper-process-grid > div,
.whitepaper-section:nth-child(4n + 1):not(.whitepaper-section--conclusion) .whitepaper-market-grid div,
.whitepaper-section:nth-child(4n + 1):not(.whitepaper-section--conclusion) .whitepaper-token-card,
.whitepaper-section:nth-child(4n + 1):not(.whitepaper-section--conclusion) .whitepaper-steps li,
.whitepaper-section:nth-child(4n + 1):not(.whitepaper-section--conclusion) .whitepaper-flywheel li {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
}
.whitepaper-feature-grid {
  grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr));
}
.whitepaper-feature-grid div,
.whitepaper-process-grid > div,
.whitepaper-market-grid div,
.whitepaper-token-card,
.whitepaper-split-cards div {
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.whitepaper-feature-grid div:hover,
.whitepaper-process-grid > div:hover,
.whitepaper-market-grid div:hover,
.whitepaper-token-card:hover,
.whitepaper-split-cards div:hover {
  transform: translateY(-4px);
  border-color: rgba(65,188,151,0.28);
  box-shadow: 0 22px 54px rgba(24,40,60,0.1);
}
.whitepaper-feature-grid div:first-child {
  background:
    linear-gradient(145deg, rgba(65,188,151,0.18), rgba(216,206,120,0.14)),
    rgba(255,255,255,0.78);
}
.whitepaper-feature-grid div:first-child strong {
  font-family: var(--wp-font-body);
  font-size: clamp(34px, 3.6vw, 58px);
  letter-spacing: -0.06em;
}
.whitepaper-rail-diagram {
  position: relative;
}
.whitepaper-rail {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.whitepaper-rail__icon {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: -1;
  --token-size: 118px;
  opacity: 0.17;
  filter: drop-shadow(0 22px 42px rgba(7,20,31,0.18));
}
.whitepaper-rail--settlement .whitepaper-rail__icon {
  opacity: 0.22;
}
.whitepaper-rail-connector {
  position: relative;
  box-shadow: 0 0 34px rgba(65,188,151,0.45);
}
.whitepaper-rail-connector::before {
  content: "DEX + Pathfinding";
  position: absolute;
  left: 50%;
  bottom: 18px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--wp-navy);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
  box-shadow: 0 12px 30px rgba(24,40,60,0.12);
}
.whitepaper-rail-connector::after {
  content: "";
  position: absolute;
  inset: -2px 30%;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  animation: whitepaperFlow 2.4s linear infinite;
}
.whitepaper-token-card {
  min-height: 100%;
  padding-right: clamp(24px, 9vw, 118px);
}
.whitepaper-token-card__mark {
  position: absolute;
  right: 18px;
  top: 18px;
  --token-size: 86px;
  opacity: 0.12;
}
.whitepaper-token-card--stable .whitepaper-token-card__mark {
  opacity: 0.2;
}
.whitepaper-token-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--wp-navy), #d8ce78);
}
.whitepaper-token-card--stable::before {
  background: linear-gradient(90deg, var(--wp-teal), #dff8ed);
}
.whitepaper-token-card > h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.whitepaper-token-card > h3::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--wp-navy);
  box-shadow: 0 0 0 8px rgba(24,40,60,0.08);
}
.whitepaper-token-card--stable > h3::before {
  background: var(--wp-teal);
  box-shadow: 0 0 0 8px rgba(65,188,151,0.11);
}
.whitepaper-market-pair strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.whitepaper-market-pair strong img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex: 0 0 auto;
}
.whitepaper-market-pair strong img[src$="eusd.png"] {
  border-radius: 50%;
}
.whitepaper-loop__token {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.whitepaper-loop__token .whitepaper-token-glyph {
  --token-size: 22px;
  opacity: 0.92;
  filter: none;
}
.whitepaper-bars {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--wp-line);
  border-radius: 22px;
  background: #ffffff;
}
.whitepaper-bars div {
  display: flex;
  min-height: 128px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  border-radius: 16px;
}
.whitepaper-bars div::before {
  width: 100%;
  height: calc(var(--bar) * 2.6px);
  inset: auto 0 0;
  background: linear-gradient(180deg, rgba(65,188,151,0.18), rgba(65,188,151,0.5));
}
.whitepaper-loop,
.whitepaper-flywheel {
  position: relative;
}
.whitepaper-loop {
  justify-content: center;
  padding: 30px;
}
.whitepaper-loop span {
  box-shadow: 0 14px 34px rgba(24,40,60,0.08);
}
.whitepaper-flywheel li {
  position: relative;
  border: 1px solid rgba(24,40,60,0.08);
}
.whitepaper-flywheel li::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 30px;
  width: 18px;
  height: 18px;
  border-top: 2px solid rgba(65,188,151,0.52);
  border-right: 2px solid rgba(65,188,151,0.52);
  transform: rotate(45deg);
}
.whitepaper-flywheel li:last-child::after {
  display: none;
}
.whitepaper-section--conclusion {
  background:
    linear-gradient(145deg, #091522, #17283c 52%, #24405a),
    radial-gradient(circle at 84% 20%, rgba(65,188,151,0.26), transparent 24rem);
}
.whitepaper-section--conclusion::after {
  opacity: 0.1;
}
.whitepaper-section--conclusion ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}
.whitepaper-section--conclusion li {
  margin: 0 !important;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
}
@keyframes whitepaperMarkFloat {
  0%, 100% { transform: translate3d(0,0,0) rotate(0deg); }
  50% { transform: translate3d(0,-16px,0) rotate(4deg); }
}
@keyframes whitepaperMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes whitepaperFlow {
  0% { transform: translateX(-160%); opacity: 0; }
  22%, 76% { opacity: 1; }
  100% { transform: translateX(160%); opacity: 0; }
}
@media (max-width: 1180px) {
  .whitepaper-hero__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .whitepaper-marquee span {
    min-height: 74px;
  }
  .whitepaper-overview {
    grid-template-columns: 1fr;
  }
  .whitepaper-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .whitepaper-toc {
    position: sticky;
    top: 0;
    z-index: 20;
  }
  .whitepaper-section--conclusion ul {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .whitepaper-readerbar,
  .whitepaper-mobile-toc {
    display: flex;
  }
  .whitepaper-mobile-toc {
    display: block;
  }
  .enerdex-whitepaper::after {
    display: none;
  }
  .whitepaper-hero {
    min-height: auto;
    padding: 92px 22px 84px;
  }
  .whitepaper-hero__mark {
    right: -70px;
    bottom: 170px;
    width: 280px;
    opacity: 0.1;
  }
  .whitepaper-hero h1 {
    font-size: clamp(36px, 12.4vw, 56px);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }
  .whitepaper-hero__subtitle {
    margin-top: 20px;
    font-size: clamp(18px, 5.1vw, 24px);
    line-height: 1.36;
  }
  .whitepaper-hero__metrics,
  .whitepaper-feature-grid,
  .whitepaper-bars {
    grid-template-columns: 1fr;
  }
  .whitepaper-hero__metrics div {
    min-height: 88px;
    padding: 16px 16px 18px;
  }
  .whitepaper-metric > .whitepaper-token-glyph {
    --token-size: 42px;
    opacity: 0.22;
  }
  .whitepaper-token-orbit {
    right: 24px;
    top: 22px;
  }
  .whitepaper-token-orbit .whitepaper-token-glyph {
    --token-size: 44px;
  }
  .whitepaper-token-orbit .whitepaper-token-glyph + .whitepaper-token-glyph {
    --token-size: 40px;
  }
  .whitepaper-terminal__route {
    flex-wrap: wrap;
  }
  .whitepaper-terminal__route i {
    flex-basis: 28px;
  }
  .whitepaper-marquee span {
    min-height: 60px;
    padding: 0 22px;
    -webkit-text-stroke-width: 0.8px;
  }
  .whitepaper-overview {
    margin-top: 22px;
    margin-bottom: 52px;
  }
  .whitepaper-shell {
    gap: 22px;
    margin-bottom: 72px;
  }
  .whitepaper-toc {
    display: none;
  }
  .whitepaper-toc a:hover,
  .whitepaper-toc a.is-active {
    transform: none;
  }
  .whitepaper-section:hover,
  .whitepaper-stat:hover,
  .whitepaper-feature-grid div:hover,
  .whitepaper-process-grid > div:hover,
  .whitepaper-market-grid div:hover,
  .whitepaper-token-card:hover,
  .whitepaper-split-cards div:hover {
    transform: none;
  }
  .whitepaper-rail-connector::before {
    left: 50%;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
  }
  .whitepaper-rail-connector::after {
    display: none;
  }
  .whitepaper-bars div {
    min-height: 74px;
  }
  .whitepaper-bars div::before {
    width: calc(var(--bar) * 1%);
    height: 100%;
    inset: 0 auto 0 0;
  }
  .whitepaper-flywheel {
    grid-template-columns: 1fr;
    overflow: visible;
  }
  .whitepaper-flywheel li::after {
    right: auto;
    left: 28px;
    top: auto;
    bottom: -14px;
    transform: rotate(135deg);
  }
  .whitepaper-section {
    scroll-margin-top: 86px;
  }
  .whitepaper-section p,
  .whitepaper-section li,
  .whitepaper-section dd {
    line-height: 1.68;
  }
  .whitepaper-section ul,
  .whitepaper-section ol {
    padding-left: 18px;
  }
  .whitepaper-split-card > .whitepaper-token-glyph {
    --token-size: 78px;
  }
  .whitepaper-rail__icon {
    --token-size: 92px;
    opacity: 0.14;
  }
  .whitepaper-token-card {
    padding-right: 20px;
  }
  .whitepaper-token-card__mark {
    position: relative;
    right: auto;
    top: auto;
    display: block;
    --token-size: 70px;
    margin-bottom: 18px;
    opacity: 0.78;
  }
  .whitepaper-tokenomics-table {
    min-width: 560px;
  }
  .whitepaper-table-wrap {
    margin-inline: -8px;
  }
  .whitepaper-float-nav {
    display: none !important;
  }
}
@media (max-width: 430px) {
  .whitepaper-hero__meta span {
    width: 100%;
    justify-content: center;
  }
  .whitepaper-hero__terminal,
  .whitepaper-stat,
  .whitepaper-section {
    border-radius: 22px;
  }
  .whitepaper-section h2 {
    letter-spacing: -0.045em;
  }
  .whitepaper-readerbar {
    gap: 8px;
    padding-inline: 10px;
  }
  .whitepaper-readerbar__button {
    padding-inline: 11px;
  }
  .whitepaper-readerbar__percent {
    display: none;
  }
  .whitepaper-mobile-toc__panel {
    left: 6px;
    right: 6px;
    bottom: 6px;
    border-radius: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .whitepaper-marquee__track,
  .whitepaper-hero__mark,
  .whitepaper-rail-connector::after {
    animation: none !important;
  }
}
